/*
Theme Name: SPD Studio
Theme URI: https://stephenpauldavies.co.uk/
Author: Stephen Davies
Description: A lightweight, dark editorial portfolio theme for Stephen Paul Davies.
Version: 0.4.4
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: spd-studio
*/

:root {
  --spd-bg: #10100f;
  --spd-panel: #191918;
  --spd-panel-2: #222220;
  --spd-text: #f2efe8;
  --spd-muted: #a6a39b;
  --spd-line: rgba(242,239,232,.18);
  --spd-accent: #ea5038;
  --spd-max: 95vw;
  --spd-gutter: clamp(20px, 4vw, 64px);
  --spd-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --spd-body: Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--spd-bg);
  color: var(--spd-text);
  font-family: var(--spd-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--spd-accent); }
img { max-width: 100%; height: auto; display: block; }

.spd-wrap { width: min(100%, var(--spd-max)); margin: 0 auto; padding-inline: var(--spd-gutter); }
.spd-rule { border-top: 1px solid var(--spd-line); }
.spd-kicker {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 24px;
  color: var(--spd-muted);
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.spd-kicker::before { content: ""; width: 42px; height: 2px; background: var(--spd-accent); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16,16,15,.94); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--spd-line);
}
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-branding { display: flex; align-items: center; gap: 14px; min-width: max-content; }
.custom-logo { max-height: 44px; width: auto; }
.site-title {
  font-family: var(--spd-display); font-size: 24px; font-weight: 800;
  letter-spacing: .045em; line-height: 1; text-transform: uppercase;
}
.primary-nav ul { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); }
.primary-nav a { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--spd-text); font: inherit; font-weight: 700; letter-spacing: .08em; }

/* Hero */
.hero { min-height: calc(100vh - 88px); display: grid; align-items: stretch; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .65fr); }
.hero-main { padding: clamp(70px, 10vw, 145px) var(--spd-gutter) 70px 0; display: flex; flex-direction: column; justify-content: space-between; }
.hero-side { background: var(--spd-accent); color: #111; padding: clamp(36px, 5vw, 70px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero-title {
  margin: 0; max-width: 1000px;
  font-family: var(--spd-display); font-size: clamp(72px, 10.4vw, 178px);
  font-weight: 800; letter-spacing: -.035em; line-height: .78; text-transform: uppercase;
}
.hero-intro { max-width: 660px; margin: clamp(42px, 7vw, 84px) 0 0; font-size: clamp(18px, 1.55vw, 24px); color: #d6d2c9; }
.hero-side-label { font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero-side h2 { margin: 20px 0 14px; font-family: var(--spd-display); font-size: clamp(42px, 4.6vw, 68px); line-height: .9; text-transform: uppercase; }
.hero-side p { margin: 0 0 38px; max-width: 330px; font-size: 15px; }
.spd-arrow-link { display: inline-flex; align-items: center; gap: 16px; font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.spd-arrow-link::after { content: "→"; font-size: 22px; transition: transform .2s ease; }
.spd-arrow-link:hover::after { transform: translateX(6px); }
.hero-side .spd-arrow-link:hover { color: #111; }

/* General sections */
.spd-section { padding-block: clamp(88px, 11vw, 170px); }
.spd-section-title {
  margin: 0; max-width: 1120px;
  font-family: var(--spd-display); font-size: clamp(56px, 7.2vw, 116px);
  font-weight: 800; letter-spacing: -.025em; line-height: .86; text-transform: uppercase;
}
.spd-section-copy { max-width: 680px; margin-top: 40px; color: var(--spd-muted); font-size: 18px; }

/* Services */
.service-grid { margin-top: 74px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--spd-line); }
.service { padding: 34px 34px 52px 0; border-bottom: 1px solid var(--spd-line); }
.service + .service { border-left: 1px solid var(--spd-line); padding-left: 34px; }
.service-number { color: var(--spd-accent); font-family: var(--spd-display); font-size: 21px; font-weight: 700; }
.service h3 { margin: 44px 0 18px; font-family: var(--spd-display); font-size: 46px; line-height: .9; text-transform: uppercase; }
.service p { margin: 0; color: var(--spd-muted); font-size: 15px; max-width: 390px; }

/* Work */
.work-section { background: var(--spd-panel); }
.work-grid { margin-top: 70px; display: grid; gap: 1px; background: var(--spd-line); border: 1px solid var(--spd-line); }
.work-card { position: relative; min-height: 470px; background: var(--spd-panel-2); display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; }
.work-card:nth-child(even) { grid-template-columns: .85fr 1.15fr; }
.work-card:nth-child(even) .work-copy { order: 2; }
.work-visual {
  position: relative; min-height: 420px;
  background:
    radial-gradient(circle at 30% 30%, rgba(234,80,56,.55), transparent 26%),
    linear-gradient(135deg, #2d2c29 0%, #171716 55%, #2a1a17 100%);
}
.work-card:nth-child(2) .work-visual { background: linear-gradient(150deg, #292927, #111 65%), radial-gradient(circle, #57534c, #111); }
.work-card:nth-child(3) .work-visual { background: linear-gradient(35deg, #161616, #39332c); }
.work-visual::after { content: ""; position: absolute; inset: 8%; border: 1px solid rgba(255,255,255,.12); }
.work-mark { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--spd-display); font-weight: 800; font-size: clamp(52px, 8vw, 132px); letter-spacing: -.04em; color: rgba(255,255,255,.9); text-transform: uppercase; transform: rotate(-4deg); }
.work-copy { padding: clamp(40px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; }
.work-copy .meta { color: var(--spd-accent); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.work-copy h3 { margin: 18px 0 24px; font-family: var(--spd-display); font-size: clamp(52px, 5.4vw, 84px); line-height: .84; text-transform: uppercase; }
.work-copy p { color: var(--spd-muted); max-width: 520px; }

/* Statement */
.statement { background: var(--spd-text); color: #111; padding-block: clamp(90px, 13vw, 180px); }
.statement blockquote { margin: 0; max-width: 1280px; font-family: var(--spd-display); font-size: clamp(58px, 8.5vw, 136px); font-weight: 800; letter-spacing: -.03em; line-height: .82; text-transform: uppercase; }
.statement em { color: var(--spd-accent); font-style: normal; }

/* About */
.about-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(50px, 9vw, 150px); align-items: start; }
.about-index { position: sticky; top: 130px; font-family: var(--spd-display); font-size: clamp(110px, 15vw, 220px); font-weight: 800; line-height: .8; color: var(--spd-accent); }
.about-copy h2 { margin: 0; font-family: var(--spd-display); font-size: clamp(54px, 7vw, 106px); line-height: .86; text-transform: uppercase; }
.about-copy p { max-width: 720px; color: var(--spd-muted); }
.about-copy .lead { margin-top: 38px; color: var(--spd-text); font-size: clamp(20px, 2vw, 28px); }

/* Contact/footer */
.contact { background: var(--spd-accent); color: #111; }
.contact .spd-kicker { color: #111; }
.contact .spd-kicker::before { background: #111; }
.contact h2 { max-width: 1100px; margin: 0; font-family: var(--spd-display); font-size: clamp(70px, 10vw, 160px); line-height: .78; text-transform: uppercase; }
.contact-row { margin-top: 66px; padding-top: 28px; border-top: 1px solid rgba(17,17,17,.35); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.contact a:hover { color: #111; opacity: .65; }
.site-footer { padding: 34px 0; color: var(--spd-muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* Content pages */
.page-shell { padding-block: clamp(70px, 9vw, 130px); }
.entry-title { font-family: var(--spd-display); font-size: clamp(64px, 8vw, 126px); line-height: .85; text-transform: uppercase; margin: 0 0 60px; }
.entry-content { max-width: 850px; }
.entry-content h2, .entry-content h3 { font-family: var(--spd-display); text-transform: uppercase; line-height: .95; }
.entry-content h2 { font-size: 52px; }
.entry-content h3 { font-size: 36px; }
.entry-content a { color: var(--spd-accent); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 980px) {
  .hero-grid, .work-card, .work-card:nth-child(even), .about-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-main { padding-right: 0; }
  .hero-side { min-height: 370px; }
  .work-card:nth-child(even) .work-copy { order: initial; }
  .service-grid { grid-template-columns: 1fr; }
  .service + .service { border-left: 0; padding-left: 0; }
  .about-index { position: static; }
}

@media (max-width: 760px) {
  .header-inner { min-height: 74px; }
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: var(--spd-bg); border-bottom: 1px solid var(--spd-line); padding: 26px var(--spd-gutter) 34px; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-title { font-size: clamp(64px, 20vw, 98px); }
  .work-card { min-height: 0; }
  .work-visual { min-height: 300px; }
  .contact-row, .footer-inner { flex-direction: column; }
}

/* Projects / case studies — v0.2 */
.project-thumb { display: block; overflow: hidden; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.project-thumb:hover img { transform: scale(1.025); }
.muted-link { color: var(--spd-muted); cursor: default; }
.archive-hero { border-bottom: 1px solid var(--spd-line); }
.archive-work-list { padding-block: clamp(40px, 7vw, 100px) clamp(88px, 11vw, 170px); }
.archive-work-list .work-copy h2 { margin: 18px 0 24px; font-family: var(--spd-display); font-size: clamp(52px, 5.4vw, 84px); line-height: .84; text-transform: uppercase; }
.project-hero { padding-bottom: clamp(56px, 8vw, 110px); border-bottom: 1px solid var(--spd-line); }
.project-title { margin: 0; max-width: 1320px; font-family: var(--spd-display); font-size: clamp(84px, 13vw, 210px); font-weight: 800; letter-spacing: -.045em; line-height: .74; text-transform: uppercase; }
.project-intro { max-width: 880px; margin: clamp(40px, 5vw, 74px) 0 0; font-size: clamp(20px, 2vw, 31px); line-height: 1.35; color: #d6d2c9; }
.project-meta-grid { margin-top: clamp(50px, 7vw, 86px); padding-top: 24px; border-top: 1px solid var(--spd-line); display: grid; grid-template-columns: 1.5fr .5fr 1fr; gap: 28px; }
.project-meta-grid div { display: grid; gap: 8px; }
.project-meta-grid span { color: var(--spd-muted); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.project-meta-grid strong { font-size: 14px; font-weight: 600; }
.project-meta-grid a:hover { color: var(--spd-accent); }
.project-featured { padding-top: clamp(34px, 5vw, 76px); }
.project-featured img { width: 100%; max-height: 82vh; object-fit: cover; }
.project-body-grid { display: grid; grid-template-columns: minmax(150px, .45fr) minmax(0, 1.55fr); gap: clamp(40px, 8vw, 130px); align-items: start; }
.project-side-label { position: sticky; top: 130px; color: var(--spd-accent); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.project-content { max-width: 900px; }
.project-content > *:first-child { margin-top: 0; }
.project-content h2 { margin: 1.35em 0 .45em; font-size: clamp(46px, 5vw, 76px); }
.project-content h3 { margin: 1.3em 0 .45em; font-size: clamp(34px, 3.4vw, 50px); }
.project-content p, .project-content li { color: #c6c2ba; font-size: 18px; }
.project-content ul, .project-content ol { padding-left: 1.2em; }
.project-content li + li { margin-top: .55em; }
.project-content figure { margin: 56px 0; }
.project-next { background: var(--spd-accent); color: #111; }
.project-next-inner { min-height: 210px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.project-next-inner > span { font-family: var(--spd-display); font-size: clamp(48px, 6vw, 90px); font-weight: 800; line-height: .85; text-transform: uppercase; }
.project-next .spd-arrow-link:hover { color: #111; opacity: .65; }

@media (max-width: 760px) {
  .project-meta-grid, .project-body-grid { grid-template-columns: 1fr; }
  .project-side-label { position: static; }
  .project-next-inner { padding-block: 50px; flex-direction: column; align-items: flex-start; }
}

/* Landing page — v0.3 */
:root { --spd-accent: #f05b3f; }
html { scroll-padding-top: 100px; }
body { overflow-x: clip; }
::selection { background: var(--spd-accent); color: #10100f; }
:focus-visible { outline: 2px solid var(--spd-accent); outline-offset: 5px; }
.scroll-progress { position: fixed; z-index: 60; top: 0; left: 0; width: 100%; height: 3px; background: var(--spd-accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.site-header { background: rgba(13,13,13,.82); }
.hero-v3 { position: relative; isolation: isolate; min-height: min(930px, calc(100svh - 88px)); overflow: hidden; background: #121212; }
.hero-v3::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse 58% 85% at 93% 44%, rgba(240,91,63,.17), transparent 75%), linear-gradient(130deg, transparent 35%, rgba(255,255,255,.035) 35.1%, transparent 35.25%, transparent 68%, rgba(255,255,255,.035) 68.1%, transparent 68.25%); }
.hero-v3::after { content: ''; position: absolute; z-index: -1; inset: 0; opacity: .21; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E"); }
.hero-v3-inner { min-height: inherit; display: flex; flex-direction: column; position: relative; }
.hero-topline, .hero-bottomline { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.hero-topline { padding-top: 30px; color: #c9c6be; font-size: 12px; font-weight: 700; letter-spacing: .13em; }
.hero-topline > span:last-child { white-space: nowrap; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--spd-accent); margin-left: 9px; }
.hero-orbit { position: absolute; z-index: -1; width: min(54vw, 760px); aspect-ratio: 1; border: 1px solid rgba(242,239,232,.15); border-radius: 50%; top: 5%; right: -12%; transform: rotate(-23deg); color: rgba(242,239,232,.42); font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.hero-orbit::before, .hero-orbit::after { content: ''; position: absolute; inset: 13%; border: 1px solid rgba(242,239,232,.1); border-radius: 50%; }
.hero-orbit::after { inset: 27%; }
.hero-orbit span { position: absolute; background: #121212; padding: 0 10px; }
.hero-orbit span:nth-child(1) { left: 14%; top: 12%; }.hero-orbit span:nth-child(2) { right: 1%; top: 50%; }.hero-orbit span:nth-child(3) { left: 28%; bottom: 1%; }
.hero-headline { margin: auto 0; padding: clamp(80px, 9vh, 130px) 0 clamp(70px, 8vh, 100px); }
.hero-headline > p { color: var(--spd-accent); margin: 0 0 26px; font-size: clamp(18px, 2vw, 28px); font-weight: 600; }
.hero-headline h1 { margin: 0; font-family: var(--spd-display); font-size: clamp(100px, 15.9vw, 280px); font-weight: 800; line-height: .69; letter-spacing: -.052em; text-transform: uppercase; }
.hero-headline h1 > span { display: block; white-space: nowrap; }
.hero-title-accent { color: var(--spd-accent); margin-left: clamp(15px, 11vw, 180px); }
.title-period { color: var(--spd-text); }
.hero-bottomline { align-items: end; border-top: 1px solid var(--spd-line); padding: 25px 0 42px; }
.hero-bottomline > p { max-width: 420px; margin: 0; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.4; }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.spd-pill { display: inline-flex; justify-content: space-between; align-items: center; min-width: 178px; gap: 22px; background: var(--spd-text); color: #111; padding: 15px 19px; border-radius: 100px; font-size: 13px; font-weight: 800; transition: background .2s, transform .2s; }
.spd-pill:hover { background: var(--spd-accent); color: #111; transform: translateY(-3px); }
.spd-pill span, .text-link span { font-size: 20px; line-height: 1; }
.text-link { display: inline-flex; align-items: center; gap: 15px; border-bottom: 1px solid currentColor; padding-bottom: 6px; font-weight: 700; font-size: 14px; }
.scroll-cue { align-self: end; color: var(--spd-muted); font-size: 11px; letter-spacing: .14em; white-space: nowrap; }
.ticker { overflow: hidden; background: var(--spd-accent); color: #111; border-block: 1px solid #111; font-family: var(--spd-display); font-size: clamp(26px, 3.2vw, 45px); line-height: 1; font-weight: 800; white-space: nowrap; }
.ticker-track { width: max-content; padding: 15px 0; animation: ticker-drift 34s linear infinite; }
@keyframes ticker-drift { to { transform: translateX(-50%); } }
.section-heading { display: grid; grid-template-columns: 26% 1fr; gap: 30px; align-items: start; margin-bottom: clamp(60px, 8vw, 120px); }
.section-heading .spd-kicker { padding-top: 12px; }
.spd-section-title em { color: var(--spd-accent); font-style: normal; }
.section-intro { max-width: 680px; font-size: clamp(19px, 2vw, 27px); line-height: 1.4; color: #c9c6be; margin: 36px 0 0; }
.work-v3 { background: #111; }
.project-list { border-top: 1px solid var(--spd-line); }
.project-feature { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 460px; border-bottom: 1px solid var(--spd-line); }
.project-feature-visual { position: relative; display: grid; place-items: center; min-height: 460px; overflow: hidden; background: radial-gradient(circle at 50% 45%, #58342d 0%, #211d1c 47%, #161615 85%); }
.project-feature-visual::after { content: ''; position: absolute; inset: 6%; border: 1px solid rgba(255,255,255,.17); pointer-events: none; }
.project-feature-visual img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.project-feature:hover img { transform: scale(1.055); }
.project-support { background: radial-gradient(circle at 70% 30%, #51504d, #222321 60%, #121312); }
.project-letter { font: 800 clamp(140px, 22vw, 350px)/.7 var(--spd-display); letter-spacing: -.09em; color: #f3eee7; transform: rotate(-10deg); transition: transform .5s; }
.project-feature:hover .project-letter { transform: rotate(-5deg) scale(1.04); }
.visual-index { position: absolute; left: 8%; bottom: 9%; z-index: 1; color: white; font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.project-feature-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(42px, 6vw, 100px); }
.project-feature-copy .meta { color: var(--spd-accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.project-feature-copy h3 { font: 800 clamp(56px, 6.2vw, 108px)/.83 var(--spd-display); text-transform: uppercase; letter-spacing: -.025em; margin: 24px 0 34px; }
.project-feature-copy p { color: #c8c4bd; max-width: 460px; font-size: 18px; }
.round-link { display: grid; place-items: center; width: 60px; height: 60px; margin-top: 24px; border: 1px solid var(--spd-text); border-radius: 50%; font-size: 26px; transition: background .25s, color .25s, transform .25s; }
.round-link:hover { background: var(--spd-accent); border-color: var(--spd-accent); color: #111; transform: rotate(45deg); }
.project-status { margin-top: 28px; font-size: 11px; letter-spacing: .14em; color: var(--spd-muted); }
.all-work-link { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--spd-line); padding: 25px 0; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.all-work-link span { font-size: 26px; }
.services-v3 { background: #1a1a19; }
.service-list { border-top: 1px solid var(--spd-line); }
.service-list article { display: grid; grid-template-columns: 20% 33% 1fr 40px; align-items: baseline; gap: 24px; border-bottom: 1px solid var(--spd-line); padding: clamp(30px, 4vw, 55px) 0; transition: padding .3s, color .3s; }
.service-list article:hover { padding-left: 20px; color: var(--spd-accent); }
.service-list article > span { color: var(--spd-accent); font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.service-list h3 { font: 800 clamp(36px, 4vw, 65px)/.9 var(--spd-display); text-transform: uppercase; margin: 0; }
.service-list p { color: var(--spd-muted); margin: 0; max-width: 400px; font-size: 16px; }
.service-list b { font-size: 34px; font-weight: 400; }
.manifesto { overflow: hidden; background: var(--spd-text); color: #111; padding: clamp(90px, 12vw, 190px) 0; }
.manifesto .spd-kicker { color: #333; }.manifesto .spd-kicker::before { background: #111; }
.manifesto-text { font: 800 clamp(64px, 10vw, 170px)/.82 var(--spd-display); letter-spacing: -.03em; margin: 55px 0; white-space: nowrap; }
.manifesto-text em { font-style: normal; color: var(--spd-accent); }
.manifesto-note { max-width: 410px; margin: 0 0 0 auto; font-size: 18px; line-height: 1.4; }
.about-v3 { background: #171716; }
.about-v3-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 130px); }
.about-monogram { display: block; font: 800 clamp(150px, 22vw, 350px)/.8 var(--spd-display); letter-spacing: -.08em; color: rgba(242,239,232,.1); margin: 60px 0 0 -15px; }
.about-monogram span { color: var(--spd-accent); font-size: .34em; vertical-align: top; }
.about-v3 .spd-section-title { margin-bottom: 40px; }
.about-v3-grid p:not(.spd-kicker) { max-width: 650px; color: var(--spd-muted); font-size: 18px; }
.about-v3-grid .about-lead { color: var(--spd-text) !important; font-size: clamp(22px, 2.2vw, 32px) !important; line-height: 1.32; }
.about-v3 .text-link { margin-top: 28px; }
.contact-v3 { background: var(--spd-accent); color: #111; padding: clamp(80px, 10vw, 150px) 0 45px; }
.contact-top, .contact-v3-bottom { display: flex; align-items: start; justify-content: space-between; gap: 32px; }
.contact-top { border-top: 1px solid #111; padding-top: 25px; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.contact-top .spd-kicker { color: #111; }.contact-top .spd-kicker::before { background: #111; }
.contact-v3 h2 { font: 800 clamp(90px, 14vw, 250px)/.75 var(--spd-display); text-transform: uppercase; letter-spacing: -.045em; margin: clamp(70px, 8vw, 125px) 0; }
.contact-v3 h2 em { font-style: normal; color: var(--spd-text); }
.contact-v3-bottom { border-top: 1px solid rgba(17,17,17,.6); padding-top: 25px; align-items: end; }
.contact-v3-bottom p { max-width: 360px; font-size: 20px; line-height: 1.35; }
.contact-email { font: 800 clamp(42px, 6vw, 96px)/.9 var(--spd-display); text-decoration: underline; text-underline-offset: .14em; white-space: nowrap; }
.contact-v3 a:hover { color: #fff; }
.contact-address { display: inline-block; margin-top: 80px; font-size: 15px; text-decoration: underline; text-underline-offset: 5px; }
@media(max-width: 1100px) { .hero-bottomline { flex-wrap: wrap; }.scroll-cue { display: none; }.hero-headline h1 { font-size: clamp(95px, 16vw, 190px); } }
@media(max-width: 760px) {
  .hero-v3 { min-height: max(650px, calc(100svh - 74px)); }
  .hero-topline span:last-child { display: none; }
  .hero-orbit { width: 90vw; right: -40%; top: 17%; }
  .hero-headline h1 { font-size: clamp(74px, 18vw, 138px); line-height: .75; }
  .hero-title-accent { margin-left: 0; }
  .hero-bottomline { display: block; padding-bottom: 36px; }
  .hero-actions { margin-top: 30px; flex-wrap: wrap; }
  .section-heading, .project-feature, .about-v3-grid { grid-template-columns: 1fr; }
  .section-heading { gap: 15px; }.section-heading .spd-kicker { padding-top: 0; }
  .project-feature-visual { min-height: 360px; }.project-feature-copy { padding: 46px 22px 60px; }
  .service-list article { grid-template-columns: 1fr 30px; gap: 15px; }
  .service-list article > span { grid-column: 1 / -1; }.service-list h3 { grid-column: 1; }.service-list p { grid-column: 1; }.service-list b { grid-column: 2; grid-row: 2; }
  .manifesto-text { font-size: clamp(36px, 9vw, 72px); }.manifesto-note { margin-left: 0; }
  .about-monogram { display: none; }
  .contact-v3 h2 { font-size: clamp(80px, 15vw, 120px); }.contact-v3-bottom { display: block; }.contact-email { display: inline-block; margin-top: 22px; }
}
@media(max-width: 430px) { .hero-headline h1 { font-size: 18vw; }.hero-actions { gap: 18px; }.hero-topline { font-size: 10px; }.contact-top > span { display: none; }.contact-v3 h2 { font-size: 17vw; } }
@media(prefers-reduced-motion: reduce) { .ticker-track { animation: none; }.project-letter, .project-feature-visual img, .spd-pill, .round-link, .service-list article { transition: none; } }
[data-reveal] { opacity: 1; transform: none; }
.js [data-reveal] { opacity: 0; transform: translateY(26px); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media(prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; } }

/* Hero motion study — v0.3.1 */
.hero-core { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(360px, .85fr); align-items: center; gap: clamp(12px, 3vw, 54px); flex: 1; padding-block: clamp(50px, 7vh, 90px); }
.hero-core .hero-headline { margin: 0; padding: 0; position: relative; z-index: 2; }
.hero-core .hero-headline h1 { font-size: clamp(94px, 11.1vw, 190px); }
.hero-core .hero-headline h1 > span { white-space: normal; overflow-wrap: anywhere; }
.hero-core .hero-title-accent { margin-left: clamp(8px, 3vw, 42px); }
.hero-orbit { animation: orbit-turn 34s linear infinite; }
@keyframes orbit-turn { from { transform: rotate(-23deg); } to { transform: rotate(337deg); } }
.hero-headline h1.is-visible > span { animation: headline-enter 1.1s cubic-bezier(.18,.78,.2,1) both; }
.hero-headline h1.is-visible > span:nth-child(2) { animation-delay: .16s; }
@keyframes headline-enter { from { transform: translateY(35px) skewY(3deg); opacity: 0; } to { transform: translateY(0) skewY(0); opacity: 1; } }
.hero-lab { position: relative; width: 100%; max-width: 540px; justify-self: end; transform: rotate(2deg); animation: lab-float 7s ease-in-out infinite; filter: drop-shadow(0 34px 50px rgba(0,0,0,.28)); }
@keyframes lab-float { 0%,100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-17px) rotate(.5deg); } }
.lab-caption { display: flex; justify-content: space-between; gap: 15px; margin: 0 2px 13px; color: #aaa8a2; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.lab-caption-end { margin: 15px 2px 0; }
.lab-browser { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.36); border-radius: 12px; background: #ebe6dc; box-shadow: 0 0 0 7px rgba(255,255,255,.045), 0 35px 90px rgba(0,0,0,.42); }
.lab-toolbar { height: 39px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 13px; background: #242422; color: #c7c4bd; font: 600 10px/1 var(--spd-body); }
.lab-dots { display: flex; gap: 5px; }.lab-dots i { width: 6px; height: 6px; border-radius: 50%; background: #74716b; }.lab-dots i:first-child { background: var(--spd-accent); }
.lab-url { border: 1px solid #484844; border-radius: 3px; width: 55%; text-align: center; padding: 4px; color: #9d9c98; }
.lab-viewport { position: relative; height: clamp(310px, 27vw, 410px); overflow: hidden; }
.lab-finished { position: absolute; inset: 0; padding: 18px 22px; background: #e9e5dd; color: #151514; animation: finish-cycle 11s ease-in-out infinite; }
.lab-mini-nav { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #222; padding-bottom: 11px; font-size: 10px; }.lab-mini-nav strong { font-weight: 900; letter-spacing: -.05em; }.lab-mini-nav span { font-size: 8px; letter-spacing: .12em; }
.lab-mini-hero { display: flex; flex-direction: column; align-items: flex-start; padding-top: clamp(28px, 3vw, 47px); }.lab-mini-hero small { font-size: 8px; font-weight: 800; letter-spacing: .14em; color: #b74a32; }.lab-mini-hero strong { font: 800 clamp(43px, 5vw, 75px)/.82 var(--spd-display); letter-spacing: -.025em; margin: 15px 0 21px; }.lab-mini-hero em { font-style: normal; color: #ef593e; }.lab-mini-hero > span { font-size: 10px; font-weight: 700; border-bottom: 1px solid; padding-bottom: 4px; }
.lab-mini-cards { position: absolute; left: 22px; right: 22px; bottom: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }.lab-mini-cards i { display: block; height: clamp(33px, 3.5vw, 54px); background: #cac6bc; }.lab-mini-cards i:nth-child(2) { background: #f05b3f; }.lab-mini-cards i:nth-child(3) { background: #20211f; }
.lab-wire { position: absolute; inset: 0; z-index: 1; background: #202120; padding: 18px 22px; animation: wire-cycle 11s ease-in-out infinite; }.lab-wire i { display: block; border: 1px solid #6b6b66; background: rgba(255,255,255,.045); }
.wire-nav { display: flex; justify-content: space-between; border-bottom: 1px solid #6b6b66; padding-bottom: 11px; }.wire-nav i:first-child { width: 70px; height: 12px; }.wire-nav i:last-child { width: 95px; height: 10px; }
.wire-heading { margin: clamp(35px, 4vw, 58px) 0 19px; }.wire-heading i { width: 76%; height: clamp(28px, 3.8vw, 56px); margin: 5px 0; }.wire-heading i:nth-child(2) { width: 64%; }.wire-heading i:nth-child(3) { width: 42%; border-color: var(--spd-accent); }
.wire-body i { height: 7px; width: 55%; margin: 8px 0; }.wire-body i:nth-child(2) { width: 39%; }
.wire-cards { position: absolute; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; left: 22px; right: 22px; bottom: 20px; }.wire-cards i { height: clamp(33px, 3.5vw, 54px); }
@keyframes wire-cycle { 0%,17% { opacity: 1; transform: scale(1); } 29%,82% { opacity: 0; transform: scale(1.035); } 94%,100% { opacity: 1; transform: scale(1); } }
@keyframes finish-cycle { 0%,16% { filter: grayscale(1); } 30%,84% { filter: grayscale(0); } 95%,100% { filter: grayscale(1); } }
.lab-pointer { position: absolute; z-index: 2; top: 54%; left: 70%; font-size: 40px; line-height: 1; color: #fff; text-shadow: -2px -2px #111, 2px 2px #111, 0 7px 10px #111; animation: pointer-path 11s ease-in-out infinite; }
@keyframes pointer-path { 0%,14% { transform: translate(0,0) scale(.75); opacity: 0; } 25% { opacity: 1; transform: translate(-100px,-60px) scale(1); } 38%,48% { transform: translate(-155px,-118px) scale(.9); } 57%,76% { transform: translate(35px,55px) scale(1); opacity: 1; } 86%,100% { transform: translate(80px,85px) scale(.8); opacity: 0; } }
.lab-status { height: 33px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; background: #242422; color: #aaa7a0; font-size: 9px; font-weight: 800; letter-spacing: .11em; }.lab-status span:first-child { color: #f18b78; }
.lab-chip { position: absolute; z-index: 3; padding: 11px 13px; border: 1px solid rgba(255,255,255,.45); background: #292927; color: #eee9e2; box-shadow: 0 12px 30px rgba(0,0,0,.22); font-size: 10px; font-weight: 800; letter-spacing: .09em; white-space: nowrap; }.lab-chip-layout { top: 14%; left: -35px; animation: chip-in 11s ease-in-out infinite; }.lab-chip-code { right: -30px; top: 31%; background: var(--spd-accent); color: #111; animation: chip-code 11s ease-in-out infinite; }.lab-chip-launch { right: -20px; bottom: 16%; animation: chip-launch 11s ease-in-out infinite; }
@keyframes chip-in { 0%,18%,89%,100% { opacity: 1; transform: translateY(0); } 29%,80% { opacity: .35; transform: translateY(-8px); } }
@keyframes chip-code { 0%,17%,91%,100% { opacity: .2; transform: translateY(15px); } 30%,83% { opacity: 1; transform: translateY(0); } }
@keyframes chip-launch { 0%,32%,94%,100% { opacity: 0; transform: translateY(15px); } 45%,83% { opacity: 1; transform: translateY(0); } }
.motion-toggle { border: 1px solid rgba(255,255,255,.28); border-radius: 99px; background: transparent; color: #bbb7af; padding: 10px 14px; font: 700 10px var(--spd-body); letter-spacing: .1em; white-space: nowrap; cursor: pointer; }.motion-toggle:hover { color: #fff; border-color: #fff; }
.hero-v3.is-paused *, .hero-v3.is-paused *::before, .hero-v3.is-paused *::after { animation-play-state: paused !important; }
@media (max-width: 1180px) { .hero-core { grid-template-columns: minmax(0, 1fr) minmax(315px, .85fr); }.hero-core .hero-headline h1 { font-size: clamp(80px, 10.7vw, 140px); }.hero-bottomline { gap: 20px; } }
@media (max-width: 850px) { .hero-v3 { min-height: 0; }.hero-core { grid-template-columns: 1fr; gap: 65px; padding-block: 90px 65px; }.hero-core .hero-headline h1 { font-size: clamp(95px, 18vw, 160px); }.hero-lab { justify-self: center; width: min(83vw, 520px); }.lab-viewport { height: clamp(300px, 58vw, 400px); }.hero-orbit { right: -25%; top: 17%; } }
@media (max-width: 520px) { .hero-core { gap: 52px; padding-block: 80px 55px; }.hero-core .hero-headline h1 { font-size: 17vw; }.hero-core .hero-title-accent { margin-left: 0; }.hero-lab { width: min(81vw, 440px); }.lab-viewport { height: 300px; }.lab-mini-hero strong { font-size: 48px; }.lab-chip { font-size: 8px; padding: 8px; }.lab-chip-layout { left: -21px; }.lab-chip-code { right: -19px; }.lab-chip-launch { right: -16px; }.lab-caption { font-size: 8px; }.hero-bottomline { padding-bottom: 32px; }.motion-toggle { margin-top: 25px; } }
@media (prefers-reduced-motion: reduce) { .hero-v3 *, .hero-v3 *::before, .hero-v3 *::after { animation: none !important; transition: none !important; }.lab-wire { opacity: 0; }.lab-finished { filter: none; }.lab-pointer { display: none; }.motion-toggle { display: none; } }
.lab-phone { position: absolute; z-index: 4; left: -36px; bottom: 11%; width: 98px; height: 166px; padding: 10px 8px; border: 5px solid #292927; border-radius: 16px; background: #eae5dc; color: #161615; box-shadow: 0 18px 36px rgba(0,0,0,.4); animation: phone-arrive 11s cubic-bezier(.2,.8,.2,1) infinite; }
.phone-top { width: 28px; height: 3px; background: #777; border-radius: 3px; margin: 0 auto 19px; }
.lab-phone strong { display: block; font: 800 22px/.77 var(--spd-display); }.lab-phone strong::first-line { color: #ed5c40; }
.lab-phone i { display: block; height: 7px; margin-top: 8px; background: #beb9b0; }.lab-phone i:nth-of-type(2) { width: 65%; margin-top: 4px; }
.lab-phone span { position: absolute; left: 8px; bottom: 10px; font: 800 6px var(--spd-body); letter-spacing: .05em; }
.ticker-track { display: flex; }
.ticker-track > span { flex: none; padding-right: .6em; }
@media(max-width: 760px) { .hero-topline { flex-wrap: wrap; }.hero-topline > span:last-child { display: inline-block; } }
@keyframes phone-arrive { 0%,34%,96%,100% { opacity: 0; transform: translate(-26px,40px) rotate(-10deg); } 48%,83% { opacity: 1; transform: translate(0,0) rotate(-7deg); } }
@media(max-width: 520px) { .lab-phone { width: 78px; height: 134px; left: -23px; }.lab-phone strong { font-size: 17px; }.phone-top { margin-bottom: 15px; } }
@media(prefers-reduced-motion: reduce) { .lab-phone { opacity: 1; transform: rotate(-7deg); } }

/* Scrollable live website previews in selected work */
.project-feature:hover .project-feature-visual img { transform: none; }
.project-live-preview { display: block; min-height: 530px; background: #e9e6df; }
.project-live-preview::after { inset: 0; border: 0; border-left: 1px solid rgba(255,255,255,.2); }
.preview-toolbar { position: absolute; z-index: 4; inset: 0 0 auto; height: 43px; display: flex; align-items: center; gap: 10px; padding: 0 16px; background: #20201f; color: #e7e3dc; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.preview-live-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--spd-accent); }
.preview-toolbar > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-toolbar a { margin-left: auto; padding-left: 12px; white-space: nowrap; color: #f0a391; text-decoration: underline; text-underline-offset: 3px; }
.preview-toolbar a:hover { color: #fff; }
.preview-viewport { position: absolute; inset: 43px 0 0; overflow: hidden; }
.project-live-preview iframe { display: block; width: var(--preview-inverse, 117.647%); height: var(--preview-inverse, 117.647%); border: 0; background: #fff; transform: scale(var(--preview-scale, .85)); transform-origin: top left; }
.preview-scroll-hint { position: absolute; z-index: 3; left: 16px; bottom: 16px; padding: 8px 10px; border-radius: 3px; color: #fff; background: rgba(20,20,19,.88); font-size: 10px; font-weight: 800; letter-spacing: .11em; pointer-events: none; }
@media(max-width:760px) { .project-live-preview { min-height: 440px; }.preview-toolbar { padding-inline: 12px; }.preview-toolbar a { font-size: 10px; } }
/* The live previews provide the movement; static project images stay still. */
.project-thumb:hover img { transform: none; }

/* Full-screen holding page */
body.spd-holding { background: #0b0d0d; color: #f2efe8; }
.spd-holding .holding-page { --hold-accent: #f05b3f; --hold-line: rgba(240,239,232,.16); min-height: 100svh; overflow: clip; background: radial-gradient(circle at var(--hold-x, 75%) var(--hold-y, 46%), rgba(240,91,63,.15), transparent 32%), #0b0d0d; }
.holding-header, .holding-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 24px clamp(24px, 4vw, 70px); position: relative; z-index: 4; }
.holding-header { border-bottom: 1px solid var(--hold-line); min-height: 85px; }.holding-footer { border-top: 1px solid var(--hold-line); color: #999b96; font-size: 11px; font-weight: 800; letter-spacing: .11em; }
.holding-brand { display: flex; align-items: center; gap: 15px; font-size: 13px; font-weight: 800; letter-spacing: .1em; white-space: nowrap; }.holding-brand .custom-logo { max-height: 36px; }.holding-monogram { font: 800 32px/.8 var(--spd-display); letter-spacing: -.07em; }.holding-monogram span { color: var(--hold-accent); margin-left: 2px; }
.holding-header-status { display: flex; align-items: center; gap: 10px; color: #bbbdb5; font-size: 11px; font-weight: 800; letter-spacing: .15em; white-space: nowrap; }.holding-header-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--hold-accent); box-shadow: 0 0 0 5px rgba(240,91,63,.12); animation: hold-pulse 2.5s ease-in-out infinite; }
@keyframes hold-pulse { 50% { box-shadow: 0 0 0 10px rgba(240,91,63,0); } }
.holding-header-contact { border-bottom: 1px solid #f2efe8; padding-bottom: 6px; font-size: 12px; font-weight: 800; letter-spacing: .1em; white-space: nowrap; }.holding-header-contact span { font-size: 18px; }.holding-header-contact:hover { color: var(--hold-accent); }
.holding-main { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(380px,.8fr); align-items: center; gap: clamp(40px, 5vw, 90px); padding: clamp(65px, 7vw, 115px) clamp(24px, 4vw, 70px); min-height: calc(100svh - 157px); }
.holding-grid { position: absolute; z-index: -1; inset: 0; opacity: .32; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, transparent 3%, #000 70%); }
.holding-copy { position: relative; z-index: 2; }.holding-eyebrow { color: var(--hold-accent); font-size: 12px; font-weight: 800; letter-spacing: .15em; margin: 0 0 clamp(40px, 5vw, 80px); text-transform: uppercase; }
.holding-title { font: 800 clamp(90px, 10.8vw, 186px)/.75 var(--spd-display); text-transform: uppercase; letter-spacing: -.045em; margin: 0; }.holding-title span { display: block; overflow-wrap: anywhere; }.holding-title span:nth-child(2) { color: transparent; -webkit-text-stroke: 1px #f2efe8; }.holding-title span:nth-child(3) { color: var(--hold-accent); }
.js .holding-title span { animation: hold-type-in 1s cubic-bezier(.18,.78,.2,1) both; }.js .holding-title span:nth-child(2) { animation-delay: .12s; }.js .holding-title span:nth-child(3) { animation-delay: .24s; }
@keyframes hold-type-in { from { opacity: 0; transform: translateY(42px) skewY(3deg); } to { opacity: 1; transform: none; } }
.holding-message { max-width: 620px; margin: clamp(45px, 5vw, 78px) 0 28px; color: #c6c6c0; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.holding-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 35px; min-width: 260px; border-radius: 100px; background: var(--hold-accent); color: #10100f; padding: 18px 22px; font-size: 12px; font-weight: 900; letter-spacing: .1em; transition: transform .25s, background .25s; }.holding-cta span { font-size: 21px; line-height: 1; }.holding-cta:hover { transform: translateY(-4px); background: #f2efe8; color: #10100f; }
.holding-demo { width: min(100%, 580px); justify-self: end; position: relative; z-index: 2; }.holding-demo-top { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 13px; color: #92938e; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.holding-browser { border: 1px solid rgba(255,255,255,.3); border-radius: 13px; overflow: hidden; background: #202120; box-shadow: 0 35px 90px rgba(0,0,0,.5), 0 0 0 8px rgba(255,255,255,.035); transform: perspective(1000px) rotateY(-3deg) rotateX(2deg); transition: transform .5s ease; }.holding-demo:hover .holding-browser { transform: perspective(1000px) rotateY(0) rotateX(0); }
.holding-browser-bar, .holding-browser-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 39px; padding: 0 14px; background: #282927; color: #b2b3ac; font-size: 10px; font-weight: 700; letter-spacing: .05em; }.holding-browser-foot { height: 34px; font-size: 9px; letter-spacing: .1em; }.holding-browser-foot span:first-child { color: #ed8b78; }
.holding-dots { display: flex; gap: 5px; }.holding-dots i { width: 6px; height: 6px; background: #777871; border-radius: 50%; }.holding-dots i:first-child { background: var(--hold-accent); }.holding-address { border: 1px solid #50514b; border-radius: 3px; width: 55%; padding: 4px; text-align: center; color: #aaa; }
.holding-screen { position: relative; height: clamp(340px, 31vw, 460px); overflow: hidden; }.holding-view { position: absolute; inset: 0; opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .7s ease, transform .7s ease; pointer-events: none; }.holding-demo[data-view=wire] .holding-view-wire, .holding-demo[data-view=design] .holding-view-design, .holding-demo[data-view=code] .holding-view-code { opacity: 1; transform: none; pointer-events: auto; }
.holding-view-wire { padding: 24px; background: #1d1f1e; }.holding-view-wire i { display: block; border: 1px solid #737973; background: rgba(255,255,255,.03); }.hold-wire-nav { display: flex; justify-content: space-between; border-bottom: 1px solid #666b65; padding-bottom: 14px; }.hold-wire-nav i:first-child { width: 95px; height: 13px; }.hold-wire-nav i:last-child { width: 130px; height: 11px; }.hold-wire-title { margin-top: 58px; }.hold-wire-title i { height: clamp(36px, 4.8vw, 66px); width: 80%; margin-bottom: 7px; transform-origin: left; }.hold-wire-title i:nth-child(2) { width: 62%; }.hold-wire-title i:nth-child(3) { width: 43%; border-color: var(--hold-accent); }.holding-demo[data-view=wire] .hold-wire-title i { animation: hold-draw .9s cubic-bezier(.2,.8,.2,1) both; }.holding-demo[data-view=wire] .hold-wire-title i:nth-child(2) { animation-delay: .15s; }.holding-demo[data-view=wire] .hold-wire-title i:nth-child(3) { animation-delay: .3s; }@keyframes hold-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hold-wire-copy { margin-top: 20px; }.hold-wire-copy i { width: 54%; height: 8px; margin-bottom: 8px; }.hold-wire-copy i:nth-child(2) { width: 37%; }.hold-wire-cards { position: absolute; left: 24px; right: 24px; bottom: 35px; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }.hold-wire-cards i { height: 65px; }.hold-coordinate { position: absolute; right: 24px; bottom: 12px; color: #8f9690; font-size: 8px; letter-spacing: .12em; }
.holding-view-design { padding: 24px; background: #ebe7df; color: #171818; }.hold-design-nav { display: flex; justify-content: space-between; border-bottom: 1px solid #252525; padding-bottom: 13px; font-size: 10px; }.hold-design-nav span { font-size: 9px; letter-spacing: .1em; }.hold-design-content { display: flex; flex-direction: column; align-items: flex-start; margin-top: 48px; }.hold-design-content small { color: #c04e37; font-size: 9px; font-weight: 800; letter-spacing: .15em; }.hold-design-content strong { font: 800 clamp(53px, 6vw, 92px)/.78 var(--spd-display); letter-spacing: -.03em; margin: 20px 0 25px; }.hold-design-content em { font-style: normal; color: var(--hold-accent); }.hold-design-content > span { border-bottom: 1px solid; padding-bottom: 5px; font-size: 11px; font-weight: 700; }.hold-design-cards { position: absolute; left: 24px; right: 24px; bottom: 24px; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }.hold-design-cards i { height: 65px; background: #d2cdc4; }.hold-design-cards i:nth-child(2) { background: var(--hold-accent); }.hold-design-cards i:nth-child(3) { background: #202321; }
.holding-view-code { background: #141817; color: #d6e5da; font: 13px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }.hold-code-top { padding: 12px 20px; border-bottom: 1px solid #333d38; color: #9bb0a3; font-size: 11px; }.hold-code-top span { color: var(--hold-accent); }.hold-code-lines { display: grid; gap: 10px; padding: 35px 20px; white-space: nowrap; }.hold-code-lines span { display: block; overflow: hidden; text-overflow: ellipsis; }.hold-code-lines b { color: #5d7666; font-weight: 400; margin-right: 16px; }.hold-code-lines em { color: #e98b75; font-style: normal; }.hold-code-lines i { color: #a7c9b0; font-style: normal; }.holding-demo[data-view=code] .hold-code-lines span { animation: hold-code-appear .5s ease both; }.holding-demo[data-view=code] .hold-code-lines span:nth-child(2) { animation-delay: .1s; }.holding-demo[data-view=code] .hold-code-lines span:nth-child(3) { animation-delay: .2s; }.holding-demo[data-view=code] .hold-code-lines span:nth-child(4) { animation-delay: .3s; }.holding-demo[data-view=code] .hold-code-lines span:nth-child(6) { animation-delay: .4s; }@keyframes hold-code-appear { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
.hold-code-terminal { position: absolute; left: 20px; right: 20px; bottom: 24px; border-top: 1px solid #34403a; padding-top: 15px; color: #91b9a0; font-size: 10px; }.hold-code-terminal span { color: #8ac49a; }
.hold-scanline { position: absolute; z-index: 3; left: 0; right: 0; top: -2px; height: 2px; background: linear-gradient(90deg, transparent, rgba(240,91,63,.8), transparent); box-shadow: 0 0 22px var(--hold-accent); pointer-events: none; animation: hold-scan 5s linear infinite; opacity: .55; }@keyframes hold-scan { to { transform: translateY(470px); } }
.holding-controls { display: flex; gap: 7px; margin-top: 20px; }.holding-controls button, .holding-motion-toggle { border: 1px solid rgba(255,255,255,.28); background: transparent; color: #a7aaa3; padding: 11px 13px; font: 800 10px var(--spd-body); letter-spacing: .08em; cursor: pointer; }.holding-controls button { flex: 1; }.holding-controls button[aria-pressed=true] { color: #111; border-color: var(--hold-accent); background: var(--hold-accent); }.holding-controls button:hover:not([aria-pressed=true]), .holding-motion-toggle:hover { border-color: #ddd; color: #fff; }.holding-motion-toggle { margin-top: 9px; width: 100%; text-align: center; border-radius: 100px; }
/* Contact form occupies the animated browser when either contact link is selected. */
.holding-contact-panel[hidden] { display: none; }
.holding-contact-panel { position: absolute; z-index: 5; inset: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px clamp(20px, 3vw, 32px) 24px; background: #ebe7df; color: #171818; }
.holding-contact-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #a8a39a; padding-bottom: 6px; color: #6d6a62; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.holding-contact-close { border: 0; background: transparent; color: #171818; font: 32px/1 var(--spd-body); cursor: pointer; padding: 0 4px; }
.holding-contact-panel h2 { margin: 15px 0 3px; font: 800 clamp(35px, 4vw, 58px)/.82 var(--spd-display); letter-spacing: -.025em; }
.holding-contact-panel h2 em, .holding-contact-panel h2 span { color: var(--hold-accent); font-style: normal; }
.holding-contact-intro { margin: 8px 0 15px; font-size: 12px; line-height: 1.4; }
.holding-contact-form { display: grid; gap: 11px; }
.holding-contact-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.holding-contact-form label { display: grid; gap: 4px; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.holding-contact-form input, .holding-contact-form textarea { width: 100%; min-width: 0; border: 1px solid #bcb7ac; border-radius: 2px; padding: 9px 10px; background: #f9f7f2; color: #171818; font: 13px/1.4 var(--spd-body); }
.holding-contact-form textarea { resize: vertical; min-height: 66px; }
.holding-contact-form :is(input, textarea):focus-visible, .holding-contact-panel button:focus-visible { outline: 2px solid var(--hold-accent); outline-offset: 2px; }
.holding-contact-form > button, .holding-contact-done { justify-self: start; border: 0; border-radius: 100px; padding: 12px 18px; background: var(--hold-accent); color: #10100f; font: 800 11px var(--spd-body); letter-spacing: .07em; cursor: pointer; }
.holding-contact-form > button span { padding-left: 22px; }
.holding-contact-form > button:hover, .holding-contact-done:hover { background: #171818; color: #fff; }
.holding-contact-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.holding-contact-error { margin: 5px 0 10px; color: #92321e; font-size: 12px; }.holding-contact-error a { text-decoration: underline; }
.holding-contact-email { display: inline-block; margin-top: 12px; color: #6b392f; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.holding-contact-result { display: grid; justify-items: start; gap: 16px; padding-top: clamp(35px, 6vw, 80px); }.holding-contact-result p { max-width: 320px; font-size: 15px; line-height: 1.5; }
.holding-demo.contact-open .holding-controls, .holding-demo.contact-open .holding-motion-toggle, .holding-demo.contact-open .hold-scanline { visibility: hidden; }
.holding-demo.contact-open .holding-browser { transform: none; }
@media(max-width:700px) { .holding-demo.contact-open .holding-screen { height: min(540px, 72svh); min-height: 450px; }.holding-contact-row { grid-template-columns: 1fr; }.holding-contact-panel { padding: 15px 18px 24px; } }
@media(max-width:1100px) { .holding-main { grid-template-columns: 1fr; gap: 70px; }.holding-demo { justify-self: start; width: min(100%,650px); }.holding-title { font-size: clamp(90px, 15vw, 180px); }.holding-screen { height: 430px; } }
@media(max-width:700px) { .holding-header-status { display: none; }.holding-header, .holding-footer { padding-inline: 20px; }.holding-header-contact { font-size: 10px; }.holding-brand > span:last-child { display: none; }.holding-main { padding: 68px 20px 80px; gap: 65px; }.holding-title { font-size: clamp(68px, 16vw, 110px); }.holding-eyebrow { font-size: 10px; }.holding-screen { height: 340px; }.hold-wire-title { margin-top: 39px; }.hold-wire-cards i, .hold-design-cards i { height: 42px; }.hold-design-content { margin-top: 36px; }.hold-design-content strong { font-size: clamp(49px, 10vw, 72px); }.holding-demo-top { font-size: 8px; }.holding-footer { flex-direction: column; align-items: flex-start; }.holding-controls button { font-size: 8px; padding-inline: 6px; }.hold-code-lines { font-size: 10px; } }
@media(prefers-reduced-motion: reduce) { .spd-holding *, .spd-holding *::before, .spd-holding *::after { animation: none !important; transition: none !important; }.holding-demo .holding-view { opacity: 0; transform: none; }.holding-demo[data-view=design] .holding-view-design { opacity: 1; }.hold-scanline, .holding-motion-toggle { display: none; } }
