@charset "UTF-8";
/**
 * Reset some basic elements
 */
body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
  margin: 0;
  padding: 0;
}

/**
 * Basic styling
 */
body {
  font: 400 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #111;
  background-color: #cfdfe2;
  -webkit-text-size-adjust: 100%;
  -webkit-font-feature-settings: "kern" 1;
  -moz-font-feature-settings: "kern" 1;
  -o-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

/**
 * Set `margin-bottom` to maintain vertical rhythm
 */
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure,
.highlight {
  margin-bottom: 15px;
}

/**
 * `main` element
 */
main {
  display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
}

/**
 * Images
 */
img {
  max-width: 100%;
  vertical-align: middle;
}

/**
 * Figures
 */
figure > img {
  display: block;
}

figcaption {
  font-size: 14px;
}

/**
 * Lists
 */
ul, ol {
  margin-left: 30px;
}

li > ul,
li > ol {
  margin-bottom: 0;
}

/**
 * Headings
 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
}

/**
 * Links
 */
a {
  color: #1f4aa8;
  text-decoration: none;
}
a:visited {
  color: rgb(7.4834959109%, 17.8638289487%, 40.5557197753%);
}
a:hover {
  color: #111;
  text-decoration: underline;
}
.social-media-list a:hover {
  text-decoration: none;
}
.social-media-list a:hover .username {
  text-decoration: underline;
}

/**
 * Blockquotes
 */
blockquote {
  color: #4f5a5c;
  border-left: 4px solid #b3c7cb;
  padding-left: 15px;
  font-size: 18px;
  letter-spacing: -1px;
  font-style: italic;
}
blockquote > :last-child {
  margin-bottom: 0;
}

/**
 * Code formatting
 */
pre,
code {
  font-size: 15px;
  border: 1px solid #b3c7cb;
  border-radius: 3px;
  background-color: #eef;
}

code {
  padding: 1px 5px;
}

pre {
  padding: 8px 12px;
  overflow-x: auto;
}
pre > code {
  border: 0;
  padding-right: 0;
  padding-left: 0;
}

/**
 * Wrapper
 */
.wrapper {
  max-width: -webkit-calc(800px - (30px * 2));
  max-width: calc(800px - 30px * 2);
  margin-right: auto;
  margin-left: auto;
  padding-right: 30px;
  padding-left: 30px;
}
@media screen and (max-width: 800px) {
  .wrapper {
    max-width: -webkit-calc(800px - (30px));
    max-width: calc(800px - (30px));
    padding-right: 15px;
    padding-left: 15px;
  }
}

/**
 * Clearfix
 */
.footer-col-wrapper:after, .wrapper:after {
  content: "";
  display: table;
  clear: both;
}

/**
 * Icons
 */
.svg-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  fill: #4f5a5c;
  padding-right: 5px;
  vertical-align: text-top;
}

.social-media-list li + li {
  padding-top: 5px;
}

/**
 * Tables
 */
table {
  margin-bottom: 30px;
  width: 100%;
  text-align: left;
  color: rgb(24.6666666667%, 24.6666666667%, 24.6666666667%);
  border-collapse: collapse;
  border: 1px solid #b3c7cb;
}
table tr:nth-child(even) {
  background-color: rgb(77.3210784314%, 83.2892156863%, 84.4828431373%);
}
table th, table td {
  padding: 9.999999999px 15px;
}
table th {
  background-color: rgb(73.7585784314%, 80.6642156863%, 82.0453431373%);
  border: 1px solid rgb(65.4460784314%, 74.5392156863%, 76.3578431373%);
  border-bottom-color: rgb(55.9460784314%, 67.5392156863%, 69.8578431373%);
}
table td {
  border: 1px solid #b3c7cb;
}

/**
 * Site header
 */
.site-header {
  border-top: 5px solid rgb(7.8809769522%, 8.9783281734%, 9.1778465772%);
  border-bottom: 1px solid #b3c7cb;
  min-height: 55.95px;
  position: relative;
}

.site-title {
  font-size: 26px;
  font-weight: 300;
  line-height: 54px;
  letter-spacing: -1px;
  margin-bottom: 0;
  float: left;
}
.site-title, .site-title:visited {
  color: rgb(7.8809769522%, 8.9783281734%, 9.1778465772%);
}

.site-nav {
  float: right;
  line-height: 54px;
}
.site-nav .nav-trigger {
  display: none;
}
.site-nav .menu-icon {
  display: none;
}
.site-nav .page-link {
  color: #111;
  line-height: 1.5;
}
.site-nav .page-link:not(:last-child) {
  margin-right: 20px;
}
@media screen and (max-width: 600px) {
  .site-nav {
    position: absolute;
    top: 9px;
    right: 15px;
    background-color: #cfdfe2;
    border: 1px solid #b3c7cb;
    border-radius: 5px;
    text-align: right;
  }
  .site-nav label[for=nav-trigger] {
    display: block;
    float: right;
    width: 36px;
    height: 36px;
    z-index: 2;
    cursor: pointer;
  }
  .site-nav .menu-icon {
    display: block;
    float: right;
    width: 36px;
    height: 26px;
    line-height: 0;
    padding-top: 10px;
    text-align: center;
  }
  .site-nav .menu-icon > svg {
    fill: rgb(7.8809769522%, 8.9783281734%, 9.1778465772%);
  }
  .site-nav input ~ .trigger {
    clear: both;
    display: none;
  }
  .site-nav input:checked ~ .trigger {
    display: block;
    padding-bottom: 5px;
  }
  .site-nav .page-link {
    display: block;
    margin-left: 20px;
    padding: 5px 10px;
  }
  .site-nav .page-link:not(:last-child) {
    margin-right: 0;
  }
}

/**
 * Site footer
 */
.site-footer {
  border-top: 1px solid #b3c7cb;
  padding: 30px 0;
}

.footer-heading {
  font-size: 18px;
  margin-bottom: 15px;
}

.contact-list,
.social-media-list {
  list-style: none;
  margin-left: 0;
}

.footer-col-wrapper {
  font-size: 15px;
  color: #4f5a5c;
  margin-left: -15px;
}

.footer-col {
  float: left;
  margin-bottom: 15px;
  padding-left: 15px;
}

.footer-col-1 {
  width: -webkit-calc(35% - (30px / 2));
  width: calc(35% - 30px / 2);
}

.footer-col-2 {
  width: -webkit-calc(20% - (30px / 2));
  width: calc(20% - 30px / 2);
}

.footer-col-3 {
  width: -webkit-calc(45% - (30px / 2));
  width: calc(45% - 30px / 2);
}

@media screen and (max-width: 800px) {
  .footer-col-1,
  .footer-col-2 {
    width: -webkit-calc(50% - (30px / 2));
    width: calc(50% - 30px / 2);
  }
  .footer-col-3 {
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - 30px / 2);
  }
}
@media screen and (max-width: 600px) {
  .footer-col {
    float: none;
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - 30px / 2);
  }
}
/**
 * Page content
 */
.page-content {
  padding: 30px 0;
  flex: 1;
}

.page-heading {
  font-size: 32px;
}

.post-list-heading {
  font-size: 28px;
}

.post-list {
  margin-left: 0;
  list-style: none;
}
.post-list > li {
  margin-bottom: 30px;
}

.post-meta {
  font-size: 14px;
  color: #4f5a5c;
}

.post-link {
  display: block;
  font-size: 24px;
}

/**
 * Posts
 */
.post-header {
  margin-bottom: 30px;
}

.post-title {
  font-size: 42px;
  letter-spacing: -1px;
  line-height: 1;
}
@media screen and (max-width: 800px) {
  .post-title {
    font-size: 36px;
  }
}

.post-content {
  margin-bottom: 30px;
}
.post-content h2 {
  font-size: 32px;
}
@media screen and (max-width: 800px) {
  .post-content h2 {
    font-size: 28px;
  }
}
.post-content h3 {
  font-size: 26px;
}
@media screen and (max-width: 800px) {
  .post-content h3 {
    font-size: 22px;
  }
}
.post-content h4 {
  font-size: 20px;
}
@media screen and (max-width: 800px) {
  .post-content h4 {
    font-size: 18px;
  }
}

/**
 * Syntax highlighting styles
 */
.highlight {
  background: #fff;
}
.highlighter-rouge .highlight {
  background: #eef;
}
.highlight .c {
  color: #998;
  font-style: italic;
}
.highlight .err {
  color: #a61717;
  background-color: #e3d2d2;
}
.highlight .k {
  font-weight: bold;
}
.highlight .o {
  font-weight: bold;
}
.highlight .cm {
  color: #998;
  font-style: italic;
}
.highlight .cp {
  color: #999;
  font-weight: bold;
}
.highlight .c1 {
  color: #998;
  font-style: italic;
}
.highlight .cs {
  color: #999;
  font-weight: bold;
  font-style: italic;
}
.highlight .gd {
  color: #000;
  background-color: #fdd;
}
.highlight .gd .x {
  color: #000;
  background-color: #faa;
}
.highlight .ge {
  font-style: italic;
}
.highlight .gr {
  color: #a00;
}
.highlight .gh {
  color: #999;
}
.highlight .gi {
  color: #000;
  background-color: #dfd;
}
.highlight .gi .x {
  color: #000;
  background-color: #afa;
}
.highlight .go {
  color: #888;
}
.highlight .gp {
  color: #555;
}
.highlight .gs {
  font-weight: bold;
}
.highlight .gu {
  color: #aaa;
}
.highlight .gt {
  color: #a00;
}
.highlight .kc {
  font-weight: bold;
}
.highlight .kd {
  font-weight: bold;
}
.highlight .kp {
  font-weight: bold;
}
.highlight .kr {
  font-weight: bold;
}
.highlight .kt {
  color: #458;
  font-weight: bold;
}
.highlight .m {
  color: #099;
}
.highlight .s {
  color: #d14;
}
.highlight .na {
  color: #008080;
}
.highlight .nb {
  color: #0086B3;
}
.highlight .nc {
  color: #458;
  font-weight: bold;
}
.highlight .no {
  color: #008080;
}
.highlight .ni {
  color: #800080;
}
.highlight .ne {
  color: #900;
  font-weight: bold;
}
.highlight .nf {
  color: #900;
  font-weight: bold;
}
.highlight .nn {
  color: #555;
}
.highlight .nt {
  color: #000080;
}
.highlight .nv {
  color: #008080;
}
.highlight .ow {
  font-weight: bold;
}
.highlight .w {
  color: #bbb;
}
.highlight .mf {
  color: #099;
}
.highlight .mh {
  color: #099;
}
.highlight .mi {
  color: #099;
}
.highlight .mo {
  color: #099;
}
.highlight .sb {
  color: #d14;
}
.highlight .sc {
  color: #d14;
}
.highlight .sd {
  color: #d14;
}
.highlight .s2 {
  color: #d14;
}
.highlight .se {
  color: #d14;
}
.highlight .sh {
  color: #d14;
}
.highlight .si {
  color: #d14;
}
.highlight .sx {
  color: #d14;
}
.highlight .sr {
  color: #009926;
}
.highlight .s1 {
  color: #d14;
}
.highlight .ss {
  color: #990073;
}
.highlight .bp {
  color: #999;
}
.highlight .vc {
  color: #008080;
}
.highlight .vg {
  color: #008080;
}
.highlight .vi {
  color: #008080;
}
.highlight .il {
  color: #099;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.page-content {
  flex: 1;
  padding-block: var(--space-6);
}

.wrapper {
  max-width: var(--content-max-width);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

@media (max-width: 600px) {
  :root {
    --page-gutter: var(--space-3);
  }
  .page-content {
    padding-block: var(--space-5);
  }
}
a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.site-nav ul,
.lang-switcher,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

/**
 * Header
 */
.site-header {
  border-top: 0;
  border-bottom: 1px solid var(--color-border);
  min-height: 0;
}
.site-header .wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-4);
  padding-block: var(--space-3);
}
.site-header .wrapper::after {
  content: none;
}

.site-title {
  float: none;
  margin-right: auto;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.site-title, .site-title:visited {
  color: var(--color-text);
}

.site-nav {
  float: none;
  position: static;
  line-height: inherit;
  text-align: left;
  background: none;
  border: 0;
}
.site-nav a {
  color: var(--color-text);
  text-decoration: none;
}
.site-nav a:hover {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.lang-switcher {
  gap: var(--space-1);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.lang-switcher a {
  display: block;
  padding: 0.125rem var(--space-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-muted);
  text-decoration: none;
}
.lang-switcher a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/**
 * Content
 */
.post-header,
.hero {
  margin-bottom: var(--space-5);
}

.post-title,
.hero h1 {
  font-size: clamp(2rem, 1.5rem + 2.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero p {
  margin: 0;
  font-size: 1.25rem;
  color: var(--color-muted);
}

.post-meta {
  color: var(--color-muted);
}

.post-list {
  margin-left: 0;
  padding: 0;
  list-style: none;
}
.post-list > li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-1) var(--space-3);
  margin: 0;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}
.post-list time {
  font-size: 0.875rem;
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
}

/**
 * Footer
 */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-4);
  font-size: 0.875rem;
  color: var(--color-muted);
}
.site-footer .wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2) var(--space-4);
}
.site-footer .wrapper::after {
  content: none;
}
.site-footer p {
  margin: 0;
}
.site-footer a {
  color: var(--color-muted);
}
.site-footer a:hover {
  color: var(--color-accent);
}

/**
 * Split page (text left / image right) — _layouts/page.html adds
 * .page--split when a page sets `image:` in its front matter.
 */
.page-split {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-5);
  align-items: start;
}

.page-split__media {
  margin: 0;
}
.page-split__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (max-width: 600px) {
  .page-split {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
  }
  .page-split__media {
    order: -1;
    max-width: 20rem;
  }
}
/**
 * About page fonts — scoped by overriding the base.css font tokens here;
 * move these two lines to :root to use the fonts site-wide.
 */
.page-about {
  --font-heading: "Dawning of a New Day", cursive;
  --font-body: "Exo 2", system-ui, sans-serif;
  font-family: var(--font-body);
}
.page-about .post-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 2.25rem + 3.5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.3;
}

/**
 * Project fonts — Projects page, project detail pages and the home page's
 * project section: Exo 2 for titles, Overlock for everything else.
 */
.page-projects,
.project,
.home-projects {
  --font-heading: "Exo 2", system-ui, sans-serif;
  --font-body: "Overlock", system-ui, sans-serif;
  font-family: var(--font-body);
}
.page-projects h1,
.page-projects h2,
.page-projects h3,
.page-projects .post-title,
.project h1,
.project h2,
.project h3,
.project .post-title,
.home-projects h1,
.home-projects h2,
.home-projects h3,
.home-projects .post-title {
  font-family: var(--font-heading);
}

/**
 * Project cards — _includes/project-grid.html (home + Projects page).
 * Whole card is the link; title + summary, "View project" affordance.
 */
.home-projects > h2 {
  margin-bottom: var(--space-4);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(16rem, 100%), 1fr));
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-card {
  margin: 0;
}

.project-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) * 2);
  color: var(--color-text);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.project-card__link:hover, .project-card__link:focus-visible {
  border-color: var(--color-accent);
  box-shadow: 0 6px 20px -8px rgba(17, 17, 17, 0.25);
  transform: translateY(-2px);
  text-decoration: none;
}
@media (prefers-reduced-motion: reduce) {
  .project-card__link {
    transition: none;
  }
  .project-card__link:hover, .project-card__link:focus-visible {
    transform: none;
  }
}

.project-card__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
}

.project-card__summary {
  margin: 0;
  color: var(--color-muted);
}

.project-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-bottom: 1px solid var(--color-border);
}

.project-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
}

.project-card__more {
  margin-top: auto;
  padding-top: var(--space-2);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
}

.project {
  --section-gap: var(--space-6);
  width: min(var(--wide-max-width), 100vw - 2 * var(--page-gutter));
  margin-inline: calc(50% - min(var(--wide-max-width), 100vw - 2 * var(--page-gutter)) / 2);
}
.project img {
  display: block;
  max-width: 100%;
}

.project-sections figure {
  margin: 0;
}
.project-sections ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 600px) {
  .project {
    --section-gap: var(--space-5);
  }
}
/**
 * Shared type
 */
.section-eyebrow {
  margin: 0 0 var(--space-2);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--color-muted);
}

.section-title {
  margin: 0 0 var(--space-4);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.section-title--center {
  text-align: center;
}

.section-title--small {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
  margin-bottom: var(--space-3);
}

.project-sections {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
  margin-top: var(--section-gap);
}

.project__body {
  max-width: var(--content-max-width);
  margin-top: var(--section-gap);
}

/**
 * Hero (slide 4): big uppercase title beside the cover image, caption below.
 */
.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: var(--space-3) var(--space-5);
  align-items: center;
}

.project-hero__title {
  margin: 0;
  font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.project-hero__image {
  width: 100%;
  height: auto;
  aspect-ratio: 5/3;
  object-fit: cover;
}

.project-hero__caption {
  grid-column: 1/-1;
  font-size: 1.125rem;
}
.project-hero__caption p {
  margin: 0;
}
.project-hero__caption p + p {
  margin-top: var(--space-1);
}

.project-hero--no-image {
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 700px) {
  .project-hero {
    grid-template-columns: minmax(0, 1fr);
  }
}
/**
 * Text section (slide 5): intro column + smaller body column.
 */
.section-text {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: var(--space-4) var(--space-6);
  align-items: start;
}

.section-text__lead {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.7;
}
.section-text__lead p:last-child {
  margin-bottom: 0;
}

.section-text__body {
  font-size: 1rem;
  line-height: 1.6;
}
.section-text__body p:last-child {
  margin-bottom: 0;
}

/**
 * Text + image (slide 6, top).
 */
.section-text-image {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-4) var(--space-5);
  align-items: center;
}
.section-text-image p:last-child {
  margin-bottom: 0;
}

.section-text-image__text {
  max-width: var(--content-max-width);
  line-height: 1.8;
}

.section-text-image__image {
  width: 100%;
  height: auto;
}

.section-text-image--image-left .section-text-image__image {
  order: -1;
}

/**
 * Image strip (slide 6, bottom): one row, every image the same height,
 * scrolls sideways when it doesn't fit.
 */
.section-strip {
  --strip-height: clamp(10rem, 6rem + 12vw, 18rem);
  display: flex;
  gap: var(--space-2);
  height: var(--strip-height);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: var(--space-1);
}

.strip-item {
  flex: none;
  height: 100%;
  scroll-snap-align: start;
}

img.strip-item {
  width: auto;
}

.strip-item--stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-2);
  aspect-ratio: 1;
}
.strip-item--stack img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

/**
 * Captioned lineup (slide 7): label above each figure, alternating heights.
 */
.lineup {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(10rem, 100%), 1fr));
  gap: var(--space-4);
  align-items: start;
}
.lineup figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.lineup figcaption {
  text-align: center;
}
.lineup img {
  width: 100%;
  height: clamp(16rem, 10rem + 16vw, 26rem);
  object-fit: contain;
}

@media (min-width: 701px) {
  .lineup__item:nth-child(even) {
    margin-top: var(--space-6);
  }
}
@media (max-width: 700px) {
  .lineup {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/**
 * Materials board (slide 8): swatches | details | palette.
 */
.section-materials {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-5);
  align-items: start;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.swatch {
  position: relative;
}
.swatch img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.swatch__label {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  padding: 0.125rem var(--space-2);
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  font-size: 0.875rem;
  white-space: nowrap;
}

.details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}
.details figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}
.details img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.details figcaption {
  font-size: 0.875rem;
  text-align: center;
}

.palette {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.palette__color {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  aspect-ratio: 3/4;
  padding: var(--space-2) var(--space-1);
  background: var(--swatch);
  font-size: 0.8125rem;
  line-height: 1.2;
  text-align: center;
  color: #111111;
}
.palette__color span {
  padding: 0.125rem 0.25rem;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 2px;
}

@supports (color: oklch(from red l c h)) {
  .palette__color {
    color: oklch(from var(--swatch) clamp(0, (0.7 - l) * 1000, 1) 0 0);
  }
  .palette__color span {
    background: none;
  }
}
@media (max-width: 900px) {
  .section-materials {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .materials__group--swatches {
    grid-column: 1/-1;
  }
}
@media (max-width: 600px) {
  .section-materials {
    grid-template-columns: minmax(0, 1fr);
  }
}
/**
 * Collection lineup (slide 9): dense grid of figures.
 */
.collection {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
  gap: var(--space-3) var(--space-2);
}
.collection img {
  width: 100%;
  height: clamp(12rem, 9rem + 6vw, 16rem);
  object-fit: contain;
}

@media (max-width: 600px) {
  .collection {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/**
 * Mosaic with title cell (slide 10).
 */
.section-mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr));
  gap: var(--space-2);
}

.mosaic__title {
  display: flex;
  align-items: flex-end;
  margin: 0;
  padding: var(--space-3);
}

.section-mosaic--title-last .mosaic__title {
  order: 1;
}

.mosaic__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

@media (max-width: 600px) {
  .section-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mosaic__title {
    grid-column: 1/-1;
    padding: 0;
  }
}
/**
 * Look gallery (slides 11–13): photos side by side at staggered heights.
 */
.gallery {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.gallery img {
  flex: 1 1 0;
  min-width: 0;
  height: auto;
}

.section-gallery--stagger .gallery img:nth-child(even) {
  margin-top: var(--space-6);
}

.section-gallery--feature .gallery img:first-child {
  flex-grow: 1.6;
}
.section-gallery--feature .gallery img:nth-child(odd):not(:first-child) {
  margin-top: var(--space-6);
}
.section-gallery--feature .gallery img:nth-child(even) {
  margin-top: var(--space-4);
}

@media (max-width: 700px) {
  .gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery img {
    width: 100%;
    margin-top: 0 !important;
  }
  .gallery img:first-child {
    grid-column: 1/-1;
  }
}
/**
 * Image beside text: floated figure, text wraps around it.
 */
.section-image-text {
  display: flow-root;
  max-width: var(--content-max-width);
}
.section-image-text p:last-child {
  margin-bottom: 0;
}

.image-text__figure {
  width: 40%;
  margin-bottom: var(--space-3);
}
.image-text__figure img {
  width: 100%;
  height: auto;
}
.image-text__figure figcaption {
  margin-top: var(--space-1);
  font-size: 0.875rem;
  color: var(--color-muted);
}

.image-text__figure--left {
  float: left;
  margin-right: var(--space-4);
}

.image-text__figure--right {
  float: right;
  margin-left: var(--space-4);
}

@media (max-width: 600px) {
  .image-text__figure {
    float: none;
    width: 100%;
    margin-inline: 0;
  }
}
/**
 * Shared phone stacking for the two-column layouts.
 */
@media (max-width: 700px) {
  .section-text,
  .section-text-image {
    grid-template-columns: minmax(0, 1fr);
  }
  .section-text-image .section-text-image__image {
    order: -1;
  }
}

/*# sourceMappingURL=main.css.map */