/* Tekbridge. The original layout (hero + terminal, stats, services, stack,
   portfolio grid, about, contact) on a calmer voice: a green-black ground,
   warm paper-white type and one emerald. Bricolage Grotesque for statements,
   IBM Plex Sans for reading, IBM Plex Mono for the terminal and labels. */

:root {
  --bg:            #0d1411;
  --surface-100:   #131c18;
  --surface-200:   #19231f;
  --border:        #24302a;
  --ink:           #ebe7de;
  --muted:         #9aa59e;
  --faint:         #74817a;

  --accent:        #3ecf8e;   /* emerald: the one accent */
  --accent-bright: #57dba0;
  --accent-soft:   rgba(62, 207, 142, .10);
  --accent-line:   rgba(62, 207, 142, .28);
  --on-accent:     #08110d;

  --accent-2:      #b9c9bf;   /* quiet neutral for secondary tags (was cyan) */
  --accent-2-soft: rgba(185, 201, 191, .07);
  --accent-2-line: rgba(185, 201, 191, .22);

  --success:       #3ecf8e;
  --nav-glass:     rgba(13, 20, 17, .9);
  --outline-word:  transparent;
  --card-shadow:   0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px rgba(0, 0, 0, .35);

  --font-display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --space-1: 4px;  --space-2: 8px;   --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px;  --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-15: 60px; --space-20: 80px; --space-25: 100px;

  --radius-xs: 4px; --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px;
  --radius-xl: 20px; --radius-2xl: 24px; --radius-pill: 50px;

  --gutter: clamp(16px, 2.5vw, 40px);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { text-wrap: balance; }
::selection { background: var(--accent); color: var(--on-accent); }

.container { width: 100%; margin: 0 auto; padding-inline: var(--gutter); max-width: 1160px; }
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* faint film grain, kept from the original Tekbridge site */
body::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E"); }

/* ── Tag / eyebrow / titles ── */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid var(--accent-line); border-radius: var(--radius-pill);
  padding: 6px 14px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.tag-accent2 { background: var(--accent-2-soft); color: var(--accent-2); border-color: var(--accent-2-line); }
.tag-accent2::before { background: var(--accent-2); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: var(--space-3); }
.section-title { font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin-bottom: var(--space-4); }
.section-title em, .hero h1 em, .cta-title em { font-style: normal; color: var(--accent); }
.section-sub { font-size: 16px; color: var(--muted); max-width: 560px; line-height: 1.7; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--radius-pill); font-family: var(--font-body);
  font-size: 14px; font-weight: 700; padding: 10px 22px; line-height: 1.4;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: opacity .2s, border-color .2s, background .2s, transform .2s, box-shadow .2s;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--border); font-weight: 600; padding: 9px 20px; }
.btn-ghost:hover { border-color: var(--faint); color: var(--ink); }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn .icon { width: 18px; height: 18px; }

/* ── Nav ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: calc(var(--space-4) + env(safe-area-inset-top, 0px)) var(--space-4);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled, .nav.solid { background: var(--nav-glass); border-bottom-color: var(--border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); height: 56px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { display: block; height: 40px; width: auto; border-radius: var(--radius-sm); }
.footer .logo img { height: 44px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: -.01em; }
.logo-sub { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.hamburger { display: none; background: none; border: 1px solid var(--border); color: var(--ink); border-radius: var(--radius-pill); width: 42px; height: 42px; cursor: pointer; align-items: center; justify-content: center; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--nav-glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  display: flex; flex-direction: column; justify-content: center; gap: var(--space-5);
  padding: var(--space-20) var(--space-6) var(--space-10); overflow-y: auto;
}
.mobile-menu a { color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 26px; font-weight:700; transition: color .2s; }
.mobile-menu a:hover { color: var(--accent); }
.mobile-close { position: absolute; top: calc(20px + env(safe-area-inset-top, 0px)); right: 24px; }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding-block: 150px var(--space-20); }
.hero-grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 60px 60px; }
.outline-word { position: absolute; font-family: var(--font-display); font-weight: 700; color: transparent; -webkit-text-stroke: 1px var(--outline-word); white-space: nowrap; pointer-events: none; user-select: none; letter-spacing: -.02em; }
.hero .outline-word { bottom: -28px; right: -12px; font-size: clamp(80px, 14vw, 200px); }
.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-15); align-items: center; }
.hero-content { min-width: 0; }
.hero .tag { margin-bottom: var(--space-5); }
.hero h1 { font-family: var(--font-display); font-size: clamp(42px, 5.4vw, 72px); font-weight: 600; line-height: 1; letter-spacing: -.035em; text-wrap: balance; margin-bottom: var(--space-6); }
.hero h1 .hl-outline { color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.hero h1 .hl-fill { display: block; color: var(--accent); }
.hero-sub { font-size: 17px; color: var(--muted); line-height: 1.7; max-width: 520px; margin-bottom: var(--space-8); }
.hero-actions { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.hero-note { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-8); font-size: 13px; color: var(--muted); }
.hero-note strong { color: var(--ink); }
.avail-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* Terminal */
.term-wrap { position: relative; }
.term-badge { position: absolute; top: -12px; right: 18px; z-index: 5; background: var(--accent); color: var(--on-accent); font-size: .66rem; font-weight: 800; font-family: var(--font-body); padding: 4px 12px; border-radius: 3px; letter-spacing: .1em; text-transform: uppercase; }
.terminal { background: var(--surface-100); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--card-shadow); }
.term-bar { padding: 13px 16px; background: rgba(255,255,255,.02); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.tdot { width: 11px; height: 11px; border-radius: 50%; }
.tdot.r{ background:#ff5f57; } .tdot.y{ background:#febc2e; } .tdot.g{ background:#28c840; }
.tname { flex: 1; text-align: center; font-size: .73rem; color: var(--faint); font-family: var(--font-mono); }
.term-body { padding: 22px 24px 26px; font-family: var(--font-mono); font-size: .8rem; line-height: 2.05; }
.tl { display: flex; }
/* A row of the production listing: the address, then what it is. */
.trow { justify-content: space-between; gap: 16px; padding-left: 20px; text-decoration: none; border-radius: 4px; }
.trow:hover { background: rgba(255,255,255,.04); }
.t-url { color: var(--accent); white-space: nowrap; }
.t-url::after { content: " ↗"; }
.t-what { color: var(--faint); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tnote { padding-left: 20px; margin-top: 10px; line-height: 1.6; white-space: normal; }
.tp { color: var(--accent); margin-right: 9px; user-select: none; }
.tc { color: var(--ink); }
.to { color: var(--faint); padding-left: 20px; }
.ts { color: var(--accent); padding-left: 20px; }
.tcursor { display: inline-block; width: 7px; height: 14px; background: var(--accent); border-radius: 1px; margin-left: 2px; vertical-align: middle; animation: blink 1.1s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0;} }

/* ── Ticker ── */
.ticker { border-block: 1px solid var(--border); padding-block: 14px; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 40px; animation: ticker 28s linear infinite; }
.ticker-item { display: inline-flex; align-items: center; gap: var(--space-4); font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ticker-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.ticker-item:nth-child(even) .ticker-dot { background: var(--accent-2); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── Sections ── */
.section { padding-block: var(--space-25); }
.section.alt { background: var(--surface-100); border-block: 1px solid var(--border); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-6); flex-wrap: wrap; margin-bottom: var(--space-15); }
.section-head > div { min-width: 0; }

/* Stats: hairline grid */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--card-shadow); }
.stat { background: var(--surface-100); padding: var(--space-8) var(--space-6); text-align: center; }
.stat-value { font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); font-weight: 700; letter-spacing: -.02em; line-height: 1; margin-bottom: var(--space-2); color: var(--accent); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 13px; color: var(--muted); font-weight: 500; }

/* Services: 3-col hairline grid */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--card-shadow); }
.svc-card { background: var(--surface-100); padding: var(--space-8); display: flex; flex-direction: column; min-width: 0; transition: background .2s; }
.svc-card:hover { background: var(--surface-200); }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: var(--space-4); }
.svc-icon { width: 46px; height: 46px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); font-size: 1.1rem; }
.svc-num { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--faint); }
.svc-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.svc-card > p, .svc-card .svc-desc { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: var(--space-4); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.chip { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-xs); background: var(--accent-soft); color: var(--accent); }
.chip.hi { background: var(--accent); color: var(--on-accent); }

/* Tech stack */
.tech-categories { display: flex; flex-direction: column; gap: var(--space-8); }
.tech-category-label { font-family: var(--font-display); font-size: 12px; font-weight: 600; color: var(--faint); letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--space-3); }
.tech-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-pill { background: var(--surface-100); border: 1px solid var(--border); padding: 8px 18px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 500; color: var(--muted); transition: all .2s; cursor: default; }
.tp-pill:hover { border-color: var(--faint); color: var(--ink); }
.tp-pill.hi { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }

/* Portfolio: 2-col hairline grid of rich cards */
.port-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--card-shadow); }
.port-card { background: var(--surface-100); padding: var(--space-8); display: flex; flex-direction: column; min-width: 0; transition: background .2s; position: relative; }
.port-card:hover { background: var(--surface-200); }
.pc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: var(--space-3); }
.pc-head h3 { font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.pc-type { background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); padding: 3px 12px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.pc-body > p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: var(--space-4); }
.pc-feats { list-style: none; margin-bottom: var(--space-4); }
.pc-feats li { padding: 3px 0; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 9px; }
.pc-feats li::before { content: '▸'; color: var(--accent); font-size: .7rem; flex-shrink: 0; }
.pc-stack { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--space-5); }
.pc-stack span { background: var(--surface-200); border: 1px solid var(--border); padding: 3px 10px; border-radius: var(--radius-xs); font-size: 11px; color: var(--faint); font-family: var(--font-mono); }
.pc-links { display: flex; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: var(--space-4); margin-top: auto; }
.pc-link { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); text-decoration: none; font-size: 13px; font-weight: 600; transition: color .2s; }
.pc-link:hover { color: var(--ink); }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: start; }
.cl h3 { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -.02em; margin-bottom: var(--space-3); }
.cl > p { color: var(--muted); margin-bottom: var(--space-8); line-height: 1.7; }
.ci { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--border); }
.ci-ico { width: 44px; height: 44px; min-width: 44px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1.05rem; transition: all .22s; }
.ci:hover .ci-ico { background: var(--accent); color: var(--on-accent); }
.ci h4 { font-size: 11px; color: var(--faint); font-weight: 600; margin-bottom: 3px; letter-spacing: .08em; text-transform: uppercase; }
.ci p, .ci a { font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; transition: color .2s; }
.ci a:hover { color: var(--accent); }
.chat-cta { margin-top: var(--space-8); background: var(--surface-100); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); }
.chat-cta h4 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.chat-cta p { color: var(--muted); font-size: 14px; margin-bottom: var(--space-5); line-height: 1.65; }
.chat-btn { text-decoration: none; display: inline-flex; align-items: center; gap: 9px; background: var(--accent); color: var(--on-accent); padding: 11px 24px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 700; font-family: var(--font-body); text-decoration: none; cursor: pointer; border: none; transition: all .22s; }
.chat-btn:hover { background: var(--accent-bright); transform: translateY(-1px); }
.contact-right { display: flex; flex-direction: column; gap: var(--space-4); }
.brief-card { background: var(--surface-100); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-8); }
.brief-card h4 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: var(--space-5); }
.brief-card ul { list-style: none; display: grid; gap: var(--space-4); margin-bottom: var(--space-8); color: var(--muted); }
.brief-card li { padding-left: 1.5em; position: relative; }
.brief-card li::before { content: "—"; position: absolute; left: 0; color: var(--faint); }
.brief-card strong { color: var(--ink); font-weight: 600; }
.chat-panel { background: var(--surface-100); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.cp-head { padding: 16px 20px; background: rgba(255,255,255,.02); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.cp-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: .82rem; color: var(--on-accent); flex-shrink: 0; }
.cp-info h5 { font-size: .88rem; font-weight: 700; line-height: 1.2; }
.cp-info span { font-size: .74rem; color: var(--faint); }
.cp-online { margin-left: auto; display: flex; align-items: center; gap: 7px; font-size: .74rem; color: var(--faint); white-space: nowrap; }
.cp-online-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.cp-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; min-height: 200px; }
.msg { max-width: 80%; padding: 11px 15px; border-radius: 10px; font-size: .85rem; line-height: 1.55; }
.msg.recv { background: rgba(255,255,255,.05); color: var(--muted); border-radius: 4px 10px 10px 10px; }
.msg.sent { background: var(--accent); color: var(--on-accent); font-weight: 500; align-self: flex-end; border-radius: 10px 10px 4px 10px; }
.cp-footer { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.cp-input { flex: 1; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; font-family: var(--font-body); font-size: .84rem; color: var(--muted); outline: none; }
.cp-send { text-decoration: none; width: 38px; height: 38px; border-radius: var(--radius-sm); background: var(--accent); border: none; cursor: pointer; color: var(--on-accent); font-size: .95rem; display: flex; align-items: center; justify-content: center; transition: all .22s; }
.cp-send:hover { background: var(--accent-bright); }
.contact-note { background: rgba(255,255,255,.02); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; font-size: .84rem; color: var(--muted); line-height: 1.65; display: flex; align-items: flex-start; gap: 12px; }
.contact-note i { color: var(--accent); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }

/* ── About ── */
.about-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--space-12); align-items: center; }
.about-split > * { min-width: 0; }
.about-split .section-title { margin-top: var(--space-3); }
.about-split p { color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: var(--space-4); }
.about-split strong { color: var(--ink); }
.info-cards { display: flex; flex-direction: column; gap: var(--space-3); }
.info-card { background: var(--surface-100); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 22px; display: flex; align-items: center; gap: var(--space-4); }
.info-card .ci-ico { width: 40px; height: 40px; min-width: 40px; }
.info-card .k { font-size: 11px; color: var(--faint); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.info-card .v { font-size: 14px; font-weight: 600; color: var(--ink); }
.info-card a.v { color: var(--accent); text-decoration: none; }

/* ── CTA ── */
.cta { position: relative; overflow: hidden; text-align: center; padding-block: var(--space-25); }
.cta .outline-word { top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: clamp(100px, 20vw, 280px); }
.cta-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.cta .tag { margin-bottom: var(--space-5); }
.cta-title { font-family: var(--font-display); font-size: clamp(36px, 5vw, 64px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin-bottom: var(--space-5); }
.cta-sub { font-size: 17px; color: var(--muted); margin-bottom: var(--space-10); max-width: 500px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── Footer ── */
.footer { border-top: 1px solid var(--border); padding-block: var(--space-12) var(--space-8); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--space-12); margin-bottom: var(--space-12); }
.footer-top > * { min-width: 0; }
.footer-brand p { font-size: 14px; color: var(--muted); max-width: 260px; margin-top: var(--space-4); line-height: 1.7; }
.footer h4 { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: var(--space-4); }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer a:hover { color: var(--ink); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: var(--space-6); gap: var(--space-4); flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.footer-soc { display: flex; gap: 18px; }
.footer-soc a { color: var(--faint); font-size: 1.05rem; transition: color .2s; }
.footer-soc a:hover { color: var(--accent); }

/* ── Reveal ── */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 1000px) {
  .hero-layout { grid-template-columns: 1fr; gap: var(--space-12); }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .hamburger { display: inline-flex; }
  .port-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .section, .cta { padding-block: var(--space-20); }
  .hero { padding-block: 120px var(--space-15); }
  .hero h1 { font-size: 2.4rem; }
  .hero-actions .btn { width: 100%; }
  /* The production listing is the proof, so it stays on phones: address on one line, description under it. */
  .term-body { padding: 18px 16px 20px; font-size: .78rem; line-height: 1.7; }
  .trow { flex-direction: column; gap: 0; padding: 6px 0 6px 12px; }
  .t-what { text-align: left; white-space: normal; }
  .tnote { padding-left: 12px; }
  .svc-grid, .port-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .nav-cta .btn-primary { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* The open menu covers the fixed nav (z-index 100). It used to sit under it at 99, so the nav's
   own menu button lay on top of the close button and a tap on "close" reopened the menu instead. */
.mobile-menu { z-index: 101; }
/* The menu styles every link as a 26px heading; the button inside it should stay button-sized. */
.mobile-menu a.btn { font-family: var(--font-body); font-size: 16px; color: var(--on-accent); }

/* Cookie consent */
.consent {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: var(--space-4); z-index: 1000;
  max-width: 560px; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4);
  padding: var(--space-4) var(--space-5); background: var(--surface-200); color: var(--ink);
  border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--card-shadow);
  font-family: var(--font-body); font-size: .9rem; line-height: 1.5;
}
.consent-text { margin: 0; flex: 1 1 260px; color: var(--muted); }
.consent-text a { color: var(--accent); }
.consent-actions { display: flex; gap: var(--space-2); margin-left: auto; }
.consent-btn {
  font: inherit; font-weight: 500; cursor: pointer; padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill); border: 1px solid var(--border); background: transparent; color: var(--ink);
}
.consent-btn:hover { border-color: var(--accent-line); }
.consent-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.consent-primary:hover { background: var(--accent-bright); }
.footer-bottom [data-consent-open] { color: var(--muted); text-decoration: underline; font-size: inherit; }
@media (prefers-reduced-motion: no-preference) { .consent { animation: consent-in .25s ease-out; } }
@keyframes consent-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
