/* Granite Peak Builders — dumecreative website template
   Light, editorial, one accent. */

:root {
  --ground: #f4f2ed;
  --paper: #fbfaf7;
  --ink: #1b1d1a;
  --ink-2: #4a4d47;
  --ink-3: #5f625a;
  --hair: rgba(27, 29, 26, 0.09);
  --hair-2: rgba(27, 29, 26, 0.16);
  --accent: #2f4a3a;
  --accent-ink: #f4f2ed;
  --accent-soft: #e3e8e1;
  --danger: #9b2c1f;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --shadow: 0 1px 2px rgba(47, 52, 40, 0.04), 0 12px 40px -12px rgba(47, 52, 40, 0.14);

  --z-nav: 10;
  --z-menu: 20;
  --z-grain: 30;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: var(--z-grain);
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -60px;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; border-radius: 999px; text-decoration: none;
  z-index: var(--z-menu); transition: top .3s var(--ease);
}
.skip:focus { top: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.display { font-size: clamp(2.75rem, 7vw, 6rem); line-height: 0.98; font-variation-settings: "opsz" 144; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.04; font-variation-settings: "opsz" 120; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.15; }
.display em, .h2 em { font-style: italic; color: var(--accent); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-2); max-width: 58ch; text-wrap: pretty; }
p { max-width: 65ch; text-wrap: pretty; }
.muted { color: var(--ink-3); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2);
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px var(--hair);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Nav (floating island) ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: var(--z-nav);
  width: min(calc(100% - 24px), 1120px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 20px;
  background: rgba(251, 250, 247, 0.78);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--hair), 0 8px 30px -12px rgba(47,52,40,.18);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; min-height: 44px; }
.brand svg { width: 26px; height: 26px; color: var(--accent); }
.brand small { display: block; font-weight: 400; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); line-height: 1; }
.brand span { line-height: 1.1; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-size: 14.5px; text-decoration: none; color: var(--ink-2); border-radius: 999px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.nav-links a:hover { background: rgba(27,29,26,.05); color: var(--ink); }
.nav-links a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.nav-cta { display: flex; align-items: center; gap: 6px; }
.nav-phone { font-size: 14.5px; text-decoration: none; color: var(--ink-2); padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; }
.nav-phone:hover { color: var(--ink); }

.burger {
  display: none; position: relative; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--ink); cursor: pointer;
}
.burger span {
  position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--paper);
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: calc(var(--z-nav) - 1);
  background: rgba(244, 242, 237, 0.92);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.menu-open .menu { opacity: 1; visibility: visible; }
.menu a {
  font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1.2; text-decoration: none;
  transform: translateY(40px); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease);
}
.menu a[aria-current="page"] { font-style: italic; color: var(--accent); }
.menu-open .menu a { transform: none; opacity: 1; }
.menu-open .menu a:nth-child(2) { transition-delay: .05s; }
.menu-open .menu a:nth-child(3) { transition-delay: .1s; }
.menu-open .menu a:nth-child(4) { transition-delay: .15s; }
.menu-open .menu a:nth-child(5) { transition-delay: .2s; }
.menu-open .menu a:nth-child(6) { transition-delay: .25s; }
.menu .menu-meta { margin-top: 40px; font-family: var(--sans); font-size: 16px; color: var(--ink-2); }
.menu .menu-meta a { font-family: var(--sans); font-size: 16px; }

@media (max-width: 960px) {
  .nav-links, .nav-phone { display: none; }
  .burger { display: block; }
  .nav .btn { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 6px 6px 6px 22px;
  background: var(--bg); color: var(--fg);
  border: 0; border-radius: 999px; font: 500 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.btn:hover { box-shadow: 0 10px 24px -10px rgba(27,29,26,.45); }
.btn:active { transform: scale(0.98); }
.btn .ico {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.14);
  transition: transform .5s var(--ease);
}
.btn .ico svg { width: 15px; height: 15px; }
.btn:hover .ico { transform: translate(2px, -1px) scale(1.06); }
.btn--accent { --bg: var(--accent); --fg: var(--accent-ink); }
.btn--light { --bg: var(--paper); --fg: var(--ink); }
.btn--light .ico { background: rgba(27,29,26,.07); }
.btn--sm { min-height: 44px; font-size: 14.5px; padding-left: 18px; }
.btn--sm .ico { width: 32px; height: 32px; }
.link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 500; text-decoration: none; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link:hover { background-size: 100% 1px; }
.link svg { width: 14px; height: 14px; }

/* ---------- Bezel cards ---------- */
.bezel {
  padding: 6px; border-radius: var(--r-xl);
  background: rgba(255,255,255,.45); box-shadow: inset 0 0 0 1px var(--hair);
}
.bezel > .core {
  border-radius: calc(var(--r-xl) - 6px); background: var(--paper); overflow: hidden; height: 100%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), var(--shadow);
}

/* ---------- Sections ---------- */
section { padding: clamp(80px, 11vw, 160px) 0; }
.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head p { margin: 0; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Hero ---------- */
.hero { padding: 120px 0 0; }
.hero-frame {
  position: relative; border-radius: 34px; overflow: hidden;
  min-height: min(86dvh, 820px);
  display: flex; align-items: flex-end;
  color: #fff;
  isolation: isolate;
}
.hero-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transform: scale(1.06); animation: settle 2.4s var(--ease) forwards;
}
@keyframes settle { to { transform: scale(1); } }
.hero-frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15,20,16,.1) 0%, rgba(15,20,16,0) 35%, rgba(15,20,16,.72) 100%),
    radial-gradient(120% 80% at 0% 100%, rgba(20,34,25,.55), transparent 60%);
}
.hero-body { width: 100%; padding: clamp(24px, 5vw, 64px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.hero-body .eyebrow { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); backdrop-filter: none; }
.hero-body .eyebrow::before { background: #cfe0c9; }
.hero-body .display em { color: #d9e6d3; }
.hero-side { justify-self: end; max-width: 380px; }
.hero-side p { color: rgba(255,255,255,.86); margin: 0 0 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hero-actions .link { color: #fff; padding: 0 12px; }
@media (max-width: 860px) {
  .hero { padding-top: 88px; }
  .hero-frame { border-radius: 24px; min-height: 78dvh; }
  .hero-body { grid-template-columns: 1fr; gap: 20px; }
  .hero-side { justify-self: start; }
}

/* Proof strip */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 20px; }
.proof div { padding: 24px 24px 8px; border-left: 1px solid var(--hair-2); }
.proof div:first-child { border-left: 0; padding-left: 0; }
.proof strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.proof span { font-size: 14px; color: var(--ink-3); }
@media (max-width: 720px) {
  .proof { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .proof div:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---------- Intro split ---------- */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro-media { position: relative; }
.intro-media .bezel { transform: rotate(-1.2deg); }
.intro-media .tag {
  position: absolute; right: -8px; bottom: 28px;
  background: var(--paper); border-radius: var(--r-md); padding: 14px 18px; box-shadow: var(--shadow), inset 0 0 0 1px var(--hair);
  font-size: 14px; max-width: 220px;
}
.intro-media .tag strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; }
.intro-media img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
@media (max-width: 860px) {
  .intro { grid-template-columns: 1fr; }
  .intro-media .bezel { transform: none; }
  .intro-media .tag { right: 12px; }
}

/* ---------- Services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.tile { position: relative; grid-column: span 4; min-height: 300px; text-decoration: none; color: inherit; }
.tile .core { display: flex; flex-direction: column; justify-content: space-between; padding: 26px; position: relative; isolation: isolate; }
.tile.wide { grid-column: span 8; }
.tile.half { grid-column: span 6; }
.tile.tall { grid-row: span 2; }
.tile .core > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile.photo .core { color: #fff; }
.tile.photo .core::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,14,11,0) 30%, rgba(10,14,11,.7)); }
.tile.photo p { color: rgba(255,255,255,.85); }
.tile:hover .core > img { transform: scale(1.04); }
.tile .idx { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.tile.photo .idx { color: rgba(255,255,255,.75); }
.tile p { margin: 8px 0 0; font-size: 15.5px; color: var(--ink-2); max-width: 42ch; }
.tile .arrow {
  position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(27,29,26,.06);
  transition: transform .5s var(--ease), background .5s var(--ease);
}
.tile.photo .arrow { background: rgba(255,255,255,.18); }
.tile .arrow svg { width: 15px; height: 15px; }
.tile:hover .arrow { transform: rotate(-45deg); background: var(--accent); color: var(--accent-ink); }
.tile.mesh .core {
  color: #f4f6f1;
  background:
    radial-gradient(60% 70% at 85% 10%, #4a6649 0%, transparent 60%),
    radial-gradient(70% 80% at 10% 100%, #7d5e3c 0%, transparent 55%),
    radial-gradient(80% 80% at 50% 50%, #3b5a47 0%, #253a2e 100%);
}
.tile.mesh p, .tile.mesh .idx { color: #e2e6de; }
.tile.mesh .arrow { background: rgba(255,255,255,.16); }
@media (max-width: 960px) {
  .tile, .tile.wide, .tile.half { grid-column: span 6; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile, .tile.wide, .tile.half { grid-column: auto; grid-row: auto; min-height: 260px; }
}

/* ---------- Project grid ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.chip {
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  font: 500 14.5px var(--sans); color: var(--ink-2);
  background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px var(--hair);
  transition: background .3s var(--ease), color .3s var(--ease);
}
a.chip { display: inline-flex; align-items: center; text-decoration: none; }
.chip:hover { color: var(--ink); background: #fff; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.projects { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.project { grid-column: span var(--span, 4); text-decoration: none; color: inherit; }
.project.stretch .frame { aspect-ratio: 16/9; }
.project figure { margin: 0; }
.project .frame { border-radius: var(--r-lg); overflow: hidden; background: var(--accent-soft); aspect-ratio: 4/3; }
.project.feature .frame { aspect-ratio: auto; height: 100%; min-height: 100%; }
.project.feature figure { display: grid; grid-template-rows: 1fr auto; height: 100%; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project:hover img { transform: scale(1.035); }
.project figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 4px 6px; }
.project figcaption strong { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; letter-spacing: -0.01em; }
.project figcaption span { font-size: 13.5px; color: var(--ink-3); white-space: nowrap; }
.project[hidden] { display: none; }
.empty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; color: var(--ink-3); }
@media (max-width: 860px) {
  .project, .project.feature { grid-column: span 6; }
  .project.feature .frame { aspect-ratio: 4/3; height: auto; min-height: 0; }
  .project.feature figure { display: block; }
}
@media (max-width: 560px) {
  .projects { grid-template-columns: minmax(0, 1fr); }
  .project, .project.feature { grid-column: auto; }
}

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--hair-2); }
.step { padding: 28px 24px 0 0; counter-increment: s; }
.step::before { content: "0" counter(s); display: block; font-size: 13px; color: var(--accent); font-weight: 500; margin-bottom: 36px; font-variant-numeric: tabular-nums; }
.step h3 { margin-bottom: 10px; }
.step p { font-size: 15.5px; color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 12px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step::before { margin-bottom: 14px; } }

/* ---------- Quote wall ---------- */
.quotes { columns: 3 300px; column-gap: 14px; }
.quote { break-inside: avoid; margin: 0 0 14px; }
.quote .core { padding: 28px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.4; letter-spacing: -0.01em; }
.quote.big blockquote { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.25; }
.quote figcaption { margin-top: 22px; display: flex; align-items: center; gap: 12px; font-size: 14.5px; }
.quote figcaption .mono {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 14px;
}
.quote figcaption span { color: var(--ink-3); display: block; }

/* ---------- Fire rebuild band ---------- */
.band { position: relative; border-radius: 34px; overflow: hidden; color: #f4f2ed; isolation: isolate;
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(185,143,95,.55), transparent 60%),
    radial-gradient(80% 80% at 0% 100%, rgba(111,141,108,.5), transparent 60%),
    #1f2f26;
  padding: clamp(32px, 6vw, 80px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
}
.band .eyebrow { background: rgba(255,255,255,.1); color: #f4f2ed; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.band .eyebrow::before { background: #d8b98f; }
.band .h2 em { color: #e3c9a3; }
.band p { color: rgba(244,242,237,.82); }
.band ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.band li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 15.5px; }
.band li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: #d8b98f; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; border-radius: 24px; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: clamp(140px, 16vw, 200px) 0 clamp(48px, 6vw, 80px); }
.page-head .display { max-width: 16ch; }
.page-head .lede { margin-top: 24px; }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* ---------- Timeline (about) ---------- */
.timeline { display: grid; gap: 0; border-top: 1px solid var(--hair-2); }
.timeline li { list-style: none; display: grid; grid-template-columns: 160px 1fr; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--hair-2); }
.timeline time { font-family: var(--serif); font-size: 2rem; letter-spacing: -0.02em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.timeline h3 { margin-bottom: 6px; }
.timeline p { margin: 0; color: var(--ink-2); }
.timeline ol { padding: 0; margin: 0; }
@media (max-width: 640px) { .timeline li { grid-template-columns: 1fr; gap: 10px; } }

.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.person .core { padding: 26px; }
.person .role { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.person h3 { margin: 8px 0 10px; }
.person p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 860px) { .people { grid-template-columns: 1fr; } }

.areas { display: flex; flex-wrap: wrap; gap: 8px; }
.areas li { list-style: none; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px var(--hair); font-size: 15px; }
.areas { padding: 0; margin: 0; }

/* ---------- Service detail rows ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--hair-2); scroll-margin-top: 100px; }
.svc:nth-child(even) .svc-media { order: 2; }
.svc-media { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5/4; background: var(--accent-soft); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc .idx { font-size: 13px; color: var(--accent); font-weight: 500; margin-bottom: 14px; display: block; font-variant-numeric: tabular-nums; }
.svc ul { padding: 0; margin: 20px 0 24px; list-style: none; display: grid; gap: 8px; }
.svc li { display: flex; gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.svc li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 10px; border-radius: 50%; background: var(--accent); }
@media (max-width: 860px) {
  .svc { grid-template-columns: 1fr; }
  .svc:nth-child(even) .svc-media { order: 0; }
}

/* ---------- Form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.office { padding: 26px; }
.office + .office { border-top: 1px solid var(--hair); }
.office h3 { font-size: 1.3rem; margin-bottom: 8px; }
.office p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.office a { text-decoration: none; }
.office a:hover { text-decoration: underline; }

form .core { padding: clamp(22px, 3.5vw, 40px); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: var(--ink); padding: 0; }
.field .opt { color: var(--ink-3); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 16px;
  font: 16px var(--sans); color: var(--ink);
  background: var(--ground); border: 0; border-radius: var(--r-sm);
  box-shadow: inset 0 0 0 1px var(--hair);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px var(--hair-2); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px rgba(47,74,58,.12); }
.field[data-invalid] input, .field[data-invalid] textarea { box-shadow: inset 0 0 0 1.5px var(--danger); }
.field .err { font-size: 13.5px; color: var(--danger); display: none; }
.field[data-invalid] .err { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  font-size: 14.5px; font-weight: 400; color: var(--ink-2);
  background: var(--ground); box-shadow: inset 0 0 0 1px var(--hair);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.pills span:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair-2); }
.pills input:checked + span { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.pills input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.form-foot small { color: var(--ink-3); font-size: 13.5px; max-width: 40ch; }
.success { display: none; padding: 8px 0; }
.success h3 { margin-bottom: 8px; }
form.sent .fields, form.sent .form-foot { display: none; }
form.sent .success { display: block; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }

/* ---------- CTA + Footer ---------- */
.cta { text-align: left; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.cta .actions { justify-self: end; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta .actions { justify-self: start; } }

footer { padding: 72px 0 40px; border-top: 1px solid var(--hair-2); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.foot a { text-decoration: none; color: var(--ink-2); display: inline-flex; min-height: 44px; align-items: center; }
.foot a:hover { color: var(--ink); }
.foot p { font-size: 15px; color: var(--ink-2); margin: 0 0 6px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; font-size: 13.5px; color: var(--ink-3); }
.legal a { color: var(--ink-3); text-decoration: none; }
.legal a:hover { color: var(--ink); }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot { grid-template-columns: 1fr; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }

/* ---------- dumecreative template: grids resized for this template's counts ---------- */
/* Proof strip: three figures, not four. */
.proof { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .proof { grid-template-columns: 1fr 1fr; } }
/* Leadership: two people, not three. */
.people { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .people { grid-template-columns: 1fr; } }
/* Footer: three columns, not four. */
.foot { grid-template-columns: 1.6fr 1fr 1fr; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot { grid-template-columns: 1fr; } }
/* Process strips: five stages on the home page, six on the rebuild page. */
.steps-5 { grid-template-columns: repeat(5, 1fr); }
.steps-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1080px) { .steps-5, .steps-6 { grid-template-columns: repeat(3, 1fr); row-gap: 12px; } }
@media (max-width: 620px) { .steps-5, .steps-6 { grid-template-columns: 1fr; } }
/* Service rows are split around the rebuild band, so nth-child() restarts in
   the second group. Flip it there to keep the left/right alternation running. */
.svc-flip .svc:nth-child(odd) .svc-media { order: 2; }
.svc-flip .svc:nth-child(even) .svc-media { order: 0; }
@media (max-width: 860px) { .svc-flip .svc:nth-child(odd) .svc-media { order: 0; } }
/* Services bento: five tiles, so the fifth fills the row at tablet width. */
@media (min-width: 641px) and (max-width: 960px) { .bento > .tile:nth-child(5) { grid-column: span 12; } }
/* The footer's Careers and Contact links and the breadcrumb's Home link were 18px tall
   (Home 38px wide): a 44px target both ways, the negative block margin giving the line
   back its height so nothing around them moves. */
.legal a, .crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; margin-block: -13px; }
