/* CollabRipple: white and brown. Change the brand here. */
:root {
  --white: #ffffff;
  --cream: #f8f3ed;
  --sand: #ece1d4;
  --brown: #8a5a3b;
  --brown-deep: #6b4429;
  --espresso: #34241a;
  --ink: #2b2019;
  --ink-soft: #6f5f53;
  --line: #e8ddd1;
  --serif: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", sans-serif;
  --gutter: clamp(20px, 5vw, 80px);
  --section: clamp(80px, 11vw, 160px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; }
b, strong { font-weight: 500; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }
::selection { background: var(--brown); color: var(--white); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--espresso); color: var(--white); padding: 10px 16px; }
.skip:focus { top: 12px; }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -.005em; }
h1 { font-size: clamp(3rem, 6.6vw, 6.4rem); line-height: 1; }
h2 { font-size: clamp(2.3rem, 4.6vw, 4.1rem); line-height: 1.05; }
h3 { font-size: clamp(1.5rem, 2.1vw, 1.9rem); line-height: 1.15; }
h1 em, h2 em { color: var(--brown); font-style: italic; }
p { margin: 0; }
.eyebrow { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brown); font-weight: 500; margin-bottom: 22px; }
.lede { font-size: clamp(1.08rem, 1.4vw, 1.24rem); color: var(--ink-soft); max-width: 34em; }
.muted { color: var(--ink-soft); }

/* Layout */
.wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--cream { background: var(--cream); }
.section--tight { padding-top: 0; }
.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-bottom: clamp(44px, 6vw, 80px); }
.head > div:first-child { grid-column: 1 / span 7; }
.head > .lede { grid-column: 8 / -1; align-self: end; }

/* Photos */
.photo { position: relative; overflow: hidden; background: var(--sand); border-radius: var(--radius); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
a:hover .photo img, .tile:hover .photo img { transform: scale(1.04); }
.photo--arch { border-radius: 999px 999px var(--radius) var(--radius); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-stuck { border-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 1.6rem/1 var(--serif); letter-spacing: .01em; }
.logo svg { width: 26px; height: 26px; color: var(--brown); flex: none; }
.logo i { font-style: italic; color: var(--brown); }
.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); }
.nav a:not(.btn) { text-decoration: none; font-size: .95rem; font-weight: 400; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brown); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; background: none; border: 0; padding: 10px 0; font: 400 1rem var(--sans); color: inherit; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border: 1px solid var(--espresso); border-radius: 999px;
  background: var(--espresso); color: var(--white);
  font: 400 .95rem/1 var(--sans); letter-spacing: .03em; text-decoration: none; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--brown); border-color: var(--brown); }
.btn--ghost { background: transparent; color: var(--espresso); }
.btn--ghost:hover { color: var(--white); }
.btn--small { padding: 12px 22px; font-size: .9rem; }
.btn--light { background: var(--white); border-color: var(--white); color: var(--espresso); }
.btn--light:hover { background: var(--sand); border-color: var(--sand); color: var(--espresso); }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--outline-light:hover { background: var(--white); border-color: var(--white); color: var(--espresso); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

/* Split hero (home and inner pages) */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 120px); }
.hero .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.hero-copy { grid-column: 1 / span 6; }
.hero-copy .lede { margin-top: 28px; }
.hero-media { grid-column: 8 / -1; position: relative; }
.hero-media .photo { aspect-ratio: 4 / 5; }
.hero--wide .hero-copy { grid-column: 1 / span 6; }
.hero--wide .hero-media { grid-column: 7 / -1; }
.hero--wide .hero-media .photo { aspect-ratio: 5 / 4; }
.badge {
  position: absolute; left: -36px; bottom: 44px; background: var(--white); padding: 20px 24px;
  box-shadow: 0 18px 50px rgba(52, 36, 26, .12); border-radius: var(--radius); max-width: 220px;
}
.badge b { display: block; font: 500 2.6rem/1 var(--serif); color: var(--brown); }
.badge span { font-size: .88rem; color: var(--ink-soft); line-height: 1.4; display: block; margin-top: 6px; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.fact { padding: clamp(28px, 4vw, 52px) clamp(16px, 3vw, 44px); border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; font: 500 clamp(2.6rem, 4.4vw, 3.8rem)/1 var(--serif); color: var(--brown); margin-bottom: 10px; }
.fact span { color: var(--ink-soft); }

/* Niches */
.niches-lead { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.niches-lead .photo { aspect-ratio: 3 / 4; }
.niches-more { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin-top: clamp(28px, 4vw, 52px); }
.niches-more .photo { aspect-ratio: 4 / 5; }
.tile { margin: 0; }
.tile figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; }
.tile figcaption b { font: 500 1.6rem/1.1 var(--serif); }
.niches-lead figcaption b { font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-style: italic; }
.tile figcaption span { font-size: .78rem; letter-spacing: .14em; color: var(--ink-soft); }
.also { margin-top: clamp(32px, 4vw, 52px); padding-top: 26px; border-top: 1px solid var(--line); color: var(--ink-soft); }
.also b { color: var(--ink); }

/* Feature: photo + content */
.feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.feature > .photo { grid-column: 1 / span 6; aspect-ratio: 4 / 5; }
.feature > div:last-child { grid-column: 8 / -1; }
.feature--flip > .photo { grid-column: 7 / -1; order: 2; }
.feature--flip > div:last-child { grid-column: 1 / span 5; order: 1; }
.feature h2 { margin-bottom: 18px; }
.feature .lede + .lede { margin-top: 16px; }

/* Numbered list */
.steps { list-style: none; margin: 34px 0 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 6px 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li::before { content: "0" counter(step); grid-row: span 2; font: italic 500 1.5rem/1.2 var(--serif); color: var(--brown); }
.steps h3 { font-size: 1.5rem; }
.steps p { color: var(--ink-soft); }

/* Rows */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 70px 1fr 1.4fr; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.row > span { font: italic 500 1.4rem var(--serif); color: var(--brown); }
.row p { color: var(--ink-soft); }

/* Statement */
.statement { max-width: 20em; font: 500 clamp(2rem, 4vw, 3.4rem)/1.15 var(--serif); }
.statement em { color: var(--brown); }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.split > :first-child { grid-column: 1 / span 7; }
.split > :last-child { grid-column: 9 / -1; align-self: end; color: var(--ink-soft); }
.split > :last-child p + p { margin-top: 16px; }

/* Doors */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.door { position: relative; display: block; min-height: clamp(420px, 44vw, 620px); text-decoration: none; color: var(--white); overflow: hidden; border-radius: var(--radius); }
.door .photo { position: absolute; inset: 0; border-radius: 0; }
.door .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(52,36,26,0) 20%, rgba(52,36,26,.55) 55%, rgba(52,36,26,.88) 100%); }
.door-text { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(26px, 3.4vw, 48px); z-index: 1; }
.door .eyebrow { color: var(--sand); }
.door h2 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); }
.door h2 em { color: var(--white); }
.door p { margin-top: 12px; max-width: 26em; color: rgba(255,255,255,.9); }
.door .go { display: inline-block; margin-top: 22px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* Banner image */
.banner { aspect-ratio: 21 / 9; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; font: 500 clamp(1.3rem, 1.9vw, 1.6rem)/1.3 var(--serif); display: flex; justify-content: space-between; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.5rem/1 var(--sans); color: var(--brown); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 26px; color: var(--ink-soft); max-width: 44em; }

/* Forms */
.form-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.form-layout > :first-child { grid-column: 1 / span 4; }
.form-layout > :last-child { grid-column: 6 / -1; }
.form-card { background: var(--white); padding: clamp(24px, 4vw, 52px); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(52, 36, 26, .07); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .86rem; font-weight: 400; padding: 0; color: var(--ink); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; font: 300 16px var(--sans); color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid #cbbcad; border-radius: 0; padding: 10px 0;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--brown) 50%), linear-gradient(135deg, var(--brown) 50%, transparent 50%);
  background-position: calc(100% - 11px) 55%, calc(100% - 6px) 55%; background-size: 5px 5px; background-repeat: no-repeat;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-bottom: 2px solid var(--brown); margin-bottom: -1px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip input:checked + span { background: var(--brown); border-color: var(--brown); color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--brown); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 36px; }
.form-foot small { color: var(--ink-soft); flex: 1 1 240px; }
.trap { position: absolute; left: -9999px; }
.form-status { margin-top: 20px; }
.form-status.is-error { color: #9b3022; }
.form-done { padding: 12px 0; }
.form-done h3 { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: 10px; }

/* Data-driven sections */
.creator-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(14px, 2vw, 28px); }
.creator { text-decoration: none; }
.creator img, .creator .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--sand); margin-bottom: 14px; border-radius: var(--radius); }
.creator h3 { font-size: 1.45rem; }
.creator p { color: var(--ink-soft); font-size: .92rem; }
.brand-row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px clamp(32px, 5vw, 72px); }
.brand-row img { max-height: 42px; width: auto; }
.brand-row span { font: italic 500 1.7rem var(--serif); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters button { font: 400 .9rem var(--sans); color: inherit; background: none; cursor: pointer; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; }
.filters button[aria-pressed="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--white); }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.case { background: var(--cream); padding: 28px; display: flex; flex-direction: column; gap: 14px; border-radius: var(--radius); overflow: hidden; }
.case img { width: calc(100% + 56px); max-width: none; margin: -28px -28px 6px; aspect-ratio: 16 / 10; object-fit: cover; }
.case small { letter-spacing: .14em; text-transform: uppercase; font-size: .74rem; color: var(--brown); }
.case p { color: var(--ink-soft); font-size: .98rem; }
.metrics { display: flex; flex-wrap: wrap; gap: 22px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.metrics b { display: block; font: 500 1.8rem/1.1 var(--serif); color: var(--brown); }
.metrics span { font-size: .8rem; color: var(--ink-soft); }

/* Simple page header */
.page-head { padding-block: clamp(56px, 8vw, 120px) clamp(40px, 5vw, 64px); }
.page-head h1 { font-size: clamp(2.8rem, 6vw, 5.6rem); max-width: 12em; }
.page-head .lede { margin-top: 26px; }

/* Contact */
.contact-list { border-top: 1px solid var(--line); }
.contact-list a { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: color .3s; }
.contact-list a:hover { color: var(--brown); }
.contact-list b { font: 500 clamp(1.5rem, 2.4vw, 2rem)/1.2 var(--serif); }
.contact-list span { color: var(--ink-soft); overflow-wrap: anywhere; text-align: right; }

/* Prose */
.prose { max-width: 42em; }
.prose h2 { font-size: 1.9rem; margin: 40px 0 10px; }
.prose p { color: var(--ink-soft); margin: 0 0 14px; }

/* Closing + footer */
.closing { background: var(--espresso); color: var(--white); text-align: center; }
.closing .eyebrow { color: var(--sand); }
.closing h2 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); max-width: 11em; margin-inline: auto; }
.closing h2 em { color: #d8b896; }
.closing .actions { justify-content: center; }
.site-footer { background: var(--espresso); color: var(--white); border-top: 1px solid rgba(255,255,255,.14); padding-block: 44px; font-size: .94rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 22px 40px; align-items: center; }
.foot .logo svg, .foot .logo i { color: #d8b896; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot nav a { text-decoration: none; opacity: .82; }
.foot nav a:hover { opacity: 1; text-decoration: underline; }
.foot small { opacity: .65; }

/* Motion */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.rise { animation: rise 1.1s var(--ease) both; }
.hero-copy > .rise:nth-child(2) { animation-delay: .1s; }
.hero-copy > .rise:nth-child(3) { animation-delay: .2s; }
.hero-copy > .rise:nth-child(4) { animation-delay: .3s; }
.hero-media.rise { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

/* Tablet */
@media (max-width: 1000px) {
  .head > div:first-child, .head > .lede,
  .split > :first-child, .split > :last-child,
  .form-layout > :first-child, .form-layout > :last-child,
  .hero-copy, .hero-media, .hero--wide .hero-copy, .hero--wide .hero-media,
  .feature > .photo, .feature > div:last-child, .feature--flip > .photo, .feature--flip > div:last-child { grid-column: 1 / -1; }
  .feature--flip > .photo { order: 0; }
  .hero-media { margin-top: 36px; }
  .hero-media .photo, .hero--wide .hero-media .photo { aspect-ratio: 4 / 3; }
  .photo--arch { border-radius: 400px 400px var(--radius) var(--radius); }
  .badge { left: 20px; bottom: 20px; }
  .feature > .photo { aspect-ratio: 4 / 3; margin-bottom: 20px; }
  .niches-more { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .creator-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .banner { aspect-ratio: 16 / 9; }
}

/* Phone */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 80px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; font: 500 1.7rem var(--serif); border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; }
  .actions .btn { flex: 1 1 100%; }
  .hero-media .photo { aspect-ratio: 4 / 5; }
  .hero--wide .hero-media .photo { aspect-ratio: 4 / 3; }
  .badge { padding: 14px 18px; }
  .badge b { font-size: 2rem; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact:first-child { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0; }
  .fact:first-child { border-top: 0; }
  .niches-lead { grid-template-columns: 1fr; }
  .niches-lead .photo { aspect-ratio: 4 / 3; }
  .niches-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .niches-more .tile:last-child { grid-column: span 2; }
  .niches-more .tile:last-child .photo { aspect-ratio: 16 / 9; }
  .tile figcaption b { font-size: 1.35rem; }
  .doors, .case-grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .fields { grid-template-columns: 1fr; }
  .creator-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .banner { aspect-ratio: 4 / 3; }
  .contact-list a { flex-direction: column; gap: 4px; }
  .contact-list span { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
