/* Vallon Construction · vallonworks.com */

@font-face { font-family: 'Newsreader'; src: url('/fonts/newsreader.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('/fonts/newsreader-italic.woff2') format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/fonts/archivo.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('/fonts/plexmono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('/fonts/plexmono-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --ink: #1F1F1F;
  --paper: #F1EFE4;
  --sage: #D0CEB2;
  --stone: #E4E1D3;
  --body: #3A3934;
  --muted: #55534A;
  --sage-dim: #A9A796;
  --rule: rgba(31, 31, 31, 0.18);
  --rule-dark: rgba(208, 206, 178, 0.3);

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Archivo', system-ui, -apple-system, sans-serif;
  --mono: 'Plex Mono', ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --section: clamp(64px, 8vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--muted); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--sage); }
::selection { background: var(--sage); color: var(--ink); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.mono { font-family: var(--mono); }
.label { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.sage { background: var(--sage); }
.dark { background: var(--ink); color: var(--sage); }

/* Display type */
.display { font-family: var(--serif); font-weight: 300; letter-spacing: -0.03em; line-height: 1; font-variation-settings: 'opsz' 72; }
.display em { font-style: italic; font-weight: 400; }
.h-xl { font-size: clamp(58px, 12vw, 196px); line-height: 0.92; letter-spacing: -0.035em; }
.h-lg { font-size: clamp(48px, 6vw, 88px); line-height: 0.95; letter-spacing: -0.035em; }
.h-md { font-size: clamp(40px, 4.8vw, 68px); }
.lede { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.4; max-width: 520px; }
.prose { font-size: 18px; line-height: 1.65; max-width: 520px; color: var(--body); }
.dark .prose { color: var(--sage); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 24px; background: var(--ink); color: var(--paper); font: 600 15px/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; transition: background .2s ease; }
.btn:hover { background: #000; color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.arr { display: inline-block; transition: transform .25s ease; }
a:hover .arr, button:hover .arr { transform: translateX(3px); }

/* Header */
.hd-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 22px; padding-bottom: 22px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo svg { height: 22px; width: auto; }
.ft-base .logo svg { height: 20px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; font-size: 14px; font-weight: 500; }
.nav a { text-decoration: none; padding: 6px 0; }
.nav a[aria-current="page"], .nav .nav-cta { box-shadow: inset 0 -1px 0 var(--ink); }

/* Hero */
.hero { padding-top: clamp(72px, 12vw, 176px); }
.hero-word { display: block; font-style: italic; font-weight: 400; min-height: 1em; }
.hero-word span { display: inline-block; transition: opacity .35s ease, transform .35s ease; }
.hero-word.out span { opacity: 0; transform: translateY(0.12em); }
.hero-foot { margin-top: clamp(48px, 7vw, 96px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px 64px; }
.rail { margin-top: clamp(56px, 8vw, 112px); padding: 18px 0 20px; border-top: 1px solid var(--ink); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 32px; }

/* Section headers */
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px 40px; padding-bottom: 20px; border-bottom: 1px solid var(--ink); }
.section-head a { font-size: 15px; font-weight: 600; text-decoration: none; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px 80px; align-items: start; }
.split.center { align-items: center; gap: 56px 80px; }

/* Services list */
.svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 40px; }
.svc li { border-bottom: 1px solid var(--rule); }
.svc a { display: flex; flex-direction: column; gap: 10px; padding: 26px 0 28px; text-decoration: none; }
.svc .n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.svc .t { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.svc .t .arr { font-family: var(--sans); font-size: 18px; }

/* Standard band */
.dark h2 { color: var(--paper); }
.dark h2 em { color: var(--sage); }
.elev-wrap { position: relative; }
.elev-wrap img, .elev-labels { width: 100%; height: auto; }
.elev-labels { position: absolute; inset: 0; }
.elev-key { display: none; margin-top: 20px; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 640px) {
  .elev-labels { display: none; }
  .elev-wrap img { aspect-ratio: 970 / 1086; object-fit: cover; object-position: left center; }
  .elev-key { display: flex; }
}

/* Work */
.work { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 40px 48px; }
.work-lead { flex: 999 1 560px; min-width: 0; }
.work-lead img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--stone); }
.work-lead .meta { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; }
.work-lead h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 40px); letter-spacing: -0.01em; }
.work-lead p { margin-top: 8px; font-size: 16px; color: var(--body); max-width: 520px; }
.work-list { flex: 1 1 300px; border-top: 1px solid var(--ink); align-self: start; }
.work-list li { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.work-list h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.2; }
.work-list p { margin-top: 4px; font-size: 15px; color: var(--muted); }

/* Partners */
.facts { display: grid; grid-template-columns: minmax(0, 1fr) auto; font-size: 15px; border-top: 1px solid var(--ink); }
.facts dt, .facts dd { padding: 16px 0; border-bottom: 1px solid rgba(31, 31, 31, 0.25); }
.facts dt { padding-right: 16px; }
.facts dd { font-family: var(--mono); font-size: 13px; text-align: right; }

/* Form */
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; }
.field.full, .form-foot { grid-column: 1 / -1; }
.field input, .field textarea { font: 400 17px/1.4 var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 10px 0; min-height: 44px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-width: 2px; padding-bottom: 9px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-foot span { font-size: 14px; color: var(--muted); }
.form-note { grid-column: 1 / -1; font-size: 15px; }
.hp { position: absolute; left: -9999px; }

/* Services page */
.svc-detail { border-top: 1px solid var(--ink); }
.svc-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 16px 80px; padding: clamp(36px, 5vw, 64px) 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 24px; }
.svc-row .n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.svc-row h2 { margin-top: 12px; font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 4vw, 56px); line-height: 1; letter-spacing: -0.03em; }
.svc-row p { font-size: 18px; line-height: 1.65; color: var(--body); max-width: 560px; }
.svc-row ul { margin-top: 20px; border-top: 1px solid var(--rule); }
.svc-row li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.svc-row li:last-child { border-bottom: 0; }

/* Simple pages */
.page { padding-top: clamp(72px, 10vw, 152px); padding-bottom: var(--section); }
.page .lede { margin-top: 28px; }
.page-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.spot { width: min(440px, 100%); height: auto; margin-bottom: 40px; }

/* Footer */
.ft { padding-top: clamp(64px, 8vw, 112px); padding-bottom: 36px; }
.ft-big { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(52px, 10vw, 160px); line-height: 0.9; letter-spacing: -0.04em; color: var(--sage); }
.ft-base { margin-top: clamp(48px, 6vw, 88px); padding-top: 24px; border-top: 1px solid var(--rule-dark); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; font-size: 14px; }
.ft-base .mono { font-size: 12px; color: var(--sage-dim); }
.ft-links { display: flex; gap: 24px; }
.ft a { color: var(--sage); }
.ft a:hover { color: var(--paper); }

/* Landing pages: snow, lawns */
.btn-light { background: var(--sage); color: var(--ink); }
.btn-light:hover { background: var(--paper); color: var(--ink); }
.dark .nav a:hover, .dark .logo:hover { color: var(--paper); }
.dark .nav .nav-cta { box-shadow: inset 0 -1px 0 var(--sage); }
.dark .rail { border-top-color: var(--rule-dark); }
.eyebrow { color: var(--muted); }
.dark .eyebrow { color: var(--sage-dim); }
.season { margin-top: 40px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.season span { padding-top: 12px; border-top: 4px solid var(--rule); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); }
.season span.on { border-top-color: var(--ink); color: var(--ink); }
.steps { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 40px; border-top: 1px solid var(--ink); }
.steps li { padding: 26px 0 30px; border-bottom: 1px solid var(--rule); }
.steps .n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.steps h3 { margin-top: 10px; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; }
.steps p { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--body); }
.covered { border-top: 1px solid var(--ink); }
.covered li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.covered li span { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 6px; }

/* Footer index and service links */
.ft-nav { margin-top: clamp(48px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: 8px 80px; }
.ft-nav ul { display: flex; flex-wrap: wrap; gap: 10px 32px; }
.ft-nav a { text-decoration: none; font-size: 15px; }
.ft-nav a:hover { text-decoration: underline; }
.more { display: inline-flex; gap: 8px; margin-top: 20px; font-weight: 600; font-size: 15px; text-decoration: none; }

/* Motion: everything here is skipped for prefers-reduced-motion */
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 { clip-path: inset(0 0 100% 0); transform: translateY(0.18em); transition: clip-path 1.1s cubic-bezier(.2,.7,.1,1), transform 1.1s cubic-bezier(.2,.7,.1,1); }
  .js .hero.in h1 { clip-path: inset(0 0 -0.3em 0); transform: none; }
  .js .hero .eyebrow, .js .hero .hero-foot, .js .hero .rail { opacity: 0; transform: translateY(16px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.1,1); }
  .js .hero.in .eyebrow { opacity: 1; transform: none; }
  .js .hero.in .hero-foot { opacity: 1; transform: none; transition-delay: .35s; }
  .js .hero.in .rail { opacity: 1; transform: none; transition-delay: .55s; }

  .js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.1,1); transition-delay: calc(var(--d, 0) * 70ms); }
  .js .rv.in { opacity: 1; transform: none; }

  .js .elev-wrap img { clip-path: inset(100% 0 0 0); transition: clip-path 1.8s cubic-bezier(.65,0,.35,1); }
  .js .elev-wrap.in img { clip-path: inset(0 0 0 0); }
  .js .elev-labels line, .js .elev-labels polyline { stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 1s ease; }
  .js .elev-labels text, .js .elev-labels circle { opacity: 0; transition: opacity .6s ease; }
  .js .elev-wrap.in .elev-labels line, .js .elev-wrap.in .elev-labels polyline { stroke-dashoffset: 0; transition-delay: 1.5s; }
  .js .elev-wrap.in .elev-labels text, .js .elev-wrap.in .elev-labels circle { opacity: 1; transition-delay: 2.1s; }

  .js .season span.on { border-top-color: var(--rule); color: var(--muted); transition: border-color .5s ease, color .5s ease; transition-delay: calc(var(--d, 0) * 90ms); }
  .js .season.in span.on { border-top-color: var(--ink); color: var(--ink); }
}

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 22px 0; font-family: var(--serif); font-size: clamp(20px, 2vw, 24px); line-height: 1.25; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-x { position: relative; flex: none; width: 14px; height: 14px; }
.faq-x::before, .faq-x::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: currentColor; transition: transform .25s ease; }
.faq-x::after { transform: rotate(90deg); }
.faq-item[open] .faq-x::after { transform: rotate(0deg); }
.faq-item p { padding: 0 0 24px; max-width: 560px; font-size: 17px; line-height: 1.65; color: var(--body); }

/* Trucks */
.truck-wrap { padding-top: clamp(32px, 5vw, 72px); padding-bottom: clamp(32px, 5vw, 72px); }
.truck img { width: 100%; height: auto; }
@media (prefers-reduced-motion: no-preference) {
  .js .truck.rv { opacity: 0; transform: translateX(-10%); transition: transform 1.8s cubic-bezier(.16,.8,.2,1), opacity 1s ease; }
  .js .truck.rv.in { opacity: 1; transform: none; }
}
