/* ==========================================================================
   CeylonWeb — stylesheet
   Palette: near-black monochrome with a single gold accent. Sharp, flat, minimal.
   No framework, no third-party requests.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset, variable) ---------- */
@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/assets/fonts/bricolage-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper:      #0E0E0E;
  --paper-2:    #161616;
  --paper-3:    #1F1F1F;
  --ink:        #FFFFFF;
  --ink-2:      #EDEDED;
  --accent:     #D9861B;
  --accent-2:   #E3A040;
  --accent-soft:rgba(227,160,64,.14);
  --line:       rgba(255,255,255,.12);
  --line-2:     rgba(255,255,255,.22);
  --muted:      #9A9A9A;
  --white:      #FFFFFF;
  --bad:        #E37058;
  --bad-soft:   rgba(227,112,88,.12);

  --ff-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ff-disp: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --r-sm: 2px;
  --r:    2px;
  --r-lg: 3px;

  --wrap: 1180px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --sec-y: clamp(4.5rem, 9vw, 7.5rem);

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: clamp(1rem, .97rem + .16vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* faint grain — inline SVG, no network request */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--ff-disp);
  font-optical-sizing: auto;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); position: relative; z-index: 1; }
.wrap-narrow { max-width: 820px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent-2); color: #1A1000; padding: .75rem 1.25rem;
}
.skip:focus { left: 0; }

:where(a, button, input, select, textarea, summary, details):focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem;
  font-size: .9375rem; font-weight: 600; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd); border-radius: var(--r-sm);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .6rem 1.2rem; font-size: .875rem; }
.btn-block { width: 100%; }

.btn-primary { --btn-bg: var(--white); --btn-fg: #0E0E0E; --btn-bd: var(--white); }
.btn-primary:hover { --btn-bg: var(--accent-2); --btn-bd: var(--accent-2); }

.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-2); }
.btn-outline:hover { --btn-bd: var(--ink); --btn-bg: rgba(255,255,255,.06); }

.btn-ghost { --btn-fg: var(--ink); --btn-bd: transparent; padding-inline: .25rem; }
.btn-ghost .arr { transition: transform .25s var(--ease); }
.btn-ghost:hover { --btn-fg: var(--accent-2); }
.btn-ghost:hover .arr { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.1) blur(12px);
  -webkit-backdrop-filter: saturate(1.1) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-head.is-stuck { border-bottom-color: var(--line); background: color-mix(in srgb, var(--paper) 96%, transparent); }
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 30px; height: 30px; color: var(--ink); flex: none; }
.brand-name { font-family: var(--ff-disp); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; }
.brand-accent { color: var(--accent-2); }

.nav { display: flex; align-items: center; gap: clamp(.5rem, 1.6vw, 1.75rem); }
.nav > a:not(.btn) {
  position: relative;
  font-size: .9375rem; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: .35rem 0;
}
.nav > a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--accent-2); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav > a:not(.btn):hover::after,
.nav > a:not(.btn).is-active::after { transform: scaleX(1); }
.nav > a:not(.btn).is-active { color: var(--ink); }

.nav-toggle {
  display: none; width: 42px; height: 42px; padding: 10px 9px;
  background: transparent; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 1.5px; width: 100%; background: var(--ink); transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem var(--pad) 1.5rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    max-height: calc(100dvh - 72px); overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav > a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1.1rem; }
}

/* ==========================================================================
   Section furniture
   ========================================================================== */
.section { padding-block: var(--sec-y); }
.section-alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.section-dark { background: #000000; border-block: 1px solid var(--line); }

.sec-label {
  display: flex; align-items: center; gap: .7rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.1rem;
}
.sec-label span {
  font-family: var(--ff-disp); font-size: .95rem; letter-spacing: 0; color: var(--accent-2);
}
.sec-label::after { content: ''; flex: 1; height: 1px; background: var(--line-2); max-width: 90px; }

.sec-title { font-size: clamp(1.95rem, 1.15rem + 3vw, 3.3rem); max-width: 18ch; }
.sec-intro { margin-top: 1.1rem; max-width: 58ch; color: var(--muted); font-size: 1.05rem; }

.mark {
  background-image: linear-gradient(transparent 62%, var(--accent-soft) 62%);
  padding-inline: .06em;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--paper);
  overflow: hidden;
  padding-top: clamp(3rem, 7vw, 6rem);
}
.hero-grid { display: grid; gap: clamp(3rem, 6vw, 4.5rem); align-items: center; padding-bottom: clamp(3rem, 6vw, 4.5rem); }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-2); background: var(--accent-soft);
  border: 1px solid rgba(227,160,64,.3);
  padding: .4rem .85rem; border-radius: var(--r-sm); margin-bottom: 1.5rem;
}
.hero h1 { font-size: clamp(2.6rem, 1.1rem + 5.8vw, 5rem); max-width: 15ch; color: var(--ink); font-weight: 800; }
.hero .lede { margin-top: 1.4rem; font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); color: var(--muted); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.1rem; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
  margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--muted);
}
.hero-trust li { display: flex; align-items: center; gap: .5rem; }
.hero-trust li::before {
  content: ''; width: 15px; height: 15px; flex: none; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3A040' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* --- Stats strip --- */
.hero-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem;
  padding-block: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
}
@media (min-width: 720px) { .hero-stats { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.stat { position: relative; text-align: center; padding-inline: .5rem; }
.stat:first-child::before { display: none; }
.stat::before {
  content: ''; position: absolute; left: 0; top: .15em; bottom: .15em; width: 1px;
  background: var(--line);
}
@media (max-width: 719px) { .stat:nth-child(3)::before { display: none; } }
.stat strong {
  display: block; font-family: var(--ff-disp); font-weight: 700;
  font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.1rem); color: var(--ink); line-height: 1;
}
.stat strong small { font-size: .5em; font-weight: 500; margin-left: .15em; color: var(--accent-2); }
.stat span {
  display: block; margin-top: .55rem; font-size: .74rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted);
}

/* --- Hero visual: pure-CSS device mockups --- */
.hero-visual { position: relative; padding: 0; }

.mock-browser {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 6px;
  padding: .6rem .75rem; background: var(--paper-3); border-bottom: 1px solid var(--line);
}
.mock-bar > span { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); flex: none; }
.mock-bar em {
  margin-left: .6rem; flex: 1; font-style: normal; font-size: .68rem; color: var(--muted);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .18rem .7rem;
}
.mock-body { padding: .9rem; }
.mock-nav { display: flex; align-items: center; gap: .5rem; margin-bottom: .8rem; }
.mock-nav i { height: 5px; width: 30px; background: var(--line); border-radius: 3px; }
.mock-nav .mock-logo { width: 52px; height: 9px; background: var(--ink); margin-right: auto; }
.mock-hero {
  height: 132px; border-radius: var(--r-sm); position: relative; overflow: hidden;
}
.mock-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; display: block; filter: grayscale(.15) contrast(1.05); }
.mock-hero::after {
  content: ''; position: absolute; right: -18px; bottom: -34px; width: 130px; height: 130px;
  border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); pointer-events: none;
}
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; margin-top: .8rem; }
.mock-cards i { height: 44px; background: var(--paper-3); border: 1px solid var(--line); border-radius: var(--r-sm); }

.mock-phone {
  position: absolute; right: -6px; bottom: 0; width: 118px;
  background: var(--paper-2); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 7px;
}
.mock-phone-scr { background: var(--paper); border-radius: 8px; padding: 7px; }
.mock-phone-hero {
  height: 56px; border-radius: 4px; margin-bottom: .5rem; overflow: hidden;
}
.mock-phone-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 32% 45%; display: block; filter: grayscale(.15) contrast(1.05); }
.mock-phone-scr i { display: block; height: 5px; background: var(--line); border-radius: 3px; margin-bottom: .32rem; }
.mock-phone-scr i.short { width: 58%; }
.mock-phone-scr q { display: block; height: 14px; width: 52px; background: var(--accent-2); border-radius: var(--r-sm); margin-top: .55rem; }

.hero-badge {
  position: absolute; left: -8px; bottom: 34px;
  background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--r);
  padding: .7rem 1rem;
}
.hero-badge strong { display: block; font-family: var(--ff-disp); font-size: 1.2rem; color: var(--ink); line-height: 1.2; }
.hero-badge span { font-size: .74rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

@media (max-width: 560px) {
  .mock-phone { width: 92px; right: -2px; }
  .hero-badge { left: 0; bottom: 12px; padding: .55rem .8rem; }
  .hero-badge strong { font-size: 1.05rem; }
}

/* ==========================================================================
   Deploy activity
   ========================================================================== */
.activity-card {
  --act-blue: #4C8DFF;
  --act-blue-1: rgba(76,141,255,.25);
  --act-blue-2: rgba(76,141,255,.5);
  --act-blue-3: rgba(76,141,255,.85);
  margin-top: 3rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
}

.activity-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.activity-title {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--ff-disp); font-weight: 700; font-size: 1.05rem; color: var(--ink);
}
.activity-title svg { width: 18px; height: 18px; color: var(--act-blue); flex: none; }

.activity-range { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--r-sm); overflow: hidden; }
.arange {
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  font: inherit; font-size: .82rem; font-weight: 600; padding: .4rem .85rem;
  border-left: 1px solid var(--line-2); transition: background .2s var(--ease), color .2s var(--ease);
}
.arange:first-child { border-left: 0; }
.arange:hover { color: var(--ink); }
.arange.is-active { background: var(--act-blue); color: #04122E; }

.activity-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 1.5rem; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 620px) { .activity-tiles { grid-template-columns: repeat(4, 1fr); } }
.atile { background: var(--paper); padding: 1rem 1.1rem; }
.atile strong {
  display: block; font-family: var(--ff-disp); font-weight: 700;
  font-size: clamp(1.35rem, 1.1rem + .9vw, 1.7rem); color: var(--ink); line-height: 1;
}
.atile span {
  display: block; margin-top: .4rem; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted);
}

.activity-grid-wrap { margin-top: 1.75rem; overflow-x: auto; padding-bottom: .25rem; }
.activity-grid {
  display: grid; grid-template-rows: repeat(7, 11px); grid-auto-flow: column; grid-auto-columns: 11px;
  gap: 3px; width: max-content;
}
.aday { width: 11px; height: 11px; border-radius: 2px; background: var(--paper-3); transition: opacity .2s var(--ease); }
.aday.lv-0 { background: var(--paper-3); }
.aday.lv-1 { background: var(--act-blue-1); }
.aday.lv-2 { background: var(--act-blue-2); }
.aday.lv-3 { background: var(--act-blue-3); }
.aday.lv-future { background: transparent; }
.aday.is-dim { opacity: .28; }

.activity-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
}
.activity-fine { font-size: .85rem; color: var(--muted); }
.activity-legend { display: flex; align-items: center; gap: .35rem; font-size: .74rem; color: var(--muted); }
.activity-legend i { width: 11px; height: 11px; border-radius: 2px; display: inline-block; }
.activity-legend i.lv-0 { background: var(--paper-3); }
.activity-legend i.lv-1 { background: var(--act-blue-1); }
.activity-legend i.lv-2 { background: var(--act-blue-2); }
.activity-legend i.lv-3 { background: var(--act-blue-3); }

/* ==========================================================================
   Value grid
   ========================================================================== */
.grid-4 { display: grid; gap: 1px; margin-top: 3rem; grid-template-columns: 1fr; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 620px)  { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.value {
  padding: 1.75rem 1.5rem;
  background: var(--paper); transition: background .25s var(--ease);
}
.value:hover { background: var(--paper-2); }
.value-ico {
  width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 1.1rem;
  color: var(--accent-2); background: var(--accent-soft); border-radius: var(--r-sm);
}
.value-ico svg { width: 21px; height: 21px; }
.value h3 { font-size: 1.16rem; margin-bottom: .6rem; }
.value p { font-size: .945rem; color: var(--muted); }

/* ==========================================================================
   Feature rows — shared by Services (pillars) and Work (portfolio)
   ========================================================================== */
.check-list { display: grid; gap: .55rem; margin-top: 1.1rem; }
.check-list li { position: relative; padding-left: 1.5rem; font-size: .87rem; color: var(--muted); }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: .3em; width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3A040' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat;
}

.services-foot { margin-top: 2.5rem; text-align: center; color: var(--muted); font-size: .95rem; }

.work-link {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.3rem; font-size: .88rem; font-weight: 600;
  color: var(--ink); text-decoration: none;
}
.work-link:hover { color: var(--accent-2); }
.work-link .arr { transition: transform .25s var(--ease); }
.work-link:hover .arr { transform: translateX(4px); }

.feature-rows { display: grid; gap: 1px; margin-top: 3rem; background: var(--line); border: 1px solid var(--line); }

.feature-row {
  display: grid; gap: 1.75rem; align-items: center;
  background: var(--paper);
  padding: clamp(1.25rem, 3vw, 1.5rem);
  transition: background .25s var(--ease);
}
.feature-row:hover { background: var(--paper-2); }
@media (min-width: 860px) {
  .feature-row { grid-template-columns: .95fr 1.05fr; padding: clamp(1.5rem, 3vw, 2rem); gap: 2.5rem; }
  .feature-row.reverse .feature-visual { order: 2; }
}

.feature-num {
  font-family: var(--ff-disp); font-size: .95rem; font-weight: 600; letter-spacing: .06em;
  color: var(--accent-2); margin-bottom: .7rem;
}
.feature-content h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); margin-bottom: .7rem; }
.feature-content > p { color: var(--muted); font-size: .96rem; max-width: 50ch; }
@media (min-width: 560px) { .feature-content .check-list { grid-template-columns: repeat(2, 1fr); gap: .55rem 1.2rem; } }

/* --- Visual: portfolio screenshot, framed like a browser window --- */
.feature-visual { border-radius: var(--r); overflow: hidden; }
.work-shot {
  display: block; text-decoration: none; position: relative;
  border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); background: var(--paper-3);
}
.shot-bar {
  display: flex; align-items: center; gap: 6px;
  padding: .6rem .75rem; background: var(--paper-3); border-bottom: 1px solid var(--line);
}
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); flex: none; }
.shot-bar em {
  margin-left: .6rem; flex: 1; min-width: 0; font-style: normal; font-size: .68rem; color: var(--muted);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .18rem .7rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.work-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; display: block; filter: grayscale(.1) contrast(1.05); }

.work-shot::after {
  content: '↗'; position: absolute; bottom: .8rem; right: .9rem;
  width: 28px; height: 28px; display: grid; place-items: center;
  font-size: 1rem; color: #0E0E0E;
  background: var(--white); border-radius: 50%;
  opacity: 0; transform: translateY(-3px);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.feature-row:hover .work-shot::after { opacity: 1; transform: none; }

.work-kind {
  font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2);
  margin-bottom: .55rem;
}
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.2rem; }
.tags li {
  font-size: .74rem; font-weight: 500; color: var(--muted);
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: .22rem .6rem;
}

/* --- Visual: service pillar (flat icon panel) --- */
.pillar-visual {
  aspect-ratio: 16 / 11; position: relative; display: grid; place-items: center; border-radius: var(--r);
  background: var(--paper-3); border: 1px solid var(--line);
}
.pillar-visual svg { width: 24%; height: 24%; color: var(--accent-2); position: relative; z-index: 1; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testi-list { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 760px) { .testi-list { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); } }

.testi {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
}
.testi-head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.4rem; }
.testi-avatar {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-2); border-radius: var(--r-sm);
  font-family: var(--ff-disp); font-weight: 700; font-size: .82rem; letter-spacing: .02em;
}
.testi-name { font-weight: 700; color: var(--ink); font-size: .98rem; }
.testi-meta { font-size: .82rem; color: var(--muted); margin-top: .1rem; }
.testi-quote {
  font-family: var(--ff-disp); font-weight: 500; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem);
  line-height: 1.5; color: var(--ink-2); letter-spacing: -.005em;
}

.testi-reply {
  display: flex; gap: .75rem; margin-top: 1.6rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
}
.testi-reply-mark {
  width: 30px; height: 30px; flex: none; display: grid; place-items: center;
  background: var(--paper-3); border: 1px solid var(--line); border-radius: 50%; color: var(--ink);
}
.testi-reply-mark svg { width: 15px; height: 15px; }
.testi-reply-name { font-size: .85rem; font-weight: 700; color: var(--ink); }
.testi-reply-name span { font-weight: 500; color: var(--muted); }
.testi-reply-text { margin-top: .3rem; font-size: .92rem; color: var(--muted); }

/* ==========================================================================
   Process
   ========================================================================== */
.steps { display: grid; gap: 1.5rem; margin-top: 3rem; grid-template-columns: 1fr; counter-reset: none; }
@media (min-width: 640px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step { position: relative; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.step::after {
  content: ''; position: absolute; top: -1px; left: 0; width: 0; height: 1px;
  background: var(--accent-2); transition: width .8s var(--ease) .1s;
}
.step.is-in::after { width: 42px; }
.step-num {
  font-family: var(--ff-disp); font-size: .95rem; font-weight: 600; color: var(--accent-2);
  letter-spacing: .06em; margin-bottom: .9rem;
}
.step h3 { font-size: 1.16rem; margin-bottom: .6rem; }
.step p { font-size: .93rem; color: var(--muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { margin-top: 2.75rem; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; cursor: pointer; list-style: none;
  font-family: var(--ff-disp); font-size: 1.1rem; font-weight: 600; color: var(--ink);
  transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-2); }
.faq summary::after {
  content: ''; flex: none; width: 20px; height: 20px; margin-top: .18em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/18px no-repeat;
  transition: transform .3s var(--ease);
}
.faq[open] summary::after { transform: rotate(135deg); }
.faq-a { padding-bottom: 1.35rem; }
.faq-a p { color: var(--muted); font-size: .97rem; max-width: 68ch; }
.faq[open] .faq-a { animation: faqIn .3s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: .9fr 1.1fr; } }

.contact-direct { margin-top: 2.5rem; display: grid; gap: 1.1rem; }
.contact-direct li { display: grid; gap: .15rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.contact-direct li:last-child { border-bottom: 0; padding-bottom: 0; }
.cd-label { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-direct a, .cd-plain { font-size: 1.08rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.contact-direct a:hover { color: var(--accent-2); text-decoration: underline; }

.contact-form-wrap {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
}
.cform { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .875rem; font-weight: 600; color: var(--ink); }
.req { color: var(--accent-2); }

.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem;
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font-size: .95rem; color: var(--ink);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; cursor: pointer; padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A9A9A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center; background-size: 17px;
}
.field :is(input, select, textarea)::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.field :is(input, select, textarea):focus {
  outline: none; background: var(--paper-3);
  border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(227,160,64,.15);
}
.field.has-error :is(input, select, textarea) { border-color: var(--bad); background: var(--bad-soft); }
.field.has-error :is(input, select, textarea):focus { box-shadow: 0 0 0 3px rgba(227,112,88,.15); }

.err { font-size: .82rem; color: var(--bad); min-height: 0; }
.err:empty { display: none; }

/* brief highlight when a service CTA prefills the field */
.field select.just-set {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(227,160,64,.22);
}

/* honeypot — visually gone, still reachable by naive bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

#cfSubmit { margin-top: .3rem; position: relative; }
#cfSubmit[disabled] { opacity: .75; cursor: not-allowed; transform: none; }
.spinner { display: none; width: 15px; height: 15px; border: 2px solid rgba(14,14,14,.25); border-top-color: #0E0E0E; border-radius: 50%; animation: spin .7s linear infinite; }
#cfSubmit.is-busy .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { font-size: .92rem; padding: .85rem 1rem; border-radius: var(--r-sm); display: none; }
.form-status.is-ok  { display: block; background: var(--accent-soft); color: var(--accent-2); border: 1px solid rgba(227,160,64,.3); }
.form-status.is-bad { display: block; background: var(--bad-soft); color: var(--bad); border: 1px solid rgba(227,112,88,.3); }
.form-fine { font-size: .8rem; color: var(--muted); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-foot { background: var(--paper); border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 4.5rem); }
.site-foot .brand { color: var(--ink); }
.site-foot .brand-mark { color: var(--ink); }
.site-foot .brand-accent { color: var(--accent-2); }

.foot-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; grid-template-columns: 1fr; }
@media (min-width: 620px)  { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; } }

.foot-blurb { margin-top: 1rem; font-size: .93rem; max-width: 34ch; color: var(--muted); }
.foot-col { display: grid; gap: .65rem; align-content: start; }
.foot-col h2 {
  font-family: var(--ff-body); font-size: .76rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .35rem;
}
.foot-col a { color: var(--ink-2); text-decoration: none; font-size: .93rem; width: fit-content; transition: color .2s var(--ease); }
.foot-col a:hover { color: var(--accent-2); }
.foot-col .cd-plain { font-size: .93rem; font-weight: 400; color: var(--ink-2); }

.socials { display: flex; gap: .6rem; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  color: var(--ink-2);
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.socials a:hover { border-color: var(--accent-2); color: var(--accent-2); background: var(--accent-soft); }
.socials svg { width: 18px; height: 18px; }

.foot-base {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  padding-block: 1.5rem; border-top: 1px solid var(--line);
  font-size: .84rem; color: var(--muted);
}
.foot-made { color: var(--muted); }

/* ---------- Print ---------- */
@media print {
  .site-head, .nav-toggle, .hero-visual, .contact-form-wrap, .socials { display: none !important; }
  body { background: #fff; color: #000; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
