/* Ramya Ventures. Direction: spiced parchment (after the Amrit Palace reference on Refero Styles),
   carried in the Mor Kutir brand colours. Flat, sharp, hairline-ruled, one gold accent. */

:root {
  --parchment: #e2d6c3;
  --linen: #d6c8b1;
  --rule: #b6ab9c;
  --ink: #2c2c2c;
  --ink-soft: #57514a;
  --roast: #292622;
  --roast-2: #34302b;
  --on-dark: #e2d6c3;
  --on-dark-soft: #b6ab9c;
  --gold: #c9962f;
  --gold-light: #e2b85a;
  --gold-text: #7a5512;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Satoshi", "Helvetica Neue", Arial, sans-serif;

  --edge: clamp(20px, 4.4vw, 64px);
  --gap: clamp(96px, 11vw, 160px);
  --ease: cubic-bezier(.25, .46, .45, .94);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font: 500 15px/1.55 var(--sans);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 300; }

.skip {
  position: absolute; left: var(--edge); top: 12px; z-index: 20;
  padding: 10px 14px; background: var(--parchment); color: var(--ink);
  border-radius: 3px; transform: translateY(-200%);
}
.skip:focus { transform: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* type */
.display, .h2, .h3 { font-family: var(--serif); font-weight: 300; text-transform: uppercase; }
.display { font-size: clamp(50px, 8.6vw, 128px); line-height: .84; letter-spacing: -0.04em; }
.h2 { font-size: clamp(42px, 5.2vw, 76px); line-height: .88; letter-spacing: -0.035em; }
.h3 { font-size: clamp(26px, 2.2vw, 32px); line-height: 1; letter-spacing: -0.02em; }
.label {
  font: 500 12px/1.3 var(--sans); text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-soft);
}
.label b { font-weight: 700; color: var(--gold-text); }
.on-dark { color: var(--on-dark); }
.on-dark .label { color: var(--on-dark-soft); }
.on-dark .label b { color: var(--gold-light); }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.5; max-width: 34em; }
.body { font-size: 16px; line-height: 1.6; max-width: 32em; color: var(--ink); }

/* buttons: ghost only */
.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px;
  padding: 0 24px; border: 1px solid currentColor; border-radius: 3px;
  font: 500 14px/1 var(--sans); text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; background: transparent;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.on-dark .btn { color: var(--on-dark); }
.on-dark .btn:hover { background: var(--on-dark); color: var(--roast); border-color: var(--on-dark); }
.on-light .btn { color: var(--ink); }
.on-light .btn:hover { background: var(--ink); color: var(--parchment); border-color: var(--ink); }
.tlink {
  font: 500 14px/1 var(--sans); text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; padding-block: 16px; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1px no-repeat;
  transition: background-size .4s var(--ease);
}
.tlink:hover { background-size: 100% 1px; }

/* header */
.top {
  position: absolute; inset: 0 0 auto; z-index: 10;
  display: flex; align-items: center; gap: 40px;
  padding: 22px var(--edge);
  color: var(--on-dark);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand span { font: 700 14px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.top nav { display: flex; gap: 28px; margin-right: auto; }
.top nav a { font: 500 13px/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; padding-block: 16px; opacity: .86; transition: opacity .4s var(--ease); }
.top nav a:hover { opacity: 1; }
.top .btn { min-height: 44px; }
.top .btn:hover { background: var(--on-dark); color: var(--roast); border-color: var(--on-dark); }
.brand .mk-light { display: none; }
.top.is-stuck {
  position: fixed; color: var(--ink); background: rgba(226, 214, 195, .95);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  padding-block: calc(10px + env(safe-area-inset-top, 0px)) 10px;
  animation: drop .45s var(--ease);
}
.top.is-stuck .mk-dark { display: none; }
.top.is-stuck .mk-light { display: block; }
.top.is-stuck .btn:hover { background: var(--ink); color: var(--parchment); border-color: var(--ink); }
@keyframes drop { from { transform: translateY(-100%); } }
main > section, .closing { scroll-margin-top: 72px; }

/* hero */
.hero { position: relative; min-height: max(100svh, 640px); display: flex; align-items: flex-end; overflow: hidden; background: var(--roast); }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero picture img { object-fit: cover; object-position: 50% 45%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(41,38,34,.55) 0%, rgba(41,38,34,.08) 26%, rgba(41,38,34,.35) 55%, rgba(41,38,34,.86) 100%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; padding: 140px var(--edge) clamp(40px, 6vw, 72px); }
.hero__meta { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 20px; margin-bottom: clamp(24px, 3vw, 40px); border-bottom: 1px solid rgba(226,214,195,.35); }
.hero h1 { max-width: 11.5em; }
.hero h1 .ln { display: block; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero picture img { animation: settle 1.8s var(--ease) both; }
  .hero__meta, .hero h1 .ln, .hero__foot { animation: rise 1s var(--ease) both; }
  .hero h1 .ln:nth-child(1) { animation-delay: .12s; }
  .hero h1 .ln:nth-child(2) { animation-delay: .24s; }
  .hero__foot { animation-delay: .42s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(32px); } }
@keyframes settle { from { transform: scale(1.06); } }
.hero__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; margin-top: clamp(28px, 3.4vw, 48px); }
.hero__foot .lead { color: var(--on-dark); }
.hero__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* marquee */
.ticker { border-block: 1px solid var(--rule); overflow: hidden; position: relative; }
.ticker__track { display: flex; width: max-content; animation: tick 48s linear infinite; }
.ticker ul { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker li {
  display: flex; align-items: center; gap: 36px; padding: 26px 0 22px 36px; white-space: nowrap;
  font: 300 clamp(28px, 3vw, 42px)/1 var(--serif); text-transform: uppercase; letter-spacing: -0.02em;
}
.ticker li::after { content: ""; width: 20px; height: 24px; background: url(brand/eye-mini.svg) center / contain no-repeat; }
.ticker.is-paused .ticker__track { animation-play-state: paused; }
.ticker__pause {
  position: absolute; right: var(--edge); top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--parchment); color: var(--ink); border: 1px solid var(--rule); border-radius: 3px; cursor: pointer;
}
.ticker__pause svg { width: 12px; height: 12px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* sections */
.section { padding: var(--gap) var(--edge); }
.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 96px); align-items: end; margin-bottom: clamp(56px, 6vw, 88px); }
.head .label { grid-column: 1 / -1; }
.head .body { justify-self: end; }

.work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.work article { padding: 28px 28px 8px; border-left: 1px solid var(--rule); display: grid; gap: 20px; align-content: start; }
.work article:first-child { border-left: 0; padding-left: 0; }
.work article:last-child { padding-right: 0; }
.work figure { margin: 0; overflow: hidden; aspect-ratio: 1; background: var(--linen); }
.work figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work article:hover figure img { transform: scale(1.03); }
.work .num { display: flex; justify-content: space-between; }

/* ventures */
.ventures { border-top: 1px solid var(--rule); }
.venture { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 20px clamp(28px, 4vw, 72px); padding: 36px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.venture .h3 { font-size: clamp(34px, 3.4vw, 52px); margin: 14px 0 12px; }
.stage { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-text); }
.stage::before { content: ""; width: 11px; height: 13px; background: url(brand/eye-mini.svg) center / contain no-repeat; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.tags li { font: 500 12px/1 var(--sans); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); border: 1px solid var(--rule); border-radius: 3px; padding: 8px 10px; }
.venture__act { justify-self: end; align-self: center; }

/* how we work */
.section--linen { background: var(--linen); --gold-text: #684810; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.steps li { display: grid; gap: 20px; align-content: start; padding: 32px 32px 8px; border-left: 1px solid var(--rule); }
.steps li:first-child { border-left: 0; padding-left: 0; }
.steps li:last-child { padding-right: 0; }
.steps .n { font: 300 clamp(64px, 7vw, 104px)/.8 var(--serif); letter-spacing: -0.04em; color: var(--gold-text); }

/* build with us */
.build { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.build figure { margin: 0; overflow: hidden; aspect-ratio: 1; background: var(--linen); }
.build figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.build figure:hover img { transform: scale(1.03); }
.build .h2 { margin: 24px 0 28px; }
.build__cta { margin-top: 36px; }

/* mor kutir band */
.deva { font: 400 clamp(56px, 7vw, 104px)/1.1 "Tiro Devanagari Sanskrit", "Kohinoor Devanagari", "Noto Serif Devanagari", serif; color: var(--gold-light); }
.closing__note { font-size: 14px; color: var(--on-dark-soft); }
.band { position: relative; color: var(--on-dark); background: var(--roast); overflow: hidden; }
.band > picture, .band > picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.band > picture img { object-fit: cover; object-position: 50% 50%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(41,38,34,.92) 0%, rgba(41,38,34,.80) 46%, rgba(41,38,34,.30) 100%); }
.band__inner { position: relative; z-index: 1; padding: var(--gap) var(--edge); max-width: 860px; display: grid; gap: 32px; }
.band__inner .lead { color: var(--on-dark); }
.rows { margin: 16px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.rows li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.rows dt, .rows .k { font: 300 clamp(22px, 2vw, 26px)/1.1 var(--serif); text-transform: uppercase; letter-spacing: -0.01em; }
.rows .v { font-size: 15px; line-height: 1.5; color: var(--ink-soft); align-self: center; }
.on-dark .rows { border-color: rgba(182,171,156,.45); }
.on-dark .rows li { border-color: rgba(182,171,156,.45); }
.on-dark .rows .v { color: var(--on-dark); }

/* company */
.company { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.company .h2 { margin: 24px 0 28px; }
.company .rows .v a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.company .rows .v a:hover { color: var(--gold-text); }
.logo-panel { margin: 0; background: #1b2452; aspect-ratio: 800 / 860; }
.logo-panel img { width: 100%; height: 100%; }

/* closing */
.closing { background: var(--roast); color: var(--on-dark); padding: var(--gap) var(--edge) 40px; }
.closing .h2 { margin: 24px 0 36px; max-width: 12em; }
.closing__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px clamp(40px, 6vw, 112px); align-items: start; }
.closing__grid .closing__note { margin-top: 20px; }
.enquiry { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font: 500 12px/1.3 var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--on-dark-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: 500 16px/1.5 var(--sans); color: var(--on-dark);
  background: transparent; border: 0; border-bottom: 1px solid rgba(182,171,156,.55); border-radius: 0;
  padding: 10px 0; transition: border-color .4s var(--ease);
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b6ab9c' stroke-width='1.4'/%3E%3C/svg%3E") right 2px center / 12px 8px no-repeat; padding-right: 24px; }
.field select option { color: var(--ink); background: var(--parchment); }
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold-light); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: 0 1px 0 0 var(--gold-light); }
.enquiry .btn { justify-self: start; margin-top: 6px; cursor: pointer; }
.enquiry .btn:disabled { opacity: .6; cursor: progress; }
.enquiry__status { font-size: 15px; min-height: 1.5em; color: var(--on-dark-soft); }
.enquiry__status.is-ok { color: var(--gold-light); }
.enquiry__status.is-err { color: #f0a58c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mail { display: inline-block; font: 300 clamp(30px, 4.2vw, 60px)/1 var(--serif); letter-spacing: -0.02em; text-decoration: none; color: var(--gold-light); padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); overflow-wrap: anywhere; }
.mail:hover { background-size: 100% 1px; }
.closing__cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 40px; }
.foot { margin-top: clamp(96px, 10vw, 140px); padding-top: 32px; border-top: 1px solid rgba(182,171,156,.35); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.foot nav a { font: 500 13px/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; padding-block: 15px; color: var(--on-dark-soft); transition: color .4s var(--ease); }
.foot nav a:hover { color: var(--on-dark); }
.legal { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--on-dark-soft); }
.legal a { color: inherit; }

/* document pages */
.doc-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px var(--edge); border-bottom: 1px solid var(--rule); }
.doc { padding: clamp(64px, 8vw, 112px) var(--edge) var(--gap); max-width: 900px; }
.doc .h2 { margin: 20px 0 40px; }
.doc h2.sub { font: 300 28px/1.1 var(--serif); text-transform: uppercase; letter-spacing: -0.01em; margin: 48px 0 14px; }
.doc p, .doc li { font-size: 16px; line-height: 1.7; max-width: 40em; }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 1.2em; margin: 0; }
.doc li + li { margin-top: 8px; }
.doc a { text-underline-offset: 3px; }
.doc-foot { border-top: 1px solid var(--rule); padding: 28px var(--edge); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-soft); }
.doc-foot nav { display: flex; gap: 8px 24px; flex-wrap: wrap; }

/* tablet */
@media (max-width: 1023px) {
  .head, .company, .closing__grid { grid-template-columns: 1fr; }
  .top nav { gap: 20px; }
  .head .body { justify-self: start; }
  .work { grid-template-columns: 1fr; }
  .work article { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-areas: "fig num" "fig h" "fig p"; padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--rule); column-gap: 28px; }
  .work article:first-child { padding-left: 0; }
  .work figure { grid-area: fig; }
  .work .num { grid-area: num; }
  .work .h3 { grid-area: h; }
  .work .body { grid-area: p; }
  .logo-panel { max-width: 420px; }
  .venture { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .venture__act { grid-column: 2; justify-self: start; }
  .build { grid-template-columns: 1fr; }
  .build figure { max-width: 520px; }
}

/* phone */
@media (max-width: 719px) {
  .top { gap: 16px; }
  .top nav { display: none; }
  .top .brand { margin-right: auto; }
  .brand span { font-size: 12px; }
  .hero__meta { flex-direction: column; gap: 6px; }
  .hero__foot { grid-template-columns: 1fr; }
  .work article { grid-template-columns: 1fr; grid-template-areas: "fig" "num" "h" "p"; row-gap: 16px; }
  .rows li { grid-template-columns: 1fr; gap: 6px; }
  .venture { grid-template-columns: 1fr; }
  .venture__act { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li:first-child { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .foot { grid-template-columns: 1fr; }
  .ticker__pause { right: 12px; }
  .hero::after { background: linear-gradient(180deg, rgba(41,38,34,.6) 0%, rgba(41,38,34,.45) 30%, rgba(41,38,34,.82) 55%, rgba(41,38,34,.94) 100%); }
  .band::after { background: rgba(41,38,34,.84); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
  .ticker__track { animation: none; }
  .ticker ul[aria-hidden] { display: none; }
  .ticker ul { flex-wrap: wrap; }
  .ticker__pause { display: none; }
}

/* Hindi */
html:lang(hi) {
  --serif: "Tiro Devanagari Hindi", "Cormorant Garamond", Georgia, serif;
  --sans: "Mukta", "Satoshi", "Helvetica Neue", Arial, sans-serif;
}
html:lang(hi) body { letter-spacing: 0; font-size: 16px; }
html:lang(hi) .display { font-size: clamp(42px, 6.6vw, 100px); line-height: 1.16; letter-spacing: 0; }
html:lang(hi) .h2 { font-size: clamp(34px, 4.2vw, 62px); line-height: 1.2; letter-spacing: 0; }
html:lang(hi) .h3, html:lang(hi) .rows .k { line-height: 1.3; letter-spacing: 0; }
html:lang(hi) .venture .h3 { line-height: 1.1; }
html:lang(hi) .ticker li { font-family: "Cormorant Garamond", Georgia, serif; }
html:lang(hi) .label, html:lang(hi) .field label, html:lang(hi) .btn, html:lang(hi) .tlink, html:lang(hi) .top nav a, html:lang(hi) .foot nav a { letter-spacing: .01em; font-size: 14px; }
html:lang(hi) .lead { line-height: 1.7; }
html:lang(hi) .body, html:lang(hi) .rows .v { line-height: 1.75; }

/* projects */
.doc-nav { display: flex; align-items: center; gap: 28px; }
.proj-by { margin: 0 0 28px; padding-top: 24px; border-top: 1px solid var(--rule); }
.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; margin: 0; padding: 0; list-style: none; }
.proj-card a { display: grid; gap: 14px; text-decoration: none; }
.proj-card figure { margin: 0 0 6px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--linen); }
.proj-card figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .8s var(--ease); }
.proj-card a:hover figure img { transform: scale(1.03); }
.proj-card .h3 { transition: color .4s var(--ease); }
.proj-card a:hover .h3 { color: var(--gold-text); }
.proj-type { width: 100%; height: 100%; display: grid; align-content: end; gap: 10px; padding: clamp(20px, 3vw, 36px); background: var(--roast); color: var(--on-dark); }
.proj-type span { font: 300 clamp(30px, 3.4vw, 56px)/.9 var(--serif); text-transform: uppercase; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.proj-type small { font: 500 12px/1.3 var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--gold-light); }
.proj { max-width: 1320px; }
.proj .label a { text-decoration: none; }
.proj .label a:hover { color: var(--gold-text); }
.proj__name { margin: 24px 0 32px; font-size: clamp(48px, 8vw, 120px); overflow-wrap: anywhere; }
.proj__intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 48px; align-items: end; }
.proj__links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-self: end; }
.proj__fig { margin: clamp(40px, 5vw, 72px) 0; aspect-ratio: 16 / 9.4; overflow: hidden; background: var(--linen); border: 1px solid var(--rule); }
.proj__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.proj__fig .proj-type { padding: clamp(28px, 5vw, 72px); }
.proj__fig .proj-type span { font-size: clamp(44px, 9vw, 150px); }
.proj__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px clamp(40px, 6vw, 112px); }
.proj__grid h2.label { margin-bottom: 18px; }
.facts { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); counter-reset: f; }
.facts li { counter-increment: f; display: grid; grid-template-columns: 44px minmax(0, 1fr); padding: 18px 0; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.6; }
.facts li::before { content: counter(f, decimal-leading-zero); font: 700 12px/2.2 var(--sans); color: var(--gold-text); }
.proj .rows { margin-top: 0; }
.proj .rows li { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.proj__note { margin-top: 24px; font-size: 14px; color: var(--ink-soft); }
.proj__next { display: grid; gap: 10px; margin-top: clamp(64px, 8vw, 112px); padding-top: 28px; border-top: 1px solid var(--rule); text-decoration: none; }
.proj__next .h3 { font-size: clamp(34px, 4vw, 60px); transition: color .4s var(--ease); }
.proj__next:hover .h3 { color: var(--gold-text); }
@media (max-width: 1023px) {
  .proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proj__intro, .proj__grid { grid-template-columns: 1fr; }
  .proj__links { justify-self: start; }
}
@media (max-width: 719px) {
  .proj-grid { grid-template-columns: 1fr; }
  .doc-nav .tlink { display: none; }
  .proj__fig { aspect-ratio: 4 / 3; }
}
.proj-type.is-long span { font-size: clamp(24px, 2.4vw, 40px); }
.proj__fig .proj-type.is-long span { font-size: clamp(34px, 6.4vw, 104px); }
.proj__name.is-long { font-size: clamp(34px, 6.4vw, 96px); }

/* motion */
:root { --ease-out: cubic-bezier(.23, 1, .32, 1); --ease-in-out: cubic-bezier(.77, 0, .175, 1); }
html.motion [data-reveal] {
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
html.motion [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(28px); filter: blur(4px); }
html.motion [data-unveil] { overflow: hidden; }
html.motion [data-unveil] > * { transition: clip-path 1.2s var(--ease-in-out), transform 1.6s var(--ease-out); }
html.motion [data-unveil]:not(.is-in) > * { clip-path: inset(0 0 100% 0); transform: scale(1.14); }
html.motion .no-delay { transition-delay: 0s; }

.btn, .proj-card a, .tlink { -webkit-tap-highlight-color: transparent; }
.btn { transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .16s var(--ease-out); }
.btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .venture { transition: background-color .5s var(--ease); }
  .venture:hover .h3 { color: var(--gold-text); }
  .venture .h3 { transition: color .4s var(--ease); }
}

/* band with the mark film */
.band { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
.band::after { content: none; }
.band__inner { grid-column: 1; grid-row: 1; }
.band__media { grid-column: 2; grid-row: 1; position: relative; z-index: 1; margin: var(--gap) var(--edge) var(--gap) 0; aspect-ratio: 1; overflow: hidden; }
.band__media video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* venture media */
.venture__side { display: grid; gap: 18px; justify-items: end; align-self: start; }
.venture__side .venture__act { justify-self: end; align-self: auto; }
.venture__media { margin: 0; width: min(100%, 240px); aspect-ratio: 1; overflow: hidden; background: var(--linen); }
.venture__media video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* project films */
.proj__fig video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; display: block; }

/* hero depth on scroll, where the browser supports scroll-linked animation */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero picture { animation: hero-sink linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .hero__inner { animation: hero-lift linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
    @keyframes hero-sink { to { transform: translateY(18%); } }
    @keyframes hero-lift { to { transform: translateY(-8%); opacity: .25; } }
  }
}

/* page to page */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in .42s var(--ease-out) both; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: var(--ease-in-out); }
@keyframes vt-out { to { opacity: 0; filter: blur(6px); transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; filter: blur(6px); transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

@media (max-width: 1023px) {
  .band { grid-template-columns: 1fr; }
  .band__inner { grid-row: 2; padding-top: 0; }
  .band__media { grid-column: 1; grid-row: 1; margin: var(--gap) var(--edge) 48px; max-width: 520px; }
  .venture__side { grid-column: 2; justify-items: start; }
  .venture__side .venture__act { justify-self: start; }
}
@media (max-width: 719px) {
  .venture__side { grid-column: auto; }
  .venture__media { width: 100%; max-width: 360px; }
  .band__media { margin-bottom: 32px; }
}

/* person */
.person { max-width: 1320px; }
.person .label a { text-decoration: none; }
.person__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 96px); align-items: end; }
.person__photo { margin: 0; aspect-ratio: 1; overflow: hidden; background: var(--linen); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__name { margin: 20px 0 28px; font-size: clamp(44px, 6.4vw, 100px); }
.person__stats { display: flex; flex-wrap: wrap; gap: 20px 48px; margin: 32px 0; padding: 24px 0; list-style: none; border-block: 1px solid var(--rule); }
.person__stats li { display: grid; gap: 6px; }
.person__stats b { font: 300 clamp(36px, 3.6vw, 52px)/1 var(--serif); color: var(--gold-text); letter-spacing: -0.02em; }
.person__stats span { font: 500 12px/1.3 var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.person .proj__links { justify-self: start; }
.person__block { margin-top: clamp(72px, 9vw, 128px); }
.person__block > h2.label { margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.person__prose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; }
.person__prose p { font-size: 17px; line-height: 1.7; max-width: 36em; }
.person__ventures { margin: 0; padding: 0; list-style: none; }
.person__ventures a { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr); gap: 12px 32px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.person__ventures .h3 { transition: color .4s var(--ease); }
.person__ventures a:hover .h3 { color: var(--gold-text); }
.person__exp .v b { display: block; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.person__exp li { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.person__split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(40px, 6vw, 96px); }
.person__skills { margin-top: 0; }
.person__vision .h2 { max-width: 18em; }
.k a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.k a:hover { background-size: 100% 1px; }
@media (max-width: 1023px) {
  .person__top, .person__split, .person__prose { grid-template-columns: 1fr; }
  .person__photo { max-width: 420px; }
  .person__ventures a { grid-template-columns: 1fr; }
}
.proj-grid + .proj-by { margin-top: clamp(72px, 9vw, 120px); }
.proj-by a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.brand span, .btn { white-space: nowrap; }
@media (max-width: 719px) {
  .person__exp li { grid-template-columns: 1fr; }
  .doc-top { padding-block: 14px; }
  .doc-top .btn { min-height: 44px; padding: 0 16px; font-size: 13px; }
}
