/* =========================================================
   Skiddaw Digital
   Modern stylesheet — low-poly mountain identity
   ========================================================= */

:root {
  /* === Stone / mountain palette === */
  --stone:        #F0EDE2;   /* page background, warm stone */
  --stone-50:     #F7F4EA;
  --stone-100:    #FBF8EE;   /* surfaces, cards */
  --stone-200:    #E5DFCD;   /* borders, hairlines */
  --stone-300:    #C8C1AB;

  --ink:          #0D1117;   /* primary text, near-black */
  --ink-2:        #1F2937;
  --slate:        #4A5560;   /* muted text */
  --slate-2:      #6B7480;

  /* === Mountain layers === */
  --sky:          #E4E8E3;
  --peak-far:     #B5C2BD;   /* furthest range, palest */
  --peak-mid:     #758678;   /* mid range */
  --peak-main-l:  #3D5A48;   /* main peak, light face */
  --peak-main-d:  #233D2E;   /* main peak, shadow face */
  --peak-sub-l:   #4A6855;
  --peak-sub-d:   #2D4837;
  --foreground:   #1A2D22;   /* deepest, front layer */
  --snow:         #F7F4EA;
  --sun:          #D9A867;   /* heather/sunset, single warm accent */

  /* === Brand accents (used sparingly) === */
  --fell:         #2D4837;   /* primary accent — deep fell green */
  --fell-bright:  #3D6750;
  --fell-deep:    #1F3328;
  --heather:      #C97A3F;   /* secondary accent, autumn fells */

  /* === Type === */
  --display: "Bricolage Grotesque", "Helvetica Neue", system-ui, sans-serif;
  --body:    "Geist", "Inter", system-ui, -apple-system, sans-serif;
  --mono:    "Geist Mono", ui-monospace, "JetBrains Mono", monospace;

  /* === Layout === */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 6px;
  --radius-lg: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--fell); color: var(--stone); }

/* =========================================================
   Header / Nav
   ========================================================= */

.site-header {
  border-bottom: 1px solid var(--stone-200);
  position: sticky;
  top: 0;
  background: rgba(240, 237, 226, 0.92);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  z-index: 100;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.95rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
}

.logo-mark {
  width: 22px;
  height: 22px;
  display: inline-block;
  flex-shrink: 0;
}

.logo .digital {
  color: var(--slate);
  font-weight: 400;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-list a {
  display: block;
  padding: 0.5rem 0.95rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.2s;
  position: relative;
  font-family: var(--body);
}

.nav-list a:hover { color: var(--ink); }
.nav-list a.active { color: var(--ink); }
.nav-list a.active::after {
  content: "";
  position: absolute;
  bottom: 0.2rem;
  left: 0.95rem;
  right: 0.95rem;
  height: 2px;
  background: var(--fell);
  border-radius: 1px;
}

.nav-cta {
  background: var(--ink);
  color: var(--stone) !important;
  border-radius: 999px;
  padding: 0.55rem 1.2rem !important;
  margin-left: 0.4rem;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--fell); }
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--stone-200);
  border-radius: 4px;
  padding: 0.45rem 0.8rem;
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 760px) {
  .nav-list { display: none; }
  .nav-list.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--stone);
    border-bottom: 1px solid var(--stone-200);
    padding: 0.5rem var(--gutter) 1rem;
    gap: 0;
  }
  .nav-list.open a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--stone-200);
  }
  .nav-list.open .nav-cta {
    margin-top: 0.75rem;
    margin-left: 0;
    text-align: center;
  }
  .nav-toggle { display: inline-block; }
}

/* =========================================================
   Layout primitives
   ========================================================= */

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

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.section-tag {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fell);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.section-tag::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--fell);
}

/* =========================================================
   Typography
   ========================================================= */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.display-xl {
  font-size: clamp(2.85rem, 8vw, 6.5rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.display-xl .accent {
  color: var(--fell);
  font-style: italic;
  font-weight: 400;
}

.display-l {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
}

.display-l .accent {
  color: var(--fell);
  font-style: italic;
  font-weight: 400;
}

.display-m {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.kicker {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.kicker .dot {
  width: 6px; height: 6px;
  background: var(--fell);
  border-radius: 50%;
  display: inline-block;
}

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: var(--slate);
  max-width: 40ch;
}

.lead-wide { max-width: 60ch; }

p { color: var(--slate); }
p strong { color: var(--ink); font-weight: 600; }

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
  letter-spacing: -0.005em;
}

.btn:hover { transform: translateY(-1px); }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--ink);
  color: var(--stone);
}
.btn-primary:hover { background: var(--fell); }

.btn-accent {
  background: var(--fell);
  color: var(--stone);
}
.btn-accent:hover { background: var(--fell-bright); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--stone); }

.cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* =========================================================
   Hero (home)
   ========================================================= */

.hero {
  padding: clamp(3.5rem, 8vw, 6rem) 0 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 4rem;
  }
}

.hero-lead {
  max-width: 34ch;
  margin-top: 1.75rem;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--slate);
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 0.25rem;
}

.coords-card {
  border: 1px solid var(--stone-200);
  background: var(--stone-100);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--slate);
  line-height: 1.7;
}

.coords-card .coord-label {
  color: var(--fell);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  margin-bottom: 0.35rem;
}

.coords-card .coord-val { color: var(--ink); }

/* === Mountain scene panel === */
.mountain-banner {
  width: 100%;
  background: var(--sky);
  border-top: 1px solid var(--stone-200);
  border-bottom: 1px solid var(--stone-200);
  position: relative;
  overflow: hidden;
}

.mountain-banner svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Strap caption under mountain */
.elev-strap {
  background: var(--ink);
  color: var(--stone);
  padding: 0.85rem 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.elev-strap-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(240, 237, 226, 0.7);
}

.elev-strap-inner .accent { color: var(--sun); }

/* =========================================================
   Services grid (home overview)
   ========================================================= */

.split-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
}

@media (min-width: 880px) {
  .split-head { grid-template-columns: 1.2fr 1fr; gap: 4rem; }
}

.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 720px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
}

.svc-card {
  background: var(--stone-100);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  transition: transform 0.25s ease, border-color 0.2s, box-shadow 0.25s ease;
}

.svc-card:hover {
  transform: translateY(-4px);
  border-color: var(--fell);
  box-shadow: 0 12px 40px -18px rgba(45, 72, 55, 0.25);
}

.svc-card .ico {
  width: 38px; height: 38px;
  margin-bottom: 0.4rem;
  color: var(--fell);
}
.svc-card .ico svg { width: 100%; height: 100%; }

.svc-card .num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--slate);
  text-transform: uppercase;
  position: absolute;
  top: 1rem;
  right: 1.25rem;
}

.svc-card h3 {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.svc-card .from-price {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--fell);
  margin-top: -0.25rem;
  font-weight: 500;
}

.svc-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--slate);
  flex-grow: 1;
}

.svc-card .more {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--fell);
  letter-spacing: 0.04em;
  margin-top: 0.5rem;
}

/* =========================================================
   Featured work rows
   ========================================================= */

.work-list {
  display: flex;
  flex-direction: column;
}

.work-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  padding: 2rem 0;
  border-top: 1px solid var(--stone-200);
  transition: padding 0.25s ease, background 0.2s ease;
  align-items: baseline;
}

.work-row:last-child { border-bottom: 1px solid var(--stone-200); }

@media (min-width: 720px) {
  .work-row {
    grid-template-columns: 80px 1fr 1fr auto;
    gap: 2rem;
    padding: 1.75rem 0;
  }
}

.work-row .num {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--slate);
}

.work-row h3 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: color 0.2s, font-style 0.2s;
}

.work-row:hover h3 {
  color: var(--fell);
  font-style: italic;
  font-weight: 400;
}

.work-row .desc { font-size: 0.95rem; color: var(--slate); }

.work-row .arrow-link {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--fell);
  letter-spacing: 0.05em;
}

/* =========================================================
   Pricing tables
   ========================================================= */

.tier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 880px) {
  .tier-grid { grid-template-columns: repeat(3, 1fr); }
}

.tier {
  background: var(--stone-100);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: border-color 0.2s, transform 0.25s, box-shadow 0.25s;
}

.tier:hover { transform: translateY(-3px); border-color: var(--fell); }

.tier.featured {
  background: var(--ink);
  color: var(--stone);
  border-color: var(--ink);
}

.tier.featured h3,
.tier.featured .tier-price { color: var(--stone); }

.tier.featured p,
.tier.featured li { color: rgba(240, 237, 226, 0.75); }

.tier.featured .tier-features li::before { color: var(--sun); }

.tier.featured .tier-badge {
  background: var(--sun);
  color: var(--ink);
}

.tier-badge {
  position: absolute;
  top: -10px;
  right: 1.5rem;
  background: var(--fell);
  color: var(--stone);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.tier-name {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}

.tier.featured .tier-name { color: rgba(240, 237, 226, 0.55); }

.tier h3 {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.tier-price {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  margin: 0.5rem 0 0.25rem;
}

.tier-price .unit {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--slate);
  margin-left: 0.25rem;
  letter-spacing: 0;
}

.tier.featured .tier-price .unit { color: rgba(240, 237, 226, 0.6); }

.tier-tagline {
  font-size: 0.92rem;
  color: var(--slate);
  margin-bottom: 0.5rem;
  font-style: italic;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.94rem;
  margin: 0.5rem 0;
}

.tier-features li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--ink);
  line-height: 1.45;
}

.tier.featured .tier-features li { color: var(--stone); }

.tier-features li::before {
  content: "▲";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: var(--fell);
  font-size: 0.7rem;
}

.tier-best-for {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--stone-200);
  font-size: 0.85rem;
  color: var(--slate);
}

.tier.featured .tier-best-for {
  border-top-color: rgba(240, 237, 226, 0.15);
}

.tier-best-for strong {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fell);
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.tier.featured .tier-best-for strong { color: var(--sun); }

/* Compact pricing rows for software services */
.price-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--stone-200);
  align-items: baseline;
}

.price-row:last-child { border-bottom: 1px solid var(--stone-200); }

@media (min-width: 720px) {
  .price-row {
    grid-template-columns: 1.3fr 2fr auto;
    gap: 2.5rem;
  }
}

.price-row h4 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.price-row p { font-size: 0.94rem; color: var(--slate); }

.price-row .price {
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--fell);
  font-weight: 500;
  white-space: nowrap;
}

/* =========================================================
   Big CTA banner
   ========================================================= */

.cta-banner {
  background: var(--ink);
  color: var(--stone);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: var(--stone);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: 1.25rem;
  line-height: 1;
}

.cta-banner h2 .accent {
  color: var(--sun);
  font-style: italic;
  font-weight: 400;
}

.cta-banner p {
  color: rgba(240, 237, 226, 0.7);
  max-width: 52ch;
  margin-bottom: 2rem;
}

.cta-banner .btn-primary {
  background: var(--stone);
  color: var(--ink);
}
.cta-banner .btn-primary:hover { background: var(--sun); }

/* Decorative mountain silhouette */
.cta-mountains {
  position: absolute;
  right: -40px;
  bottom: -20px;
  width: 60%;
  max-width: 700px;
  opacity: 0.15;
  pointer-events: none;
}

/* =========================================================
   Footer
   ========================================================= */

footer {
  background: var(--stone-50);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--stone-200);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
}

.footer-brand h3 {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand h3 .digital {
  color: var(--slate);
  font-weight: 400;
}

.footer-brand p { max-width: 34ch; font-size: 0.95rem; }

.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }

.footer-col a {
  font-size: 0.95rem;
  color: var(--ink);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--fell); }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--stone-200);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--slate);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

.footer-bottom .accent { color: var(--fell); }

/* =========================================================
   Interior page hero
   ========================================================= */

.page-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 4vw, 4rem);
  border-bottom: 1px solid var(--stone-200);
  position: relative;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  max-width: 18ch;
}

.page-hero h1 .accent {
  color: var(--fell);
  font-style: italic;
  font-weight: 400;
}

.page-hero .lead-wide {
  max-width: 58ch;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

/* Small mountain echo on interior pages */
.page-hero-mark {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(120px, 18vw, 220px);
  opacity: 0.85;
  pointer-events: none;
  display: none;
}

@media (min-width: 880px) {
  .page-hero-mark { display: block; }
  .page-hero h1, .page-hero .lead-wide { max-width: min(58ch, calc(100% - 260px)); }
}

/* =========================================================
   About page
   ========================================================= */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 880px) {
  .about-grid { grid-template-columns: 1fr 1.7fr; gap: 5rem; }
}

.about-side .sticky {
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-side .pull-quote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  line-height: 1.25;
  color: var(--ink);
}

.about-side .pull-quote::before {
  content: "“";
  color: var(--fell);
  font-size: 1.5em;
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 0.05em;
}

.meta-card {
  border-top: 1px solid var(--stone-200);
  padding-top: 0.95rem;
}

.meta-card .label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.35rem;
}

.meta-card .value {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.prose {
  max-width: 62ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
}

.prose p { margin-bottom: 1.25rem; color: var(--slate); }
.prose p strong { color: var(--ink); }

.prose h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 2.5rem 0 0.85rem;
  letter-spacing: -0.02em;
}

.prose ul {
  list-style: none;
  margin: 1rem 0 1.5rem;
  padding: 0;
}

.prose ul li {
  padding: 0.55rem 0 0.55rem 1.5rem;
  position: relative;
  color: var(--ink);
  border-bottom: 1px solid var(--stone-200);
  font-size: 1rem;
}

.prose ul li:last-child { border-bottom: none; }

.prose ul li::before {
  content: "▲";
  position: absolute;
  left: 0;
  color: var(--fell);
  font-size: 0.7rem;
  top: 0.95rem;
}

/* =========================================================
   Work / case study pages
   ========================================================= */

.case {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--stone-200);
}

.case:last-child { border-bottom: none; }

.case-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
  align-items: end;
}

@media (min-width: 880px) {
  .case-head { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.case-meta-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fell);
  margin-bottom: 0.85rem;
}

.case h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.case h2 .accent {
  color: var(--fell);
  font-style: italic;
  font-weight: 400;
}

.case-visual {
  background: var(--sky);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.case-visual svg { width: 100%; height: 100%; }

.case-visual.dark { background: var(--ink); }

.case-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 880px) {
  .case-body { grid-template-columns: 1fr 2fr; gap: 4rem; }
}

.case-facts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.95rem;
}

.case-facts dt {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--slate);
  margin-bottom: 0.3rem;
}

.case-facts dd {
  color: var(--ink);
  font-size: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--stone-200);
}

.case-facts dd a {
  color: var(--fell);
  border-bottom: 1px solid var(--fell);
}

.case-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 1.25rem;
  max-width: 60ch;
}

.case-text p:first-child::first-letter {
  font-family: var(--display);
  font-style: italic;
  font-size: 3.5em;
  float: left;
  line-height: 0.85;
  padding: 0.15em 0.1em 0 0;
  color: var(--fell);
}

.aside-card {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--stone-100);
  border-left: 3px solid var(--fell);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.aside-card .lbl {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fell);
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.aside-card p {
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.5rem !important;
  line-height: 1.55;
}

.aside-card p:last-child { margin-bottom: 0 !important; }

/* =========================================================
   Contact page
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 880px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.contact-block { margin-bottom: 2rem; }

.contact-block .lbl {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.55rem;
}

.contact-block .val {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.contact-block .val a {
  border-bottom: 1px solid var(--fell);
  transition: color 0.2s;
}
.contact-block .val a:hover { color: var(--fell); }

.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--stone-100);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.field { display: flex; flex-direction: column; gap: 0.45rem; }

.field label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

.field input,
.field textarea,
.field select {
  font-family: var(--body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  background: var(--stone);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color 0.2s;
  width: 100%;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--fell);
}

.field textarea { resize: vertical; min-height: 120px; }

.form .btn { align-self: flex-start; margin-top: 0.5rem; }

.form-note {
  font-size: 0.82rem;
  color: var(--slate);
  font-family: var(--mono);
  margin-top: 0.5rem;
  letter-spacing: 0.04em;
}

/* =========================================================
   FAQ
   ========================================================= */

.faq { border-top: 1px solid var(--stone-200); }

.faq details {
  border-bottom: 1px solid var(--stone-200);
  padding: 1.5rem 0;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  color: var(--fell);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq details[open] summary::after { content: "−"; }

.faq details p {
  margin-top: 1rem;
  max-width: 70ch;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--slate);
}

/* =========================================================
   Reveal animation
   ========================================================= */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
