/* XRAY DIGITAL — styles
   One container (.wrap) and one set of sizes for every section, so all content lines up on the same left edge.
   Palette: black / charcoal / soft gray / white, with a restrained blue accent.
   To resize the whole site, edit the variables in :root. */
:root {
  --black: #0b0b0c;
  --charcoal: #17181a;
  --line: #dcdde0;
  --gray-50: #f6f6f7;
  --gray-100: #efefef;
  --gray-200: #e6e6e8;
  --gray-500: #62666d;
  --gray-700: #3d4046;
  --white: #fff;
  --accent: #0a5cff;        /* on light backgrounds (AA contrast) */
  --accent-bright: #3cc8ff; /* on dark backgrounds */

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Bradley Hand", cursive;

  --wrap: 1160px;           /* content width of every section */
  --gutter: 20px;           /* side margin on small screens */
  --header-h: 64px;
  --section-y: clamp(52px, 6vw, 88px);
  --head-gap: clamp(28px, 3.5vw, 44px);   /* space under a section heading */

  --h1: clamp(30px, 4vw, 54px);
  --h2: clamp(22px, 2.4vw, 30px);
  --text: 14px;
  --lead: clamp(14.5px, 1.1vw, 16px);

  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body { margin: 0; font-family: var(--font); font-size: var(--text); color: var(--black); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; margin: 0; }
h1, h2, .wave-title { text-wrap: balance; }
.body-text, .lead, .cta-text { text-wrap: pretty; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
svg { flex: none; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--black); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.section-black :focus-visible, .section-impact :focus-visible, .cta-card :focus-visible { outline-color: var(--accent-bright); }

/* ---------- buttons & pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; font: 600 13.5px/1 var(--font); padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #26272b; }
.btn-outline { background: var(--white); color: var(--black); border-color: var(--line); }
.btn-outline:hover { border-color: var(--black); }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: #e9ebee; }
.btn-block { width: 100%; }

.pill { display: inline-block; font: 500 12.5px/1 var(--font); padding: 8px 14px; margin-bottom: 18px; border: 1px solid #c9cacd; border-radius: 999px; color: var(--gray-700); background: rgba(255,255,255,.6); }
.pill-dark { border-color: #3a3c41; color: #cfd1d6; background: transparent; }

/* ---------- header ---------- */
/* Solid header (no backdrop blur): blur behind a sticky bar is re-drawn on every scroll frame and causes stutter on slower devices. */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--gray-200); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--black); }
/* The logo file is white on transparent; on the white page it is shown in black. */
.brand-logo { height: 34px; width: auto; filter: brightness(0); }
.brand-fallback { font: 700 18px/1 var(--font); letter-spacing: .08em; }
.brand-fallback span { font-weight: 500; opacity: .7; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: #6f737a; text-decoration: none; font-size: 13.5px; font-weight: 500; transition: color .2s; }
.nav a:not(.btn):hover, .nav a.active { color: var(--black); }
.nav-cta { min-height: 40px; padding: 10px 18px; font-size: 13.5px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; margin-right: -10px; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--black); border-radius: 2px; transition: transform .25s ease, top .25s ease; }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 26px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- shared section layout ---------- */
.section { padding: var(--section-y) 0; }
.section-gray { background: var(--gray-100); }
.section-black { background: var(--black); color: var(--white); }
.section h2 { font-size: var(--h2); }
.body-text { color: var(--gray-500); font-size: var(--text); margin-top: 14px; max-width: 54ch; }
.body-text + .body-text { margin-top: 12px; }
.section-black .body-text, .section-impact .body-text { color: #a6aab1; }
.section-head { max-width: 620px; margin-bottom: var(--head-gap); }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: var(--head-gap); }
.split-head h2 { max-width: 18ch; }
.split-head > .body-text { margin: 0; max-width: 38ch; }
.section-grid { background-color: #fff; background-image: linear-gradient(rgba(0,0,0,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.045) 1px, transparent 1px); background-size: 56px 56px; }

/* ---------- hero (centered, wide headline) ---------- */
.hero { padding: clamp(56px, 7.5vw, 104px) 0 clamp(56px, 7.5vw, 100px); background: #fbfbfc; }
.hero-center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-badge { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 12px; font-size: 13.5px; color: #5d616b; margin-bottom: clamp(18px, 2vw, 26px); }
.hero-badge svg { width: 17px; height: 17px; fill: none; stroke: var(--black); stroke-width: 1.7; stroke-linejoin: round; }
.hero h1 { font-size: var(--h1); font-weight: 600; line-height: 1.06; letter-spacing: -0.035em; max-width: 20ch; }
.lead { margin-top: clamp(16px, 1.8vw, 22px); max-width: 62ch; color: #5d616b; font-size: var(--lead); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(24px, 2.4vw, 32px); }
.btn-lg { min-height: 46px; padding: 12px 26px; font-size: 14px; }

/* ---------- ticker ---------- */
.ticker { background: var(--white); border-block: 1px solid var(--gray-200); overflow: hidden; padding: 14px 0; }
/* No flex gap: each item carries its own right margin, so 4 identical groups loop without a jump at -25%. */
.ticker-track { display: flex; align-items: center; width: max-content; animation: tick 40s linear infinite; will-change: transform; }
.ticker-track span, .ticker-track i { margin-right: 26px; font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap; }
.ticker-track span { letter-spacing: .02em; color: var(--gray-700); }
.ticker-track i { font-style: normal; color: var(--accent); }
@keyframes tick { to { transform: translateX(-25%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- about ---------- */
.about-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-photo { position: relative; }
.photo-card { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(90% 120% at 50% 100%, #d4d6da 0%, #e8e9eb 55%, #f2f2f3 100%); }
.photo-card img { position: absolute; left: 50%; bottom: -21%; height: 118%; width: auto; max-width: none; transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.burst { position: absolute; left: -16px; top: -20px; width: 42px; height: 42px; color: var(--black); z-index: 1; }

.wave-card { position: relative; overflow: hidden; isolation: isolate; margin-top: clamp(20px, 2.5vw, 28px); background: var(--black); color: var(--white); border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px clamp(28px, 5vw, 72px); align-items: center; }
.wave-card::before, .wave-card::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.07), rgba(255,255,255,0) 65%); }
.wave-card::before { width: 62%; aspect-ratio: 1; left: 22%; top: -45%; }
.wave-card::after { width: 48%; aspect-ratio: 1; right: -12%; bottom: -42%; }
.wave-title { font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }
.wave-sub { color: #b4b8bf; font-size: var(--text); margin-top: 14px; max-width: 36ch; }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 420px; }
.chips li { padding: 12px 16px; border-radius: 999px; background: var(--white); color: var(--black); font-weight: 600; font-size: 13.5px; text-align: center; box-shadow: 0 14px 28px -12px rgba(0,0,0,.8); transition: transform .25s ease; }
.chips li:hover { transform: translateY(-3px); }

/* ---------- workflow (dark) ---------- */
.section-impact { position: relative; overflow: hidden; background: #080808; color: var(--white); }
.section-impact::before, .section-impact::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.section-impact::before { width: 900px; height: 600px; right: -200px; top: -260px; background: radial-gradient(closest-side, rgba(255,255,255,.08), rgba(255,255,255,0)); }
.section-impact::after { width: 800px; height: 520px; left: 18%; bottom: -300px; background: radial-gradient(closest-side, rgba(255,255,255,.06), rgba(255,255,255,0)); }
.section-impact .wrap { position: relative; z-index: 1; }
.impact-note { margin-top: 28px; font-size: 12.5px; color: #7a7e86; }

.flow { display: grid; grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1.12fr) 36px minmax(0, 1.12fr); align-items: start; }
.step-col { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.join { position: relative; height: 22px; margin-top: 155px; display: grid; place-items: center; }
.join::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,.45); box-shadow: 0 0 10px rgba(255,255,255,.35); }
.join i { position: relative; width: 18px; height: 18px; border-radius: 50%; background: #080808; border: 2px solid #fff; box-shadow: 0 0 14px rgba(255,255,255,.45), inset 0 0 6px rgba(255,255,255,.25); }

.win { width: 100%; height: 332px; background: linear-gradient(180deg, #151618, #0e0f10); border: 1px solid rgba(255,255,255,.2); border-radius: var(--r-md); box-shadow: 0 0 34px -10px rgba(255,255,255,.18), inset 0 1px 0 rgba(255,255,255,.06); overflow: hidden; font-size: 10.5px; color: #dfe3ea; }
.win .bar { display: flex; gap: 5px; padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.win .bar span { width: 7px; height: 7px; border-radius: 50%; background: #5d6066; }
.win .bar span:nth-child(2) { background: #81848a; }
.win .bar span:nth-child(3) { background: #a5a8ad; }
.win-body { padding: 14px 16px 16px; }
.win h4 { font-size: 15px; letter-spacing: -.01em; color: #fff; }
.win .sub { color: #8b919b; font-size: 11px; margin: 4px 0 12px; }
.win .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.win .f { margin-bottom: 9px; min-width: 0; }
.win .lbl { display: block; color: #aab0ba; font-size: 10.5px; margin-bottom: 5px; }
.win .lbl b { color: #c8cbd1; font-weight: 600; }
.win .inp { background: #1b1c1f; border: 1px solid rgba(255,255,255,.1); border-radius: 6px; padding: 8px 9px; color: #80838a; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win .inp.ta { height: 56px; white-space: normal; }
.win-btn { display: flex; align-items: stretch; background: #fff; border-radius: 7px; color: var(--black); font-weight: 600; font-size: 12px; overflow: hidden; }
.win-btn span { flex: 1; text-align: center; padding: 10px 0; }
.win-btn em { width: 40px; display: grid; place-items: center; border-left: 1px solid rgba(0,0,0,.2); }
.win-btn svg { width: 15px; height: 15px; fill: none; stroke: var(--black); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.win .head-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.win .head-row h4 { margin-right: auto; }
.win .search, .win .select { display: flex; align-items: center; gap: 6px; background: #1b1c1f; border: 1px solid rgba(255,255,255,.1); border-radius: 6px; padding: 6px 9px; font-size: 10.5px; white-space: nowrap; }
.win .search { color: #80838a; }
.win .select { color: #c8cdd6; }
.win .search svg, .win .select svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.win .add { background: #fff; color: var(--black); font-weight: 600; font-size: 10.5px; padding: 7px 10px; border-radius: 6px; white-space: nowrap; }
.table { background: #121314; border-radius: 8px; overflow: hidden; }
.th, .tr { display: grid; grid-template-columns: 1.35fr .85fr 1.15fr .25fr; align-items: center; gap: 6px; padding: 0 10px; }
.tasks .th, .tasks .tr { grid-template-columns: 1.9fr .45fr .65fr .85fr; }
.th { height: 28px; color: #8b919b; font-size: 9.5px; white-space: nowrap; background: rgba(255,255,255,.04); }
.tr { height: 46px; border-top: 1px solid rgba(255,255,255,.06); }
.who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.av { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #2b2c30; display: grid; place-items: center; }
.av svg { width: 15px; height: 15px; fill: none; stroke: #9a9da3; stroke-width: 1.8; stroke-linecap: round; }
.av.sm { width: 24px; height: 24px; }
.nm { display: grid; gap: 5px; min-width: 0; }
.nm i, .dt i { display: block; height: 7px; border-radius: 4px; background: #3b3d42; }
.nm i { width: 62px; max-width: 100%; }
.nm i.s { height: 5px; width: 40px; background: #2b2c30; }
.dt i { width: 46px; max-width: 100%; }
.dots { color: #8b919b; text-align: right; letter-spacing: 1px; }
.chip { justify-self: start; font-size: 10px; font-weight: 600; padding: 4px 8px; border-radius: 5px; color: #fff; white-space: nowrap; }
.c-new { background: #fff; color: var(--black); }
.c-prog { background: #a5a8ad; color: var(--black); }
.c-prop { background: #54575d; }
.c-cli { background: #25272b; box-shadow: inset 0 0 0 1px #5d6066; }
.tk { display: flex; align-items: center; gap: 8px; min-width: 0; color: #e7eaf0; }
.tk span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb { flex: none; width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid #6a7180; display: grid; place-items: center; }
.cb.on { background: #fff; border-color: #fff; }
.cb svg { width: 10px; height: 10px; fill: none; stroke: var(--black); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pg { height: 6px; border-radius: 3px; background: #2b2c30; overflow: hidden; }
.pg b { display: block; height: 100%; background: #fff; border-radius: 3px; }
.stem { width: 1px; height: 22px; background: rgba(255,255,255,.4); }
.num { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; font: 700 15px/1 var(--font); color: #fff; box-shadow: 0 0 18px rgba(255,255,255,.2), inset 0 0 10px rgba(255,255,255,.1); }
.step-col h3 { font-size: clamp(16px, 1.3vw, 19px); margin-top: 10px; }

/* ---------- how it works: pinned cards in one even row ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-top: 10px; }
.steps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 10px; border-top: 1.5px dashed #a9abb0; }
.step { position: relative; display: flex; background: var(--white); border-radius: 20px; padding: 9px; box-shadow: 0 24px 44px -24px rgba(0,0,0,.35), 0 3px 8px rgba(0,0,0,.06); transition: transform .3s ease; }
.step:hover { transform: translateY(-4px); }
.step-in { flex: 1; background: var(--gray-100); border: 1px solid #dedfe2; border-radius: 14px; padding: 28px 20px 24px; }
.step-no { font-size: 13px; font-weight: 600; color: var(--gray-500); }
.step h3 { font-size: 19px; margin: 6px 0; }
.step p { color: var(--gray-500); font-size: 13.5px; }
.pin { position: absolute; top: -9px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #5a5c61, #111 70%); box-shadow: 0 6px 10px rgba(0,0,0,.35); z-index: 2; }
.note { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 18px; padding-right: 4%; font: 600 20px/1 var(--font-hand); color: var(--black); }
.note svg { width: 48px; height: 28px; }

/* ---------- services (black) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.svc { display: flex; flex-direction: column; border: 1px solid transparent; border-radius: var(--r-md); padding: 24px 22px 26px;
  background: linear-gradient(#111214, #0d0e10) padding-box, linear-gradient(135deg, rgba(255,255,255,.4), rgba(255,255,255,.04) 45%, rgba(255,255,255,.2)) border-box;
  transition: transform .25s ease; }
.svc:hover { transform: translateY(-5px); }
.icon { width: 40px; height: 40px; border-radius: 10px; background: #1e2024; border: 1px solid #2c2f35; display: grid; place-items: center; margin-bottom: 40px; }
.icon svg { width: 19px; height: 19px; fill: none; stroke: var(--white); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-size: 16px; margin-bottom: 8px; }
.svc p { color: #9a9ea6; font-size: 13px; }

/* ---------- projects carousel ---------- */
.car-btns { display: flex; gap: 10px; flex: none; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--black); background: transparent; color: var(--black); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, transform .2s, opacity .2s; }
.round-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.round-btn:hover:not(:disabled) { background: var(--black); color: var(--white); transform: translateY(-2px); }
.round-btn:disabled { opacity: .3; cursor: default; }
.proj-total { margin-top: 14px; font-size: 13px; color: var(--gray-500); }
.proj-total b { color: var(--black); font-size: 15px; }

/* The row starts on the same left edge as the heading and runs to the edge of the screen. */
.carousel { --edge: max(var(--gutter), (100vw - var(--wrap)) / 2);
  display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 6px var(--edge) 28px; scroll-padding-inline: var(--edge); }
.carousel::-webkit-scrollbar { display: none; }
.carousel:focus-visible { outline-offset: -3px; }
.proj { flex: 0 0 min(320px, 82vw); scroll-snap-align: start; display: flex; flex-direction: column; background: var(--white); border-radius: 20px; padding: 11px; box-shadow: 0 18px 36px -24px rgba(0,0,0,.35); transition: transform .25s ease; }
.proj:hover { transform: translateY(-5px); }
.shot { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--gray-200); border-radius: var(--r-sm); background: #fff; aspect-ratio: 16 / 11; overflow: hidden; cursor: zoom-in; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform .4s ease; }
.shot:hover img { transform: scale(1.03); }
.zoom { position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; border-radius: 50%; background: var(--black); color: var(--white); display: grid; place-items: center; opacity: .9; }
.zoom svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.proj-body { padding: 16px 6px 8px; }
.proj-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pno, .tag { display: inline-block; font: 700 10px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; }
.pno { color: #fff; background: var(--black); }
.tag { color: #0846c2; background: #e7efff; font-weight: 600; }
.proj h3 { font-size: 16px; margin-bottom: 6px; }
.proj p { color: var(--gray-500); font-size: 13px; }

.proj-more .more-shot { cursor: default; border: 0; background: var(--black); display: grid; place-items: center; }
.proj-more .more-shot img { position: absolute; inset: 0; }
.proj-more:hover .more-shot img { transform: none; }
.more-num { position: relative; font-size: clamp(44px, 5vw, 64px); font-weight: 700; letter-spacing: -0.04em; color: var(--white); text-shadow: 0 6px 24px rgba(0,0,0,.35); }
.proj-more .proj-body { display: flex; flex-direction: column; flex: 1; }
.more-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; font-weight: 600; font-size: 13.5px; text-decoration: none; }
.more-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.more-link:hover svg { transform: translateX(3px); }

/* ---------- closing call to action ---------- */
.section-cta { padding-bottom: 0; }
.cta-card { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #2a2b30 0%, var(--black) 62%); color: var(--white); border-radius: var(--r-lg); padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 48px); text-align: center; }
.waves { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(255,255,255,.2); pointer-events: none; }
.cta-center { position: relative; max-width: 640px; margin: 0 auto; }
.cta-card h2 { font-size: clamp(24px, 2.8vw, 34px); }
.cta-text { color: #b4b8bf; margin: 16px auto 28px; max-width: 46ch; }

/* ---------- contact form ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-steps { display: grid; gap: 12px; margin-top: 28px; }
.contact-steps li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.contact-steps span { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--black); color: var(--white); display: grid; place-items: center; font-size: 12.5px; font-weight: 700; }
.contact-details { margin: 24px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; }
.contact-details dt { color: var(--gray-500); }
.contact-details dd { margin: 0; font-weight: 500; }
.form-card { background: var(--white); color: var(--black); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: 0 24px 50px -30px rgba(0,0,0,.35); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; min-width: 0; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field label small { font-weight: 400; color: var(--gray-500); font-size: 12px; }
.field input, .field select, .field textarea { width: 100%; font: 400 14px/1.4 var(--font); color: var(--black); background: var(--gray-50); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 4px rgba(10, 92, 255, .14); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c4261d; }
.err { display: none; margin-top: 6px; font-size: 12.5px; color: #b3201a; }
.field.invalid .err, .form-error { display: block; }
.form-error { margin: 0 0 12px; }
.success { text-align: center; padding: 28px 6px; }
.success:focus { outline: none; }
.check { width: 60px; height: 60px; border-radius: 50%; background: var(--black); color: var(--white); display: grid; place-items: center; margin: 0 auto 20px; }
.check svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.success h3 { font-size: 21px; margin-bottom: 10px; }
.success p { color: var(--gray-500); max-width: 38ch; margin: 0 auto 24px; }

/* ---------- footer ---------- */
.site-footer { background: var(--white); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--gray-200); }
.site-footer .brand-logo { height: 36px; }
.foot-line { margin-top: 16px; max-width: 32ch; font-size: 13.5px; color: var(--gray-500); }
.site-footer nav { display: grid; gap: 10px; align-content: start; }
.site-footer a:not(.brand) { text-decoration: none; font-size: 13.5px; color: var(--gray-500); transition: color .2s; display: block; }
.site-footer a:not(.brand):hover { color: var(--black); }
.foot-title { font: 700 13px/1 var(--font); color: var(--black); margin-bottom: 14px; }
.footer-base { padding-top: 22px; font-size: 12.5px; color: #85888f; }

/* ---------- project image viewer ---------- */
.viewer { width: min(1100px, 100% - 32px); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--r-md); background: var(--white); box-shadow: 0 40px 80px -20px rgba(0,0,0,.5); overflow: hidden; }
.viewer::backdrop { background: rgba(8,8,8,.75); backdrop-filter: blur(4px); }
.viewer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--gray-200); }
.viewer-head p { font-weight: 600; font-size: 14.5px; }
.viewer-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--gray-100); color: var(--black); display: grid; place-items: center; cursor: pointer; }
.viewer-close:hover { background: var(--gray-200); }
.viewer-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.viewer img { width: 100%; max-height: calc(100vh - 120px); object-fit: contain; background: var(--gray-50); }

/* ---------- smooth scrolling (Lenis) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* thin bar at the top that fills as the visitor scrolls */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--black); transform: scaleX(0); transform-origin: 0 50%; will-change: transform; }

/* ---------- entrance motion ---------- */
/* Content is always partly visible; the entrance is a soft rise and fade with a long, gentle ease. */
.js .reveal { opacity: .2; translate: 0 32px; transition: opacity .9s cubic-bezier(.16, 1, .3, 1), translate 1.1s cubic-bezier(.16, 1, .3, 1), transform .3s ease; }
.js .reveal.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; translate: none; transition: none; }
  .btn, .btn svg, .svc, .proj, .step, .chips li, .round-btn, .shot img { transition: none; }
  .ticker-track { animation: none; }
  .scroll-progress { display: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .flow { grid-template-columns: minmax(0, 1fr); gap: 40px; max-width: 520px; margin-inline: auto; }
  .join { display: none; }
  .impact-note { text-align: center; }
}
@media (max-width: 1020px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .steps::before { display: none; }
  .note { padding-right: 0; }
  .wave-card { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 6px var(--gutter) 24px; border-bottom: 1px solid var(--gray-200); box-shadow: 0 20px 30px -20px rgba(0,0,0,.25); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; font-size: 15px; border-bottom: 1px solid var(--gray-200); }
  .nav-cta { margin-top: 18px; min-height: 48px; }

  .about-top, .contact-grid { grid-template-columns: 1fr; }
  .photo-card { max-width: 560px; }
  .split-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .split-head h2 { max-width: none; }
  .car-btns { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  :root { --section-y: 56px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .svc-grid, .steps { grid-template-columns: 1fr; }
  .svc { padding: 22px 20px; }
  .icon { margin-bottom: 24px; }
  .note { justify-content: center; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .chips { grid-template-columns: 1fr 1fr; max-width: none; }
  .chips li { padding: 10px 8px; font-size: 13px; }
  /* 16px stops iPhones from zooming into the form when a field is tapped */
  .field input, .field select, .field textarea { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
}
