/* YUJANS — luxury minimal
   Layout concept: a gallery wall. Ivory space does most of the work; large photographs,
   one high-contrast serif with tight tracking, tiny tracked labels, hairline rules.
   The brick accent appears only as a dot, a hover and a selection colour. */
:root {
  --ivory: #eee6d3;
  --paper: #e5dbc4;
  --ink: #2b1d1c;
  --muted: #6b6747;
  --brick: #ab4c4c;
  --olive: #837f5a;
  --line: rgba(131, 127, 90, 0.35);
  --line-inv: rgba(238, 230, 211, 0.16);

  --f-display: "Instrument Serif", "Times New Roman", Georgia, serif;
  --f-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-label: 0.72rem;
  --t-small: 0.88rem;
  --t-body: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --t-lead: clamp(1.15rem, 1.05rem + 0.45vw, 1.4rem);
  --t-h3: clamp(1.5rem, 1.15rem + 1.2vw, 2.25rem);
  --t-h2: clamp(2.2rem, 1.4rem + 3.3vw, 4.6rem);
  --t-h1: clamp(2.9rem, 1.2rem + 6.8vw, 9rem);

  --space: clamp(110px, 16vw, 240px);
  --wrap: 1480px;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--f-sans); font-size: var(--t-body); font-weight: 400; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
::selection { background: var(--brick); color: var(--ivory); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 0.95; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
p { margin: 0; }
em, .it { font-style: italic; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--ivory); padding: 10px 16px; z-index: 300; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px), 4vw); padding-right: max(20px, env(safe-area-inset-right, 0px), 4vw); }
.section { padding-block: var(--space); }
.label { font-size: var(--t-label); font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 12px; }
.label.dot::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brick); }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--muted); max-width: 34ch; font-weight: 300; }
.muted { color: var(--muted); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* text link with drawn underline */
.tlink { display: inline-flex; align-items: center; gap: 14px; font-size: var(--t-small); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; position: relative; padding-block: 8px; }
.tlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .7s var(--ease); }
.tlink:hover::after { transform: scaleX(0); }
.tlink .ar { width: 28px; height: 1px; background: currentColor; position: relative; transition: width .6s var(--ease); }
.tlink .ar::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.tlink:hover .ar { width: 44px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; height: 58px; padding: 0 34px; border-radius: 999px; background: var(--ink); color: var(--ivory); font-size: var(--t-small); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; transition: background .5s var(--ease), color .5s var(--ease); white-space: nowrap; }
.btn:hover { background: var(--brick); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--ivory); }
.btn--light { background: var(--ivory); color: var(--ink); }
.btn--light:hover { background: var(--ink); color: var(--ivory); }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ivory); }
.site-header { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50; transition: transform .8s var(--ease), background .5s; mix-blend-mode: normal; }
.site-header.is-scrolled { background: rgba(238, 230, 211, 0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.site-header.is-hidden { transform: translateY(-100%); }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 92px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-sans); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.42em; text-transform: uppercase; justify-self: start; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; gap: clamp(20px, 3vw, 44px); list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: var(--t-label); font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; position: relative; padding-block: 6px; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-end { justify-self: end; display: flex; align-items: center; gap: 18px; }
.nav-end .tlink { font-size: var(--t-label); letter-spacing: 0.22em; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 8px; right: 8px; height: 1px; background: currentColor; transition: transform .6s var(--ease), top .6s var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--ink); color: var(--ivory); display: flex; flex-direction: column; justify-content: space-between; padding: 120px max(24px, env(safe-area-inset-right)) max(36px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease); visibility: hidden; }
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mobile-menu a { font-family: var(--f-display); font-size: clamp(3rem, 13vw, 4.6rem); letter-spacing: -0.03em; line-height: 1.05; }
.mobile-menu .mm-foot { display: grid; gap: 8px; font-size: var(--t-small); color: rgba(238, 230, 211,.6); }
.menu-open .site-header { background: transparent; backdrop-filter: none; color: var(--ivory); }
@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links, .nav-end .tlink { display: none; }
  .burger { display: block; }
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(150px, 18vw, 230px); padding-bottom: var(--space); }
.hero-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 70px); }
.hero h1 { font-size: var(--t-h1); line-height: 0.9; letter-spacing: -0.045em; }
.hero h1 .line, .page-hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero h1 .line > span, .page-hero h1 .line > span { display: inline-block; }
.hero h1 .indent { padding-left: 1.4em; }
.hero-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(60px, 9vw, 140px); align-items: end; }
.hero-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img--wide { aspect-ratio: 3 / 4; }
.hero-img--video { aspect-ratio: 3 / 4; }
.hero-img video { display: block; width: 100%; height: 100%; object-fit: cover; }
.sound-toggle { position: absolute; right: 14px; bottom: 14px; z-index: 2; padding: 9px 14px; border: 1px solid rgba(238,230,211,.6); border-radius: 999px; background: rgba(43,29,28,.45); color: var(--ivory); font: inherit; font-size: var(--t-label); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .3s; }
.sound-toggle:hover, .sound-toggle[aria-pressed="true"] { background: var(--brick); border-color: var(--brick); }
.sound-toggle:focus-visible { outline: 2px solid var(--ivory); outline-offset: 3px; }
.hero-copy { display: grid; gap: 32px; align-self: end; padding-bottom: 6px; }
.hero-copy .lead { color: var(--ink); }
.caption { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: var(--t-label); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) {
  .hero-body { grid-template-columns: minmax(0, 1fr); }
  .hero-body .hero-img--side { display: none; }
  .hero h1 .indent { padding-left: 0.6em; }
}

/* ---------- statement ---------- */
.statement { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(24px, 4vw, 64px); }
.statement p.big { font-family: var(--f-display); font-size: clamp(1.8rem, 1.1rem + 2.7vw, 3.7rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 22ch; }
.statement .word { opacity: .18; transition: opacity .3s; }
.statement .word.on { opacity: 1; }
.statement .foot { margin-top: clamp(40px, 5vw, 72px); display: flex; gap: 48px; flex-wrap: wrap; align-items: center; }
@media (max-width: 800px) { .statement { grid-template-columns: minmax(0, 1fr); } }

/* ---------- image pair ---------- */
.pair { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 1fr) minmax(0, 4fr); align-items: start; }
.pair .a { grid-column: 1; }
.pair .b { grid-column: 3; margin-top: clamp(120px, 22vw, 360px); }
.frame { overflow: hidden; position: relative; background: var(--paper); }
.frame img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.pair .a .frame { aspect-ratio: 4 / 5; }
.pair .b .frame { aspect-ratio: 3 / 4; }
@media (max-width: 700px) { .pair { grid-template-columns: minmax(0, 1fr) minmax(0, 0.15fr) minmax(0, 0.8fr); } }

/* ---------- section head ---------- */
.s-head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(24px, 4vw, 64px); margin-bottom: clamp(56px, 8vw, 120px); }
.s-head h2 { font-size: var(--t-h2); }
.s-head .lead { margin-top: 28px; }
@media (max-width: 800px) { .s-head { grid-template-columns: minmax(0, 1fr); } }

/* ---------- services list with cursor image ---------- */
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc li { border-bottom: 1px solid var(--line); }
.svc a { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: clamp(16px, 4vw, 64px); align-items: baseline; padding-block: clamp(28px, 3.4vw, 48px); position: relative; }
.svc .k { font-size: var(--t-label); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.svc h3 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3.2rem); transition: transform .9s var(--ease), color .5s; }
.svc p { color: var(--muted); max-width: 38ch; font-weight: 300; }
.svc a:hover h3 { transform: translateX(18px); font-style: italic; }
.svc-preview { position: fixed; left: 0; top: 0; width: 280px; aspect-ratio: 4 / 5; pointer-events: none; z-index: 30; overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .4s, transform .6s var(--ease); }
.svc-preview.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.svc-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.svc-preview img.on { opacity: 1; }
@media (max-width: 800px) { .svc a { grid-template-columns: minmax(0, 1fr); gap: 10px; } .svc-preview { display: none; } }

/* ---------- selected work (home) ---------- */
.works { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(80px, 11vw, 180px); }
.work { display: grid; gap: 22px; }
.work .frame { aspect-ratio: 4 / 5; }
.work:nth-child(4n+1) { grid-column: 1 / span 6; }
.work:nth-child(4n+2) { grid-column: 8 / span 5; margin-top: clamp(100px, 16vw, 260px); }
.work:nth-child(4n+3) { grid-column: 2 / span 5; }
.work:nth-child(4n+4) { grid-column: 8 / span 5; margin-top: clamp(60px, 8vw, 140px); }
.work:nth-child(4n+3) .frame { aspect-ratio: 1 / 1; }
.work-meta { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; }
.work-meta h3 { font-size: var(--t-h3); }
.work-meta span { font-size: var(--t-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.work p { color: var(--muted); max-width: 44ch; font-weight: 300; }
.work:hover img { transform: scale(1.04); }
.frame img { transition: transform 1.6s var(--ease); }
@media (max-width: 760px) {
  .works { grid-template-columns: minmax(0, 1fr); row-gap: 72px; }
  .work:nth-child(n) { grid-column: 1; margin-top: 0; }
}

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.steps div { display: grid; gap: 16px; align-content: start; padding-top: 28px; border-top: 1px solid var(--line); }
.steps .n { font-family: var(--f-display); font-style: italic; font-size: 1.6rem; color: var(--brick); line-height: 1; }
.steps h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.steps p { color: var(--muted); font-weight: 300; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- clients ---------- */
.clients { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.clients span { padding: clamp(22px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-size: clamp(1.3rem, 1rem + 1vw, 2rem); letter-spacing: -0.02em; transition: color .4s, padding .7s var(--ease); }
.clients span:hover { color: var(--brick); padding-left: 10px; }
@media (max-width: 760px) { .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- full-bleed image band ---------- */
.band { position: relative; height: clamp(420px, 70vw, 900px); overflow: hidden; }
.band img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }
.band .over { position: absolute; inset: auto 0 0 0; padding-block: clamp(28px, 4vw, 56px); color: var(--ivory); background: linear-gradient(transparent, rgba(43, 29, 28,.55)); }
.band .over p { font-family: var(--f-display); font-size: clamp(1.6rem, 1.1rem + 2vw, 3.1rem); letter-spacing: -0.03em; line-height: 1.05; max-width: 20ch; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: clamp(24px, 2.6vw, 36px); font-family: var(--f-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 2.1rem); letter-spacing: -0.02em; line-height: 1.15; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .pm { width: 18px; height: 18px; position: relative; flex: none; }
.faq-list .pm::before, .faq-list .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .6s var(--ease); }
.faq-list .pm::after { transform: rotate(90deg); }
.faq-list details[open] .pm::after { transform: rotate(0); }
.faq-list .ans { padding-bottom: 32px; color: var(--muted); max-width: 62ch; font-weight: 300; }

/* ---------- CTA ---------- */
.cta { background: var(--brick); color: var(--ivory); }
.cta .label { color: rgba(238, 230, 211,.85); }
.cta h2 { font-size: var(--t-h1); line-height: 0.9; letter-spacing: -0.045em; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: end; margin-top: clamp(40px, 5vw, 72px); }
.cta-side { display: grid; gap: 28px; }
.cta-side p { color: rgba(238, 230, 211,.9); font-weight: 300; }
.cta-mail { font-family: var(--f-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); letter-spacing: -0.02em; border-bottom: 1px solid var(--line-inv); padding-bottom: 10px; word-break: break-word; }
.cta-mail:hover { color: var(--ink); }
@media (max-width: 800px) { .cta-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--ivory); padding-top: clamp(40px, 5vw, 80px); padding-bottom: max(28px, env(safe-area-inset-bottom)); }
.foot-top { display: grid; grid-template-columns: minmax(0, 6fr) repeat(3, minmax(0, 2fr)); gap: 32px; padding-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line-inv); }
.foot-top h4 { font-family: var(--f-sans); font-size: var(--t-label); letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: #b3ae88; margin: 0 0 20px; }
.foot-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: var(--t-small); }
.foot-top a { color: rgba(238, 230, 211,.85); transition: color .3s; }
.foot-top a:hover { color: var(--ivory); }
.foot-top .logo { color: var(--ivory); }
.foot-top .blurb { margin-top: 22px; color: rgba(238, 230, 211,.55); max-width: 30ch; font-size: var(--t-small); font-weight: 300; }
.foot-word { font-family: var(--f-display); font-size: clamp(5rem, 24vw, 24rem); letter-spacing: -0.06em; line-height: 0.8; margin-top: clamp(56px, 8vw, 110px); color: rgba(131, 127, 90, .28); user-select: none; white-space: nowrap; text-align: center; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; margin-top: 12px; border-top: 1px solid var(--line-inv); font-size: var(--t-label); letter-spacing: 0.18em; text-transform: uppercase; color: rgba(238, 230, 211,.45); }
@media (max-width: 860px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-top > div:first-child { grid-column: 1 / -1; } }

/* WhatsApp */
.wa-float { position: fixed; z-index: 40; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: var(--ivory); display: grid; place-items: center; transition: background .4s, transform .6s var(--ease); box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.wa-float:hover { background: #25d366; transform: scale(1.06); }
.wa-float svg { width: 24px; height: 24px; }

/* curtain + cursor */
.curtain { position: fixed; inset: 0; z-index: 400; background: var(--ink); transform: scaleY(0); transform-origin: bottom; pointer-events: none; }
.cursor { position: fixed; left: 0; top: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); pointer-events: none; z-index: 500; transform: translate(-50%, -50%); transition: width .5s var(--ease), height .5s var(--ease), background .4s; display: grid; place-items: center; mix-blend-mode: normal; opacity: 0; }
.cursor span { font-size: 0.62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); opacity: 0; transition: opacity .3s; }
.cursor.is-link { width: 46px; height: 46px; background: rgba(43, 29, 28,.12); }
.cursor.is-view { width: 96px; height: 96px; background: var(--ink); }
.cursor.is-view span { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- inner pages ---------- */
.page-hero { padding-top: clamp(170px, 20vw, 260px); padding-bottom: clamp(70px, 9vw, 140px); }
.page-hero h1 { font-size: var(--t-h1); line-height: 0.9; letter-spacing: -0.045em; }
.page-hero .row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(24px, 4vw, 64px); }
.page-hero .lead { margin-top: clamp(32px, 4vw, 56px); }
.crumbs { font-size: var(--t-label); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; display: flex; gap: 10px; }
.crumbs a:hover { color: var(--ink); }
@media (max-width: 800px) { .page-hero .row { grid-template-columns: minmax(0, 1fr); } }

/* services page */
.svc-block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 1fr) minmax(0, 6fr); padding-block: clamp(70px, 9vw, 150px); border-top: 1px solid var(--line); scroll-margin-top: 100px; align-items: start; }
.svc-block .frame { aspect-ratio: 4 / 5; position: sticky; top: 120px; }
.svc-block .body { grid-column: 3; display: grid; gap: 30px; }
.svc-block:nth-of-type(even) .frame { grid-column: 3; grid-row: 1; }
.svc-block:nth-of-type(even) .body { grid-column: 1; grid-row: 1; }
.svc-block h2 { font-size: clamp(2.3rem, 1.4rem + 2.9vw, 4.2rem); }
.svc-block .body > p { font-size: var(--t-lead); color: var(--muted); font-weight: 300; max-width: 44ch; line-height: 1.55; }
.price { font-size: var(--t-label); letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
.price b { color: var(--brick); font-weight: 600; }
.incl { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.incl li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.incl b { font-weight: 500; }
.incl span { color: var(--muted); font-weight: 300; font-size: .96rem; }
.jump { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: clamp(40px, 5vw, 72px); }
.jump a { font-size: var(--t-label); letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--muted); transition: color .3s; }
.jump a:hover { color: var(--ink); }
@media (max-width: 860px) {
  .svc-block { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .svc-block .frame, .svc-block:nth-of-type(even) .frame { position: static; grid-column: 1; grid-row: auto; aspect-ratio: 4 / 3; }
  .svc-block .body, .svc-block:nth-of-type(even) .body { grid-column: 1; grid-row: auto; }
  .incl li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* work page */
.case { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 1fr) minmax(0, 4fr); align-items: end; padding-block: clamp(60px, 8vw, 130px); border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.case .frame { aspect-ratio: 5 / 4; }
.case .body { grid-column: 3; display: grid; gap: 24px; }
.case:nth-child(even) .frame { grid-column: 3 / 4; grid-row: 1; aspect-ratio: 4 / 5; }
.case:nth-child(even) .body { grid-column: 1; grid-row: 1; }
.case h3 { font-size: var(--t-h3); }
.case dl { margin: 0; display: grid; gap: 18px; }
.case dt { font-size: var(--t-label); letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.case dd { margin: 6px 0 0; font-weight: 300; }
.case .tags { font-size: var(--t-small); color: var(--muted); }
.results { display: flex; gap: 36px; flex-wrap: wrap; }
.results b { display: block; font-family: var(--f-display); font-size: 3rem; letter-spacing: -0.03em; line-height: 1; }
.results span { font-size: var(--t-label); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) {
  .case, .case:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .case .frame, .case:nth-child(even) .frame, .case .body, .case:nth-child(even) .body { grid-column: 1; grid-row: auto; }
}
.filters { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; }
.filters button { font-size: var(--t-label); letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--muted); padding-block: 6px; position: relative; transition: color .3s; }
.filters button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.filters button:hover, .filters button.is-active { color: var(--ink); }
.filters button.is-active::after { transform: scaleX(1); }
.filters .count { margin-left: auto; font-size: var(--t-label); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; }
.filter-bar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); z-index: 20; background: var(--ivory); padding-block: 18px; border-bottom: 1px solid var(--line); }
.masonry { columns: 3 300px; column-gap: clamp(16px, 2vw, 32px); margin-top: clamp(40px, 5vw, 72px); }
.piece { break-inside: avoid; display: block; width: 100%; text-align: left; margin-bottom: clamp(36px, 4vw, 64px); }
.piece .frame { aspect-ratio: var(--r, 4 / 5); }
.piece .meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }
.piece .meta b { font-weight: 500; font-size: .96rem; }
.piece .meta span { font-size: var(--t-label); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; padding-top: 3px; }
.piece:hover img { transform: scale(1.04); }
.piece.is-hidden { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 250; background: rgba(238, 230, 211,.97); display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: clamp(24px, 4vw, 64px); padding: max(28px, env(safe-area-inset-top)) max(28px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(28px, env(safe-area-inset-left)); opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lb-stage { display: grid; place-items: center; min-height: 0; }
.lb-art { height: min(84vh, 900px); max-width: 100%; overflow: hidden; }
.lb-art img { width: 100%; height: 100%; object-fit: cover; }
.lb-info { align-self: center; display: grid; gap: 18px; }
.lb-info h3 { font-size: var(--t-h3); }
.lb-btns { display: flex; gap: 24px; align-items: center; margin-top: 12px; }
.lb-btn { font-size: var(--t-label); letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
.lb-btn:hover { color: var(--brick); }
.lb-close { position: absolute; top: max(28px, env(safe-area-inset-top)); right: max(28px, env(safe-area-inset-right)); }
@media (max-width: 860px) { .lightbox { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; overflow-y: auto; padding-top: 80px; } .lb-art { height: 58vh; } }

/* about */
.about-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 1fr) minmax(0, 6fr); align-items: center; }
.about-split .frame { aspect-ratio: 4 / 5; }
.about-split .body { grid-column: 3; display: grid; gap: 28px; }
.prose { display: grid; gap: 20px; color: var(--muted); font-size: var(--t-lead); font-weight: 300; line-height: 1.6; max-width: 46ch; }
.prose strong { color: var(--ink); font-weight: 500; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.principles div { display: grid; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line); align-content: start; }
.principles h3 { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.6rem); }
.principles p { color: var(--muted); font-weight: 300; }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.member { display: grid; gap: 16px; }
.member .frame { aspect-ratio: 3 / 4; }
.member h3 { font-size: clamp(1.6rem, 1.3rem + 0.8vw, 2.2rem); }
.member p { color: var(--muted); font-size: var(--t-small); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
@media (max-width: 860px) {
  .about-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .about-split .body { grid-column: 1; }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .team { grid-template-columns: minmax(0, 1fr); } }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 1fr) minmax(0, 7fr); align-items: start; }
.contact-grid .form { grid-column: 3; }
.cinfo { display: grid; gap: 34px; }
.cinfo div { display: grid; gap: 6px; }
.cinfo small { font-size: var(--t-label); letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.cinfo a, .cinfo b { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); letter-spacing: -0.02em; word-break: break-word; }
.cinfo a:hover { color: var(--brick); }
.form { display: grid; gap: 34px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: var(--t-label); letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); padding: 12px 0; font: inherit; font-family: var(--f-display); font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem); letter-spacing: -0.01em; border-radius: 0; transition: border-color .4s; }
.field input::placeholder, .field textarea::placeholder { color: rgba(43, 29, 28,.25); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pills label { position: relative; }
.pills input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; }
.pills span { display: inline-block; padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: var(--t-small); cursor: pointer; transition: all .3s; }
.pills input:checked + span { background: var(--ink); color: var(--ivory); box-shadow: none; }
.pills input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 3px; }
.form-note { font-size: var(--t-small); color: var(--muted); font-weight: 300; }
.form-success { display: grid; gap: 24px; padding-block: 40px; }
.form-success h3 { font-size: var(--t-h2); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 72px; } .contact-grid .form { grid-column: 1; } }
@media (max-width: 520px) { .row2 { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- journal ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(16px, 2vw, 32px); }
.posts--all { margin-top: clamp(40px, 5vw, 72px); }
.post-card { display: grid; gap: 16px; align-content: start; }
.post-card .frame { aspect-ratio: 4 / 3; }
.post-card h3 { font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2.1rem); line-height: 1.05; }
.post-card p { color: var(--muted); font-weight: 300; font-size: .96rem; }
.post-card:hover img { transform: scale(1.04); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: var(--t-label); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.post-wrap.is-hidden { display: none; }
@media (max-width: 900px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .posts { grid-template-columns: minmax(0, 1fr); } }

.post-hero { padding-top: clamp(150px, 17vw, 220px); }
.post-hero h1 { font-size: clamp(2.6rem, 1.5rem + 4.4vw, 6rem); line-height: .98; letter-spacing: -0.04em; max-width: 18ch; margin: clamp(28px, 3vw, 44px) 0; }
.post-cover { aspect-ratio: 16 / 8; margin-top: clamp(48px, 6vw, 90px); }
.post-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 64px); padding-block: clamp(60px, 8vw, 120px); }
.toc { position: sticky; top: 120px; align-self: start; display: grid; gap: 16px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; border-left: 1px solid var(--line); }
.toc a { display: block; padding-left: 16px; font-size: var(--t-small); color: var(--muted); line-height: 1.4; transition: color .3s; }
.toc a:hover, .toc a.is-on { color: var(--ink); }
.post-body { font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem); line-height: 1.8; font-weight: 300; max-width: 68ch; }
.post-body > * + * { margin-top: 1.3em; }
.post-dek { font-family: var(--f-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem); line-height: 1.25; letter-spacing: -0.02em; font-weight: 400; color: var(--ink); }
.post-body h2 { font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); margin-top: 2.2em; scroll-margin-top: 110px; }
.post-body h3 { font-size: clamp(1.4rem, 1.2rem + .7vw, 1.9rem); margin-top: 1.8em; letter-spacing: -0.02em; }
.post-body strong { font-weight: 600; }
.post-body a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.post-body a:hover { color: var(--brick); }
.post-body ul, .post-body ol { padding-left: 1.2em; }
.post-body li + li { margin-top: .5em; }
.post-body li::marker { color: var(--brick); }
.post-body blockquote { margin: 2em 0; padding-left: 24px; border-left: 1px solid var(--brick); font-family: var(--f-display); font-size: 1.6em; line-height: 1.25; font-weight: 400; }
.post-body img { margin-block: 2em; width: 100%; }
.post-body table { width: 100%; border-collapse: collapse; font-size: .92em; display: block; overflow-x: auto; }
.post-body th, .post-body td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); }
.post-end { margin-top: 4em !important; padding-top: 40px; border-top: 1px solid var(--line); display: grid; gap: 20px; }
.post-end p { font-family: var(--f-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.4rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 400; }
@media (max-width: 960px) { .post-layout { grid-template-columns: minmax(0, 1fr); } .toc { position: static; } .toc:empty { display: none; } }

/* Colour accents in type: red for italic emphasis and active states, olive for supporting detail */
h1 em, h2 em, h3 em { color: var(--brick); }
.cta h2 em, .band .over em { color: inherit; }
.svc .k, .steps .n, .principles .n { color: var(--olive); }
.svc a:hover h3, .work:hover .work-meta h3, .case:hover h3, .piece:hover .meta b { color: var(--brick); }
.clients span { color: var(--muted); }
.clients span:hover { color: var(--brick); }
.faq-list details[open] summary { color: var(--brick); }
.results b { color: var(--brick); }
.post-body h2, .prose h2 { color: var(--muted); }
.post-dek { color: var(--olive); }
.caption span:first-child { color: var(--olive); }
.foot-top a:hover { color: #e4a5a5; }

/* Newsletter */
.newsletter { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.nl-title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem); margin-top: 18px; }
.nl-text { margin-top: 18px; max-width: 46ch; color: var(--muted); font-weight: 300; }
.nl-row { display: flex; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.nl-row input { flex: 1; min-width: 0; background: transparent; border: 0; color: inherit; font: inherit; font-size: 1.05rem; padding: 12px 0; }
.nl-row input:focus { outline: none; }
.nl-row:focus-within { border-color: var(--brick); }
.nl-row .btn { height: 50px; padding: 0 26px; flex-shrink: 0; }
.nl-note { margin-top: 12px; font-size: var(--t-small); color: var(--muted); }
.nl-done { font-family: var(--f-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.2; color: var(--brick); }
.nl-section { padding-top: 0; }
.nl-section .newsletter { border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 110px); }
.newsletter--dark { padding-bottom: clamp(48px, 6vw, 90px); }
.newsletter--dark .label { color: #b3ae88; }
.newsletter--dark .nl-title em { color: #e4a5a5; }
.newsletter--dark .nl-text, .newsletter--dark .nl-note { color: rgba(238, 230, 211, .7); }
.newsletter--dark .nl-row { border-color: rgba(238, 230, 211, .25); }
.newsletter--dark .nl-row:focus-within { border-color: #e4a5a5; }
.newsletter--dark .nl-row input::placeholder { color: rgba(238, 230, 211, .45); }
.newsletter--dark .btn { background: var(--brick); color: var(--ivory); }
.newsletter--dark .btn:hover { background: var(--ivory); color: var(--ink); }
.newsletter--dark .nl-done { color: #e4a5a5; }
@media (max-width: 820px) { .newsletter { grid-template-columns: minmax(0, 1fr); align-items: start; } }
@media (max-width: 480px) { .nl-row { flex-wrap: wrap; border-bottom: 0; } .nl-row input { flex-basis: 100%; border-bottom: 1px solid var(--line); } .newsletter--dark .nl-row input { border-color: rgba(238,230,211,.25); } .nl-row .btn { width: 100%; } }

/* Collabs page */
.collab-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); }
.collab-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); }
.collab-card { display: grid; gap: 22px; align-content: start; padding: clamp(32px, 4vw, 64px); background: var(--paper); border-radius: 4px; }
.collab-card h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); }
.collab-card ul { list-style: none; display: grid; gap: 14px; margin: 6px 0 10px; }
.collab-card li { padding-left: 26px; position: relative; color: var(--muted); font-weight: 300; }
.collab-card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 1px; background: var(--brick); }
.collab-card--olive { background: #5f5b3c; color: var(--ivory); }
.collab-card--olive .label, .collab-card--olive li { color: rgba(238, 230, 211, .92); }
.collab-card--olive li::before { background: var(--ivory); }
.collab-card--olive h2 em { color: inherit; }
.collab-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 36px); align-items: start; }
.collab-gallery figure { margin: 0; }
.collab-gallery .frame { aspect-ratio: 3 / 4; border-radius: 4px; }
.collab-gallery figure:nth-child(1) .frame { transform: rotate(-1.6deg); }
.collab-gallery figure:nth-child(2) { margin-top: clamp(28px, 6vw, 96px); }
.collab-gallery figure:nth-child(3) .frame { transform: rotate(1.4deg); }
@media (max-width: 760px) {
  .collab-gallery { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 68%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 16px; -webkit-overflow-scrolling: touch; }
  .collab-gallery figure { scroll-snap-align: center; }
  .collab-gallery figure:nth-child(2) { margin-top: 24px; }
}
.collab-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.collab-types div { display: grid; gap: 14px; align-content: start; padding-top: 28px; border-top: 1px solid var(--line); }
.collab-types .n { font-size: var(--t-label); letter-spacing: .22em; color: var(--olive); font-weight: 600; }
.collab-types h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.collab-types p { color: var(--muted); font-weight: 300; }
.collab-join { background: var(--paper); }
.collab-tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: clamp(40px, 5vw, 72px); }
.collab-tabs button { height: 48px; padding: 0 26px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: var(--t-small); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.collab-tabs button[aria-selected="true"] { background: var(--brick); color: var(--ivory); }
.collab-tabs button:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.collab-panel { max-width: 920px; }
.check { display: flex; gap: 14px; align-items: flex-start; font-size: var(--t-small); color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brick); flex: none; }
@media (max-width: 900px) { .collab-split { grid-template-columns: minmax(0, 1fr); } .collab-types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .collab-types { grid-template-columns: minmax(0, 1fr); } .collab-tabs { display: flex; } .collab-tabs button { flex: 1; padding: 0 12px; letter-spacing: .08em; } .collab-ctas .btn { width: 100%; } }

/* Resources */
.res-jump { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: clamp(28px, 3vw, 44px); }
.res-jump a { font-size: var(--t-label); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: color .3s, border-color .3s; }
.res-jump a:hover { color: var(--brick); border-color: var(--brick); }
.res-n { font-family: var(--f-display); font-style: italic; color: var(--olive); font-size: 1.4rem; line-height: 1; }
.res-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.res-tools--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.res-tool { display: grid; gap: 14px; align-content: start; padding: clamp(28px, 3vw, 44px); background: var(--paper); border-radius: 4px; transition: background .5s var(--ease), transform .6s var(--ease); }
.res-tool:hover { background: #ddd1b6; transform: translateY(-4px); }
.res-tool h3 { font-size: var(--t-h3); }
.res-tool p { color: var(--muted); font-weight: 300; }
.res-tool .tlink { justify-self: start; margin-top: 10px; }
.res-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.res-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.res-product { display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 3vw, 44px); border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line); }
.res-product h3 { font-size: var(--t-h3); }
.res-product p { color: var(--muted); font-weight: 300; }
.res-product .btn { margin-top: auto; align-self: flex-start; }
.res-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.res-price { font-family: var(--f-display); font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.6rem); line-height: 1; color: var(--brick); white-space: nowrap; }
.res-price s { font-size: .55em; color: var(--muted); margin-left: 6px; }
.res-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: var(--t-small); }
.res-list li { display: flex; gap: 10px; align-items: baseline; }
.res-list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--olive); flex: none; transform: translateY(-2px); }
.res-product--dark { background: var(--ink); color: var(--ivory); box-shadow: none; }
.res-product--dark p, .res-product--dark .label { color: rgba(238,230,211,.72); }
.res-product--dark .res-price { color: #e8a39a; }
.res-product--dark .res-list li::before { background: #e8a39a; }
.res-product--dark .btn { background: var(--brick); }
.res-product--dark .btn:hover { background: var(--ivory); color: var(--ink); }
.res-product--olive { background: #5f5b3c; color: var(--ivory); box-shadow: none; }
.res-product--olive p, .res-product--olive .label { color: rgba(238,230,211,.75); }
.res-product--olive .res-price { color: var(--ivory); }
.res-product--olive .btn { background: var(--ivory); color: var(--ink); }
.res-product--olive .btn:hover { background: var(--ink); color: var(--ivory); }
.res-courses { border-top: 1px solid var(--line); }
.res-course { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 48px); align-items: center; padding-block: clamp(28px, 3vw, 44px); border-bottom: 1px solid var(--line); }
.res-course h3 { font-size: var(--t-h3); }
.res-course-main { display: grid; gap: 8px; }
.res-course-main p { color: var(--muted); font-weight: 300; max-width: 60ch; }
.res-course-main .res-for { font-size: var(--t-label); letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--olive); }
.res-course-buy, .res-bundle-buy { display: flex; align-items: center; gap: 24px; }
.res-bundle { margin-top: clamp(28px, 3vw, 44px); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: clamp(28px, 3vw, 48px); background: var(--paper); border-radius: 4px; }
.res-bundle h3 { font-size: var(--t-h3); margin: 12px 0 8px; }
.res-bundle p { color: var(--muted); font-weight: 300; max-width: 52ch; }
.res-circle { background: var(--brick); color: var(--ivory); }
.res-circle-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.res-circle h2 { font-size: var(--t-h2); }
.res-circle h2 em { color: inherit; }
.res-circle-grid > div { display: grid; gap: 24px; justify-items: start; }
.res-circle p { color: rgba(238,230,211,.88); font-weight: 300; }
.res-small { font-size: var(--t-small); color: var(--muted); font-weight: 300; }
.res-circle .res-small { color: rgba(238,230,211,.7); }
@media (max-width: 900px) {
  .res-tools, .res-products { grid-template-columns: minmax(0, 1fr); }
  .res-duo, .res-tools--2, .res-circle-grid { grid-template-columns: minmax(0, 1fr); }
  .res-course { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .res-course-buy { justify-content: space-between; }
}

/* Tools */
.tool-hero h1 { margin-top: 18px; }
.tool-card { display: grid; gap: clamp(28px, 3vw, 40px); padding: clamp(24px, 4vw, 56px); background: var(--paper); border-radius: 4px; }
.tool-meta { font-size: var(--t-label); letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.ig-progress { height: 2px; background: var(--line); position: sticky; top: 76px; z-index: 2; }
.ig-progress span { display: block; height: 100%; width: 0; background: var(--brick); transition: width .5s var(--ease); }
.ig-q { border: 0; margin: 0; padding: 0 0 clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--line); display: grid; gap: 14px; }
.ig-q legend { font-family: var(--f-display); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.9rem); line-height: 1.2; letter-spacing: -.01em; display: flex; gap: 16px; align-items: baseline; padding: 0; margin-bottom: 14px; }
.ig-q.is-missing legend { color: var(--brick); }
.ig-q .pills span { background: var(--ivory); }
.tool-actions { display: flex; gap: 20px 28px; align-items: center; flex-wrap: wrap; }
.tool-reset { background: none; border: 0; padding: 8px 0; color: inherit; font: inherit; font-size: var(--t-small); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.tool-result { display: grid; gap: clamp(28px, 3vw, 44px); padding: clamp(24px, 4vw, 56px); background: var(--paper); border-radius: 4px; outline: none; }
.ig-score { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.ig-score h2 { font-size: var(--t-h2); margin-top: 12px; }
.ig-ring { --p: 0; width: clamp(150px, 18vw, 220px); aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(closest-side, var(--paper) 86%, transparent 87% 100%), conic-gradient(var(--brick) calc(var(--p) * 1%), var(--line) 0); }
.ig-ring span { font-family: var(--f-display); font-size: clamp(3.4rem, 2.6rem + 3vw, 5rem); line-height: .9; }
.ig-ring small { font-size: var(--t-label); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ig-bars { display: grid; gap: 14px; max-width: 640px; }
.ig-bar { display: grid; grid-template-columns: 90px minmax(0, 1fr) 48px; gap: 16px; align-items: center; font-size: var(--t-small); }
.ig-track { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.ig-track span { display: block; height: 100%; background: var(--olive); border-radius: inherit; }
.tool-h3 { font-size: var(--t-h3); }
.ig-tips { margin: 0; padding-left: 1.4em; display: grid; gap: 14px; max-width: 68ch; }
.ig-tips li::marker { font-family: var(--f-display); color: var(--brick); }
.tool-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.tool-out { position: sticky; top: 100px; display: grid; gap: 18px; padding: clamp(28px, 3vw, 48px); background: var(--ink); color: var(--ivory); border-radius: 4px; }
.tool-out .label { color: rgba(238,230,211,.7); }
.rate-num { font-family: var(--f-display); font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem); line-height: 1; letter-spacing: -.02em; }
.rate-note { color: rgba(238,230,211,.75); font-weight: 300; }
.rate-dl { margin: 0; display: grid; gap: 10px; border-top: 1px solid var(--line-inv); padding-top: 18px; }
.rate-dl div { display: flex; justify-content: space-between; gap: 16px; font-size: var(--t-small); }
.rate-dl dt { color: rgba(238,230,211,.6); }
.rate-dl dd { margin: 0; text-align: right; }
.tool-out .res-small { color: rgba(238,230,211,.55); }
.tool-out .btn { justify-self: start; }
.tool-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.tool-how div { display: grid; gap: 12px; align-content: start; padding-top: 24px; border-top: 1px solid var(--line); }
.tool-how h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); }
.tool-how p { color: var(--muted); font-weight: 300; }
.grid-controls { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.grid-add { cursor: pointer; }
.grid-phone { max-width: 520px; width: 100%; margin-inline: auto; background: var(--ivory); border-radius: 22px; padding: 20px 12px 12px; box-shadow: 0 30px 60px -30px rgba(43,29,28,.35); }
.grid-profile { display: flex; gap: 14px; align-items: center; padding: 0 8px 16px; }
.grid-profile strong { display: block; font-size: var(--t-small); }
.grid-profile span { font-size: .78rem; color: var(--muted); }
.grid-avatar { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); flex: none; }
.grid-avatar svg { width: 34px; height: 34px; }
.grid-drop { border: 1px dashed var(--olive); border-radius: 8px; padding: 48px 20px; text-align: center; color: var(--muted); font-size: var(--t-small); }
.grid-tool.is-over .grid-phone { outline: 2px solid var(--brick); outline-offset: 6px; }
.grid-board { --ar: 3/4; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
.grid-board li { position: relative; aspect-ratio: var(--ar); overflow: hidden; background: var(--paper); cursor: grab; }
.grid-board img { width: 100%; height: 100%; object-fit: cover; }
.grid-board li.is-picked { outline: 3px solid var(--brick); outline-offset: -3px; }
.grid-rm { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(43,29,28,.7); color: var(--ivory); font-size: 16px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .3s; }
.grid-board li:hover .grid-rm, .grid-board li.is-picked .grid-rm { opacity: 1; }
@media (hover: none) { .grid-rm { opacity: 1; } }
@media (max-width: 900px) {
  .tool-split, .tool-how { grid-template-columns: minmax(0, 1fr); }
  .tool-out { position: static; }
  .ig-score { grid-template-columns: minmax(0, 1fr); justify-items: start; }
}
.tool-card[hidden], .tool-result[hidden], .grid-drop[hidden] { display: none; }
.tool-card, .tool-result, .tool-out { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 520px) { .tool-actions .btn, .res-product .btn, .res-course-buy .btn, .res-bundle-buy .btn { white-space: normal; height: auto; min-height: 54px; padding: 14px 24px; text-align: center; } }

/* ==========================================================
   THEME: Red Brick (Olive & Oat palette)
   Red Brick #A64B3C · Terracotta #C86E4A · Cinnamon #9B5E3C · Olive #6E6B3C · Oat #E6DED0
   Page sits on Red Brick with Oat text; Oat cards carry long reading.
   ========================================================== */
:root {
  --red: #A64B3C; --terracotta: #C86E4A; --cinnamon: #9B5E3C; --olive-c: #6E6B3C; --oat: #E6DED0; --deep: #3B1E17; --espresso: #2B1D1C;
  --ivory: #A64B3C;            /* page background */
  --paper: #E6DED0;            /* light surfaces */
  --ink: #F1EADD;              /* main text on red */
  --muted: #EDE3D6;            /* secondary text on red */
  --brick: #F6D3BC;            /* accent on red: italics, dots, hovers */
  --olive: #E8E2B8;            /* small labels on red */
  --line: rgba(241, 234, 221, 0.28);
  --line-inv: rgba(241, 234, 221, 0.16);
}
body { background: var(--red); }
.lead, .s-head .lead { color: var(--muted); }

/* Light surfaces: tokens flip back to dark text on Oat */
.light, .collab-card:not(.collab-card--olive), .collab-join, .res-tool, .res-bundle, .tool-card, .tool-result, .lightbox, .res-oat {
  --ivory: #F3EEE4; --paper: #E6DED0; --ink: #2B1D1C; --muted: #5C4A3F; --brick: #A64B3C; --olive: #6E6B3C; --line: rgba(110, 107, 60, 0.35);
  color: var(--ink);
}
.collab-card:not(.collab-card--olive), .res-tool, .res-bundle, .tool-card, .tool-result, .res-oat { background: var(--oat); }
.collab-join { background: var(--oat); }
.lightbox { background: rgba(230, 222, 208, .98); }

/* Dark surfaces */
.site-footer, .mobile-menu, .skip, .wa-float, .curtain, .tool-out, .res-product--dark { background: var(--deep); color: #F1EADD; }
.site-footer { --ink: #F1EADD; --muted: rgba(241,234,221,.7); --brick: #F6D3BC; --line: rgba(241,234,221,.2); }
.tool-out .btn--light { background: var(--oat); color: var(--espresso); }
.tool-out .btn--light:hover { background: var(--terracotta); color: #F1EADD; }
.wa-float:hover { background: var(--oat); color: var(--red); }

/* Coloured sections */
.cta { background: var(--olive-c); color: #F1EADD; }
.cta .btn--light, .btn--light { background: var(--oat); color: var(--espresso); }
.cta .btn--light:hover, .btn--light:hover { background: var(--deep); color: #F1EADD; }
.collab-card--olive, .res-product--olive { background: var(--olive-c); color: #F1EADD; }
.res-circle { background: var(--cinnamon); }
.site-header.is-scrolled { background: rgba(166, 75, 60, 0.92); }
.cursor.is-link { background: rgba(241, 234, 221, .18); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .5; }
.field select option { color: #2B1D1C; }
.band .over { background: linear-gradient(transparent, rgba(59, 30, 23, .6)); }
.foot-top h4, .newsletter--dark .label { color: #D8D2A6; }

/* ---------- Resources, redesigned ---------- */
.rs-c-terracotta { background: var(--terracotta); color: #FBF3EA; }
.rs-c-olive { background: var(--olive-c); color: #F1EADD; }
.rs-c-cinnamon { background: var(--cinnamon); color: #F1EADD; }
.rs-c-oat { background: var(--oat); color: var(--espresso); }
.rs-c-deep { background: var(--deep); color: #F1EADD; }
.rs-c-red { background: #8E3B2F; color: #F1EADD; }
.rs-leaf { width: 96px; height: auto; color: currentColor; opacity: .55; }
.rs-hero { position: relative; overflow: hidden; }
.rs-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(28px, 3vw, 44px); }
.rs-ghost { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.rs-ghost:hover { background: var(--ink); color: var(--red); }
.rs-float { position: absolute; right: clamp(-40px, 2vw, 60px); top: clamp(150px, 16vw, 220px); width: clamp(260px, 30vw, 440px); height: 420px; pointer-events: none; }
.rs-mini { position: absolute; width: 58%; aspect-ratio: 3 / 4; padding: 22px; border-radius: 6px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 30px 60px -24px rgba(30, 10, 6, .55); animation: rs-bob 7s ease-in-out infinite; }
.rs-mini span { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; opacity: .8; }
.rs-mini b { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); line-height: 1.02; }
.rs-mini .rs-leaf { margin-top: auto; }
.rs-mini:nth-child(1) { left: 0; top: 40px; transform: rotate(-8deg); }
.rs-mini:nth-child(2) { left: 30%; top: 0; transform: rotate(4deg); animation-delay: -2.5s; }
.rs-mini:nth-child(3) { left: 46%; top: 150px; transform: rotate(10deg); animation-delay: -4.5s; width: 50%; }
.rs-mini-ring { margin-top: auto; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(closest-side, var(--oat) 80%, transparent 82%), conic-gradient(var(--red) 72%, rgba(110,107,60,.3) 0); font-style: normal; }
.rs-mini-ring em { font-family: var(--f-display); font-style: normal; font-size: 1.6rem; color: var(--espresso); }
@keyframes rs-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.rs-hero .row > div { position: relative; z-index: 1; max-width: 760px; }
@media (max-width: 1100px) { .rs-float { display: none; } }

.rs-marquee { overflow: hidden; background: var(--oat); color: var(--red); border-block: 1px solid rgba(43,29,28,.1); }
.rs-track { display: flex; width: max-content; animation: rs-marquee 38s linear infinite; }
.rs-track > span { display: flex; align-items: center; }
.rs-track b { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.3rem); padding: 18px 28px; white-space: nowrap; }
.rs-track i { width: 9px; height: 9px; background: var(--olive-c); transform: rotate(45deg); flex: none; }
@keyframes rs-marquee { to { transform: translateX(-50%); } }

.rs-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding-block: clamp(48px, 6vw, 96px); }
.rs-stats div { display: grid; gap: 8px; padding: 0 clamp(12px, 2vw, 32px); border-left: 1px solid var(--line); }
.rs-stats div:first-child { border-left: 0; padding-left: 0; }
.rs-stats b { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.8rem, 2rem + 3vw, 5.4rem); line-height: .9; letter-spacing: -.03em; }
.rs-stats span { font-size: var(--t-small); color: var(--muted); }
@media (max-width: 760px) { .rs-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } .rs-stats div:nth-child(3) { border-left: 0; padding-left: 0; } }

.rs-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.rs-tool { display: grid; grid-template-rows: auto 1fr; border-radius: 6px; overflow: hidden; transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.rs-tool:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: 0 40px 70px -40px rgba(30, 10, 6, .7); }
.rs-preview { aspect-ratio: 16 / 11; display: grid; place-items: center; padding: 26px; position: relative; overflow: hidden; }
.rs-pv1 { background: var(--terracotta); color: #FBF3EA; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.rs-pv2 { background: var(--olive-c); color: #F1EADD; }
.rs-pv3 { background: var(--cinnamon); }
.rs-ring { width: 108px; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(closest-side, var(--terracotta) 80%, transparent 82%), conic-gradient(#FBF3EA 72%, rgba(251,243,234,.25) 0); }
.rs-ring em { font-family: var(--f-display); font-style: normal; font-size: 2.6rem; line-height: .9; }
.rs-ring small { font-size: .5rem; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.rs-pv1 ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; width: 100%; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.rs-pv1 li { display: grid; gap: 5px; }
.rs-pv1 li::after { content: ""; height: 5px; border-radius: 9px; width: var(--w); background: #FBF3EA; transform-origin: left; transition: transform 1s var(--ease); }
.rs-tool:hover .rs-pv1 li::after { transform: scaleX(1.08); }
.rs-rate { display: grid; gap: 8px; width: 100%; }
.rs-rate small { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.rs-rate b { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 1.3rem + 1vw, 2.4rem); line-height: 1; }
.rs-bars { display: flex; align-items: flex-end; gap: 8px; height: 64px; margin-top: 6px; }
.rs-bars i { flex: 1; height: var(--h); background: rgba(241,234,221,.85); border-radius: 3px 3px 0 0; transition: height .8s var(--ease); }
.rs-tool:hover .rs-bars i:nth-child(odd) { height: calc(var(--h) + 10%); }
.rs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; width: 72%; padding: 8px; background: var(--oat); border-radius: 10px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); transform: rotate(-3deg); transition: transform .8s var(--ease); }
.rs-tool:hover .rs-grid { transform: rotate(0); }
.rs-grid i { aspect-ratio: 3 / 4; background-size: cover; background-position: center; }
.rs-tool-body { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 2.6vw, 36px); }
.rs-tool-body h3 { font-size: var(--t-h3); }
.rs-tool-body p { color: var(--muted); }
.rs-tool-body .tlink { justify-self: start; margin-top: 6px; }

.rs-products { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.rs-product { display: flex; flex-direction: column; border-radius: 6px; overflow: hidden; background: rgba(241,234,221,.06); box-shadow: inset 0 0 0 1px var(--line); transition: transform .7s var(--ease); }
.rs-product:hover { transform: translateY(-6px); }
.rs-cover { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 2.6vw, 36px); min-height: 260px; overflow: hidden; }
.rs-cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 100% 0%, rgba(255,255,255,.14), transparent 60%); pointer-events: none; }
.rs-cover .rs-tag { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; opacity: .85; }
.rs-cover b { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 3rem); line-height: .98; letter-spacing: -.02em; max-width: 12ch; }
.rs-cover small { font-size: var(--t-small); opacity: .85; max-width: 26ch; }
.rs-cover .rs-leaf { margin-top: auto; }
.rs-badge { position: absolute; right: 22px; bottom: 22px; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--oat); color: var(--red); font-family: var(--f-display); font-size: 1.5rem; transform: rotate(-12deg); box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); transition: transform .8s var(--ease); }
.rs-product:hover .rs-badge { transform: rotate(0) scale(1.06); }
.rs-product.is-featured .rs-cover { min-height: 320px; }
.rs-product.is-featured .rs-badge { width: 100px; height: 100px; font-size: 1.8rem; }
.rs-product-body { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 2.4vw, 32px); flex: 1; }
.rs-product-body p { color: var(--muted); }
.rs-product-body .btn { margin-top: auto; align-self: flex-start; }

.rs-shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px) clamp(16px, 2vw, 28px); }
.rs-book { display: grid; gap: 18px; align-content: start; }
.rs-book-cover { aspect-ratio: 4 / 3.2; min-height: 0; border-radius: 3px 8px 8px 3px; box-shadow: inset 10px 0 0 rgba(0,0,0,.14), inset 12px 0 0 rgba(255,255,255,.08), 0 26px 50px -30px rgba(25, 8, 4, .75); transition: transform .8s var(--ease), box-shadow .8s var(--ease); padding-left: calc(clamp(24px, 2.6vw, 36px) + 8px); }
.rs-book:hover .rs-book-cover { transform: translateY(-8px) rotate(-1.2deg); box-shadow: inset 10px 0 0 rgba(0,0,0,.14), inset 12px 0 0 rgba(255,255,255,.08), 0 44px 70px -34px rgba(25, 8, 4, .85); }
.rs-book-cover b { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); max-width: 14ch; }
.rs-book-body { display: grid; gap: 12px; }
.rs-for { font-size: var(--t-label); letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--olive); }
.rs-book-body p { color: var(--muted); }
.rs-buyrow { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.rs-book .res-price, .rs-tpl .res-price, .rs-photo .res-price { color: var(--brick); }
.rs-bundle { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(24px, 3vw, 48px); align-items: center; padding: clamp(28px, 3vw, 48px); border-radius: 6px; }
.rs-bundle h3 { font-size: var(--t-h3); margin: 10px 0 6px; }
.rs-bundle p { color: var(--muted); max-width: 46ch; }
.rs-bundle .res-price { color: var(--red); }
.rs-fan { position: relative; width: 150px; height: 120px; }
.rs-fan i { position: absolute; bottom: 0; left: 40px; width: 72px; height: 100px; border-radius: 2px 6px 6px 2px; box-shadow: 0 16px 30px -16px rgba(0,0,0,.5); transform-origin: bottom center; transition: transform .8s var(--ease); }
.rs-fan i:nth-child(1) { transform: rotate(-18deg); }
.rs-fan i:nth-child(3) { transform: rotate(18deg); }
.rs-bundle:hover .rs-fan i:nth-child(1) { transform: rotate(-26deg); }
.rs-bundle:hover .rs-fan i:nth-child(3) { transform: rotate(26deg); }

.rs-tpls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.rs-tpl { display: grid; gap: 20px; align-content: start; }
.rs-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 14px; background: rgba(241,234,221,.08); border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.rs-tiles i { aspect-ratio: 1; border-radius: 4px; display: flex; align-items: flex-end; padding: 12px; transition: transform .7s var(--ease); }
.rs-tiles i b { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(1.1rem, .9rem + .7vw, 1.6rem); line-height: 1; }
.rs-tpl:hover .rs-tiles i:nth-child(1) { transform: translate(-4px, -4px); }
.rs-tpl:hover .rs-tiles i:nth-child(4) { transform: translate(4px, 4px); }
.rs-tpl-body { display: grid; gap: 10px; }
.rs-tpl-body h3 { font-size: var(--t-h3); }
.rs-tpl-body p { color: var(--muted); }
.rs-tpl-body .tlink { justify-self: start; }

.rs-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.rs-photo { position: relative; border-radius: 6px; overflow: hidden; min-height: clamp(460px, 48vw, 640px); display: flex; align-items: flex-end; }
.rs-photo .frame { position: absolute; inset: 0; }
.rs-photo .frame img { width: 100%; height: 100%; object-fit: cover; }
.rs-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(43, 18, 12, .88)); }
.rs-photo-body { position: relative; z-index: 1; display: grid; gap: 14px; padding: clamp(24px, 3vw, 44px); color: #F1EADD; }
.rs-photo-body h3 { font-size: var(--t-h3); }
.rs-photo-body p { color: rgba(241,234,221,.85); max-width: 44ch; }
.rs-photo-body .label { color: #F6D3BC; }
.rs-photo .res-price { color: #F6D3BC; }
.rs-photo .btn { justify-self: start; }

.rs-avatars { display: flex; margin-bottom: 26px; }
.rs-avatars i { width: 64px; height: 64px; border-radius: 50%; background-size: cover; background-position: center; border: 3px solid var(--cinnamon); margin-left: -14px; }
.rs-avatars i:first-child { margin-left: 0; }
.rs-plus { display: grid; place-items: center; background: var(--oat); color: var(--cinnamon); font-style: normal; font-size: 1.6rem; font-family: var(--f-display); }
.res-circle .res-small b { font-weight: 600; color: #F1EADD; }

@media (max-width: 1000px) {
  .rs-products { grid-template-columns: minmax(0, 1fr); }
  .rs-shelf, .rs-tools, .rs-tpls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .rs-shelf, .rs-tools, .rs-tpls, .rs-duo { grid-template-columns: minmax(0, 1fr); }
  .rs-bundle { grid-template-columns: minmax(0, 1fr); }
  .rs-fan { width: 150px; height: 110px; }
}
@media (prefers-reduced-motion: reduce) { .rs-track, .rs-mini { animation: none; } }

/* Red Brick theme, pass 2: light text on every dark surface */
.site-footer, .mobile-menu, .cta, .res-circle, .collab-card--olive, .band .over, .tool-out, .res-product--dark, .res-product--olive, .sound-toggle, .cursor, .newsletter--dark, .rs-photo-body {
  --ivory:#F1EADD; color:#F1EADD; }
.res-circle h2, .res-circle h2 em, .band .over h2, .band .over em, .band .over p { color:#F1EADD; }
.foot-top .logo, .site-footer .logo { color:#F1EADD; }
.site-footer .logo-mark circle, .site-footer .logo-mark path { stroke:#F1EADD; }
.cta .btn, .res-circle .btn, .site-footer .btn, .newsletter--dark .btn { background:#E6DED0; color:#A64B3C; }
.cta .btn:hover, .res-circle .btn:hover, .site-footer .btn:hover, .newsletter--dark .btn:hover { background:#F6D3BC; color:#3B1E17; }
.band .over { background: linear-gradient(transparent, rgba(43,29,28,.7)); }
/* oat rhythm sections */
.section.light, .light.section { background: var(--paper); }
.section.light + .section.light { padding-top: 0; }
/* resources hero: keep floating covers clear of the headline */
@media (min-width: 1101px) {
  .rs-hero .row > div { max-width: min(760px, calc(100% - 380px)); }
  .rs-float { right: clamp(0px, 2vw, 40px); width: 360px; }
}
@media (min-width: 1101px) and (max-width: 1380px) { .rs-hero h1 { font-size: clamp(3rem, 6vw, 5.4rem); } }
.form-success[hidden] { display: none; }
.section.light + .section { padding-top: var(--space) !important; }

/* Creator Originality Checker */
.rs-tools { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1240px) { .rs-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .rs-tools { grid-template-columns: minmax(0, 1fr); } }
.rs-pv4 { background: var(--deep); color: #F1EADD; }
.rs-orig { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; gap: 12px 18px; align-items: start; }
.rs-chip { grid-column: 1 / -1; justify-self: start; padding: 6px 12px; border-radius: 999px; background: rgba(241,234,221,.12); border: 1px solid rgba(241,234,221,.3); font-size: .78rem; letter-spacing: .04em; }
.rs-orig ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.rs-orig li { display: flex; gap: 10px; align-items: center; }
.rs-orig li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none; background: #A9A46A; box-shadow: inset 0 0 0 4px var(--deep); border: 1px solid #A9A46A; }
.rs-orig li.no::before { background: var(--terracotta); border-color: var(--terracotta); }
.rs-orig b { font-family: var(--f-display); font-weight: 400; font-size: 3rem; line-height: .9; align-self: end; }
.rs-orig b small { font-size: .9rem; opacity: .7; }
.res-tools--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.og-handle { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; }
.og-handle .field input { font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); }
.og-open[hidden] { display: none; }
.og-nums { border: 0; margin: 0; padding: 0 0 clamp(24px, 3vw, 36px); display: grid; gap: 14px; }
.og-nums legend { font-family: var(--f-display); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.9rem); line-height: 1.2; display: flex; gap: 16px; align-items: baseline; padding: 0; margin-bottom: 6px; }
.og-nums legend em { font-size: .6em; color: var(--muted); font-style: normal; font-family: var(--f-sans); }
.og-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.og-who { font-family: var(--f-display); font-size: 1.3rem; margin: 10px 0 0; color: var(--brick); }
.og-who:empty { display: none; }
.og-health[hidden], [data-og-result][hidden] { display: none; }
.og-dl { margin: 0; display: grid; gap: 0; max-width: 720px; }
.og-dl > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.og-dl dt { font-size: var(--t-label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); align-self: center; }
.og-dl dd { margin: 0; }
.og-dl dd b { font-family: var(--f-display); font-weight: 400; font-size: 1.4rem; margin-right: 6px; }
.og-flags { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 72ch; }
.og-flags li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.og-flags li::before { content: ""; width: 12px; height: 12px; margin-top: .45em; border-radius: 50%; background: var(--olive); }
.og-flags li.is-red::before { background: #A64B3C; }
.og-flags li.is-watch::before { background: #C86E4A; opacity: .7; }
@media (max-width: 760px) {
  .og-handle { grid-template-columns: minmax(0, 1fr); }
  .og-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .og-dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
.is-soon { opacity: .55; cursor: default; pointer-events: none; }
/* policy pages */
.legal { background: var(--paper); padding: clamp(24px, 4vw, 56px); display: grid; gap: 0; max-width: 980px; }
.legal-row { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 12px 40px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.legal-row:last-child { border-bottom: 0; }
.legal-row h2 { font-size: 1.25rem; margin: 0; }
.legal-row p { margin: 0; max-width: 65ch; }
.foot-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-legal a { color: inherit; }
@media (max-width: 680px) { .legal-row { grid-template-columns: minmax(0, 1fr); } }

/* Real Yujans logo (line-art Y + UJANS), coloured by currentColor */
.logo { gap: 0; letter-spacing: 0; }
.logo-img { display: block; height: 34px; aspect-ratio: 2.39; background: currentColor;
  -webkit-mask: url(../img/yujans-logo.png) center / contain no-repeat; mask: url(../img/yujans-logo.png) center / contain no-repeat; }
.site-footer .logo-img { height: 46px; }
.mobile-menu .logo-img { height: 32px; }
@media (max-width: 680px) { .logo-img { height: 28px; } }

/* Work: Canva flipbook */
.pf-sec { padding-bottom: var(--space); }
.pf-book { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--paper); box-shadow: 0 30px 80px -30px rgba(43,29,28,.55); border: 1px solid rgba(241,234,221,.25); }
.pf-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pf-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.pf-actions p { margin: 0; max-width: 52ch; }
@media (max-width: 680px) { .pf-book { aspect-ratio: 4 / 3; } }
.pf-teaser-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-top: clamp(24px, 3vw, 40px); }

/* Work: Instagram */
.ig-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.ig-actions { margin-top: 28px; }
.ig-card { display: grid; gap: 16px; padding: 22px; border-radius: 18px; background: #F3EEE4; color: #2B1D1C; border: 1px solid rgba(110,107,60,.3); max-width: 420px; justify-self: end; text-decoration: none; transition: transform .3s; }
.ig-card:hover { transform: translateY(-4px); }
.ig-top { display: flex; gap: 14px; align-items: center; }
.ig-top b { display: block; font-size: 1rem; }
.ig-top small { color: #5C4A3F; font-size: .82rem; }
.ig-avatar { width: 58px; height: 58px; border-radius: 50%; background: #A64B3C; color: #F1EADD; display: grid; place-items: center; flex: none; box-shadow: 0 0 0 3px #F3EEE4, 0 0 0 5px #C86E4A; }
.ig-avatar .logo-img { height: 18px; }
.ig-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.ig-tiles i { aspect-ratio: 4 / 5; border-radius: 4px; background: #A64B3C; }
.ig-tiles i:nth-child(2) { background: #6E6B3C; } .ig-tiles i:nth-child(3) { background: #C86E4A; }
.ig-tiles i:nth-child(4) { background: #E6DED0; } .ig-tiles i:nth-child(5) { background: #9B5E3C; } .ig-tiles i:nth-child(6) { background: #3B1E17; }
.ig-cta { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: #A64B3C; font-weight: 600; }
@media (max-width: 860px) { .ig-grid { grid-template-columns: minmax(0, 1fr); } .ig-card { justify-self: start; } }

/* Yuji, the Yujans character */
.has-yuji { position: relative; overflow: hidden; }
.yuji { position: absolute; margin: 0; pointer-events: none; z-index: 1; display: grid; justify-items: center; gap: 10px; }
.yuji img { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 24px rgba(43,29,28,.35)); animation: yuji-bob 4s ease-in-out infinite; transform-origin: 50% 100%; }
.yuji-say { background: #F3EEE4; color: #2B1D1C; font-size: .85rem; line-height: 1.35; padding: 10px 14px; border-radius: 14px 14px 14px 4px; max-width: 200px; box-shadow: 0 8px 20px -8px rgba(43,29,28,.4); }
.yuji--cta { right: clamp(16px, 4vw, 72px); top: clamp(24px, 4vw, 56px); width: clamp(110px, 12vw, 170px); }
.yuji--hero { right: clamp(16px, 8vw, 140px); bottom: 0; width: clamp(110px, 13vw, 180px); }
.has-yuji .cta-grid, .has-yuji .wrap { position: relative; z-index: 2; }
@keyframes yuji-bob { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-8px) rotate(1.5deg); } }
@media (prefers-reduced-motion: reduce) { .yuji img { animation: none; } }
@media (max-width: 800px) {
  .yuji--cta { position: relative; right: auto; top: auto; margin: 0 0 24px auto; width: 120px; }
  .yuji--hero { width: 96px; right: 16px; }
  .yuji--hero .yuji-say { display: none; }
  .yuji-say { font-size: .78rem; max-width: 160px; }
}
.ig-sec h2 { font-size: var(--t-h2, clamp(2.4rem, 1.6rem + 3vw, 4.4rem)); line-height: 1; margin: 18px 0 20px; }
.logo-img { height: 38px; }
@media (max-width: 680px) { .logo-img { height: 30px; } }
.yuji img { filter: none; }
.yuji::after { content: ""; width: 70%; height: 14px; border-radius: 50%; background: rgba(43,29,28,.28); filter: blur(6px); margin-top: -10px; }
.yuji--cta { top: 20px; width: clamp(96px, 9vw, 128px); }
.yuji--cta .yuji-say { max-width: 180px; }
@media (min-width: 801px) { .has-yuji.cta .cta-side { padding-top: 40px; } }
