/* =========================================================
   Design Worth — main stylesheet
   ========================================================= */

:root {
  --bg: #F7F6F2;
  --bg-alt: #EDEBE5;
  --surface: #FFFFFF;
  --ink: #121212;
  --ink-2: #45443F;
  --muted: #85837B;
  --line: rgba(18, 18, 18, 0.12);

  --dark: #111111;
  --dark-2: #1B1B1B;
  --on-dark: #F4F2EC;
  --on-dark-muted: rgba(244, 242, 236, 0.68);
  --line-dark: rgba(244, 242, 236, 0.14);

  /* Brand yellow. Use it as a fill on light backgrounds and as text only on dark ones */
  --accent: #F5B800;
  --accent-dark: #DCA400;
  --accent-ink: #8A6400;      /* readable yellow-brown for small text on light backgrounds */
  --on-accent: #121212;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 4px;
  --radius-lg: 10px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 140px);
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.12; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
figure { margin: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.hero :focus-visible, .services :focus-visible, .testimonials :focus-visible, .site-footer :focus-visible, .nav-open .nav :focus-visible { outline-color: var(--accent); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 32px; height: 3px; background: var(--accent); }
.eyebrow-light { color: var(--accent); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: -.01em;
  margin-bottom: 24px;
}
/* On light sections the accent word gets a highlighter stroke; dark sections override with yellow text */
.section-title em {
  font-style: italic; color: inherit;
  background: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 88%, transparent 88%);
  padding-inline: .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.section-intro { font-size: 17px; max-width: 520px; }

.section { padding-block: var(--section-y); }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head-split .section-title { margin-bottom: 0; }
.section-head-split .section-intro { margin-bottom: 4px; }
.section-head-center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head-center .section-intro { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; min-height: 50px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent); color: var(--on-accent); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }

.link-arrow {
  display: inline-flex; gap: 10px; align-items: center;
  font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
  border-bottom: 3px solid var(--accent); padding-bottom: 4px;
}
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: background .4s var(--ease), height .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease);
}
.site-header.is-scrolled {
  --header-h: 70px;
  background: rgba(247, 246, 242, .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 48px; height: 48px; flex-shrink: 0; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 17px; letter-spacing: .2em; text-transform: uppercase; }
.brand-tag { font-size: 10.5px; letter-spacing: .08em; opacity: .7; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav-list { display: flex; gap: 30px; }
.nav-list a {
  position: relative; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding-block: 6px;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 12px 22px; min-height: 0; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  position: relative; z-index: 120; color: inherit;
}
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .35s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; overflow: hidden; isolation: isolate;
  padding-top: calc(var(--header-h) + 40px);
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3;
  animation: heroZoom 18s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(17,17,17,.55) 0%, rgba(17,17,17,.15) 35%, rgba(17,17,17,.55) 70%, rgba(17,17,17,.92) 100%),
    linear-gradient(90deg, rgba(17,17,17,.6) 0%, rgba(17,17,17,0) 65%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; opacity: .12; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 60%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 30%, #000 60%, transparent);
}
.hero-content { padding-bottom: clamp(40px, 7vh, 80px); }
.hero-title {
  font-family: var(--font-display); font-weight: 500; color: #fff;
  font-size: clamp(46px, 8.4vw, 112px); line-height: .98; letter-spacing: -.02em;
  max-width: 11ch; margin-bottom: 28px;
}
.hero-title em { font-style: italic; color: var(--accent); }
.hero-lead { font-size: clamp(16px, 1.6vw, 19px); max-width: 560px; color: rgba(255,255,255,.82); margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex; align-items: center; gap: clamp(24px, 6vw, 80px);
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 26px; padding-bottom: 34px;
}
.hero-stat { display: flex; align-items: baseline; gap: 12px; }
.hero-stat strong { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; color: #fff; line-height: 1; }
.hero-stat span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); max-width: 110px; line-height: 1.4; }
.scroll-cue {
  margin-left: auto; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 20px; position: relative;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff;
  animation: scrollCue 1.8s infinite;
}
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--accent); color: var(--on-accent); overflow: hidden; padding-block: 18px; }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: marquee 38s linear infinite; align-items: center; }
.marquee span { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); font-style: italic; white-space: nowrap; }
.marquee i { font-style: normal; font-size: 12px; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.about-media { position: relative; padding: 0 12% 18% 0; }
.about-img { overflow: hidden; border-radius: var(--radius-lg); }
.about-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-img:hover img { transform: scale(1.05); }
.about-img-main { aspect-ratio: 4 / 5; }
.about-img-sub {
  position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1;
  border: 10px solid var(--bg); border-radius: var(--radius-lg);
}
.about-badge {
  position: absolute; left: -18px; bottom: 9%;
  background: var(--dark); color: var(--on-dark); padding: 22px 26px; border-radius: var(--radius-lg);
  display: flex; align-items: center; gap: 14px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5);
}
.about-badge strong { font-family: var(--font-display); font-style: italic; font-size: 46px; font-weight: 500; color: var(--accent); line-height: 1; }
.about-badge span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.5; }

.about-copy > p:not(.eyebrow) { font-size: 17px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin: 40px 0 44px; }
.features li { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent);
}
.feature-icon svg, .contact-icon svg, .socials svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.features h3 { font-family: var(--font-body); font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.features p { font-size: 14.5px; line-height: 1.6; margin: 0; }

/* ---------- Services ---------- */
.services { background: var(--dark); color: var(--on-dark-muted); }
.services .section-title { color: var(--on-dark); }
.services .section-title em, .testimonials .section-title em { color: var(--accent); background: none; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  background: var(--dark-2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), border-color .5s var(--ease);
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(245,184,0,.7); }
.service-img { aspect-ratio: 4 / 3; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) brightness(.85); transition: transform 1s var(--ease), filter .6s var(--ease); }
.service-card:hover .service-img img { transform: scale(1.07); filter: none; }
.service-body { padding: 28px 26px 32px; position: relative; flex: 1; }
.service-num {
  position: absolute; top: -26px; right: 22px;
  font-family: var(--font-display); font-size: 54px; font-style: italic; color: var(--accent); line-height: 1;
}
.service-body h3 { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--on-dark); margin-bottom: 12px; }
.service-body > p { font-size: 15px; line-height: 1.6; }
.service-body ul { border-top: 1px solid var(--line-dark); padding-top: 18px; margin-top: 20px; display: grid; gap: 10px; }
.service-body li { font-size: 14px; display: flex; gap: 10px; align-items: baseline; color: var(--on-dark); }
.service-body li::before { content: ""; width: 6px; height: 6px; flex-shrink: 0; background: var(--accent); transform: rotate(45deg) translateY(-2px); }

/* ---------- Projects ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  border: 1px solid var(--line); background: transparent; padding: 10px 18px; border-radius: 40px; cursor: pointer;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--ink-2); transition: all .3s var(--ease);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; gap: 20px; grid-auto-flow: dense; }
.project {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--bg-alt);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.project-lg { grid-column: span 2; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.project::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(17,17,17,.85));
  transition: opacity .5s var(--ease);
}
.project:hover img { transform: scale(1.07); }
.project-info { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; color: #fff; }
.project-info span { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.project-info h3 { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 30px); font-weight: 500; color: #fff; margin-top: 6px; }
.project-info h3::after {
  content: " →"; display: inline-block; opacity: 0; transform: translateX(-8px); transition: all .4s var(--ease);
}
.project:hover .project-info h3::after { opacity: 1; transform: none; }
.project.is-hidden { display: none; }

/* ---------- Stats ---------- */
.stats { position: relative; isolation: isolate; color: #fff; padding-block: clamp(72px, 9vw, 120px); overflow: hidden; }
.stats-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.stats::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(17,17,17,.82); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 10px 20px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.15); }
.stat strong {
  display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(46px, 6vw, 76px); line-height: 1; color: var(--accent);
  margin-bottom: 12px;
}
/* Cormorant defaults to old-style figures; stats read better with lining ones */
.stat strong, .hero-stat strong { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.stat span { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.75); }

/* ---------- Process ---------- */
.process { background: var(--bg-alt); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 10%; right: 10%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 14px); opacity: .35;
}
.step { text-align: center; padding: 0 18px; position: relative; }
.step-num {
  width: 68px; height: 68px; margin: 0 auto 26px; display: grid; place-items: center; position: relative;
  font-family: var(--font-display); font-size: 26px; font-style: italic; font-weight: 600; color: var(--on-accent);
  background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 8px var(--bg-alt);
  transition: background .4s var(--ease), color .4s var(--ease);
}
.step:hover .step-num { background: var(--ink); color: var(--accent); }
.step h3 { font-family: var(--font-display); font-size: 26px; font-weight: 600; margin-bottom: 10px; }
.step p { font-size: 14.5px; line-height: 1.6; margin: 0; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.team-intro > p:not(.eyebrow) { font-size: 17px; margin-bottom: 32px; }
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.founder { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.founder:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(17,17,17,.35); }
.founder:nth-child(2) { margin-top: 48px; }
.founder-photo {
  aspect-ratio: 5 / 6; background:
    radial-gradient(circle at 50% 40%, rgba(245,184,0,.22), transparent 60%),
    linear-gradient(160deg, var(--bg-alt), #DEDBD2);
  display: grid; place-items: center;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo svg { width: 100%; height: 100%; opacity: .55; }
.founder-body { padding: 22px 22px 26px; }
.founder-body h3 { font-family: var(--font-display); font-size: 26px; font-weight: 600; }
.founder-role { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin: 6px 0 12px; font-weight: 700; }
.founder-body p { font-size: 14px; line-height: 1.6; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--dark); color: var(--on-dark-muted); }
.testimonials .section-title { color: var(--on-dark); }
.slider { max-width: 880px; margin-inline: auto; text-align: center; }
.slides { display: grid; }
.slide {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), visibility .7s;
}
.slide.is-active { opacity: 1; visibility: visible; transform: none; }
.slide blockquote {
  margin: 0 0 30px; font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(22px, 3vw, 34px); line-height: 1.4; color: var(--on-dark);
}
.slide blockquote::before {
  content: "“"; display: block; font-size: 90px; line-height: .6; color: var(--accent); font-style: normal; margin-bottom: 18px;
}
.slide figcaption strong { display: block; color: var(--on-dark); font-size: 15px; letter-spacing: .08em; }
.slide figcaption span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; }
.slider-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); background: none; color: var(--on-dark);
  cursor: pointer; font-size: 18px; transition: all .3s var(--ease);
}
.slider-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.slider-dots { display: flex; gap: 10px; }
.slider-dots button {
  width: 28px; height: 3px; padding: 0; border: 0; background: var(--line-dark); cursor: pointer; transition: background .3s, width .3s;
  /* larger tap target without changing the look */
  background-clip: content-box; padding-block: 10px; box-sizing: content-box;
}
.slider-dots button.is-active { background-color: var(--accent); width: 44px; }

/* ---------- CTA ---------- */
.cta { background: var(--accent); color: var(--on-accent); padding-block: clamp(56px, 7vw, 88px); position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: linear-gradient(rgba(18,18,18,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(18,18,18,.5) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cta-inner { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 40px; }
.cta h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 4vw, 48px); color: var(--on-accent); }
.cta p { margin: 0; grid-row: 2; color: rgba(18,18,18,.78); font-size: 17px; }
.cta .btn { grid-row: 1 / span 2; grid-column: 2; background: var(--ink); color: #fff; }
.cta .btn:hover { background: #fff; color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-info > p:not(.eyebrow) { font-size: 17px; }
.contact-list { display: grid; gap: 22px; margin-top: 36px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent);
}
.contact-list small { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-list p { margin: 2px 0 0; color: var(--ink); font-weight: 500; }
.contact-list a:hover { color: var(--accent-ink); }

.contact-form {
  background: var(--surface); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(17,17,17,.35);
}
.contact-form h3 { font-family: var(--font-display); font-size: 32px; font-weight: 600; margin-bottom: 26px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); font-size: 16px; color: var(--ink); transition: border-color .3s, background .3s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23121212' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.field input.is-invalid { border-color: #B3412E; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.form-note { margin: 16px 0 0; font-size: 14px; min-height: 1.2em; color: var(--accent-ink); }
.form-note.is-error { color: #B3412E; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding-top: clamp(64px, 8vw, 100px); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-brand .brand { color: var(--on-dark); margin-bottom: 20px; }
.footer-brand p { max-width: 340px; }
.site-footer h4 { color: var(--on-dark); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 20px; font-weight: 700; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a:hover { color: var(--accent); }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a {
  width: 42px; height: 42px; border: 1px solid var(--line-dark); border-radius: 50%; display: grid; place-items: center;
  color: var(--on-dark); transition: all .3s var(--ease);
}
.socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line-dark); padding-block: 24px; font-size: 13.5px;
}
.footer-bottom p { margin: 0; }
.to-top { letter-spacing: .1em; text-transform: uppercase; font-size: 12px; font-weight: 700; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0,0,0,.4);
  transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
}
.wa-float:hover { transform: scale(1.08); }
/* Hidden over the hero so it doesn't cover the stats */
.js .wa-float:not(.is-shown) { opacity: 0; visibility: hidden; transform: translateY(12px); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav-list { gap: 22px; }
  .nav { gap: 24px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }

  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 110;
    background: var(--dark); color: var(--on-dark);
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 40px;
    padding: 100px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  /* backdrop-filter would make the header the containing block for the fixed overlay */
  .nav-open .site-header { color: var(--on-dark); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-open .site-header .brand { position: relative; z-index: 120; }
  .nav-list { flex-direction: column; gap: 6px; }
  .nav-list a { font-family: var(--font-display); font-size: 40px; font-weight: 500; letter-spacing: 0; text-transform: none; }
  .nav-list li { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .nav-open .nav-list li { opacity: 1; transform: none; }
  .nav-open .nav-list li:nth-child(2) { transition-delay: .05s; }
  .nav-open .nav-list li:nth-child(3) { transition-delay: .1s; }
  .nav-open .nav-list li:nth-child(4) { transition-delay: .15s; }
  .nav-open .nav-list li:nth-child(5) { transition-delay: .2s; }
  .nav-open .nav-list li:nth-child(6) { transition-delay: .25s; }
  body.nav-open { overflow: hidden; }

  .about-grid, .team-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; }
  .project-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .stat:nth-child(3) { border-left: 0; }

  .steps { grid-template-columns: 1fr; gap: 28px; max-width: 560px; margin-inline: auto; }
  .steps::before { top: 34px; bottom: 34px; left: 34px; right: auto; width: 1px; height: auto;
    background: repeating-linear-gradient(180deg, var(--ink) 0 6px, transparent 6px 14px); }
  .step { display: grid; grid-template-columns: 68px 1fr; column-gap: 24px; text-align: left; padding: 0; }
  .step-num { grid-row: span 2; margin: 0; }
  .step h3 { align-self: end; }

  .cta-inner { grid-template-columns: 1fr; }
  .cta .btn { grid-row: auto; grid-column: auto; justify-self: start; margin-top: 16px; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .brand-tag { display: none; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 15px; }

  .hero .eyebrow { font-size: 11px; letter-spacing: .14em; line-height: 1.8; }
  .hero .eyebrow::before { display: none; }
  .hero-title { max-width: none; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-stats { gap: 18px; justify-content: space-between; }
  .hero-stat { flex-direction: column; gap: 6px; }
  .hero-stat span { font-size: 10.5px; }
  .scroll-cue { display: none; }

  .about-media { padding: 0 8% 16% 0; }
  .about-badge { left: 0; padding: 16px 18px; }
  .about-badge strong { font-size: 36px; }
  .features { grid-template-columns: 1fr; }

  .service-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .project-lg { grid-column: auto; }

  .stat { padding-inline: 8px; }
  .founders { grid-template-columns: 1fr 1fr; gap: 14px; }
  .founder:nth-child(2) { margin-top: 28px; }
  .founder-body { padding: 16px; }
  .founder-body h3 { font-size: 21px; }
  .founder-body p { display: none; }

  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-actions .btn { flex: 1 1 100%; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }

  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

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