/* ==========================================================================
   Local Domain Presence — site styles
   Converted from the Framer project "Local Domain Presence — Website".
   Breakpoints match Framer: Desktop ≥1200px · Tablet 810–1199px · Phone <810px
   ========================================================================== */

/* ---------- Fonts (Inter variable, served from the jsDelivr CDN) ---------- */
@font-face {
  font-family: "InterVar";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("https://cdn.jsdelivr.net/npm/@fontsource-variable/inter@5.3.0/files/inter-latin-opsz-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "InterVar";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("https://cdn.jsdelivr.net/npm/@fontsource-variable/inter@5.3.0/files/inter-latin-ext-opsz-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design tokens (same names as the Framer color styles) ---------- */
:root {
  --background: #f3efe7;
  --surface: #fcfbf8;
  --surface-raised: #e9e4d9;
  --text: #1e1c1a;
  --text-muted: #6d6962;
  --accent: #d6f25b;          /* Accent Lime */
  --ink-on-accent: #1e1c1a;
  --dark: #1e1c1a;
  --dark-raised: #2a2725;
  --on-dark: #f3efe7;
  --on-dark-muted: #b4b0a9;

  --line: rgba(30, 28, 26, 0.10);       /* borders on light */
  --line-dark: rgba(243, 239, 231, 0.12); /* borders on dark */

  --container: 1200px;
  --gutter: 40px;
  --section-y: 128px;

  --font: "InterVar", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--background);
  color: var(--text);
  font-family: var(--font);
  font-variation-settings: "opsz" 14;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
[id] { scroll-margin-top: 72px; }

/* ---------- Typography (Framer text styles) ---------- */
.t-display, .t-h2, .t-card, .t-statement, .t-stat {
  font-variation-settings: "opsz" 32; /* "Inter Display" */
  font-weight: 500;
}
.t-display   { font-size: 72px; line-height: 1.02em; letter-spacing: -0.035em; color: var(--text); text-wrap: balance; }
.t-h2        { font-size: 52px; line-height: 1.06em; letter-spacing: -0.03em;  color: var(--text); text-wrap: balance; }
.t-card      { font-size: 28px; line-height: 1.15em; letter-spacing: -0.02em;  color: var(--text); }
.t-statement { font-size: 42px; line-height: 1.2em;  letter-spacing: -0.025em; color: var(--on-dark); text-wrap: balance; }
.t-stat      { font-size: 56px; line-height: 1em;    letter-spacing: -0.03em;  color: var(--text); font-variant-numeric: tabular-nums; }

.t-h3      { font-size: 17px; font-weight: 600; line-height: 1.35em; letter-spacing: -0.01em; color: var(--text); }
.t-lead    { font-size: 19px; font-weight: 400; line-height: 1.55em; letter-spacing: -0.02em; color: var(--text-muted); text-wrap: pretty; }
.t-body    { font-size: 15px; font-weight: 400; line-height: 1.6em;  letter-spacing: -0.02em; color: var(--text-muted); text-wrap: pretty; }
.t-label   { font-size: 15px; font-weight: 500; line-height: 1.2em;  letter-spacing: -0.02em; color: var(--text); }
.t-eyebrow { font-size: 11px; font-weight: 600; line-height: 1.2em;  letter-spacing: 0.1em;  color: var(--text); text-transform: uppercase; }
.t-meta    { font-size: 12px; font-weight: 500; line-height: 1.5em;  letter-spacing: 0.04em; color: var(--text-muted); text-transform: uppercase; }

.c-on-dark { color: var(--on-dark); }
.c-on-dark-muted { color: var(--on-dark-muted); }
.c-text { color: var(--text); }
.c-accent { color: var(--accent); }
.c-dim { color: #8a857e; }

/* ---------- Layout helpers ---------- */
.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: var(--section-y) var(--gutter);
  overflow: clip;
}
.section--flush-top { padding-top: 0; }
.section--dark { background: var(--dark); }
.section--surface { background: var(--surface); }
.container {
  width: var(--container);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* ---------- Small shared pieces ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 100px;
  border: 1px solid var(--line);
  align-self: flex-start;
}
.pill--dark { border-color: var(--line-dark); }
.pill__dot { width: 6px; height: 6px; border-radius: 10px; background: var(--accent); flex: none; }

.tag {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 100px;
  background: var(--background);
}

.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li > span:last-child { flex: 1; }
.dot-icon {
  width: 22px; height: 22px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 100px;
  background: var(--accent);
  color: var(--ink-on-accent);
}
.dot-icon svg { width: 12px; height: 12px; }
.dot-icon--dark { background: var(--dark); color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 100px;
  border: 0;
  cursor: pointer;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}
.btn:hover { opacity: 0.88; }
.btn--accent { background: var(--accent); color: var(--ink-on-accent); }
.btn--dark { background: var(--dark); color: var(--on-dark); padding: 14px 20px; }
.btn--ghost { border: 1px solid var(--line-dark); color: var(--on-dark); }
.btn--sm { padding: 10px 18px; }
.btn--block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  height: 72px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 28, 26, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.nav__inner {
  width: var(--container);
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); }
.brand__mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
}
.brand__mark::after { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--dark); }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a { color: var(--on-dark-muted); transition: color 0.2s ease; }
.nav__links a:hover { color: var(--on-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  background: var(--dark) center / cover no-repeat;
  overflow: clip;
}
.hero__shade {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 80px;
  min-height: 780px;
  padding: 140px var(--gutter) 40px;
  background: linear-gradient(180deg, rgba(20, 18, 16, 0.45) 0%, rgba(20, 18, 16, 0.70) 55%, rgba(20, 18, 16, 0.95) 100%);
}
.hero__row {
  width: var(--container);
  max-width: 100%;
  display: flex;
  align-items: flex-end;
  gap: 64px;
}
.hero__copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.hero__copy .t-lead { max-width: 620px; color: var(--on-dark-muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.pipeline {
  width: 400px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.pipeline__head { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 8px; }
.pipeline__status { display: inline-flex; align-items: center; gap: 8px; }
.pipeline__status i { width: 7px; height: 7px; border-radius: 10px; background: var(--accent); }
.pipeline__row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}
.pipeline__row > :nth-child(2) { flex: 1; color: var(--on-dark); }
.pipeline__row .t-meta { color: var(--on-dark-muted); }
.pipeline__row--done { background: var(--accent); }
.pipeline__row--done > *, .pipeline__row--done .t-meta, .pipeline__row--done > :nth-child(2) { color: var(--ink-on-accent); }

.stack-row {
  width: var(--container);
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}
.stack-row .t-label { color: var(--on-dark); opacity: 0.8; }

/* ---------- Section headers ---------- */
.head-split { display: flex; align-items: flex-end; gap: 40px; }
.head-split__main { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.head-split > .t-lead { width: 420px; flex: none; }

/* ---------- Signature systems ---------- */
.systems { display: flex; gap: 24px; align-items: flex-start; }
.system {
  flex: 1;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: clip;
  display: flex;
  flex-direction: column;
}
.system__media {
  height: 280px;
  padding: 20px;
  background: var(--surface-raised) center / cover no-repeat;
}
.system__media .chip {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 100px;
  background: rgba(252, 251, 248, 0.92);
}
.system__body { padding: 36px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.system__intro { display: flex; flex-direction: column; gap: 12px; }
.system .check-list .t-body { color: var(--text); }

/* ---------- Proof ---------- */
.proof { display: flex; align-items: center; gap: 64px; }
.proof__media {
  flex: 1;
  height: 600px;
  border-radius: 20px;
  overflow: clip;
  background: var(--surface-raised) center / cover no-repeat;
}
.proof__copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.stats { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat {
  display: flex; flex-direction: column; gap: 14px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

/* ---------- Statement ---------- */
.statement { align-items: center; gap: 32px; }
.statement .pill { align-self: center; }
.statement .t-statement { max-width: 960px; text-align: center; }

/* ---------- Capabilities ---------- */
.cap-head { width: 760px; max-width: 100%; display: flex; flex-direction: column; gap: 20px; }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cap {
  display: flex; flex-direction: column; gap: 48px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.cap:hover { transform: translateY(-4px); }
.cap__icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--accent);
  color: var(--ink-on-accent);
  display: inline-flex; align-items: center; justify-content: center;
}
.cap__icon svg { width: 22px; height: 22px; }
.cap__text { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Selected work ---------- */
.cases { border-bottom: 1px solid var(--line); }
.case {
  display: flex;
  gap: 48px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.case__meta { width: 220px; flex: none; display: flex; flex-direction: column; gap: 10px; }
.case__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.case__tags { width: 240px; flex: none; display: flex; flex-wrap: wrap; justify-content: flex-end; align-content: flex-start; gap: 8px; }
.case__tags .t-meta { color: var(--text); }

/* ---------- Process ---------- */
.process { display: flex; gap: 64px; align-items: flex-start; }
.process__intro { flex: 1; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.steps { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.step {
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.step__num { padding: 6px 12px; border-radius: 100px; background: var(--accent); }

/* ---------- FAQ ---------- */
.faq { display: flex; gap: 64px; align-items: flex-start; }
.faq__intro { width: 400px; flex: none; display: flex; flex-direction: column; gap: 20px; }
.faq__list { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  display: flex; flex-direction: column; gap: 10px;
  padding: 26px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

/* ---------- Contact ---------- */
.contact { display: flex; gap: 64px; align-items: flex-start; }
.contact__copy { flex: 1; min-width: 0; padding-top: 16px; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.contact__copy .t-lead { color: var(--on-dark-muted); }
.contact__copy .check-list .t-body { color: var(--on-dark); }
.contact__email { display: inline-flex; align-items: center; gap: 10px; padding-top: 8px; color: var(--on-dark); }
.contact__email svg { width: 18px; height: 18px; color: var(--accent); }
.contact__email:hover .t-label { text-decoration: underline; text-underline-offset: 3px; }

.form {
  width: 520px;
  flex: none;
  display: flex; flex-direction: column; gap: 18px;
  padding: 36px;
  background: var(--surface);
  border-radius: 24px;
}
.form__row { display: flex; gap: 12px; }
.field { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--background);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.2em;
  letter-spacing: 0;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.45em; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%236d6962'%3E%3Cpath d='M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
  padding-right: 40px;
  cursor: pointer;
}
.field select:invalid { color: #8a857e; }
.field input::placeholder, .field textarea::placeholder { color: #8a857e; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(214, 242, 91, 0.6);
}
.form .btn { transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1); }
.form .btn:active { transform: scale(0.98); }
.form .btn[disabled] { opacity: 0.6; cursor: progress; }
.form__note { text-align: center; }
.form__status { text-align: center; display: none; }
.form__status.is-visible { display: block; }
.form__status.is-error { color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer {
  display: flex; justify-content: center;
  padding: 40px var(--gutter);
  background: var(--dark);
  border-top: 1px solid var(--line-dark);
}
.footer__inner {
  width: var(--container); max-width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.footer .t-meta { color: var(--on-dark-muted); }

/* ==========================================================================
   Tablet — 810px to 1199px
   ========================================================================== */
@media (max-width: 1199.98px) {
  :root { --gutter: 32px; --section-y: 96px; }

  .t-display   { font-size: 56px; }
  .t-h2        { font-size: 42px; }
  .t-card      { font-size: 26px; }
  .t-statement { font-size: 34px; }
  .t-lead      { font-size: 18px; }

  .nav__links { display: none; }

  .hero__shade { gap: 56px; min-height: 720px; padding: 120px var(--gutter) 32px; }
  .hero__row { flex-direction: column; align-items: flex-start; gap: 40px; }
  .hero__copy { width: 100%; }
  .pipeline { width: 100%; }

  .head-split { flex-direction: column; align-items: flex-start; gap: 20px; }
  .head-split__main { width: 100%; }
  .head-split > .t-lead { width: 100%; }

  .systems { flex-direction: column; gap: 20px; }
  .system { width: 100%; }

  .proof { flex-direction: column; align-items: flex-start; gap: 40px; }
  .proof__media { flex: none; width: 100%; height: 480px; }
  .proof__copy { width: 100%; }


  .cap-grid { grid-template-columns: repeat(2, 1fr); }

  .case { flex-direction: column; gap: 16px; padding: 32px 0; }
  .case__meta { width: 100%; flex-direction: row; gap: 16px; }
  .case__tags { width: 100%; justify-content: flex-start; }

  .process { flex-direction: column; gap: 40px; }
  .process__intro, .steps { width: 100%; }

  .faq { flex-direction: column; gap: 32px; }
  .faq__intro { width: 100%; }
  .faq__list { width: 100%; }

  .contact { flex-direction: column; gap: 40px; }
  .contact__copy { width: 100%; }
  .form { width: 100%; }
}

/* ==========================================================================
   Phone — below 810px
   ========================================================================== */
@media (max-width: 809.98px) {
  :root { --gutter: 20px; --section-y: 72px; }

  .t-display   { font-size: 42px; }
  .t-h2        { font-size: 34px; }
  .t-card      { font-size: 24px; }
  .t-statement { font-size: 26px; }
  .t-lead      { font-size: 17px; }

  .container { gap: 40px; }

  .nav { height: 64px; }
  [id] { scroll-margin-top: 64px; }

  .hero__shade { gap: 48px; min-height: 640px; padding: 96px var(--gutter) 28px; }

  .system__media { height: 220px; }
  .system__body { padding: 24px; }

  .proof__media { height: 320px; }
  .stats { grid-template-columns: 1fr; }

  .statement { gap: 40px; }

  .cap-grid { grid-template-columns: 1fr; gap: 12px; }
  .cap { gap: 28px; padding: 24px; }

  .form { padding: 24px; border-radius: 20px; }
  .form__row { flex-direction: column; gap: 18px; }

  .footer { padding: 32px var(--gutter); }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cap, .btn, .form .btn { transition: none; }
  .cap:hover { transform: none; }
}

/* Statement section uses its own vertical rhythm (144 / 112 / 88) */
.section--statement { padding-top: 144px; padding-bottom: 144px; }
@media (max-width: 1199.98px) { .section--statement { padding-top: 112px; padding-bottom: 112px; } }
@media (max-width: 809.98px)  { .section--statement { padding-top: 88px;  padding-bottom: 88px; } }

/* Let text blocks fill their column inside left-aligned stacks */
.system__intro, .system .check-list, .contact__copy .check-list, .hero__copy > .t-display,
.proof__copy > .t-h2, .proof__copy > .t-lead, .process__intro > .t-h2, .process__intro > .t-lead,
.contact__copy > .t-display, .contact__copy > .t-lead, .step > .t-card, .step > .t-body { align-self: stretch; }
