/* =====================================================================
   Intec Global Solutions — Editorial Tech Site
   Display: Fraunces (variable serif, italic axis)
   Body:    Geist (sans)
   Mono:    JetBrains Mono
   Palette: warm paper + graphite ink, brand green as structural accent
   ===================================================================== */

:root {
  /* Ink & paper */
  --ink: #0e0f10;
  --ink-2: #1a1c1e;
  --ink-3: #26282b;
  --paper: #f1ede3;
  --paper-2: #e8e3d6;
  --paper-3: #d8d3c5;
  --rule: #c2bcab;
  --rule-soft: #d8d3c5;
  --mute: #5a564f;
  --mute-2: #7a7468;
  --mute-on-dark: #a8a59f;
  --mute-on-dark-2: #7f7d77;

  /* Brand */
  --brand: #4faf50;
  --brand-deep: #1d5824;
  --brand-glow: #7adb7e;

  /* Type */
  --font-display: "Fraunces", "Times New Roman", Georgia, serif;
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", "Menlo",
    "Consolas", monospace;

  /* Layout */
  --max-width: 1440px;
  --pad-x: clamp(20px, 4vw, 72px);
  --section-y: clamp(96px, 14vw, 180px);
  --gutter: clamp(16px, 2vw, 32px);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
  background: var(--paper);
}

body {
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "ss02", "cv11";
  color: var(--ink);
  background: var(--paper);
  font-size: 16.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 820px) {
  body { font-size: 17.5px; }
}

::selection {
  background: var(--brand);
  color: #fff;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 4px;
  z-index: 1000;
  transition: top 200ms var(--ease);
  font-family: var(--font-mono);
  font-size: 13px;
}
.skip-link:focus { top: 64px; }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
  border-radius: 2px;
}

/* =====================================================================
   Display rules — typography baseline
   ===================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

h1 em, h2 em, h3 em, h4 em {
  font-style: italic;
  font-variation-settings: "opsz" 144;
  color: var(--brand-deep);
}

.section .h1, h1 { font-size: clamp(48px, 9.5vw, 132px); }
h2 { font-size: clamp(40px, 6.5vw, 88px); }
h3 { font-size: clamp(26px, 2.6vw, 38px); }

p { max-width: 60ch; }

em { font-style: italic; }

/* =====================================================================
   Section meta — used in services / about / contact
   ===================================================================== */
.section-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mute);
}
.section-meta .section-id { color: var(--brand-deep); }
.section-meta.dark { color: var(--mute-on-dark); }
.section-meta.dark .section-id { color: var(--brand-glow); }
.section-meta .section-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, currentColor, transparent);
  max-width: 240px;
  opacity: 0.5;
}

.section-head {
  margin-bottom: clamp(56px, 8vw, 120px);
  max-width: 980px;
  display: grid;
  gap: 24px;
}

.section-lead {
  margin-top: 8px;
  color: var(--mute);
  font-size: clamp(17px, 1.6vw, 21px);
  max-width: 56ch;
  line-height: 1.5;
}

/* =====================================================================
   Buttons
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 24px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  line-height: 1;
  transition: transform 220ms var(--ease), background 220ms var(--ease),
    color 220ms var(--ease), border-color 220ms var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; transition: transform 220ms var(--ease); }
.btn:hover svg, .btn:focus-visible svg { transform: translateX(3px); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--brand-deep);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(14, 15, 16, 0.18);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--ink);
  transform: translateY(-1px);
}

/* =====================================================================
   Top marquee — runs above the header
   ===================================================================== */
.marquee {
  position: relative;
  z-index: 60;
  background: var(--ink);
  color: var(--paper-2);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  padding: 8px 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: marquee 60s linear infinite;
  will-change: transform;
}
.marquee-track span { display: inline-block; }
.marquee-track .dot { color: var(--brand); opacity: 0.7; font-size: 8px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =====================================================================
   Scroll progress (very thin top bar, brand color)
   ===================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 90;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--brand);
  transition: width 60ms linear;
}

/* =====================================================================
   Header
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(241, 237, 227, 0.88);
  backdrop-filter: saturate(170%) blur(16px);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  color: var(--ink);
  border-bottom: 1px solid rgba(14, 15, 16, 0.08);
  transition: background 220ms var(--ease), border-color 220ms var(--ease);
}
.site-header.is-scrolled {
  background: rgba(241, 237, 227, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--pad-x);
  min-height: 96px;
}

.brand {
  display: inline-flex;
  align-items: center;
  position: relative;
}
.brand img {
  height: 66px;
  width: auto;
  display: block;
}
@media (max-width: 720px) {
  .brand img { height: 52px; }
}

.primary-nav { display: none; }
@media (min-width: 920px) {
  .primary-nav { display: block; }
}

.primary-nav ol {
  display: flex;
  gap: 28px;
  list-style: none;
}

.primary-nav a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 6px 2px;
  color: currentColor;
  opacity: 0.88;
  transition: opacity 220ms var(--ease);
}
.primary-nav a:hover, .primary-nav a:focus-visible { opacity: 1; }
.primary-nav .n {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--brand);
  letter-spacing: 0.05em;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--ease);
}
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { transform: scaleX(1); }

.header-meta {
  display: none;
  align-items: center;
  gap: 18px;
}
@media (min-width: 1100px) {
  .header-meta { display: inline-flex; }
}

.local-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}
.local-time .dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(122, 219, 126, 0.6);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(122, 219, 126, 0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(122, 219, 126, 0); }
  100% { box-shadow: 0 0 0 0 rgba(122, 219, 126, 0); }
}
.local-time .loc { color: var(--brand-deep); font-weight: 500; }
.local-time .t { font-variant-numeric: tabular-nums; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: -0.005em;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity 220ms var(--ease), background 220ms var(--ease),
    color 220ms var(--ease);
}
.header-cta svg { width: 12px; height: 12px; }
.header-cta:hover, .header-cta:focus-visible {
  opacity: 1;
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* Mobile nav toggle */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 220ms var(--ease), width 220ms var(--ease),
    opacity 220ms var(--ease);
}
.nav-toggle span:nth-child(2) { width: 14px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
  width: 22px;
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
  width: 22px;
}
@media (min-width: 920px) {
  .nav-toggle { display: none; }
}

.mobile-nav {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-nav ol {
  list-style: none;
  padding: 16px var(--pad-x) 8px;
}
.mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-nav li:last-child a { border-bottom: 0; }
.mobile-nav .n {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brand-glow);
}
.mobile-meta {
  padding: 16px var(--pad-x) 28px;
  display: grid;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute-on-dark);
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  color: var(--paper);
  background-color: #07090b;
  background-image:
    linear-gradient(
      98deg,
      rgba(6, 8, 10, 0.93) 0%,
      rgba(6, 8, 10, 0.82) 26%,
      rgba(6, 8, 10, 0.4) 52%,
      rgba(6, 8, 10, 0.08) 85%,
      rgba(6, 8, 10, 0) 100%
    ),
    url("../assets/hero-bg.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: clamp(72px, 11vw, 160px) 0 clamp(48px, 6vw, 96px);
  min-height: clamp(640px, 92vh, 940px);
  display: flex;
  align-items: flex-end;
}

@media (max-width: 820px) {
  .hero {
    background-image:
      linear-gradient(
        180deg,
        rgba(6, 8, 10, 0.9) 0%,
        rgba(6, 8, 10, 0.72) 55%,
        rgba(6, 8, 10, 0.55) 100%
      ),
      url("../assets/hero-bg.jpg");
    background-position: center center;
  }
}

.hero-grid {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-meta .tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-2);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}
.hero-meta .tag:first-child {
  color: var(--brand-glow);
  border-color: rgba(122, 219, 126, 0.4);
  background: rgba(122, 219, 126, 0.06);
}

.hero-title {
  margin: 0;
  font-size: clamp(40px, 6.8vw, 96px);
  line-height: 1;
  letter-spacing: -0.028em;
  font-weight: 350;
  color: var(--paper);
  max-width: 18ch;
}
.hero-title .line {
  display: block;
}
.hero-title em {
  font-style: italic;
  color: var(--brand-glow);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  padding-right: 0.05em;
}

.hero-sub {
  max-width: 52ch;
  font-size: clamp(17px, 1.6vw, 21px);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.hero .btn-primary {
  background: var(--brand);
  color: #fff;
}
.hero .btn-primary:hover, .hero .btn-primary:focus-visible {
  background: var(--brand-glow);
  color: var(--ink);
}
.hero .btn-ghost {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.28);
}
.hero .btn-ghost:hover, .hero .btn-ghost:focus-visible {
  border-color: var(--paper);
  background: rgba(255, 255, 255, 0.06);
}

.hero-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  margin-top: clamp(28px, 4vw, 48px);
}
@media (min-width: 820px) {
  .hero-foot { grid-template-columns: repeat(4, 1fr); align-items: end; }
}

.foot-col {
  display: grid;
  gap: 6px;
}
.foot-k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute-on-dark);
}
.foot-v {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1;
}

.scroll-cue {
  display: none;
  align-items: center;
  justify-self: end;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute-on-dark);
  transition: color 220ms var(--ease);
}
@media (min-width: 820px) { .scroll-cue { display: inline-flex; } }
.scroll-cue:hover, .scroll-cue:focus-visible { color: var(--brand-glow); }
.scroll-cue svg {
  width: 14px;
  height: 22px;
  animation: drift 2.4s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

/* Subtle paper-grain over the dark hero */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.18;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* =====================================================================
   SERVICES — editorial rows on paper
   ===================================================================== */
.services {
  padding: var(--section-y) 0;
  background: var(--paper);
  color: var(--ink);
  position: relative;
}

/* Soft paper texture */
.services::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.05  0 0 0 0 0.05  0 0 0 0 0.05  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  mix-blend-mode: multiply;
}
.services > .container { position: relative; z-index: 2; }

.service-list {
  list-style: none;
  display: grid;
  border-top: 1px solid var(--rule);
}

.service-row {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: padding 320ms var(--ease);
  cursor: default;
}

.service-row::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 480ms var(--ease);
}
.service-row:hover::before { transform: scaleX(1); }
.service-row:hover { padding-left: clamp(8px, 1vw, 20px); }

.row-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 0.85;
  color: var(--ink);
  letter-spacing: -0.03em;
  transition: color 320ms var(--ease), transform 320ms var(--ease);
}
.service-row:hover .row-num {
  color: var(--brand-deep);
  transform: translateX(-2px);
}

.row-body {
  display: grid;
  gap: 16px;
  max-width: 720px;
}

.row-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.row-head h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.022em;
  line-height: 1;
}
.row-head h3 em {
  font-style: italic;
  color: var(--brand-deep);
}
.row-code {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute-2);
  padding: 4px 8px;
  border: 1px solid var(--rule);
  border-radius: 999px;
}

.row-body p {
  color: var(--mute);
  font-size: 16px;
  line-height: 1.55;
  max-width: 56ch;
}

.row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin-top: 4px;
}
.row-tags li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 4px 9px;
  background: var(--paper-2);
  border-radius: 4px;
}

.row-arrow {
  align-self: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 280ms var(--ease), border-color 280ms var(--ease),
    color 280ms var(--ease), transform 280ms var(--ease);
  flex-shrink: 0;
}
.row-arrow svg { width: 16px; height: 16px; }
.service-row:hover .row-arrow {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  transform: rotate(-12deg) scale(1.04);
}

@media (max-width: 720px) {
  .service-row { grid-template-columns: 56px 1fr; }
  .row-num { font-size: 44px; }
  .row-arrow { display: none; }
}

/* =====================================================================
   ABOUT — dark editorial
   ===================================================================== */
.about {
  padding: var(--section-y) 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.45 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  position: relative;
  z-index: 2;
}
@media (min-width: 920px) {
  .about-grid {
    grid-template-columns: minmax(220px, 0.6fr) 1.4fr;
    gap: clamp(48px, 8vw, 120px);
    align-items: start;
  }
}

.about-meta {
  display: grid;
  gap: 32px;
  align-content: start;
}
@media (min-width: 920px) {
  .about-meta { position: sticky; top: 140px; }
}

.about-principles {
  list-style: none;
  display: grid;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.about-principles li {
  display: grid;
  grid-template-columns: 40px 1fr;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.7vw, 22px);
  letter-spacing: -0.015em;
  align-items: baseline;
}
.about-principles .p-n {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 12px;
  color: var(--brand-glow);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-text { display: grid; gap: 28px; max-width: 880px; }
.about-text h2 {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(38px, 6.5vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--paper);
}
.about-text h2 em {
  font-style: italic;
  color: var(--brand-glow);
}
.quote-mark {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--brand);
  font-size: 1.05em;
  line-height: 0;
  display: inline-block;
  transform: translateY(0.18em);
  margin-right: 0.06em;
}
.quote-mark.close { margin-left: 0.04em; margin-right: 0; }

.about-text p {
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
}

/* =====================================================================
   CONTACT — paper, form with underline fields
   ===================================================================== */
.contact {
  padding: var(--section-y) 0;
  background: var(--paper);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 80px);
}
@media (min-width: 920px) {
  .contact-grid { grid-template-columns: minmax(260px, 0.7fr) 1.3fr; }
}

.contact-info {
  align-self: start;
}
.contact-meta {
  list-style: none;
  display: grid;
  gap: 28px;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
.contact-meta li {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule-soft);
}
.contact-meta li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-meta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.contact-meta-val, .contact-meta a {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.4;
}
.contact-meta a {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: border-color 220ms var(--ease), color 220ms var(--ease);
}
.contact-meta a:hover, .contact-meta a:focus-visible {
  color: var(--brand-deep);
  border-color: var(--brand-deep);
}

/* Form */
.contact-form {
  display: grid;
  gap: clamp(20px, 2vw, 28px);
}

.field {
  display: grid;
  gap: 8px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 12px;
  transition: border-color 220ms var(--ease);
}
.field:focus-within { border-color: var(--ink); }

.field label {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.lab-n {
  color: var(--brand-deep);
  font-size: 10px;
}

.field input,
.field textarea {
  border: 0;
  padding: 6px 0;
  font-size: 18px;
  font-family: var(--font-sans);
  color: var(--ink);
  background: transparent;
  width: 100%;
  line-height: 1.4;
  outline: none;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--mute-2);
  font-style: italic;
}

/* Honeypot — visually hidden but kept in flow for bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-note {
  font-size: 13.5px;
  color: var(--mute);
  min-height: 1.4em;
  margin: 0;
  font-family: var(--font-mono);
}
.form-note.is-success { color: var(--brand-deep); }
.form-note.is-error { color: #b04231; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(56px, 7vw, 88px) 0 32px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.site-footer > .container { position: relative; z-index: 2; }

.footer-bottom {
  display: grid;
  gap: 40px;
}

.footer-cols {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

.footer-cols li { display: grid; gap: 8px; }
.fc-k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute-on-dark);
}
.footer-cols a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 2px;
  transition: border-color 220ms var(--ease), color 220ms var(--ease);
}
.footer-cols a:hover, .footer-cols a:focus-visible {
  color: var(--brand-glow);
  border-color: var(--brand-glow);
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mute-on-dark-2);
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* =====================================================================
   Reveal on scroll
   ===================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger lines of the hero headline */
.hero-title .line.reveal { transition-duration: 1100ms; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .local-time .dot-live { animation: none; }
  .scroll-cue svg { animation: none; }
  html { scroll-behavior: auto; }
}
