@font-face {
  font-family: Figtree;
  src: url("./assets/fonts/figtree-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Figtree;
  src: url("./assets/fonts/figtree-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url("./assets/fonts/fraunces-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --sky: #e5ddd5;
  --paper: #f3eee7;
  --founder-ground: #e9e4dd;
  --hero-art: url("./assets/images/unfolding-surface-day.webp");
  --button-ink: #fff;
  --button-hover: #254a72;
  --label: #3c5762;
  --chapter: #14364b;
  --header-h: 5.25rem;
  --accent-focus: #a14124;
  --ink: #122d4d;
  --secondary: #465a67;
  --line: #c5bcb3;
  --red: #e5523a;
  --blue: #587da4;
  --gutter: clamp(1.25rem, 5.4vw, 5.5rem);
}
:root[data-theme="night"] {
  color-scheme: dark;
  --sky: #08121e;
  --paper: #101d2a;
  --founder-ground: #172632;
  --hero-art: url("./assets/images/unfolding-surface-night.webp");
  --ink: #edf5ef;
  --secondary: #b9d1d5;
  --line: #3e5961;
  --blue: #94b7cd;
  --red: #fa8466;
  --label: #b3cccf;
  --button-ink: #0c2735;
  --button-hover: #c0e4e3;
  --chapter: #081923;
  --accent-focus: #ffb395;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
section[id], #main { scroll-margin-top: calc(var(--header-h) + .75rem); }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 Figtree, Arial, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
:is(a, button):focus-visible { outline: 3px solid var(--accent-focus); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; }
h1, h2 { text-wrap: balance; }
h1, h2, h3 { line-height: 1.035; }
em { font-family: Fraunces, Georgia, serif; font-weight: 400; }
.wrap { width: min(100% - 2 * var(--gutter), 76rem); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 5; padding: .6rem 1rem; color: var(--ink); background: var(--paper); }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 4; height: var(--header-h); margin-bottom: calc(0rem - var(--header-h)); background: linear-gradient(var(--sky), transparent); }
.site-header.is-scrolled { background: var(--sky); box-shadow: 0 1px var(--line); }
.header-row .night-mark, :root[data-theme="night"] .header-row .day-mark { display: none; }
:root[data-theme="night"] .header-row .night-mark { display: block; }
.theme-switch { position: relative; display: flex; align-items: center; justify-content: space-around; isolation: isolate; flex: none; width: 4rem; height: 2.15rem; padding: 0 .18rem; border: 1px solid var(--line); border-radius: 3rem; background: var(--paper); color: var(--ink); cursor: pointer; }
.theme-switch svg { width: 1.7rem; height: 1.7rem; padding: .35rem; border-radius: 50%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-switch[aria-checked="false"] .sun, .theme-switch[aria-checked="true"] .moon { color: var(--button-ink); background: var(--ink); }
.header-row, .footer-row, nav, .brand, .eyebrow, .button, .card-links, .product-type { display: flex; align-items: center; }
.header-row { height: 100%; gap: clamp(.8rem, 2.2vw, 2rem); }
.brand { width: 11.5rem; min-height: 44px; flex: none; }
.brand picture, .brand img { display: block; width: 100%; height: auto; }
nav { margin-left: auto; gap: clamp(1.15rem, 3vw, 2.8rem); }
nav a, .studio-link { text-decoration: none; font-size: .94rem; font-weight: 600; }
nav a:hover, .studio-link:hover, h3 a:hover { text-decoration: underline; }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(38rem, 76svh, 55rem); overflow: hidden; background: var(--sky); }
.hero-art {
  position: absolute;
  z-index: -2;
  top: 56%;
  right: max(.5vw, calc((100vw - 99rem) / 2));
  width: min(67vw, 64rem);
  aspect-ratio: 2.55;
  pointer-events: none;
  background-image:
    linear-gradient(to bottom, var(--sky), transparent 9%, transparent 86%, var(--sky)),
    linear-gradient(to right, var(--sky), transparent 15%, transparent 96%, var(--sky)),
    var(--hero-art);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  translate: 0 -50%;
  transform-origin: 95% 80%;
  transform: translateY(var(--drift, 0px)) scaleX(var(--unfold, 1));
}
.hero::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: clamp(4rem, 13%, 8rem); pointer-events: none; z-index: -1; background: linear-gradient(transparent, var(--paper)); }
.hero-copy { position: relative; padding-block: calc(var(--header-h) + 3rem) 4rem; }
.hero-copy h1 { width: fit-content; }
.eyebrow, .product-type, .founder-role { font-size: .72rem; font-weight: 600; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
.eyebrow { gap: .65rem; }
.ink-dot, .category-dot { display: inline-block; flex: none; border-radius: 50%; background: var(--red); }
.ink-dot { width: .59rem; height: .59rem; }
.rule { width: 1.45rem; height: 2px; background: var(--blue); }
h1 { font-size: clamp(2.8rem, 6.2vw, 6.3rem); letter-spacing: -.068em; margin-block: 1.25rem 1.1rem; }
h1 em, .philosophy em { letter-spacing: -.07em; }
.intro { max-width: min(26rem, 44%); font-size: clamp(1.08rem, 1.33vw, 1.22rem); color: var(--secondary); line-height: 1.5; }
.button { width: fit-content; gap: 1.05rem; background: var(--ink); color: var(--button-ink); border-radius: 999px; padding: .78rem 1.28rem; margin-top: 1.8rem; font-weight: 600; text-decoration: none; }
.button:hover { background: var(--button-hover); }
.button span { font-family: system-ui, sans-serif; }
.products, .founders { padding-block: clamp(3.3rem, 5.2vw, 5rem) clamp(4rem, 6.2vw, 6rem); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2.8rem; margin-bottom: clamp(1.7rem, 2.7vw, 2.6rem); }
h2 { font-size: clamp(2.4rem, 3.65vw, 3.65rem); letter-spacing: -.06em; }
.section-heading h2 { margin-top: .75rem; }
.section-heading > p { max-width: 22.5rem; color: var(--secondary); line-height: 1.53; }
.inline-link { font-weight: 600; color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.8rem) clamp(1.1rem, 2vw, 1.9rem); }
.product-card { display: flex; flex-direction: column; min-width: 0; }
.product-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; overflow: hidden; isolation: isolate; border: 1px solid #30445a; border-radius: .9rem; color: #f7f3eb; background: #122540; }
.featured-copy { position: relative; z-index: 1; padding: clamp(2rem, 4.5vw, 4rem); padding-right: 1rem; }
.featured-wordmark { width: clamp(11rem, 17vw, 14rem); height: auto; }
.featured-motto { margin-top: 1.6rem; font-size: clamp(2.5rem, 4.2vw, 3.8rem); line-height: 1.04; letter-spacing: -.055em; font-weight: 600; }
.featured-motto em { color: #edcf87; }
.featured-description { max-width: 39ch; margin-top: 1.35rem; color: #d3dce6; font-size: 1.0625rem; line-height: 1.65; }
.featured-links { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.4rem; margin-top: 1.7rem; }
.featured-links .button { margin: 0; background: #efd071; color: #14283f; }
.featured-links .button:hover { background: #f7dc91; }
.product-featured a:focus-visible { outline-color: #efd071; }
.featured-visual { position: relative; display: grid; place-items: center; align-self: stretch; margin: 0; padding: 2rem 1.5rem; isolation: isolate; background: radial-gradient(ellipse at 50% 65%, #31577480, transparent 70%); }
.featured-visual::before, .featured-visual::after { content: ""; position: absolute; z-index: -1; border: 1px solid #d5b16435; border-radius: 50%; width: 76%; aspect-ratio: .82; rotate: 24deg; }
.featured-visual::after { width: 104%; aspect-ratio: 1.25; rotate: -25deg; }
.featured-phone { width: clamp(12rem, 20vw, 15rem); padding: 4px; background: #111b29; border: 1px solid #8090a2; border-radius: 1.8rem; box-shadow: 0 1.5rem 3rem #030d1c66; }
.featured-phone img { width: 100%; height: auto; border-radius: 1.5rem; }
.art { position: relative; display: flex; align-items: center; overflow: hidden; isolation: isolate; width: 100%; aspect-ratio: 1.9; border-radius: .7rem; }
.art-chromaroll { background: radial-gradient(ellipse at 85% 20%, #fff1ce, #edc49b); }
.art-flagdash { background: radial-gradient(ellipse at 70% 20%, #e6f4f6, #a9ccd8); }
:root[data-theme="night"] .art-chromaroll { background: radial-gradient(ellipse at 85% 20%, #745045, #3b303a); }
:root[data-theme="night"] .art-flagdash { background: radial-gradient(ellipse at 70% 20%, #31566b, #193a4a); }
.art .wordmark { position: relative; z-index: 1; width: 49%; height: auto; margin-left: 5%; }
.art-flagdash .wordmark { width: 45%; }
.phone { width: 36%; padding: 2px; border: 2px solid #30323d; background: #232832; border-radius: .95rem; box-shadow: 0 .55rem 1.2rem #07121e55; transform: rotate(6deg); position: absolute; top: 14%; right: 5%; overflow: hidden; }
.phone img { width: 100%; height: auto; border-radius: .9rem; }
.card-body { flex: 1; display: flex; flex-direction: column; align-items: start; padding-block: 1.25rem .25rem; }
.product-type, .founder-role { color: var(--label); font-size: .66rem; }
.product-type { gap: .45rem; }
.category-dot { height: 6px; width: 6px; }
.product-card:nth-child(2) .category-dot { background: #bf7348; }
.product-card:nth-child(3) .category-dot { background: #597d9e; }
h3 { font-size: clamp(1.65rem, 2.15vw, 2.1rem); letter-spacing: -.045em; }
.card-body .product-type { margin-bottom: .55rem; }
h3 a { text-decoration: none; }
.product-desc { color: var(--secondary); max-width: 35ch; margin-bottom: 1.05rem; }
.card-links { margin-top: auto; gap: 1.05rem; flex-wrap: wrap; }
.card-links a { font-size: .92rem; font-weight: 600; }
.card-links a:hover, .inline-link:hover { color: var(--ink); text-decoration-thickness: 2px; }
.philosophy { background: var(--chapter); color: #fff; padding-block: clamp(3.8rem, 6.4vw, 6.5rem); }
.philosophy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8.5rem); }
.philosophy .eyebrow { color: #d9e5ed; }
.philosophy h2 { font-size: clamp(2.8rem, 4.3vw, 4.45rem); margin-top: 1.3rem; }
.philosophy em { color: #cedeea; }
.philosophy-copy { font-size: 1.06rem; line-height: 1.65; color: #e3eaf0; }
.philosophy-copy p + p { margin-top: .85rem; }
.founders { background: var(--founder-ground); box-shadow: 0 0 0 100vmax var(--founder-ground); clip-path: inset(0 -100vmax); }
.founder-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.7rem, 3.2vw, 3.5rem); }
.founder { display: grid; grid-template-columns: 30% 1fr; align-items: center; gap: clamp(1rem, 1.8vw, 1.65rem); border-top: 1px solid var(--line); padding-top: 1.5rem; }
.portrait { display: block; overflow: hidden; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: .35rem; }
.founder h3 { margin-block: .35rem .6rem; font-size: clamp(1.45rem, 1.9vw, 1.85rem); }
.founder p:last-child { color: var(--secondary); }
footer { background: #101b29; color: #e6edf2; }
.footer-row { gap: 1.4rem; min-height: 6rem; }
.footer-row .brand { width: 9.5rem; }
.copyright { font-size: .83rem; color: #bdc8d4; }
.studio-link { margin-left: auto; }
@media (max-width: 850px) {
  .hero { min-height: 35rem; }
  h1 { font-size: clamp(2.8rem, 6.4vw, 3.65rem); }
  .hero-art { top: 59%; width: 65vw; }
  .philosophy-grid { gap: 2.6rem; grid-template-columns: .88fr 1.12fr; }
  .founder { grid-template-columns: 1fr; align-content: start; }
  .portrait { width: min(8rem, 100%); }
}
@media (max-width: 680px) {
  :root { --header-h: 4.25rem; }
  .header-row { gap: clamp(.4rem, 2vw, .75rem); }
  .theme-switch { width: 3rem; height: 2rem; }
  .theme-switch svg { width: 1.29rem; height: 1.29rem; padding: .21rem; }
  .header-row .brand { width: clamp(7.5rem, 23vw, 8.5rem); }
  nav { gap: clamp(.6rem, 2.9vw, 1.2rem); }
  nav a { font-size: .83rem; padding-block: .7rem; }
  .hero { display: flex; flex-direction: column; min-height: auto; }
  .hero-copy { order: 0; padding-block: calc(var(--header-h) + 2.6rem) .5rem; }
  .hero-art { order: 1; position: relative; inset: auto; align-self: flex-end; width: 107%; aspect-ratio: 2.5; margin-block: 1rem 2.5rem; translate: none; }
  .hero::after { height: 3rem; }
  h1 { font-size: clamp(3rem, 10vw, 4.4rem); margin-block: 1rem .85rem; }
  .intro { max-width: 32rem; }
  .button { margin-top: 1.4rem; }
  .section-heading { align-items: start; flex-direction: column; gap: .9rem; }
  .section-heading > p { max-width: 32rem; }
  .product-grid, .philosophy-grid, .founder-grid { grid-template-columns: 1fr; }
  .product-grid { gap: 2.15rem; }
  .product-featured { grid-template-columns: 1fr; }
  .featured-copy { padding: 2rem 1.75rem .5rem; }
  .featured-wordmark { width: 11.5rem; }
  .featured-motto { font-size: clamp(2.5rem, 8vw, 3.3rem); margin-top: 1.35rem; }
  .featured-description { max-width: 42ch; font-size: 1rem; }
  .featured-visual { padding: 2.25rem 1rem; }
  .featured-phone { width: min(60%, 14rem); }
  .featured-visual::before { width: 64%; }
  .featured-visual::after { width: 88%; }
  .product-desc { max-width: 48ch; }
  .art { max-height: 20rem; }
  .philosophy-grid { gap: 1.7rem; }
  .founder { grid-template-columns: minmax(4.7rem, 25%) 1fr; align-items: start; }
  .founder-grid { gap: 1.5rem; }
  .portrait { width: 100%; }
  .footer-row { flex-wrap: wrap; gap: .65rem 1rem; padding-block: 1.4rem; }
  .copyright { order: 3; flex-basis: 100%; }
}
@media (max-width: 450px) {
  .header-row .brand { width: 3.1rem; }
}
@media (max-width: 360px) {
  :root { --gutter: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art { transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .arrived { animation: rise-in .65s cubic-bezier(.18,.7,.29,1) both; }
  @keyframes rise-in {
    from { transform: translateY(16px); }
    to { transform: translateY(0); }
  }
}
