/* Visual Forging: shared styles. Components come from the Sillage template (8B, MIT). Fonts: Google Fonts (OFL). */
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-stretch: 100%; font-display: swap; src: url(https://fonts.gstatic.com/s/instrumentsans/v4/pxiTypc9vsFDm051Uf6KVwgkfoSxQ0GsQv8ToedPibnr0SZe1Q.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mozilla Headline'; font-style: normal; font-weight: 300; font-stretch: 125%; font-display: swap; src: url(https://fonts.gstatic.com/s/mozillaheadline/v1/QGYLz-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cnYRvBSDSOuerB_FOBvoYlYhZu.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mozilla Headline Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"); font-weight: 100 549; size-adjust: 115.8%; ascent-override: 82%; descent-override: 22.4%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Sans Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"); font-weight: 550 799; size-adjust: 97.8%; ascent-override: 99.2%; descent-override: 25.6%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Sans Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"); font-weight: 100 549; size-adjust: 101%; ascent-override: 96.1%; descent-override: 24.8%; line-gap-override: 0%; }

@property --mark-streak { syntax: '<number>'; inherits: true; initial-value: 0; }

:root {
  --color-1: #edecea;
  --color-2: #13233f;
  --color-3: #4f596b;
  --color-4: #6b7587;
  --color-5: #cfcfcc;
  --color-6: #2c3f62;
  --accent: #2f6fd0;
  --card-bg: #f8f7f5;
  --card-bg-dark: #1b2f52;
  --card-shadow: 0 1px 2px rgba(19, 35, 63, .08), 0 10px 28px -8px rgba(19, 35, 63, .22);
  --font-1: "Mozilla Headline", "Mozilla Headline Fallback", "Arial", sans-serif;
  --font-2: "Instrument Sans", "Instrument Sans Fallback", "Arial", sans-serif;
  --space-1: clamp(16px, 2.5vw, 32px);
  --space-2: clamp(88px, 12vw, 176px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--color-1); color: var(--color-2); overflow-x: clip; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--color-2); color: var(--color-1); }
.u-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[data-8b-motion~="trail"] {
  text-shadow:
    calc(var(--motion-trail, 0) * -.07em) calc(var(--motion-trail, 0) * .05em) 0 color-mix(in srgb, currentColor 42%, transparent),
    calc(var(--motion-trail, 0) * -.14em) calc(var(--motion-trail, 0) * .1em) 0 color-mix(in srgb, currentColor 22%, transparent),
    calc(var(--motion-trail, 0) * -.21em) calc(var(--motion-trail, 0) * .15em) 0 color-mix(in srgb, currentColor 10%, transparent);
}

/* ---- atoms ---- */
.m-text { font-family: var(--font-2); font-size: 17px; font-weight: 400; line-height: 1.5; }
.m-text-2 { font-family: var(--font-2); font-size: clamp(32px, 4vw, 58px); font-weight: 700; line-height: .96; letter-spacing: -.02em; text-transform: uppercase; }
.m-text-3 { font-family: var(--font-2); font-size: 12px; font-weight: 600; line-height: 1.35; letter-spacing: .035em; text-transform: uppercase; }
.m-text-4 { font-family: var(--font-1); font-size: 96px; font-weight: 300; font-stretch: 125%; line-height: .88; letter-spacing: -.02em; text-transform: uppercase; }
.m-text-5 { font-family: var(--font-2); font-size: clamp(19px, 1.65vw, 23px); font-weight: 600; line-height: 1.08; letter-spacing: -.005em; text-transform: uppercase; }
.m-text-6 { font-family: var(--font-2); font-size: clamp(21px, 2.1vw, 30px); font-weight: 500; line-height: 1.14; letter-spacing: -.01em; text-transform: uppercase; }
.m-text-7 { font-family: var(--font-2); font-size: 15px; font-weight: 400; line-height: 1.45; color: var(--color-3); }
.m-mark { display: flex; justify-content: space-between; color: var(--color-2); font-family: var(--font-1); font-weight: 300; font-stretch: 125%; line-height: .8; text-transform: uppercase; }
.m-mark__glyph { position: relative; display: block; --mark-cut: 47%; }
.m-mark__glyph:nth-child(4n+1) { --mark-cut: 38%; }
.m-mark__glyph:nth-child(4n+2) { --mark-cut: 58%; }
.m-mark__glyph:nth-child(4n+3) { --mark-cut: 44%; }
.m-mark__ink { position: relative; display: block; -webkit-text-stroke: .02em var(--color-1); paint-order: stroke fill; }
.m-mark__ink::before {
  content: attr(data-glyph); position: absolute; left: 0; top: 0; z-index: -1;
  color: var(--color-2); -webkit-text-stroke: 0; translate: -.05em .045em;
  text-shadow:
    0 calc(var(--mark-streak) * .16em) 0 color-mix(in srgb, var(--color-2) 60%, transparent),
    0 calc(var(--mark-streak) * .32em) 0 color-mix(in srgb, var(--color-2) 38%, transparent),
    0 calc(var(--mark-streak) * .48em) 0 color-mix(in srgb, var(--color-2) 22%, transparent),
    0 calc(var(--mark-streak) * .64em) 0 color-mix(in srgb, var(--color-2) 10%, transparent);
}
.m-btn, .m-btn-2 { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 16px 26px; font-family: var(--font-2); font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.m-btn { color: var(--color-2); }
.m-btn-2 { color: var(--color-1); }
.m-btn::before, .m-btn::after, .m-btn-2::before, .m-btn-2::after { content: ""; position: absolute; inset: 0; }
.m-btn::before { z-index: -2; background: var(--color-2); transition: translate .5s cubic-bezier(.2, .8, .2, 1); }
.m-btn::after { z-index: -1; background: var(--color-1); border: 1px solid var(--color-2); }
.m-btn-2::before { z-index: -2; background: var(--color-1); transition: translate .5s cubic-bezier(.2, .8, .2, 1); }
.m-btn-2::after { z-index: -1; background: var(--color-2); border: 1px solid var(--color-1); }
.m-btn:focus-visible::before, .m-btn-2:focus-visible::before { translate: -6px 6px; }
@media (hover: hover) { .m-btn:hover::before, .m-btn-2:hover::before { translate: -6px 6px; } }
.m-btn:disabled { opacity: .55; cursor: progress; }
.m-btn-3 { position: relative; isolation: isolate; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; font-family: var(--font-2); font-size: clamp(14px, 1.2vw, 17px); font-weight: 600; line-height: 1; text-transform: uppercase; text-decoration: none; }
.m-btn-3::before { content: ""; position: absolute; inset: 0; z-index: -1; background: currentColor; opacity: 0; translate: 0 0; transition: translate .5s cubic-bezier(.2, .8, .2, 1), opacity .2s; }
.m-btn-3[aria-pressed="true"] { background: var(--color-2); color: var(--color-1); }
.m-btn-3:focus-visible { outline-offset: -5px; }
@media (hover: hover) { .m-btn-3:hover::before { opacity: .14; translate: -5px 5px; } }
.m-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; transition: text-shadow .35s ease; }
.m-link-2 { color: inherit; font-family: var(--font-2); font-size: clamp(14px, 1.25vw, 18px); font-weight: 600; line-height: 1; text-transform: uppercase; text-decoration: none; transition: text-shadow .35s ease; }
@media (hover: hover) { .m-link:hover, .m-link-2:hover { text-shadow: -.06em .06em 0 color-mix(in srgb, currentColor 30%, transparent); } }
.m-link-2[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35em; }

/* ---- navigation ---- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--color-2); transition: background-color .35s ease, color .35s ease; }
.nav[data-solid] { background: var(--color-2); color: var(--color-1); }
.nav__bar { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); height: 52px; padding-inline: var(--space-1); }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; }
.nav__brand img { width: 28px; height: 28px; }
.nav__list { display: flex; gap: clamp(16px, 2.2vw, 30px); }
.nav__list--end { margin-left: auto; }
.nav__toggle { display: none; margin-left: auto; margin-right: -14px; }
.nav__menu { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; gap: 28px; padding: 0 var(--space-1) 32px; overflow-y: auto; background: var(--color-2); color: var(--color-1); }
.nav__menu[hidden] { display: none; }
.nav__menu-head { display: flex; align-items: center; justify-content: space-between; height: 52px; margin-right: -14px; }
.nav__menu-list { display: grid; gap: 10px; }
.nav__menu-list .m-link-2 { font-size: clamp(34px, 10vw, 56px); }
.nav__menu-foot { margin-top: auto; }
@media (max-width: 960px) { .nav__list { display: none; } .nav__toggle { display: inline-flex; } }

/* ---- page scaffolding ---- */
.page-head { padding: calc(52px + clamp(56px, 9vw, 128px)) var(--space-1) clamp(40px, 6vw, 88px); border-bottom: 1px solid var(--color-2); }
.page-head h1 { font-size: clamp(40px, 8vw, 96px); max-width: 15ch; text-wrap: balance; }
.page-head p { margin-top: clamp(20px, 3vw, 36px); max-width: 44ch; text-transform: none; }
.head-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
.head-row h2 { grid-column: 1 / span 7; }
.head-row p { grid-column: 9 / span 4; }
@media (max-width: 860px) { .head-row h2, .head-row p { grid-column: 1 / -1; } }
.section { position: relative; overflow-x: clip; padding: var(--space-2) var(--space-1); }
.section--dark { background: var(--color-2); color: var(--color-1); }
.section--dark .m-text-7 { color: color-mix(in srgb, var(--color-1) 78%, var(--color-2)); }
.cta h2 { max-width: 16ch; }
.cta p { margin-top: 20px; }
.cta .m-btn, .cta .m-btn-2 { margin-top: 32px; }

/* ---- hero ---- */
.hero { position: relative; z-index: 2; display: grid; grid-template-rows: auto auto minmax(0, 1fr); height: 100svh; min-height: 560px; padding-top: 52px; overflow-x: clip; background: var(--color-1); }
.hero__title { position: relative; z-index: 3; container-type: inline-size; padding: clamp(10px, 1.6vw, 22px) var(--space-1) clamp(12px, 1.6vw, 22px); }
.hero .m-mark, .footer .m-mark { font-size: calc(100cqi / (var(--len) * .74)); }
.hero__info { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px 24px; padding: 12px var(--space-1); border-top: 1px solid var(--color-5); }
.hero__tagline { text-align: center; }
.hero__go { justify-self: end; }
.hero__media { position: relative; overflow: hidden; min-height: 0; }
.hero__media-in { position: absolute; inset: 0; overflow: hidden; }
.hero__push { position: absolute; inset: 0; }
.hero__drift { position: absolute; inset: -40px; }
.hero__drift img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__caption { position: absolute; left: var(--space-1); bottom: var(--space-1); padding: 8px 10px; background: var(--color-1); color: var(--color-2); }
@media (max-width: 700px) { .hero__info { grid-template-columns: 1fr auto; } .hero__tagline { grid-column: 1 / -1; grid-row: 2; text-align: left; } }

/* ---- manifesto ---- */
.manifesto { position: relative; overflow-x: clip; padding: clamp(56px, 8vw, 120px) var(--space-1) var(--space-2); }
.manifesto__stack { container-type: inline-size; display: flex; flex-direction: column; }
.manifesto__line { display: block; white-space: nowrap; font-size: min(17vw, calc(100cqi / (var(--len) * .7))); line-height: .9; }
.manifesto__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 7vw, 104px); }
.manifesto__lead { grid-column: 1 / span 6; }
.manifesto__copy { grid-column: 8 / span 5; display: grid; gap: 1em; }
.manifesto__verbs { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: clamp(48px, 6vw, 88px); padding-top: 14px; border-top: 1px solid var(--color-2); }
@media (max-width: 860px) { .manifesto__lead, .manifesto__copy { grid-column: 1 / -1; } }

/* ---- works ---- */
.works { position: relative; overflow-x: clip; padding: var(--space-2) 0; }
.works__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; padding: 0 var(--space-1) clamp(28px, 4vw, 52px); }
.works__head h2 { grid-column: 1 / span 7; }
.works__head p { grid-column: 9 / span 4; }
.works__bar { position: sticky; top: 52px; z-index: 5; display: grid; grid-template-columns: auto auto 1.4fr 1fr 1fr 1.2fr; background: var(--color-1); border-block: 1px solid var(--color-2); }
.works__cell { justify-content: flex-start; min-height: 46px; padding-inline: var(--space-1); border-right: 1px solid var(--color-2); }
.works__cell:last-child { border-right: 0; }
.works__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 32px); padding: clamp(32px, 4vw, 56px) var(--space-1) 0; }
.works__card { display: flex; flex-direction: column; gap: 18px; padding: 14px 14px 22px; background: var(--card-bg); box-shadow: var(--card-shadow); transition: opacity .5s ease, filter .5s ease, box-shadow .35s ease; }
.works__body { display: grid; gap: 8px; align-content: start; flex: 1; padding-inline: 6px; }
.works__card .m-btn { align-self: flex-start; margin-left: 6px; }
.works__frame { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--color-5); transition: opacity .5s ease, filter .5s ease; }
.works__frame img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s cubic-bezier(.2, .8, .2, 1); }
@media (hover: hover) { .works__card:hover .works__frame img { scale: 1.04; } }
.works__card[data-muted] { opacity: .3; filter: grayscale(1); }
.works__more { display: flex; padding: clamp(56px, 6vw, 88px) var(--space-1) 0; }
@media (max-width: 899px) {
  .works__head h2, .works__head p { grid-column: 1 / -1; }
  .works__bar { position: static; grid-template-columns: 1fr 1fr; border-bottom: 0; }
  .works__cell { border-bottom: 1px solid var(--color-2); }
  .works__cell:nth-child(2n) { border-right: 0; }
  .works__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) { .works__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- feature ---- */
.feature { position: relative; background: var(--color-1); color: var(--color-1); }
.feature__stage { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; }
.feature__frame { position: absolute; inset: 0; overflow: hidden; background: var(--color-2); }
.feature__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-2) 90%, transparent) 0%, color-mix(in srgb, var(--color-2) 66%, transparent) 36%, color-mix(in srgb, var(--color-2) 22%, transparent) 58%, transparent 72%); }
.feature__img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 42%; }
.feature__copy { position: absolute; inset: auto 0 0 0; z-index: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px 24px; align-items: end; padding: 0 var(--space-1) clamp(24px, 3.5vw, 44px); }
.feature__tags { grid-column: 1 / -1; }
.feature__titlebox { grid-column: 1 / -1; container-type: inline-size; }
.feature__title { display: block; white-space: nowrap; font-size: calc(100cqi / (var(--len) * .71)); }
.feature__client { grid-column: 1 / span 5; }
.feature__credits { grid-column: 7 / span 4; display: grid; }
.feature__credits li { padding: 9px 0; border-top: 1px solid color-mix(in srgb, var(--color-1) 40%, transparent); }
.feature__cta { grid-column: 11 / span 2; justify-self: end; }
@media (max-width: 899px) {
  .feature__title { white-space: normal; font-size: clamp(46px, 14vw, 72px); }
  .feature__client, .feature__credits, .feature__cta { grid-column: 1 / -1; justify-self: start; }
  .feature__img { object-position: 64% 50%; }
}

/* ---- clients marquee ---- */
.clients { position: relative; overflow-x: clip; padding: var(--space-2) 0; }
.clients__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; padding: 0 var(--space-1) clamp(36px, 5vw, 64px); }
.clients__head h2 { grid-column: 1 / span 7; }
.clients__head p { grid-column: 9 / span 4; }
.clients__row { border-block: 1px solid var(--color-2); padding-block: clamp(18px, 2.4vw, 30px); overflow: hidden; }
.clients__track { display: flex; width: max-content; }
.clients__name { padding-right: clamp(36px, 5vw, 72px); font-size: clamp(30px, 5vw, 68px); line-height: 1; white-space: nowrap; text-shadow: -.045em .04em 0 var(--color-5); }
@media (max-width: 860px) { .clients__head h2, .clients__head p { grid-column: 1 / -1; } }

/* ---- expertise (services) ---- */
.expertise { position: relative; padding: var(--space-2) var(--space-1); background: var(--color-2); color: var(--color-1); }
.expertise__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
.expertise__head h2 { grid-column: 1 / span 5; }
.expertise__head p { grid-column: 7 / span 6; }
.expertise__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 7vw, 104px); }
.expertise__portrait { grid-column: 1 / span 4; position: sticky; top: 92px; align-self: start; height: min(72vh, 640px); overflow: hidden; background: var(--color-6); }
.expertise__portrait-in { position: absolute; inset: 0; }
.expertise__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.expertise__rows { grid-column: 6 / span 7; border-bottom: 1px solid var(--color-6); }
.expertise__row { display: grid; gap: 16px; padding: clamp(26px, 3vw, 40px) 0; border-top: 1px solid var(--color-6); }
.expertise__row h3 { font-size: clamp(26px, 3vw, 42px); }
.expertise__row .m-text-7 { color: color-mix(in srgb, var(--color-1) 78%, var(--color-2)); max-width: 56ch; }
.expertise__tags { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.expertise__more { margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 860px) {
  .expertise__head h2, .expertise__head p { grid-column: 1 / -1; }
  .expertise__portrait { grid-column: 1 / -1; position: relative; top: 0; height: auto; aspect-ratio: 4 / 3; }
  .expertise__rows { grid-column: 1 / -1; }
}

/* ---- method (steps) ---- */
.method { position: relative; overflow-x: clip; padding: var(--space-2) var(--space-1); }
.method__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; padding-bottom: clamp(28px, 3.5vw, 48px); border-bottom: 1px solid var(--color-2); }
.method__head h2 { grid-column: 1 / span 7; }
.method__head p { grid-column: 9 / span 4; }
.method__track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(16px, 2.5vw, 32px); margin-top: clamp(28px, 3.5vw, 48px); }
.method__frame { display: grid; gap: 18px; align-content: start; }
.method__photo { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--color-5); }
.method__photo img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.method__text { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 22px; align-items: start; }
.method__step { grid-row: span 2; font-size: clamp(44px, 5vw, 76px); line-height: .8; }
.method__text h3 { padding-top: 2px; }
@media (max-width: 860px) { .method__head h2, .method__head p { grid-column: 1 / -1; } .method__track { grid-template-columns: minmax(0, 1fr); } }

/* ---- studio (about) ---- */
.studio { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; padding: var(--space-2) var(--space-1); }
.studio__photo { grid-column: 1 / span 7; position: relative; overflow: hidden; aspect-ratio: 4 / 3.1; background: var(--color-5); }
.studio__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.studio__text { grid-column: 9 / span 4; display: grid; gap: clamp(20px, 2.4vw, 30px); }
.studio__specs { border-bottom: 1px solid var(--color-5); }
.studio__spec { display: grid; grid-template-columns: minmax(96px, 30%) minmax(0, 1fr); gap: 16px; padding: 13px 0; border-top: 1px solid var(--color-5); }
.studio__spec dd { margin: 0; }
.studio--flip .studio__photo { grid-column: 6 / span 7; grid-row: 1; }
.studio--flip .studio__text { grid-column: 1 / span 4; grid-row: 1; }
.studio--wide .studio__text { grid-column: 6 / span 7; }
.studio__title { grid-column: 1 / span 4; }
.studio p + p { margin-top: 1em; }
@media (max-width: 860px) { .studio__photo, .studio__text, .studio--flip .studio__photo, .studio--flip .studio__text, .studio--wide .studio__text, .studio__title { grid-column: 1 / -1; grid-row: auto; } }

/* ---- crew (about) ---- */
.crew { position: relative; overflow-x: clip; padding: var(--space-2) var(--space-1); }
.crew__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; padding-bottom: clamp(36px, 5vw, 64px); }
.crew__head h2 { grid-column: 1 / span 7; }
.crew__head p { grid-column: 9 / span 4; }
.crew__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 64px) clamp(16px, 2.5vw, 32px); }
.crew__card { display: grid; gap: 10px; align-content: start; background: var(--color-1); }
.crew__bio { max-width: 62ch; }
.crew__photo { overflow: hidden; aspect-ratio: 1 / 1; margin-bottom: 10px; background: var(--color-5); }
.crew__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.crew__more { margin-top: clamp(40px, 5vw, 64px); padding-top: 14px; border-top: 1px solid var(--color-2); }
@media (max-width: 860px) { .crew__head h2, .crew__head p { grid-column: 1 / -1; } .crew__grid { grid-template-columns: minmax(0, 1fr); } }
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.5vw, 20px); margin-top: clamp(40px, 5vw, 72px); }
.mosaic figure { overflow: hidden; aspect-ratio: 4 / 5; background: var(--color-5); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 6vw, 88px); }
.pillar { display: grid; gap: 10px; align-content: start; padding-top: 14px; border-top: 1px solid var(--color-2); }
@media (max-width: 860px) { .pillars { grid-template-columns: minmax(0, 1fr); gap: 36px; } .mosaic { grid-template-columns: 1fr 1fr; } .mosaic figure:last-child { display: none; } }

/* ---- pricing and faq ---- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(32px, 4vw, 56px); }
.tier { display: grid; gap: 12px; align-content: start; padding-top: 14px; border-top: 1px solid var(--color-2); }
.tier__amt { font-family: var(--font-1); font-size: clamp(44px, 6vw, 88px); font-weight: 300; font-stretch: 125%; line-height: .9; letter-spacing: -.02em; text-transform: uppercase; }
.tier__amt--text { font-size: clamp(28px, 3.4vw, 48px); line-height: 1; }
@media (max-width: 860px) { .tiers { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.faq { max-width: 860px; margin-top: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--color-2); }
.faq details { border-top: 1px solid var(--color-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 56px; padding-block: 14px; cursor: pointer; list-style: none; font-family: var(--font-2); font-size: clamp(16px, 1.5vw, 20px); font-weight: 600; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; translate: 0 -3px; transition: rotate .35s cubic-bezier(.2, .8, .2, 1), translate .35s cubic-bezier(.2, .8, .2, 1); }
.faq details[open] summary::after { rotate: 225deg; translate: 0 3px; }
.faq details p { max-width: 62ch; padding-bottom: 18px; color: var(--color-3); }
.section--dark .faq details p { color: #dfe4ee; }
.section--dark .faq summary { color: #fff; }
.faq summary { transition: color .25s ease, padding .25s ease; }
@media (hover: hover) { .faq summary:hover { color: var(--accent); } .section--dark .faq summary:hover { color: #a9c8f7; } }
:root { interpolate-size: allow-keywords; }
.faq details::details-content, .dd::details-content { block-size: 0; overflow: clip; opacity: 0; transition: block-size .45s cubic-bezier(.2, .8, .2, 1), opacity .35s ease, content-visibility .45s allow-discrete; }
.faq details[open]::details-content, .dd[open]::details-content { block-size: auto; opacity: 1; }
.faq details[open] p { animation: faq-in .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes faq-in { from { translate: 0 -8px; opacity: 0; } }

/* ---- contact (home bottom) ---- */
.contact { padding: var(--space-2) var(--space-1) 0; }
.contact__mailbox { container-type: inline-size; margin-top: clamp(28px, 4vw, 56px); }
.contact__mail { display: block; width: fit-content; white-space: nowrap; font-size: calc(100cqi / (var(--len) * .74)); line-height: 1.05; text-decoration-thickness: 2px; text-underline-offset: .16em; }
.contact__desks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 6vw, 88px); }
.contact__desk { display: grid; gap: 8px; align-content: start; padding-top: 14px; border-top: 1px solid var(--color-2); }
.contact__desk h3 { margin-bottom: 6px; }
.contact__desk a { width: fit-content; }
@media (max-width: 860px) { .contact__desks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; } }
@media (max-width: 520px) { .contact__desks { grid-template-columns: minmax(0, 1fr); } }

/* ---- inquiry form (contact page) ---- */
.inquiry-page { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 24px; align-items: start; padding: clamp(40px, 6vw, 88px) var(--space-1) var(--space-2); }
.inquiry-page__intro { grid-column: 1 / span 4; display: grid; gap: 18px; position: sticky; top: 88px; }
.inquiry-page__form { grid-column: 6 / span 7; }
@media (max-width: 960px) { .inquiry-page__intro, .inquiry-page__form { grid-column: 1 / -1; position: static; } }
.inquiry { display: grid; gap: 22px; }
.inquiry .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 640px) { .inquiry .two { grid-template-columns: minmax(0, 1fr); } }
.inquiry label, .inquiry .field { display: grid; gap: 8px; }
.inquiry label > span, .field-label { font-size: 12px; font-weight: 600; letter-spacing: .035em; text-transform: uppercase; }
.opt-tag { font-style: normal; font-weight: 400; color: var(--color-3); text-transform: none; letter-spacing: 0; }
.inquiry input[type="text"], .inquiry input[type="email"], .inquiry textarea, .dd summary { width: 100%; min-height: 52px; padding: 14px 16px; background: transparent; border: 1px solid var(--color-2); border-radius: 0; font-size: 16px; line-height: 1.4; transition: background-color .2s ease, box-shadow .2s ease; }
.inquiry textarea { resize: vertical; }
.inquiry input::placeholder, .inquiry textarea::placeholder { color: var(--color-4); }
.inquiry input:focus, .inquiry textarea:focus { outline: 0; background: #fff; box-shadow: 0 0 0 2px var(--accent); }
.inquiry .invalid, .field.invalid .dd summary { border-color: #b3261e; box-shadow: 0 0 0 1px #b3261e; }
.dd { position: relative; }
.dd summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; }
.dd summary::-webkit-details-marker { display: none; }
.dd summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; translate: 0 -2px; transition: rotate .3s cubic-bezier(.2, .8, .2, 1); }
.dd[open] summary::after { rotate: 225deg; }
.dd:not(.has) summary > span { color: var(--color-4); }
.dd-panel { display: grid; border: 1px solid var(--color-2); border-top: 0; background: #fff; }
.check { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 16px; cursor: pointer; border-top: 1px solid var(--color-5); }
.check:first-child { border-top: 0; }
.check span { font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.check input { width: 18px; height: 18px; accent-color: var(--color-2); }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: 15px; }
.form-status.ok { color: #1b6b3a; }
.form-status.err { color: #b3261e; }
.send-row { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 14px; }
.form-status textarea { width: 100%; margin-top: 8px; padding: 12px; border: 1px solid var(--color-5); background: #fff; font-size: 14px; }

/* ---- footer ---- */
.footer { position: relative; overflow-x: clip; padding: var(--space-2) var(--space-1) 20px; }
.footer__mark { container-type: inline-size; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; margin-top: clamp(28px, 4vw, 56px); padding-top: 14px; border-top: 1px solid var(--color-2); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a { display: inline-block; padding-block: 6px; }

/* ---- home hero: grid of concept-site previews ---- */
.hero__media--strip { display: grid; align-content: center; box-shadow: none; background-color: var(--color-1); background-image: radial-gradient(rgba(19, 35, 63, .14) 1px, transparent 1.3px); background-size: 14px 14px; }
.hero__media--strip .hero__push { position: relative; inset: auto; }
.hero__media--strip { align-content: stretch; }
.hero__media--strip .hero__push { display: grid; align-content: center; height: 100%; }
.hero__media--strip .strip { --w: clamp(220px, calc((100svh - 318px) / 1.25), 44vw); --g: 14px; margin-top: 0; padding: 10px 0; }
.hero__media--strip .tile { box-shadow: var(--card-shadow); border-radius: 0; }
@media (max-width: 900px) { .hero__media--strip .strip { --w: clamp(220px, calc((100svh - 318px) / 1.25), 60vw); } }
.hero__media--strip .strip-row { padding-right: var(--g); }
.hero__media--strip .strip-row.off { margin-left: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hero__media--strip .strip-row { animation: strip-slide 27s linear infinite; will-change: transform; backface-visibility: hidden; }
  .hero__media--strip .strip-row.off { animation-direction: reverse; animation-duration: 31s; }
}
@keyframes strip-slide { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.hero__media--strip a.tile { display: block; color: inherit; text-decoration: none; cursor: pointer; transition: translate .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s ease; }
.hero__media--strip a.tile .pg img { transition: scale .8s cubic-bezier(.2, .8, .2, 1); }
@media (hover: hover) { .hero__media--strip a.tile:hover { translate: 0 -6px; box-shadow: 0 2px 4px rgba(19, 35, 63, .1), 0 18px 36px -8px rgba(19, 35, 63, .35); } .hero__media--strip a.tile:hover .pg img { scale: 1.05; } }
.hero__media--strip a.tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@keyframes strip-in { from { transform: translateY(24px); opacity: 0; } }

/* tiles that show the real landing-page screenshot (browser bar cropped off) */
.tile--shot { background: var(--color-2); overflow: hidden; }
/* the screenshot is placed and sized directly (no object-view-box or object-fit, which Safari repaints slowly while the rows move) so the browser bar is cropped off */
.tile--shot .shot { position: absolute; left: -5.15%; top: -14.4%; width: 110.3%; height: auto; max-width: none; }
.tile--shot .shot--embers { left: -3.9%; top: -3.3%; width: 107.9%; }
@media (hover: hover) { .hero__media--strip a.tile:hover .shot { scale: 1.04; } }
.hero__media--strip a.tile--shot { overflow: hidden; }

/* each other tile is a miniature of that concept site's own landing page (sizes follow the tile width) */
.tile .lp-nav { position: absolute; z-index: 2; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 2.6cqw; padding: 3cqw 4.6cqw; }
.tile .lp-logo { margin-right: auto; font-size: 4.2cqw; font-weight: 500; letter-spacing: .01em; white-space: nowrap; }
.tile .lp-logo i, .tile .lp-title em { font-style: italic; }
.tile .lp-dia { color: var(--ac); font-size: .7em; vertical-align: .1em; }
.tile .lp-links { display: flex; gap: 2.6cqw; font-family: var(--font-2); font-size: 1.45cqw; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.tile .lp-links i { font-style: normal; }
.tile .lp-navbtn { padding: 1.2cqw 2.2cqw; border: .25cqw solid var(--ac); color: var(--ac); font-family: var(--font-2); font-size: 1.45cqw; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.tile .lp-copy { position: absolute; z-index: 2; left: 0; right: 0; top: 52%; translate: 0 -50%; display: grid; gap: 1.8cqw; justify-items: start; padding: 0 5cqw; max-width: 74%; color: var(--fg); }
.tile .lp-copy.c { max-width: none; justify-items: center; text-align: center; padding: 0 9cqw; }
.tile .lp-kicker { display: flex; align-items: center; gap: 2cqw; font-family: var(--font-2); font-size: 1.5cqw; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--ac); }
.tile .lp-kicker::before { content: ""; width: 4cqw; height: .2cqw; background: currentColor; }
.tile .lp-copy.c .lp-kicker::after { content: ""; width: 4cqw; height: .2cqw; background: currentColor; }
.tile .lp-title { display: block; font-size: 8.4cqw; font-weight: 400; line-height: 1.02; letter-spacing: -.01em; text-wrap: balance; }
.tile .lp-title em { color: var(--ac); }
.tile .lp-sub { max-width: 44ch; font-family: var(--font-2); font-size: 1.85cqw; line-height: 1.5; opacity: .92; }
.tile .lp-btns { display: flex; gap: 1.6cqw; margin-top: .6cqw; }
.tile .lp-btn { display: inline-block; padding: 1.7cqw 3.2cqw; background: var(--ac); border: .25cqw solid var(--ac); color: var(--acfg); font-family: var(--font-2); font-size: 1.4cqw; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.tile .lp-btn.line { background: transparent; color: var(--fg); border-color: color-mix(in srgb, var(--fg) 65%, transparent); }
.tile .lp-badge { position: absolute; z-index: 3; right: 2.4cqw; bottom: 2.4cqw; padding: 1.1cqw 2.2cqw; background: rgba(12, 14, 20, .82); border: .2cqw solid rgba(255, 255, 255, .18); border-radius: 99px; color: #fff; font-family: var(--font-2); font-size: 1.55cqw; font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) { .tile .lp-links { display: none; } }

/* ---- architectural sketches in the background (thin line drawings, kept to empty areas so they never sit under small text) ---- */
.page-head, .cta, .contact { position: relative; overflow: hidden; }
.page-head::after, .cta::after, .contact::after, .manifesto__stack::before, .hero__media--strip::before {
  content: ""; position: absolute; pointer-events: none; z-index: 0; background: currentColor; opacity: .14;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center;
}
.page-head > *, .cta > *, .contact > * { position: relative; z-index: 1; }
.page-head::after { right: clamp(12px, 3vw, 56px); bottom: 0; width: min(38vw, 560px); aspect-ratio: 1; -webkit-mask-image: url(../images/sketch-plan.svg); mask-image: url(../images/sketch-plan.svg); -webkit-mask-size: contain; mask-size: contain; }
.cta::after { right: clamp(12px, 4vw, 72px); bottom: -8%; width: min(36vw, 520px); aspect-ratio: 1; -webkit-mask-image: url(../images/sketch-plan.svg); mask-image: url(../images/sketch-plan.svg); -webkit-mask-size: contain; mask-size: contain; opacity: .16; }
.section--dark.cta::after { opacity: .22; }
.contact::after { right: var(--space-1); top: clamp(40px, 6vw, 96px); width: min(34vw, 520px); aspect-ratio: 3 / 1; -webkit-mask-image: url(../images/sketch-section.svg); mask-image: url(../images/sketch-section.svg); -webkit-mask-size: contain; mask-size: contain; }
.manifesto__stack { position: relative; isolation: isolate; }
.manifesto__stack::before { inset: -2% -1.5%; z-index: -1; opacity: .11; -webkit-mask-image: url(../images/sketch-site.svg); mask-image: url(../images/sketch-site.svg); -webkit-mask-size: cover; mask-size: cover; }
.hero__media--strip { color: var(--color-2); background-image: none; }
.hero__media--strip::before { inset: 0; opacity: .16; -webkit-mask-image: url(../images/sketch-site.svg); mask-image: url(../images/sketch-site.svg); -webkit-mask-size: cover; mask-size: cover; }
.hero__media--strip .hero__push { z-index: 1; }
/* speed on the shared site: no blend mode or filter behind the sliding rows, a lighter tile shadow, and each tile is painted on its own */
.hero .hero__media--strip { isolation: isolate; }
.hero .hero__media--strip::before { filter: none; mix-blend-mode: normal; opacity: .22; }
.hero__media--strip .tile { box-shadow: 0 6px 14px -6px rgba(19, 35, 63, .4); contain: layout paint style; }
.hero__media--strip .strip-row { transform: translate3d(0, 0, 0); }
@media (max-width: 960px) { .page-head::after, .cta::after, .contact::after { display: none; } }

/* ---- real architectural drawings in the background (darker, and a different drawing for each page / block) ---- */
/* The drawings are pure line art (SVG), so there is no paper or frame edge, and the lines take the colour of the block they sit in. */
.page-head::after, .cta::after, .contact::after, .manifesto__stack::before, .hero__media--strip::before {
  background: currentColor; mix-blend-mode: normal; filter: none; opacity: .34;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain;
}
/* default drawings */
.page-head::after { -webkit-mask-image: url(../images/drawing-floor-plan.svg); mask-image: url(../images/drawing-floor-plan.svg); width: min(40vw, 620px); aspect-ratio: 3 / 2; bottom: 12px; }
.cta::after { -webkit-mask-image: url(../images/drawing-signal-tower.svg); mask-image: url(../images/drawing-signal-tower.svg); width: min(38vw, 560px); aspect-ratio: 3 / 2; bottom: 4%; opacity: .32; }
.contact::after { -webkit-mask-image: url(../images/drawing-signal-tower.svg); mask-image: url(../images/drawing-signal-tower.svg); width: min(36vw, 540px); aspect-ratio: 3 / 2; top: clamp(24px, 4vw, 72px); }
.manifesto__stack::before { -webkit-mask-image: url(../images/drawing-floor-plan.svg); mask-image: url(../images/drawing-floor-plan.svg); -webkit-mask-size: cover; mask-size: cover; opacity: .18; inset: -2% -1.5%; }
.hero__media--strip::before { -webkit-mask-image: url(../images/drawing-pulpit.svg); mask-image: url(../images/drawing-pulpit.svg); -webkit-mask-size: cover; mask-size: cover; opacity: .3; }
/* a different drawing on each page */
/* on navy blocks the lines simply take the light text colour */
.section--dark.cta::after { opacity: .3; }

/* ---- enhanced drawing sheets (frame cropped off; white paper dropped with multiply, or inverted on navy blocks) ---- */
.page-head::after, .cta::after, .contact::after, .manifesto__stack::before, .hero__media--strip::before {
  --img: url(../images/sheet-plan.jpg); --ar: 1.49;
  -webkit-mask-image: none; mask-image: none; background-color: transparent; background-image: var(--img);
  background-repeat: no-repeat; background-position: center; background-size: 105% 105%;
  mix-blend-mode: multiply; filter: contrast(1.15); opacity: .3;
}
.page-head::after, .cta::after, .contact::after { aspect-ratio: var(--ar); }
.page-head::after { width: max(40vw, min(calc(100vw - 600px), 1000px)); bottom: -4%; }
.cta::after { width: max(38vw, min(calc(100vw - 640px), 1000px)); bottom: -10%; }
.contact::after { --img: url(../images/sheet-tower.jpg); --ar: 1.52; width: min(44vw, 640px); }
.manifesto__stack::before { inset: -6% -4%; background-size: 112% auto; opacity: .13; }
.hero__media--strip::before { --img: url(../images/sheet-pulpit.jpg); background-size: 125% auto; opacity: .2; }
/* a different sheet on each page */
body:has(.nav a[href="services.html"][aria-current]) .page-head::after { --img: url(../images/sheet-tower.jpg); --ar: 1.52; }
body:has(.nav a[href="services.html"][aria-current]) .cta::after { --img: url(../images/sheet-pulpit.jpg); --ar: 1.3; }
body:has(.nav a[href="our-work.html"][aria-current]) .page-head::after { --img: url(../images/sheet-plan.jpg); --ar: 1.49; }
body:has(.nav a[href="our-work.html"][aria-current]) .cta::after { --img: url(../images/sheet-tower.jpg); --ar: 1.52; }
body:has(.nav a[href="about.html"][aria-current]) .page-head::after { --img: url(../images/sheet-pulpit.jpg); --ar: 1.3; }
body:has(.nav a[href="about.html"][aria-current]) .cta::after { --img: url(../images/sheet-plan.jpg); --ar: 1.49; }
body:has(.nav a[href="contact.html"][aria-current]) .page-head::after { --img: url(../images/sheet-plan.jpg); --ar: 1.49; }
/* FAQ: close-up details cropped from the pulpit and tower sheets */
body:has(.nav a[href="faq.html"][aria-current]) .page-head::after { --img: url(../images/sheet-pulpit.jpg); --ar: 1.3; }
body:has(.nav a[href="faq.html"][aria-current]) .cta::after { --img: url(../images/sheet-tower.jpg); --ar: 1.52; }
/* navy blocks: lines turn light */
.section--dark.cta::after { mix-blend-mode: screen; filter: invert(1) contrast(1.15); opacity: .26; }

/* ---- depth: every content block sits on a raised card, and every button looks the same ---- */
.tier, .pillar, .contact__desk, .crew__card, .method__frame { padding: 20px 20px 24px; background: var(--card-bg); box-shadow: var(--card-shadow); border-top: 0; }
.method__frame { padding: 14px 14px 22px; }
.method__text { padding-inline: 6px; }
.crew__card { gap: 10px; }
.crew__photo { margin-bottom: 4px; }
.expertise__row { padding-inline: 24px; margin-bottom: 14px; background: var(--card-bg-dark); border-top: 0; box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .5); }
.expertise__rows { border-bottom: 0; }
.faq details { margin-bottom: 10px; padding-inline: 20px; background: var(--card-bg); border-top: 0; box-shadow: var(--card-shadow); }
.faq { border-bottom: 0; }
.section--dark .faq details { background: var(--card-bg-dark); box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .5); }
.section--dark .faq details, .section--dark .faq summary { border-color: transparent !important; }
.studio__photo, .hero__media, .feature__frame { box-shadow: var(--card-shadow); }
.studio__specs { padding: 6px 20px; background: var(--card-bg); box-shadow: var(--card-shadow); border-bottom: 0; }
.studio__spec:first-child { border-top: 0; }
.inquiry-page__form { padding: clamp(20px, 3vw, 36px); background: var(--card-bg); box-shadow: var(--card-shadow); }
.m-btn-2 { color: var(--color-2); }
.m-btn-2::before { background: var(--color-2); }
.m-btn-2::after { background: var(--color-1); border: 1px solid var(--color-2); }
.section--dark .m-btn, .section--dark .m-btn-2 { color: var(--color-2); }
.section--dark .m-btn::before, .section--dark .m-btn-2::before { background: #a9c8f7; }
.section--dark .m-btn::after, .section--dark .m-btn-2::after { background: var(--color-1); border-color: var(--color-1); }
.expertise .m-btn-2::before { background: #a9c8f7; }
.expertise .m-btn-2::after { border-color: var(--color-1); }
.feature .m-btn-2::before { background: #a9c8f7; }
.feature .m-btn-2::after { border-color: var(--color-1); }
.m-btn, .m-btn-2 { box-shadow: 0 6px 16px -6px rgba(19, 35, 63, .35); }

/* ---- colour and gradients (blue / violet / teal / peach, built on the brand navy and blue) ---- */
:root {
  --violet: #7a5af8; --teal: #19b5a5; --peach: #ff9f7a; --sky: #cfe3ff; --lilac: #e4dcff;
  --grad: linear-gradient(120deg, #2f6fd0 0%, #6a5cf0 55%, #a85cf0 100%);
  --grad-soft: linear-gradient(120deg, #dbe8ff 0%, #e6deff 50%, #ffe4d2 100%);
  --grad-navy: radial-gradient(70% 90% at 92% 0%, rgba(122, 90, 248, .5), transparent 62%), radial-gradient(60% 80% at 0% 100%, rgba(25, 181, 165, .3), transparent 62%), linear-gradient(160deg, #13233f 0%, #1b3166 100%);
  --card-bg: linear-gradient(160deg, #ffffff 0%, #eff4ff 100%);
  --card-bg-dark: linear-gradient(135deg, #20407a 0%, #2d3a85 100%);
  --c1: #2f6fd0; --c2: #7a5af8; --c3: #19b5a5; --c4: #ff9f7a;
}
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 6% 4%, rgba(122, 90, 248, .2), transparent 62%),
    radial-gradient(55vw 55vh at 98% 10%, rgba(47, 111, 208, .22), transparent 62%),
    radial-gradient(50vw 50vh at 88% 94%, rgba(255, 159, 122, .22), transparent 62%),
    radial-gradient(55vw 45vh at 2% 90%, rgba(25, 181, 165, .17), transparent 62%); }
::selection { background: var(--violet); color: #fff; }
.hero { background: transparent; }
.nav[data-solid] { background: linear-gradient(90deg, #13233f 0%, #1d3878 62%, #3a2f8e 100%); }
.nav__menu { background: var(--grad-navy); }
/* hero previews sit on a gradient mesh */
.hero__media--strip { background-color: transparent; background-image: radial-gradient(60% 90% at 12% 20%, rgba(122, 90, 248, .38), transparent 62%), radial-gradient(55% 90% at 90% 30%, rgba(47, 111, 208, .38), transparent 62%), radial-gradient(60% 80% at 60% 105%, rgba(255, 159, 122, .45), transparent 62%), linear-gradient(135deg, #dce8ff 0%, #e7ddff 50%, #ffe4d3 100%); }
.hero__info { border-top-color: rgba(19, 35, 63, .15); }
/* page headings and light calls to action get a soft wash */
.page-head { background: var(--grad-soft); border-bottom: 0; }
.cta:not(.section--dark) { background: linear-gradient(120deg, rgba(219, 232, 255, .8), rgba(230, 222, 255, .7) 50%, rgba(255, 228, 210, .8)); }
/* navy blocks glow */
.section--dark, .expertise { background: var(--grad-navy); }
.footer { background: transparent; }
.clients__name { text-shadow: -.045em .04em 0 #bdd0f6; }
.works__bar { background: rgba(244, 246, 252, .92); }
/* every raised card: tinted gradient with a coloured top edge that cycles through the palette */
.works__card, .tier, .pillar, .contact__desk, .crew__card, .method__frame, .faq details, .studio__specs, .inquiry-page__form { background: var(--card-bg); box-shadow: var(--card-shadow), inset 0 3px 0 var(--c1); }
.works__card:nth-child(4n+2), .tier:nth-child(4n+2), .pillar:nth-child(4n+2), .contact__desk:nth-child(4n+2), .crew__card:nth-child(4n+2), .method__frame:nth-child(4n+2) { box-shadow: var(--card-shadow), inset 0 3px 0 var(--c2); background: linear-gradient(160deg, #ffffff 0%, #f2eeff 100%); }
.works__card:nth-child(4n+3), .tier:nth-child(4n+3), .pillar:nth-child(4n+3), .contact__desk:nth-child(4n+3), .crew__card:nth-child(4n+3), .method__frame:nth-child(4n+3) { box-shadow: var(--card-shadow), inset 0 3px 0 var(--c3); background: linear-gradient(160deg, #ffffff 0%, #e9f8f5 100%); }
.works__card:nth-child(4n+4), .tier:nth-child(4n+4), .pillar:nth-child(4n+4), .contact__desk:nth-child(4n+4), .crew__card:nth-child(4n+4), .method__frame:nth-child(4n+4) { box-shadow: var(--card-shadow), inset 0 3px 0 var(--c4); background: linear-gradient(160deg, #ffffff 0%, #fff0e8 100%); }
.section--dark .faq details { background: var(--card-bg-dark); box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .5), inset 0 3px 0 var(--c3); }
.expertise__row { background: var(--card-bg-dark); box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .5), inset 0 3px 0 var(--c2); }
.expertise__row:nth-child(2n) { box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .5), inset 0 3px 0 var(--c3); }
.expertise__row:nth-child(3n) { box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .5), inset 0 3px 0 var(--c4); }
/* buttons: same shape everywhere, with a gradient block behind the face */
.m-btn::before, .m-btn-2::before { background: var(--grad); }
.m-btn::after, .m-btn-2::after { border-color: #4a46c8; }
.section--dark .m-btn::before, .section--dark .m-btn-2::before, .expertise .m-btn-2::before, .feature .m-btn-2::before { background: linear-gradient(120deg, #a9c8f7, #d7c6ff 60%, #ffcfb8); }
.section--dark .m-btn::after, .section--dark .m-btn-2::after, .expertise .m-btn-2::after { border-color: #fff; }
.m-btn, .m-btn-2 { box-shadow: 0 8px 18px -8px rgba(74, 70, 200, .55); }
.m-btn-3[aria-pressed="true"], .works__cell[aria-pressed="true"] { background: var(--grad); color: #fff; }
.m-link { text-decoration-color: var(--violet); text-decoration-thickness: 2px; }
.manifesto__verbs { border-top-color: #6a5cf0; }
.manifesto__verbs span:nth-child(1) { color: var(--c1); } .manifesto__verbs span:nth-child(2) { color: var(--c2); } .manifesto__verbs span:nth-child(3) { color: #0f9b8c; } .manifesto__verbs span:nth-child(4) { color: #e0602f; } .manifesto__verbs span:nth-child(5) { color: var(--c1); } .manifesto__verbs span:nth-child(6) { color: var(--c2); }
.tier__amt { color: #2f55c9; }
.tier:nth-child(2) .tier__amt { color: #6a43e0; } .tier:nth-child(3) .tier__amt { color: #0f9b8c; }
.method__step { color: var(--c2); }
.method__frame:nth-child(2n) .method__step { color: #0f9b8c; }
.input:focus, .inquiry input:focus, .inquiry textarea:focus { box-shadow: 0 0 0 2px var(--violet); }
.contact__mail { text-decoration-color: var(--violet); }
.footer__row { border-top: 2px solid; border-image: var(--grad) 1; }

/* ---- divider bars: a strong gradient band where one part of the page meets the next, with a soft white glow beside it ---- */
:root { --grad-bar: linear-gradient(90deg, #1d4fd8 0%, #4a47ec 45%, #8a3df0 100%); }
.page-head { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, .75) 100%), linear-gradient(100deg, #b9d0ff 0%, #d3c8ff 46%, #ffd7c2 100%); box-shadow: 0 34px 56px -14px rgba(255, 255, 255, .95); padding-bottom: calc(clamp(40px, 6vw, 88px) + 12px); }
.page-head::before, .hero::after, .cta::before, .section--dark:not(.cta)::before, .expertise::before { content: ""; position: absolute; left: 0; right: 0; height: 12px; background: var(--grad-bar); z-index: 3; pointer-events: none; }
.page-head::before { bottom: 0; }
.hero::after { bottom: 0; }
.cta::before, .section--dark:not(.cta)::before, .expertise::before { top: 0; }
.cta:not(.section--dark) { box-shadow: 0 -34px 56px -14px rgba(255, 255, 255, .95); }
.hero { box-shadow: 0 34px 56px -14px rgba(255, 255, 255, .95); z-index: 3; }
.section--dark:not(.cta), .expertise { box-shadow: 0 -30px 50px -14px rgba(255, 255, 255, .9); }
.footer__row { border-image: var(--grad-bar) 1; border-top-width: 4px; }

/* home: the project steps, set large */
.manifesto { container-type: inline-size; }
.manifesto__verbs { flex-wrap: nowrap; justify-content: space-between; gap: 0 1.4cqi; padding-top: clamp(18px, 2vw, 28px); border-top-width: 3px; }
.manifesto__verbs span { font-family: var(--font-2); font-size: calc(100cqi / 36); font-weight: 700; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 700px) { .manifesto__verbs { flex-wrap: wrap; gap: 8px 20px; } .manifesto__verbs span { font-size: clamp(22px, 6.4vw, 34px); } }
.manifesto__verbs span:nth-child(7) { color: #0f9b8c; }
.manifesto__verbs span:nth-child(3) { color: #0f9b8c; }
.manifesto__verbs span:nth-child(4) { color: #e0602f; }
.manifesto__verbs span:nth-child(5) { color: var(--c1); }
.manifesto__verbs span:nth-child(6) { color: var(--c2); }

/* services: no photo, the service bars use the full width */
.expertise__rows { grid-column: 1 / -1; }
.expertise__row { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; gap: 12px 24px; }
.expertise__row h3 { grid-column: 1 / span 4; }
.expertise__row .m-text-7 { grid-column: 5 / span 5; }
.expertise__row .expertise__tags { grid-column: 10 / span 3; align-content: start; }
@media (max-width: 860px) { .expertise__row h3, .expertise__row .m-text-7, .expertise__row .expertise__tags { grid-column: 1 / -1; } }

/* about: the Morro Rock photo is the section background, slowly zooming in, with the text in a box on top */
.slo-hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: min(86svh, 760px); padding: clamp(48px, 8vw, 120px) var(--space-1); overflow: hidden; }
.slo-hero__bg { position: absolute; inset: 0; z-index: -1; margin: 0; overflow: hidden; background: var(--color-2); }
.slo-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1); transform-origin: 60% 50%; }
.slo-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(19, 35, 63, .55) 0%, rgba(19, 35, 63, .15) 55%, rgba(19, 35, 63, 0) 100%); }
.slo-hero__box { justify-self: end; display: grid; gap: 18px; width: min(520px, 100%); padding: clamp(24px, 3vw, 40px); background: linear-gradient(160deg, rgba(255, 255, 255, .96) 0%, rgba(239, 244, 255, .94) 100%); box-shadow: 0 24px 60px -18px rgba(10, 18, 40, .55), inset 0 3px 0 var(--c1); }
.slo-hero__box h2 { text-wrap: balance; }
@media (prefers-reduced-motion: no-preference) {
  .slo-hero__box { animation: hero-info .9s .15s cubic-bezier(.2, .7, .1, 1) backwards; }
}
/* grow while scrolling: starts at 85% and reaches full size as it comes into view (js/main.js sets the scale) */
[data-grow] { will-change: transform; transform-origin: 50% 50%; }
@keyframes slo-zoom { from { transform: scale(1); } to { transform: scale(1.18); } }

/* the top bar is always present: solid on every inner page from the first paint (no script needed), and solid on home as soon as you leave the top */
.nav, body:not(:has(.hero)) .nav { color: var(--color-1); background: linear-gradient(90deg, #13233f 0%, #1d3878 62%, #3a2f8e 100%); }
.nav { display: block; visibility: visible; opacity: 1; position: fixed; top: 0; left: 0; right: 0; z-index: 100; }

/* ---- pricing and FAQ polish ---- */
.tiers { align-items: stretch; gap: clamp(20px, 2.5vw, 32px); }
.tier { gap: 14px; padding: 24px 24px 28px; }
.tier h3 { text-wrap: balance; }
.tier__amt { display: flex; align-items: flex-end; min-height: calc(clamp(44px, 6vw, 88px) * .9); }
.tier p:last-child { max-width: 38ch; font-size: 16px; line-height: 1.55; color: var(--color-3); }
.faq-intro { font-size: 18px; line-height: 1.5; max-width: 46ch; }
.faq { width: min(100%, 980px); }
.faq summary { padding-inline: 4px; border-radius: 0; transition: color .25s ease, background-color .25s ease; }
.faq summary::after { margin-right: 6px; }
.faq details[open] summary { color: var(--c1); }
.section--dark .faq details[open] summary { color: #a9c8f7; }
@media (hover: hover) { .faq summary:hover { background: rgba(47, 111, 208, .07); } .section--dark .faq summary:hover { background: rgba(255, 255, 255, .06); } }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.section--dark .faq summary:focus-visible { outline-color: #a9c8f7; }
.faq details p { padding: 2px 4px 22px; font-size: 16px; line-height: 1.6; }
@media (prefers-reduced-motion: reduce) {
  .faq details::details-content, .dd::details-content { transition: none; }
  .faq details[open] p { animation: none; }
  .faq summary::after { transition: none; }
}

/* the big "Start an inquiry" link: a layered colour shadow slides out on hover and focus */
.contact__mail { text-shadow: 0 0 0 rgba(122, 90, 248, 0), 0 0 0 rgba(47, 111, 208, 0); transition: text-shadow .5s cubic-bezier(.2, .8, .2, 1), translate .5s cubic-bezier(.2, .8, .2, 1); }
.contact__mail:focus-visible { text-shadow: -.035em .035em 0 rgba(122, 90, 248, .6), -.07em .07em 0 rgba(47, 111, 208, .38); }
@media (hover: hover) { .contact__mail:hover { text-shadow: -.035em .035em 0 rgba(122, 90, 248, .6), -.07em .07em 0 rgba(47, 111, 208, .38); translate: .01em -.01em; } }
@media (prefers-reduced-motion: reduce) { .contact__mail { transition: none; } .contact__mail:hover { translate: none; } }

/* four pricing boxes: four across, two on tablets, one on phones */
.tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tiers { grid-template-columns: minmax(0, 1fr); } }
.tier p.tier__links { display: grid; gap: 8px; margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; }
.tier__links a { width: fit-content; }

/* white dividing bar above the footer, fading softly into the page */
body:has(.nav a[href="our-work.html"][aria-current]) .footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 190px; pointer-events: none; z-index: 0; background: linear-gradient(180deg, #fff 0, #fff 12px, rgba(255, 255, 255, .8) 40px, rgba(255, 255, 255, .4) 100px, rgba(255, 255, 255, 0) 100%); }
.footer > * { position: relative; z-index: 1; }

/* ---- motion (scroll-driven, no libraries) ---- */
@media (prefers-reduced-motion: no-preference) {
  .hero .m-mark__ink { animation: hero-rise .8s cubic-bezier(.2, .75, .15, 1) backwards; animation-delay: calc(var(--i, 0) * 50ms); }
  .hero__media-in { animation: hero-settle 1.1s cubic-bezier(.2, .7, .1, 1) backwards; }
  .hero__info { animation: hero-info .7s .25s cubic-bezier(.2, .7, .1, 1) backwards; }
  .hero__drift { animation: hero-drift 6s ease-in-out infinite alternate; }
  .page-head h1 { animation: head-in 1s cubic-bezier(.25, 1, .5, 1) backwards; }
  .page-head p { animation: hero-info .8s .2s cubic-bezier(.2, .7, .1, 1) backwards; }
  .clients__track { animation: clients-run 46s linear infinite; }
}
@keyframes hero-rise { from { transform: translateY(.42em); clip-path: inset(0 -30% 100% -30%); } to { transform: none; clip-path: inset(-20% -30% -60% -30%); } }
@keyframes hero-settle { from { transform: scale(1.07); } }
@keyframes hero-info { from { transform: translateY(10px); opacity: 0; } }
@keyframes hero-drift { from { transform: translate3d(-30px, -14px, 0); } to { transform: translate3d(30px, 14px, 0); } }
@keyframes head-in { from { translate: -48px 0; opacity: 0; } }
@keyframes motion-rise { 0% { translate: 0 45%; clip-path: inset(0 0 100% 0); } 99.998% { translate: 0 0; clip-path: inset(0 0 -25% 0); } 100% { translate: 0 0; clip-path: none; } }
@keyframes motion-trail { 0% { translate: -56px 0; --motion-trail: 1; } 100% { translate: 0 0; --motion-trail: 0; } }
@keyframes motion-cut { 0% { clip-path: inset(47% 0); } 99.998% { clip-path: inset(0); } 100% { clip-path: none; } }
@keyframes motion-cut-img { 0% { scale: 1.18; } 100% { scale: 1; } }
@keyframes motion-rule { 0% { clip-path: inset(0 100% 0 0); } 99.998% { clip-path: inset(0); } 100% { clip-path: none; } }
@keyframes clients-run { to { transform: translate3d(-50%, 0, 0); } }
@property --motion-trail { syntax: '<number>'; inherits: true; initial-value: 0; }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* hero: letters fall apart and the photo pushes in */
    .hero { view-timeline: --hero block; view-timeline-inset: 0; }
    .hero .m-mark__glyph { --off: calc(var(--i) - (var(--len) - 1) / 2); animation: hero-glyph linear both; animation-timeline: --hero; animation-range: cover calc(100% - 100vh) cover calc(100% - 10vh); }
    @keyframes hero-glyph { from { --mark-streak: 0; } to { translate: calc(var(--off) * 1.2vw) 16vh; scale: 1.06; --mark-streak: 1.4; } }
    .hero__push { animation: hero-push linear both; animation-timeline: --hero; animation-range: cover calc(100% - 100vh) cover calc(100% - 10vh); transform-origin: 50% 30%; }
    @keyframes hero-push { to { scale: 1.16; } }

    /* manifesto lines slide in from alternating sides */
    .manifesto { view-timeline: --manifesto block; view-timeline-inset: 0; }
    .manifesto__line { animation: line-l linear both; animation-timeline: --manifesto; animation-range: cover 0% cover 72vh; }
    .manifesto__line:nth-child(even) { animation-name: line-r; }
    @keyframes line-l { from { translate: -80% 0; } }
    @keyframes line-r { from { translate: 80% 0; } }

    /* works: cards rise and settle */
    .works__card { animation: card-in linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    @keyframes card-in { from { translate: 0 14vh; scale: .94; } }

    /* feature: pinned stage, image settles, title slides */
    .feature { height: 190svh; view-timeline: --feature block; view-timeline-inset: 0; }
    .feature__frame { animation: feat-frame linear both; animation-timeline: --feature; animation-range: cover 0% cover 100vh; }
    @keyframes feat-frame { from { clip-path: inset(0 19%); } to { clip-path: inset(0); } }
    .feature__img { animation: feat-img linear both, feat-img-2 linear forwards; animation-timeline: --feature, --feature; animation-range: cover 0% cover 100vh, cover 100vh cover calc(100% - 100vh); }
    @keyframes feat-img { from { scale: 1.32; } to { scale: 1.1; } }
    @keyframes feat-img-2 { from { scale: 1.1; } to { scale: 1; } }
    .feature__title { animation: feat-title linear both; animation-timeline: --feature; animation-range: cover 100vh cover calc(100% - 100vh); }
    @keyframes feat-title { from { translate: 38% 0; } }

    /* expertise: rows fade through, portrait zooms */
    .expertise__rows > li { view-timeline: --exp-item block; view-timeline-inset: 0; animation: exp-row linear both; animation-timeline: --exp-item; animation-range: cover 0% cover 100%; }
    @keyframes exp-row { 0%, 100% { opacity: .22; } 50% { opacity: 1; } }
    .expertise__body { view-timeline: --exp-body block; view-timeline-inset: 0; }
    .expertise__portrait-in { animation: exp-zoom linear both; animation-timeline: --exp-body; animation-range: cover 45vh cover calc(100% - 60vh); }
    @keyframes exp-zoom { from { scale: 1; } to { scale: 1.42; translate: 0 -6%; } }

    /* reveals follow the scroll position, so nothing waits on a trigger and everything ends fully visible */
    [data-motion~="cut"] { animation: motion-cut linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
    [data-motion~="cut"] img { animation: motion-cut-img linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
    [data-motion~="rule"] { animation: motion-rule linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    [data-motion~="trail"] { animation: motion-trail linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
    [data-motion~="rise"] > * { animation: motion-rise linear both; animation-timeline: view(); animation-range: entry 10% entry 70%; }
    .crew__card { animation: crew-in linear both; animation-timeline: view(); animation-range: entry 10% entry 70%; }
    @keyframes crew-in { from { translate: 0 8vh; rotate: -3deg; } }

    /* footer wordmark slides together */
    .footer { view-timeline: --foot block; view-timeline-inset: 0; }
    .footer .m-mark__glyph { --off: calc(var(--i) - (var(--len) - 1) / 2); animation: foot-glyph cubic-bezier(.33, 1, .67, 1) both; animation-timeline: --foot; animation-range: entry 0% entry 100%; }
    @keyframes foot-glyph { from { translate: calc(var(--off) * -4vw) 0; --mark-streak: 1.4; } to { --mark-streak: 0; } }
  }
}
