/* Chelsey Walker — portfolio. Eucalyptus Tide brand. */
@font-face { font-family: 'Marcellus'; src: url('../fonts/Marcellus-Regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('../fonts/Figtree.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }

:root {
  --chalk: #FAFAF6; --sea-glass: #DCE5E1; --eucalyptus: #9FB3A8; --tidewater: #3F6670;
  --deep-spruce: #22343A; --champagne: #C9B48F; --slate-mist: #4C5C5F; --white: #FFFFFF;
  --line: #D3DDD8;
  --display: 'Marcellus', Georgia, serif;
  --body: 'Figtree', Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--chalk); color: var(--deep-spruce); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--tidewater); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--deep-spruce); }
:focus-visible { outline: 2px solid var(--tidewater); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.005em; }
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--deep-spruce); color: var(--chalk); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

.label { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--tidewater); margin-bottom: 18px; }
.label.on-dark { color: var(--champagne); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--slate-mist); max-width: 640px; }
.muted { color: var(--slate-mist); }
.small { font-size: 14px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--deep-spruce); transition: background .2s, color .2s; cursor: pointer; }
.btn-primary { background: var(--deep-spruce); color: var(--chalk); }
.btn-primary:hover { background: var(--tidewater); border-color: var(--tidewater); color: var(--chalk); }
.btn-secondary { background: transparent; color: var(--deep-spruce); }
.btn-secondary:hover { background: var(--deep-spruce); color: var(--chalk); }
.btn-light { background: var(--chalk); color: var(--deep-spruce); border-color: var(--chalk); }
.btn-light:hover { background: var(--sea-glass); border-color: var(--sea-glass); color: var(--deep-spruce); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.arrow-link { font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.arrow-link::after { content: ' →'; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,250,246,.94); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--deep-spruce); }
.brand img { width: 34px; height: auto; }
.brand span { font-family: var(--display); font-size: 22px; letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--deep-spruce); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--tidewater); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; text-decoration-color: var(--champagne); }
.nav .btn { padding: 11px 20px; font-size: 12px; color: var(--chalk); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--deep-spruce); }
.menu-toggle svg { width: 26px; height: 26px; }
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--chalk); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 18px; width: 100%; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 18px; width: auto; border-bottom: 1px solid var(--deep-spruce); }
}

/* sections */
section { padding: clamp(64px, 9vw, 120px) 0; }
.band-sea { background: var(--sea-glass); }
.band-white { background: var(--white); }
.band-dark { background: var(--deep-spruce); color: var(--chalk); }
.band-dark h2, .band-dark h3 { color: var(--chalk); }
.band-dark .lede, .band-dark .muted { color: #C9D4D0; }
.band-dark a { color: var(--chalk); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head h2 { margin: 0; max-width: 720px; }

/* hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero-photo { position: relative; padding: 0 0 22px 22px; }
.hero-photo::before { content: ''; position: absolute; left: 0; bottom: 0; width: 82%; height: 82%; background: var(--eucalyptus); border-radius: 220px 220px var(--radius) var(--radius); }
.hero-photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: 220px 220px var(--radius) var(--radius); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { max-width: 420px; }
}

/* proof bar */
.proof { padding: 44px 0; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.proof-item b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(36px, 4vw, 52px); line-height: 1; color: var(--deep-spruce); margin-bottom: 10px; }
.proof-item span { display: block; font-size: 15px; line-height: 1.45; color: var(--slate-mist); max-width: 240px; }
@media (max-width: 860px) { .proof-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; } }

.clients { padding: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 34px; align-items: center; }
.clients .label { margin: 0 12px 0 0; }
.clients span { font-family: var(--display); font-size: 19px; color: var(--slate-mist); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards, .cards.two { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--deep-spruce); }
.card .thumb { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--sea-glass); margin-bottom: 18px; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .thumb img { transform: scale(1.03); }
.card .meta { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--tidewater); margin-bottom: 8px; }
.card h3 { font-size: 26px; margin: 0 0 8px; }
.card p { color: var(--slate-mist); font-size: 16px; margin: 0; }
.card:hover h3 { color: var(--tidewater); }
.thumb.text-thumb { display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; background: var(--tidewater); color: var(--chalk); }
.thumb.text-thumb b { font-family: var(--display); font-weight: 400; font-size: 56px; line-height: 1; }
.thumb.text-thumb span { font-size: 15px; color: var(--sea-glass); margin-top: 8px; }

/* offers */
.offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.offer { background: var(--chalk); padding: clamp(28px, 4vw, 44px); }
.band-sea .offer { background: var(--sea-glass); }
.offer .num { font-family: var(--display); color: var(--champagne); font-size: 22px; display: block; margin-bottom: 14px; }
.offer h3 { margin-bottom: 12px; }
.offer p { color: var(--slate-mist); margin-bottom: 16px; }
@media (max-width: 760px) { .offers { grid-template-columns: 1fr; } }

/* split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.photo-frame img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }

/* quotes */
.quote-main { font-family: var(--display); font-size: clamp(26px, 3.2vw, 40px); line-height: 1.3; margin: 0 0 24px; max-width: 920px; }
.quote-main::before { content: '\201C'; color: var(--champagne); }
.quote-main::after { content: '\201D'; color: var(--champagne); }
.cite { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--champagne); }
.cite span { display: block; font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 15px; color: #C9D4D0; margin-top: 4px; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 56px; }
.quotes blockquote { margin: 0; padding: 28px 0 0; border-top: 1px solid rgba(201,180,143,.5); }
.quotes blockquote p { font-family: var(--display); font-size: 22px; line-height: 1.4; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }
.quote-light blockquote { border-top-color: var(--line); }
.quote-light .cite span { color: var(--slate-mist); }
.quote-light .cite { color: var(--tidewater); }

/* design strip */
.design-strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.design-strip a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--sea-glass); }
.design-strip a:first-child { grid-row: span 2; }
.design-strip img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.design-strip a:first-child img { aspect-ratio: auto; }
.design-strip figcaption { position: absolute; left: 14px; bottom: 14px; background: var(--chalk); color: var(--deep-spruce); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
@media (max-width: 760px) { .design-strip { grid-template-columns: 1fr 1fr; } .design-strip a:first-child { grid-column: span 2; grid-row: auto; } }

/* CTA */
.cta { text-align: left; }
.cta h2 { max-width: 760px; }

/* footer */
.site-footer { background: var(--deep-spruce); color: #C9D4D0; padding: 72px 0 36px; font-size: 15px; }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(201,180,143,.35); }
.site-footer .name { font-family: var(--display); font-size: 30px; color: var(--chalk); margin: 0 0 10px; }
.site-footer a { color: var(--chalk); text-decoration: none; }
.site-footer a:hover { color: var(--champagne); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer h4 { font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--champagne); margin: 0 0 16px; }
.site-footer .bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: 13px; }
.site-footer .bottom img { width: 132px; opacity: .9; }
@media (max-width: 760px) { .site-footer .top { grid-template-columns: 1fr; } }

/* work page */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 44px; }
.filters button { font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--deep-spruce); background: transparent; color: var(--deep-spruce); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--deep-spruce); color: var(--chalk); }
.card[hidden] { display: none; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery button { padding: 0; border: 0; background: var(--sea-glass); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; text-align: left; font: inherit; color: inherit; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s; }
.gallery button:hover img { transform: scale(1.03); }
.gallery span { display: block; padding: 12px 16px 14px; font-family: var(--display); font-size: 19px; background: var(--chalk); }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
dialog.lightbox { border: 0; padding: 0; max-width: min(1200px, 94vw); width: 100%; border-radius: var(--radius); background: var(--chalk); color: var(--deep-spruce); }
dialog.lightbox::backdrop { background: rgba(34,52,58,.86); }
dialog.lightbox img { width: 100%; max-height: 72vh; object-fit: contain; background: var(--sea-glass); }
dialog.lightbox .lb-body { padding: 22px 28px 26px; display: flex; gap: 24px; justify-content: space-between; align-items: start; }
dialog.lightbox h3 { margin: 0 0 6px; }
dialog.lightbox p { margin: 0; color: var(--slate-mist); max-width: 760px; }
dialog.lightbox .close { flex: none; background: var(--deep-spruce); color: var(--chalk); border: 0; border-radius: 999px; width: 42px; height: 42px; font-size: 22px; cursor: pointer; }

/* case study */
.cs-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 5vw, 64px); }
.cs-hero h1 { font-size: clamp(40px, 5.4vw, 64px); max-width: 940px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags span { font-size: 13px; padding: 5px 13px; border-radius: 999px; background: var(--sea-glass); color: var(--deep-spruce); }
.credit { margin-top: 18px; font-size: 14px; color: var(--slate-mist); }
.cs-visual { padding: 0 0 clamp(56px, 7vw, 96px); }
.cs-visual img.board { width: 100%; border-radius: var(--radius); }
.cs-body { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 5vw, 72px); padding: 40px 0; border-top: 1px solid var(--line); }
.cs-body h2 { font-size: 28px; }
.cs-body ul { margin: 0; padding-left: 20px; }
.cs-body li { margin-bottom: 10px; }
.cs-body li::marker { color: var(--eucalyptus); }
.cs-body li strong { font-weight: 600; }
@media (max-width: 860px) { .cs-body { grid-template-columns: 1fr; gap: 8px; } }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.result { background: var(--sea-glass); border-radius: var(--radius); padding: 22px 22px 24px; }
.result b { display: block; font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; margin-bottom: 10px; }
.result span { font-size: 15px; color: var(--slate-mist); line-height: 1.45; display: block; }
.more-visuals { display: grid; gap: 24px; }
.more-visuals img { width: 100%; border-radius: var(--radius); }
.next-project { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 40px 0; border-top: 1px solid var(--line); }
.next-project a.next { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); text-decoration: none; color: var(--deep-spruce); }
.next-project a.next:hover { color: var(--tidewater); }

/* laptop frame for screen recordings */
.device-stage { background: var(--deep-spruce); border-radius: var(--radius); padding: clamp(24px, 5vw, 64px) clamp(16px, 5vw, 72px) clamp(28px, 5vw, 60px); }
.device-stage.sea { background: var(--sea-glass); }
.laptop { max-width: 980px; margin: 0 auto; }
.laptop .screen { background: #0E1517; border-radius: 16px 16px 0 0; padding: 2.2% 2.2% 0; border: 1px solid #3A4A50; border-bottom: 0; }
.laptop .screen-inner { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px 4px 0 0; background: var(--white); }
.laptop video, .laptop .screen-inner img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.laptop .base { height: 16px; background: #B8C2C0; border-radius: 0 0 14px 14px; margin: 0 -6%; position: relative; }
.laptop .base::after { content: ''; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 16%; height: 6px; background: #9AA6A4; border-radius: 0 0 8px 8px; }
.device-caption { text-align: center; margin-top: 22px; font-size: 14px; color: #C9D4D0; }
.device-stage.sea .device-caption { color: var(--slate-mist); }
.videos-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .videos-two { grid-template-columns: 1fr; } }

.flip-frame { width: 100%; height: min(86vh, 820px); border: 0; border-radius: var(--radius); background: var(--sea-glass); }

/* about */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.timeline li b { font-weight: 600; color: var(--tidewater); font-size: 15px; }
.timeline h3 { font-size: 24px; margin: 0 0 4px; }
@media (max-width: 620px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cred { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--chalk); }
.cred h3 { font-size: 24px; margin-bottom: 6px; }
@media (max-width: 760px) { .creds { grid-template-columns: 1fr; } }
.video-slot { border: 1px dashed var(--eucalyptus); border-radius: var(--radius); padding: 28px; display: none; }

/* contact */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; }
.form input, .form textarea, .form select { font: inherit; font-size: 16px; color: var(--deep-spruce); background: var(--white); border: 1px solid #B9C7C2; border-radius: 10px; padding: 13px 14px; width: 100%; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--tidewater); outline-offset: 1px; border-color: var(--tidewater); }
.form textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.contact-card { background: var(--deep-spruce); color: var(--chalk); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); }
.contact-card h2 { color: var(--chalk); font-size: 32px; }
.contact-card p { color: #C9D4D0; }
.contact-card a:not(.btn) { color: var(--chalk); }
.contact-card .btn-light { margin: 6px 0 24px; }
.contact-card ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(201,180,143,.35); padding-top: 20px; }
.contact-card li { margin-bottom: 10px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card .thumb img, .gallery img { transition: none; }
}
.no-js .reveal { opacity: 1; transform: none; }
.photo-row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.cs-visual img.board { max-height: 820px; object-fit: cover; }
.hero h1 { font-size: clamp(40px, 5vw, 62px); }

/* ---- v2 additions ---- */
.nav .btn:hover, .nav .btn:focus-visible { color: var(--chalk); background: var(--tidewater); border-color: var(--tidewater); text-decoration: none; }
.nav a.btn[aria-current] { text-decoration: none; }

.brands { padding: 40px 0 44px; }
.brands .label { margin-bottom: 14px; }
.brand-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; }
.brand-row span { font-family: var(--display); font-size: clamp(20px, 2vw, 26px); color: var(--deep-spruce); }
.brand-row img { height: 40px; width: auto; }

.offers.six { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .offers.six { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .offers.six { grid-template-columns: 1fr; } }
a.offer { text-decoration: none; color: var(--deep-spruce); display: flex; flex-direction: column; transition: background .2s; }
a.offer:hover { background: var(--sea-glass); }
a.offer p { flex: 1; }
a.offer .arrow-link { color: var(--tidewater); }

.design-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.design-grid a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--sea-glass); }
.design-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s; }
.design-grid a:hover img { transform: scale(1.03); }
.design-grid figcaption { position: absolute; left: 14px; bottom: 14px; background: var(--chalk); color: var(--deep-spruce); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; }
@media (max-width: 760px) { .design-grid { grid-template-columns: 1fr 1fr; } }

.quotes.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .quotes.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .quotes.three { grid-template-columns: 1fr; } }
.quotes.three blockquote p { font-size: 20px; }

.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.shots.one { grid-template-columns: 1fr; }
.shots.three { grid-template-columns: repeat(3, 1fr); }
.shots figure, .phones figure { margin: 0; }
.shots img { width: 100%; border-radius: var(--radius); background: var(--sea-glass); }
.shots figcaption, .phones figcaption { margin-top: 10px; font-size: 14px; color: var(--slate-mist); }
@media (max-width: 760px) { .shots, .shots.three { grid-template-columns: 1fr; } }
.phones { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; background: var(--sea-glass); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.phones figure { width: min(220px, 42%); }
.phones img { width: 100%; border-radius: 22px; border: 6px solid var(--deep-spruce); background: var(--white); }
@media (max-width: 520px) { .phones figure { width: 100%; max-width: 260px; } }
.narrow-img img { width: 100%; max-width: 900px; margin: 0 auto; border-radius: var(--radius); }

.screen-stage { background: #0B0620; border-radius: var(--radius); padding: clamp(16px, 4vw, 48px); }
.slides { position: relative; aspect-ratio: 2000 / 538; border-radius: 8px; overflow: hidden; }
.slides .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.slides .slide.active { opacity: 1; }
.slides .slide:first-child { opacity: 1; }
.slides.started .slide:first-child:not(.active) { opacity: 0; }
.slides img { width: 100%; height: 100%; object-fit: cover; }
.screen-stage .device-caption { color: #B9AEDD; }

.chat-stage { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px, 5vw, 72px); align-items: center; background: var(--deep-spruce); color: var(--chalk); border-radius: var(--radius); padding: clamp(28px, 5vw, 64px); }
.chat-stage h3 { color: var(--chalk); font-size: clamp(26px, 3vw, 34px); }
.chat-stage p { color: #C9D4D0; }
@media (max-width: 860px) { .chat-stage { grid-template-columns: 1fr; } .chat-stage .phone { margin: 0 auto; } }
.phone { width: 320px; max-width: 100%; border-radius: 40px; background: #0E1517; padding: 12px; border: 1px solid #3A4A50; }
.phone-screen { border-radius: 30px; overflow: hidden; background: #ECE5DD; display: flex; flex-direction: column; height: 640px; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 34px 14px 12px; background: #1F5C55; color: #FFFFFF; }
.chat-head b { display: block; font-size: 15px; }
.chat-head small { font-size: 12px; opacity: .8; }
.chat-head .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--eucalyptus); color: var(--deep-spruce); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.chat-body { flex: 1; overflow: hidden; padding: 12px 10px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; font-size: 12.5px; line-height: 1.4; color: #111B21; }
.msg { max-width: 82%; padding: 7px 9px 5px; border-radius: 10px; display: flex; flex-direction: column; }
.msg.in { align-self: flex-start; background: #FFFFFF; border-top-left-radius: 2px; }
.msg.out { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 2px; }
.msg time { align-self: flex-end; font-size: 10px; color: #667781; margin-top: 2px; }
.chat-day { align-self: center; font-size: 11px; background: #FFFFFF; color: #54656F; padding: 3px 10px; border-radius: 8px; margin: 4px 0; }
.chat-input { margin: 8px; background: #FFFFFF; border-radius: 20px; padding: 10px 14px; font-size: 13px; color: #8696A0; }

/* ---- v3: process, hiring ---- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: none; }
.process li { border-top: 2px solid var(--deep-spruce); padding-top: 18px; }
.process .step-num { display: block; font-family: var(--display); font-size: 34px; color: var(--champagne); line-height: 1; margin-bottom: 14px; }
.process h3 { font-size: 22px; margin-bottom: 8px; }
.process p { font-size: 15px; color: var(--slate-mist); margin: 0; }
@media (max-width: 960px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }
.li-link { margin: 40px 0 0; }
.band-dark .li-link a { color: var(--champagne); }
.hire-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hire-card { background: var(--chalk); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.hire-card h3 { font-size: 24px; }
.hire-card ul { margin: 0; padding-left: 20px; }
.hire-card li { margin-bottom: 8px; }
.hire-card li::marker { color: var(--eucalyptus); }
@media (max-width: 760px) { .hire-grid { grid-template-columns: 1fr; } }
.ninety { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ninety li { background: var(--chalk); border-radius: var(--radius); padding: 26px; }
.ninety b { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--tidewater); }
.ninety h4 { font-family: var(--display); font-weight: 400; font-size: 24px; margin: 10px 0 8px; }
.ninety p { margin: 0; color: var(--slate-mist); font-size: 15px; }
@media (max-width: 760px) { .ninety { grid-template-columns: 1fr; } }
.doer { padding-block: clamp(56px, 7vw, 96px); }
.doer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.doer h2 { margin: 0; }
.doer-steps { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.doer-steps li { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 9px 16px; border-radius: 999px; background: var(--deep-spruce); color: var(--chalk); }
.doer-steps li::before { content: '✓ '; color: var(--champagne); }
@media (max-width: 860px) { .doer-grid { grid-template-columns: 1fr; } }
.hire-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .hire-grid.three { grid-template-columns: 1fr; } }
.logo-row { display: grid; grid-template-columns: repeat(9, 1fr); gap: 24px 28px; align-items: center; }
.logo-cell { display: flex; align-items: center; justify-content: center; height: 72px; }
.logo-cell img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; }
@media (max-width: 1100px) { .logo-row { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 620px) { .logo-row { grid-template-columns: repeat(3, 1fr); gap: 18px; } .logo-cell { height: 56px; } .logo-cell img { max-height: 50px; } }
.cred-logo { display: block; height: auto; width: auto; max-height: 60px; max-width: 180px; margin-bottom: 18px; }
/* logo carousel */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .logo-cell { flex: none; width: 190px; height: 76px; padding: 0 24px; display: flex; align-items: center; justify-content: center; }
.marquee .logo-cell img { max-height: 60px; max-width: 100%; width: auto; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 620px) { .marquee .logo-cell { width: 140px; height: 60px; padding: 0 16px; } .marquee .logo-cell img { max-height: 46px; } .marquee-track { animation-duration: 32s; } }
@media (prefers-reduced-motion: reduce) { .marquee { -webkit-mask-image: none; mask-image: none; } .marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; } .marquee-track .logo-cell[aria-hidden] { display: none; } }
/* v4: experience badge, 8 services */
.exp-badge { position: absolute; right: -16px; bottom: 44px; width: 168px; height: 168px; border-radius: 50%; background: var(--deep-spruce); color: var(--chalk); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; border: 3px solid var(--champagne); }
.exp-badge b { font-family: var(--display); font-weight: 400; font-size: 52px; line-height: 1; }
.exp-badge span { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.35; margin-top: 6px; color: var(--sea-glass); }
@media (max-width: 860px) { .exp-badge { right: 8px; bottom: 36px; width: 120px; height: 120px; padding: 14px; } .exp-badge b { font-size: 40px; } .exp-badge span { font-size: 9.5px; } }
.offers.six { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .offers.six { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .offers.six { grid-template-columns: 1fr; } }
.laptop .screen-inner.app { aspect-ratio: 2000 / 1025; }
.laptop .screen-inner.app img { object-fit: cover; object-position: top left; }
.shots.one img { border: 1px solid var(--line); }

/* ===== v5: motion ===== */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--champagne); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; pointer-events: none; }

/* hero entrance */
.js .hero .label, .js .hero .lede, .js .hero .btn-row { opacity: 0; transform: translateY(16px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.js .hero .label { animation-delay: .1s; }
.js .hero .lede { animation-delay: .75s; }
.js .hero .btn-row { animation-delay: .9s; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .w > span { display: inline-block; transform: translateY(105%); animation: wordUp .9s cubic-bezier(.2,.7,.2,1) forwards; }
.js .hero-photo img { clip-path: inset(100% 0 0 0 round 220px 220px var(--radius) var(--radius)); animation: unveil 1.3s cubic-bezier(.65,0,.25,1) .35s forwards; }
.js .hero-photo::before { transform: translate(-14px, 14px); opacity: 0; animation: settle 1.2s cubic-bezier(.2,.7,.2,1) .6s forwards; }
.js .exp-badge { transform: scale(.6) rotate(-20deg); opacity: 0; animation: pop .8s cubic-bezier(.3,1.5,.5,1) 1.35s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes wordUp { to { transform: none; } }
@keyframes unveil { to { clip-path: inset(0 0 0 0 round 220px 220px var(--radius) var(--radius)); } }
@keyframes settle { to { transform: none; opacity: 1; } }
@keyframes pop { to { transform: none; opacity: 1; } }
.exp-badge { animation-fill-mode: forwards; }

/* staggered reveals */
.js .reveal { transition-delay: var(--d, 0s); }

/* checklist ticks */
.checklist li { position: relative; transition: background .4s, color .4s; }
.checklist li::before { content: ''; display: inline-block; width: 12px; height: 7px; border-left: 2px solid var(--champagne); border-bottom: 2px solid var(--champagne); transform: rotate(-45deg) scale(0); transform-origin: 30% 70%; margin: 0 8px 3px 0; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.js .checklist li { background: transparent; color: var(--deep-spruce); box-shadow: inset 0 0 0 1px var(--deep-spruce); }
.checklist li.done { background: var(--deep-spruce); color: var(--chalk); }
.checklist li.done::before { transform: rotate(-45deg) scale(1); }
.no-js .checklist li::before, .checklist.static li::before { transform: rotate(-45deg) scale(1); }

/* process line draw */
.process li { position: relative; border-top-color: transparent; }
.process li::before { content: ''; position: absolute; top: -2px; left: 0; height: 2px; width: 100%; background: var(--deep-spruce); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s cubic-bezier(.65,0,.25,1); transition-delay: var(--d, 0s); }
.process li.in::before, .no-js .process li::before { transform: scaleX(1); }

/* card + offer micro-interactions */
.card { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.card:hover { transform: translateY(-6px); }
a.offer .arrow-link::after { display: inline-block; transition: transform .3s; }
a.offer:hover .arrow-link::after { transform: translateX(6px); }
.btn { position: relative; overflow: hidden; }
.btn-primary::after { content: ''; position: absolute; inset: 0; background: rgba(250,250,246,.18); transform: translateX(-101%) skewX(-12deg); transition: transform .5s; }
.btn-primary:hover::after { transform: translateX(101%) skewX(-12deg); }
.design-grid figcaption { transition: transform .35s; }
.design-grid a:hover figcaption { transform: translateY(-4px); }

/* quote mark draw-in */
.band-dark .quote-main { transition: opacity 1s, transform 1s; }

@media (prefers-reduced-motion: reduce) {
  .js .hero .label, .js .hero .lede, .js .hero .btn-row, .hero h1 .w > span, .js .hero-photo img, .js .hero-photo::before, .js .exp-badge { animation: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .progress { display: none; }
  .card:hover { transform: none; }
  .checklist li::before { transform: rotate(-45deg) scale(1); }
  .process li::before { transform: scaleX(1); transition: none; }
}

/* ===== v6: services page ===== */
.svc-jump { position: sticky; top: 76px; z-index: 40; background: rgba(250,250,246,.94); backdrop-filter: blur(8px); border-block: 1px solid var(--line); padding-block: 12px; }
.svc-jump .wrap { display: flex; align-items: center; gap: 18px; }
.svc-jump .label { margin: 0; flex: none; }
.svc-jump .wrap > div { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 2px; }
.svc-jump .wrap > div::-webkit-scrollbar { display: none; }
.svc-jump a { flex: none; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--deep-spruce); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); transition: background .2s, color .2s, border-color .2s; }
.svc-jump a:hover, .svc-jump a.on { background: var(--deep-spruce); color: var(--chalk); border-color: var(--deep-spruce); }
@media (max-width: 860px) { .svc-jump { top: 76px; } .svc-jump .label { display: none; } }
.svc-list { padding-top: clamp(40px, 6vw, 72px); }
.svc { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; padding-block: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); scroll-margin-top: 150px; }
.svc:last-child { border-bottom: 0; }
.svc.flip .svc-img { order: 2; }
.svc-img { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--sea-glass); }
.svc-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.svc-img:hover img { transform: scale(1.04); }
.svc-tag { position: absolute; left: 16px; bottom: 16px; background: var(--chalk); color: var(--deep-spruce); font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; transition: transform .3s; }
.svc-tag::after { content: ' →'; }
.svc-img:hover .svc-tag { transform: translateY(-3px); }
.svc-num { display: block; font-family: var(--display); font-size: 56px; line-height: 1; color: var(--champagne); margin-bottom: 10px; }
.svc-copy h2 { margin-bottom: 12px; }
.svc-copy .lede { margin-bottom: 20px; }
.svc-who { background: var(--sea-glass); border-radius: 10px; padding: 12px 16px; font-size: 15px; }
.svc-who b { display: block; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--tidewater); margin-bottom: 2px; }
.ticks { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 5px; width: 11px; height: 6px; border-left: 2px solid var(--tidewater); border-bottom: 2px solid var(--tidewater); transform: rotate(-45deg); }
.svc-shape { font-size: 14px; color: var(--slate-mist); margin: 0; padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } .svc.flip .svc-img { order: 0; } .ticks { grid-template-columns: 1fr; } }
.contact-side { display: grid; gap: 20px; }
.contact-photo img { aspect-ratio: 5 / 4; object-position: 50% 30%; }
@media (max-width: 620px) {
  .cs-hero h1 { font-size: 32px; }
  .hero h1 { font-size: 38px; }
  .btn-row .btn { justify-content: center; }
}

@media (max-width:860px){.story-split .photo-frame{order:2;max-width:420px;margin:0 auto}}
.hero-photo img[src*='about.jpg']{object-position:50% 30%}

/* ===== v2: wider layout + larger type ===== */
:root { --wrap: 1440px; --gutter: clamp(20px, 4.5vw, 64px); }
@media (min-width: 861px) {
  body { font-size: 18.5px; }
  h1 { font-size: clamp(44px, 5.6vw, 80px); }
  .hero h1 { font-size: clamp(44px, 4.5vw, 68px); }
  .cs-hero h1 { font-size: clamp(44px, 5vw, 70px); max-width: 1080px; }
  h2 { font-size: clamp(32px, 3.4vw, 50px); }
  h3 { font-size: clamp(24px, 2.1vw, 30px); }
  .lede { font-size: clamp(19px, 1.5vw, 23px); max-width: 720px; }
  .label { font-size: 13px; }
  .small { font-size: 15.5px; }
  .btn { font-size: 14px; padding: 16px 30px; }
  .nav { gap: 36px; }
  .nav a { font-size: 16.5px; }
  .nav .btn { font-size: 13px; padding: 12px 22px; }
  .brand span { font-size: 24px; }
  .arrow-link { font-size: 15px; }
  .card h3 { font-size: 28px; }
  .card p { font-size: 17px; }
  .card .meta, .ninety b { font-size: 13px; }
  .proof-item span, .result span, .process p, .ninety p, .timeline li b { font-size: 16.5px; }
  .process h3 { font-size: 24px; }
  .tags span, .filters button, .design-grid figcaption, .design-strip figcaption, .svc-tag { font-size: 14px; }
  .credit, .shots figcaption, .phones figcaption, .svc-shape, .device-caption { font-size: 15.5px; }
  .svc-who { font-size: 16.5px; }
  .svc-who b { font-size: 12px; }
  .quotes blockquote p { font-size: 24px; }
  .quotes.three blockquote p { font-size: 22px; }
  .cite { font-size: 15px; } .cite span { font-size: 16px; }
  .site-footer { font-size: 16px; } .site-footer h4 { font-size: 13px; } .site-footer .bottom { font-size: 14px; }
  .form label { font-size: 15px; } .form input, .form textarea, .form select { font-size: 17px; }
  .narrow { max-width: 860px; }
  .section-head h2, .cta h2 { max-width: 860px; }
  .quote-main { max-width: 1040px; }
  .laptop { max-width: 1100px; }
  .hero-photo { max-width: 560px; justify-self: end; width: 100%; }
  /* jump bar: wraps instead of side-scrolling */
  .svc-jump .label { display: none; }
  .svc-jump .wrap { justify-content: center; max-width: 1600px; }
  .svc-jump .wrap > div { flex-wrap: wrap; justify-content: center; overflow: visible; gap: 8px 10px; }
  .svc-jump a { font-size: 14px; padding: 8px 14px; }
  .svc { scroll-margin-top: 190px; }
}
