/* F4 Property Solutions — "Copper & Iron" demo. Colours sampled from F4's own logo. */
@font-face { font-family: "Bodoni Moda"; src: url(fonts/bodoni-moda-latin.woff2) format("woff2"); font-weight: 700 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+2122, U+2212; }
@font-face { font-family: "Bodoni Moda"; src: url(fonts/bodoni-moda-latin-ext.woff2) format("woff2"); font-weight: 700 900; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1E9F; }
@font-face { font-family: "DM Sans"; src: url(fonts/dm-sans-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(fonts/dm-sans-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #101113;          /* logo black */
  --ink-2: #1c1d21;        /* tone step on ink */
  --ink-3: #2a2c31;
  --paper: #ffffff;
  --paper-2: #f3f2f0;      /* tone step on paper (neutral, not cream) */
  --copper: #c27a3e;       /* action fill — brighter copper for contrast */
  --copper-press: #a9672f;
  --copper-text: #8e5d40;  /* logo copper, for text on white */
  --copper-hi: #c29f8b;    /* logo highlight, for text on ink */
  --on-ink: #f4f2ef;
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --text: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --m: clamp(20px, 4.2vw, 64px);          /* outer margin */
  --gap: clamp(80px, 11vw, 176px);        /* section padding */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.55 var(--text); color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }

.field-ink { background: var(--ink); color: var(--on-ink); }
.field-paper { background: var(--paper); color: var(--ink); }
.field-copper { background: var(--copper-text); color: var(--paper); }

h2 { font: 800 clamp(2.1rem, 4vw, 3.6rem)/1.02 var(--display); letter-spacing: -0.02em; }

/* ---------- buttons (square, flat, one fill) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  font: 600 1rem/1 var(--text); text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
  transition: background-color .15s ease, transform .1s ease; }
.btn:active { transform: translateY(1px); }
.btn-big { min-height: 58px; padding: 0 28px; font-size: 1.0625rem; }
.btn-full { width: 100%; }
.btn-copper { background: var(--copper); color: var(--ink); }
.btn-copper:hover { background: #cf8749; }
.btn-copper:active { background: var(--copper-press); }
.btn-line { background: var(--ink-3); color: var(--on-ink); }
.btn-line:hover { background: #383a40; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2a2c31; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px;
  padding: 10px var(--m); background: var(--paper); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 46px; height: auto; }
.brand-name { font: 800 1.15rem/1.0 var(--display); letter-spacing: -0.01em; }
.top-links { display: flex; gap: 26px; }
.top-links a { text-decoration: none; font-weight: 600; font-size: .98rem; }
.top-links a:hover { color: var(--copper-text); }
.lang { background: var(--paper-2); border: 0; border-radius: 0; min-height: 44px; min-width: 48px; font: 600 .95rem var(--text); cursor: pointer; color: var(--ink); }
.lang:hover { background: #e7e5e2; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); column-gap: clamp(32px, 5vw, 88px);
  padding: clamp(40px, 6vw, 88px) var(--m) var(--gap); }
.hero h1 { grid-column: 1 / -1; font: 800 clamp(2.55rem, 8.2vw, 8.2rem)/0.92 var(--display); letter-spacing: -0.03em;
  margin-bottom: clamp(32px, 4.5vw, 64px); }
.hero h1 span { display: block; }
.hero h1 .l2 { color: var(--copper-hi); }
.hero-copy { display: flex; flex-direction: column; justify-content: flex-start; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.45; max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 0; font-weight: 600; color: var(--on-ink); }
.trust li:not(:last-child)::after { content: "·"; color: var(--copper-hi); padding: 0 12px; }
.hero-photo { position: relative; padding-top: 0; align-self: start; }
.hero-photo img { width: 100%; aspect-ratio: 590 / 443; object-fit: cover; }
.roof { display: block; width: 100%; height: clamp(40px, 6vw, 84px); overflow: visible; margin-bottom: -2px; }
.roof path { fill: none; stroke: var(--copper); stroke-width: 7; stroke-linejoin: miter; vector-effect: non-scaling-stroke; }
figcaption { font-size: .95rem; margin-top: 10px; }
.field-ink figcaption { color: var(--copper-hi); }
.field-paper figcaption { color: #3b3d42; }

/* ---------- before / after ---------- */
.proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(40px, 6vw, 112px); align-items: center;
  padding: var(--gap) var(--m); }
.proof-copy p { font-size: clamp(1.15rem, 1.5vw, 1.35rem); max-width: 30ch; margin: 22px 0 30px; }
.compare { position: relative; aspect-ratio: 443 / 590; overflow: hidden; background: var(--paper-2); touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 6px; margin-left: -3px; background: var(--copper); pointer-events: none; }
.compare .handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%);
  display: grid; place-items: center; background: var(--copper); color: var(--ink); font: 600 1.4rem/1 var(--text); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.tag { position: absolute; top: 14px; padding: 6px 12px; font-weight: 600; font-size: .95rem; background: var(--ink); color: var(--paper); pointer-events: none; }
.tag-before { left: 14px; }
.tag-after { right: 14px; background: var(--copper); color: var(--ink); }

/* ---------- services ---------- */
.services { padding: var(--gap) var(--m); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(40px, 6vw, 112px); }
.services-head { align-self: start; position: sticky; top: 110px; }
.services-head p { font-size: clamp(1.1rem, 1.4vw, 1.3rem); margin-top: 20px; max-width: 28ch; }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 4vw, 56px) clamp(32px, 4vw, 64px); }
.svc-list li { display: flex; flex-direction: column; gap: 8px; }
.svc-list h3 { font: 800 clamp(1.45rem, 2vw, 1.85rem)/1.1 var(--display); color: var(--paper); letter-spacing: -0.01em; }
.svc-list p { color: var(--on-ink); font-size: 1.05rem; max-width: 34ch; }
.svc-list span { padding-top: 2px; color: var(--copper-hi); font-weight: 600; font-size: .95rem; }

/* ---------- gallery ---------- */
.gallery { padding: var(--gap) var(--m); }
.gallery h2 { margin-bottom: clamp(32px, 4vw, 56px); max-width: 16ch; }
.g-grid { display: grid; grid-template-columns: 1fr 1.35fr 1fr; grid-template-rows: repeat(2, clamp(230px, 22vw, 330px)); gap: 12px; }
.g-grid figure { position: relative; display: flex; flex-direction: column; min-height: 0; }
.g-grid img { flex: 1; min-height: 0; width: 100%; object-fit: cover; }
.g-grid figcaption { margin-top: 8px; }
.g-big { grid-row: 1 / 3; grid-column: 1; }
.g-wide { grid-row: 1 / 3; grid-column: 3; }

/* ---------- estimate builder ---------- */
.estimate { padding: var(--gap) var(--m); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.est-copy > p { font-size: clamp(1.1rem, 1.4vw, 1.3rem); margin: 20px 0 36px; max-width: 34ch; }
fieldset { border: 0; padding: 0; margin: 0 0 28px; }
legend { font-weight: 600; font-size: 1.05rem; margin-bottom: 12px; color: var(--copper-hi); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 46px; padding: 0 16px; border: 0; border-radius: 0; background: var(--ink-3); color: var(--on-ink);
  font: 600 .98rem var(--text); cursor: pointer; transition: background-color .15s ease; }
.chip:hover { background: #383a40; }
.chip[aria-pressed="true"] { background: var(--copper); color: var(--ink); }
.ticket { background: var(--paper); color: var(--ink); padding: 28px; border-top: 10px solid var(--copper); position: sticky; top: 110px; }
.ticket-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.ticket-head img { width: 44px; }
.ticket-head strong { display: block; font: 800 1.5rem/1.1 var(--display); }
.ticket-head span { font-weight: 600; color: var(--copper-text); }
.ticket-msg { background: var(--paper-2); padding: 18px 20px; font-size: 1.1rem; line-height: 1.5; min-height: 120px; margin-bottom: 18px; }
.ticket-alt { margin-top: 14px; font-size: 1rem; }
.ticket-alt a { font-weight: 600; }

/* ---------- about ---------- */
.about { padding: var(--gap) var(--m); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 112px); align-items: center; }
.about-photo { aspect-ratio: 1; border-radius: 50%; overflow: hidden; max-width: 520px; background: var(--ink); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.16); transform-origin: 42% 45%; }
.about-copy .big { font-size: clamp(1.3rem, 2vw, 1.85rem); line-height: 1.4; margin: 24px 0 16px; max-width: 30ch; }
.about-copy > p:not(.big) { font-size: 1.1rem; max-width: 46ch; }
.mower { display: flex; gap: 18px; align-items: end; margin-top: 36px; }
.mower img { width: 150px; aspect-ratio: 526 / 700; object-fit: cover; object-position: center 30%; }
.mower figcaption { max-width: 26ch; }

/* ---------- word of mouth ---------- */
.word { padding: clamp(72px, 9vw, 140px) var(--m); }
.word blockquote p { font: 800 clamp(1.7rem, 3.2vw, 2.25rem)/1.25 var(--display); max-width: 30ch; letter-spacing: -0.01em; }
.word footer { margin-top: 20px; font-weight: 600; font-size: 1.05rem; }

/* ---------- area + footer ---------- */
.area { padding: var(--gap) var(--m) clamp(48px, 6vw, 96px); }
.towns { display: flex; flex-wrap: wrap; gap: 0 clamp(20px, 3vw, 48px); margin-top: 28px; }
.towns li { font: 800 clamp(2.4rem, 7vw, 6.5rem)/1.05 var(--display); letter-spacing: -0.025em; color: var(--copper-hi); }
.towns li:not(:last-child)::after { content: ","; color: var(--on-ink); }
.area-note { margin-top: 28px; font-size: clamp(1.1rem, 1.4vw, 1.3rem); }
.foot { padding: 0 var(--m) clamp(40px, 5vw, 64px); }
.foot-name { font: 800 clamp(2.6rem, 9.6vw, 10rem)/0.9 var(--display); letter-spacing: -0.035em; padding-top: clamp(40px, 5vw, 72px); background: var(--ink); }
.foot-row { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 28px; font-weight: 600; }
.foot-row a { text-decoration: none; }
.foot-row a:hover { color: var(--copper-hi); }

/* ---------- phone bar ---------- */
.phone-bar { display: none; }

/* ---------- tablet & phone ---------- */
@media (max-width: 980px) {
  .top-links { display: none; }
  .hero, .proof, .services, .estimate, .about { grid-template-columns: 1fr; }
  .hero-photo { margin-top: 48px; }
  .services-head, .ticket { position: static; }
  .svc-list { grid-template-columns: 1fr 1fr; }
  .about-photo { max-width: 360px; }
}
@media (max-width: 680px) {
  body { padding-bottom: 64px; }
  .top { gap: 10px; padding-block: 8px; }
  .brand img { width: 38px; }
  .brand-name { font-size: 1rem; }
  .top-cta { display: none; }
  .actions .btn { width: 100%; }
  .svc-list { grid-template-columns: 1fr; }
  .g-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-inline: calc(var(--m) * -1); padding-inline: var(--m); }
  .g-grid figure { flex: 0 0 78%; scroll-snap-align: start; }
  .g-grid img { flex: none; height: 360px; }
  .mower img { width: 120px; }
  .phone-bar { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding-bottom: env(safe-area-inset-bottom); background: var(--ink); }
  .phone-bar a { display: grid; place-items: center; min-height: 60px; text-decoration: none; font-weight: 600; color: var(--on-ink); }
  .phone-bar a:first-child { background: var(--copper); color: var(--ink); }
  .phone-bar a:nth-child(2) { background: var(--ink-3); }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }


/* ================= v2 redesign ================= */
:root { --grass: #33502c; --grass-cut: #46693b; }

/* hero: headline + copy on the left, a tall photo under the copper roofline on the right */
.hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; min-height: min(calc(100svh - 110px), 860px);
  padding-top: clamp(32px, 4vw, 64px); padding-bottom: clamp(40px, 5vw, 72px); }
.hero h1 { grid-column: auto; font-size: clamp(2.7rem, 6.3vw, 7.6rem); line-height: 0.9; margin-bottom: clamp(28px, 3vw, 44px); }
.hero h1 .l2 { color: inherit; }
.hero-copy { align-self: center; }
.hero-photo { align-self: stretch; display: flex; flex-direction: column; }
.hero-photo .ph { flex: 1; min-height: 340px; max-height: 640px; }
.hero-photo img { height: 100%; aspect-ratio: auto; }
.roof { height: clamp(54px, 7vw, 110px); }

/* mow band: lawn stripes in two greens, the lighter "cut" stripes fill in on scroll */
.mow { display: grid; grid-template-columns: repeat(12, 1fr); height: clamp(64px, 8vw, 120px); background: var(--grass); }
.mow i { display: block; background: var(--grass-cut); transform-origin: 50% 0; }
.mow i:nth-child(even) { background: transparent; }

/* before / after bigger, no page freeze */
.proof { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.compare { aspect-ratio: 4 / 4.2; max-height: 86svh; }

/* services become a season list: full-width rows, name | what | when */
.services { grid-template-columns: 1fr; gap: clamp(40px, 5vw, 72px); }
.services-head { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.services-head p { margin: 0; justify-self: end; }
.svc-list { grid-template-columns: 1fr; gap: 0; margin-inline: calc(var(--m) * -1); }
.svc-list li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 0.6fr); gap: 32px; align-items: baseline;
  padding: clamp(20px, 2.2vw, 30px) var(--m); transition: background-color .2s ease; }
.svc-list li:nth-child(odd) { background: var(--ink-2); }
.svc-list li:hover { background: var(--ink-3); }
.svc-list h3 { font-size: clamp(1.5rem, 2.6vw, 2.4rem); }
.svc-list p { max-width: 44ch; }
.svc-list span { justify-self: end; text-align: right; }

@media (max-width: 980px) {
  .hero { min-height: 0; grid-template-columns: 1fr; }
  .hero-photo { margin-top: 40px; margin-inline: calc(var(--m) * -1); }
  .hero-photo figcaption { padding-inline: var(--m); }
  .hero-photo .ph { min-height: 0; aspect-ratio: 4 / 3.4; }
  .proof { grid-template-columns: 1fr; }
  .services-head { grid-template-columns: 1fr; }
  .services-head p { justify-self: start; }
  .svc-list li { grid-template-columns: 1fr; gap: 6px; }
  .svc-list span { justify-self: start; text-align: left; }
}

/* ---------- film: F4's video scrubbed by scroll, on a lawn-green field ---------- */
.film { background: var(--grass); color: var(--on-ink); }
.film-stage { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 6vw, 112px); align-items: center;
  padding: clamp(48px, 6vw, 96px) var(--m); }
.film h2 { color: var(--paper); max-width: 14ch; }
.film-lines { margin-top: clamp(28px, 3vw, 44px); display: grid; gap: 14px; }
.film-lines li { font: 800 clamp(1.5rem, 2.6vw, 2.4rem)/1.15 var(--display); letter-spacing: -0.01em; color: var(--paper); }
.film-live .film-lines li { opacity: .3; transition: opacity .35s ease; }
.film-live .film-lines li.on { opacity: 1; }
.film-note { margin-top: 28px; color: #d9e4d2; font-size: .98rem; }
.film-frame { width: min(calc(72svh * 9 / 16), 40vw); margin-right: clamp(0px, 4vw, 80px); }
.film-frame .roof { height: clamp(40px, 4.5vw, 64px); }
.film-screen { position: relative; aspect-ratio: 9 / 16; background: var(--ink); overflow: hidden; }
.film-screen img, .film-screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-screen canvas { display: none; }
.film-live .film-screen canvas { display: block; }

@media (max-width: 980px) {
  .film-stage { grid-template-columns: 1fr; gap: 20px; align-content: center; padding-block: 28px; }
  .film h2 { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .film-lines { margin-top: 12px; gap: 4px; }
  .film-lines li { font-size: clamp(1.15rem, 4.6vw, 1.5rem); }
  .film-note { display: none; }
  .film-frame { width: auto; justify-self: center; }
  .film-screen { height: 52svh; width: calc(52svh * 9 / 16); }
  .film-frame .roof { width: calc(52svh * 9 / 16); }
}
