@font-face {
  font-family: "Open Sauce Sans";
  src: url("/fonts/OpenSauceSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sauce Sans";
  src: url("/fonts/OpenSauceSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sauce Sans";
  src: url("/fonts/OpenSauceSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sauce Sans";
  src: url("/fonts/OpenSauceSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif Pro";
  src: url("/fonts/SourceSerifPro-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif Pro";
  src: url("/fonts/SourceSerifPro-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #F6F3EE;
  --cream: #FFFCF7;
  --ink: #1A1916;
  --muted: #5C574F;
  --line: #DDD6CB;
  --pine: #1E5446;
  --pine-ink: #163F35;
  --pine-soft: #E7F0ED;
  --copper: #C46A2D;
  --max: 68rem;
  --measure: 40rem;
  --gutter: clamp(1.5rem, 5vw, 2.75rem);
  --sans: "Open Sauce Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Source Serif Pro", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --shadow: 0 1px 2px rgba(26, 25, 22, .06), 0 10px 28px rgba(26, 25, 22, .06);
}

* { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  border-top: 3px solid var(--pine);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pine); text-underline-offset: 0.15em; }
a:hover { color: var(--pine-ink); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; }

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: var(--cream);
  padding: 0.5rem 0.8rem;
  border-radius: 0.4rem;
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; color: var(--cream); }

.wrap {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.prose { max-width: var(--measure); }

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(246, 243, 238, 0.92);
  backdrop-filter: blur(8px);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 1.75rem;
  min-height: 4.5rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
  min-width: 0;
  flex-shrink: 0;
}
.brand img, .brand svg { width: 2rem; height: 2rem; border-radius: 0.45rem; }
.brand .name { font-size: 1.05rem; }
.brand .sep { color: var(--line); font-weight: 400; }
.brand .product { color: var(--muted); font-weight: 500; }
.nav { display: flex; gap: 1.35rem; font-size: 0.95rem; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--pine); }
.nav a[aria-current="page"] { color: var(--pine); }

.hero { padding: 3.5rem 0 2.5rem; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
}
.lede-kicker {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pine);
  margin: 0 0 0.85rem;
}
.hero .lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 1.6rem;
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem 1.25rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--pine);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.15rem;
  border-radius: 0.55rem;
  box-shadow: var(--shadow);
  justify-content: center;
  text-align: center;
  line-height: 1.3;
}
.btn-label { white-space: nowrap; }
.btn .soon { flex-shrink: 0; white-space: nowrap; }
.btn:hover { background: var(--pine-ink); color: #fff; }
.btn .soon {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255,255,255,.16);
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
}
.note {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

section { padding: 0.5rem 0 2.75rem; }
html, body { overflow-x: clip; }

@media (max-width: 640px) {
  .site-header .wrap {
    flex-wrap: wrap;
    row-gap: 0;
    padding-top: 0.55rem;
    padding-bottom: 0.15rem;
  }
  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.9rem;
    border-top: 1px solid var(--line);
    padding: 0.45rem 0 0.5rem;
    margin-top: 0.55rem;
  }
  .nav a { padding: 0.2rem 0; }
  .hero { padding: 2.25rem 0 2rem; }
  .actions { flex-direction: column; align-items: stretch; text-align: center; }
  .btn { flex-direction: column; gap: 0.4rem; padding: 0.85rem 1rem; }
  .btn-label { white-space: normal; }
  .note { text-align: center; }

  /* Brand pages have only two nav links; keep them on one row with the wordmark when they fit. */
  .studio .site-header .wrap {
    flex-wrap: nowrap;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }
  .studio .nav {
    width: auto;
    justify-content: flex-end;
    gap: 1.15rem;
    border-top: 0;
    padding: 0;
    margin-top: 0;
  }
}
h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.8rem;
}
h3 { font-size: 1.05rem; margin: 1.3rem 0 0.35rem; }
.features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}
.features li {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 1rem 1.15rem;
}
.features strong { display: block; margin-bottom: 0.15rem; }

.callout {
  background: var(--pine-soft);
  border: 1px solid #c9ddd6;
  border-radius: 0.9rem;
  padding: 1.2rem 1.3rem;
  max-width: 44rem;
}
.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }
.disclaimer {
  font-size: 0.95rem;
  color: var(--muted);
}

.shots {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.2rem;
}
.shots.wide { grid-template-columns: 1fr; }
.shots.grid { grid-template-columns: 1fr; }
@media (min-width: 780px) {
  .shots.grid { grid-template-columns: 1fr 1fr; }
}
figure {
  margin: 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
figure img { width: 100%; background: #fff; }
figcaption {
  padding: 0.75rem 1rem 0.95rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.scroll-frame { max-height: 28rem; overflow: auto; background: #fff; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.site-footer .wrap { display: grid; gap: 0.5rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--pine); }
.site-footer strong { color: var(--ink); font-weight: 600; }

.footer-row {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.75rem;
}
.footer-brand { color: var(--ink); font-weight: 600; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.65rem 1.25rem; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }

/* Studio / brand pages */
.studio {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.studio-main {
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: clamp(3.5rem, 12vh, 8rem) 0 clamp(3.75rem, 10vh, 7rem);
}
.studio-hero {
  width: min(var(--max), 100%);
  display: grid;
  gap: 2rem;
}
.kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pine);
  margin: 0 0 1.15rem;
}
.studio-hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.35rem, 6.2vw, 4.05rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 11.2em;
  text-wrap: balance;
}
.studio-hero .lede {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 26rem;
}
@media (min-width: 880px) {
  .studio-hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.8fr);
    gap: 4.5rem 5rem;
    align-items: end;
  }
  .studio-copy { max-width: none; }
  .studio-hero .lede {
    padding-bottom: 0.35rem;
  }
}

.page-main {
  flex: 1;
  padding: clamp(3rem, 8vh, 5.5rem) 0 5rem;
}
.page-main h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.5vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1.35rem;
}
.page-main .meta-date {
  color: var(--muted);
  font-size: 0.95rem;
  margin: -0.7rem 0 1.7rem;
}
.page-main .prose p { margin: 0 0 1.15rem; }
.page-main .prose p:last-child { margin-bottom: 0; }
.page-main .prose h2 {
  font-size: 1.25rem;
  margin: 2.15rem 0 0.65rem;
}
.email-line { margin: 1.5rem 0 1.6rem !important; }
.email-link {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3.2vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--pine);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.email-link:hover { color: var(--pine-ink); text-decoration: underline; }

.not-found { padding: 6rem 0; text-align: left; }

.nowrap { white-space: nowrap; }
.page-main .prose h2 {
  font-size: 1.35rem;
  margin: 2.4rem 0 0.7rem;
}
