/* Depth Concrete Inc. offer pages. Mobile-first; desktop rules start at 960px.
   Palette sampled from the flyers: orange / navy / cream. */
@font-face {
  font-family: "Anton";
  src: url("/fonts/anton-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
:root {
  --orange: #fe7b0e;
  --orange-hover: #ee6c00;
  --orange-text: #b04a06;      /* small orange text on cream (AA contrast) */
  --navy: #0a1b27;
  --navy-deep: #051019;
  --cream: #f9faf5;
  --ink: #0a1b27;
  --ink-soft: #46515b;
  --line: #d8dcd4;
  --white: #fff;
  --radius: 10px;
  --gutter: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --display: "Anton", Impact, "Arial Narrow Bold", "Haettenschweiler", sans-serif;
}

@media (max-width: 639px) { html { font-size: 93.75%; } }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 12px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.5;
  color: var(--ink); background: var(--cream);
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; }
h1, h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1.04; letter-spacing: .005em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #1d6fdc; outline-offset: 2px; }
.wrap { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Buttons: 52px tall tap targets */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .7rem 1.3rem; font: inherit; font-weight: 800; font-size: 1.05rem;
  text-decoration: none; text-align: center; border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: rgba(10,27,39,.07); }
.btn[disabled] { opacity: .7; cursor: wait; }

/* Header */
.site-header { background: var(--navy-deep); color: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 800; font-size: 1.15rem; }
.brand-logo { height: 58px; width: auto; }
.brand-wordmark { font-family: var(--display); text-transform: uppercase; font-size: 1.55rem; line-height: 1; letter-spacing: .03em; color: var(--white); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.brand-wordmark small { font-size: .62em; color: var(--orange); margin-left: .2em; letter-spacing: .05em; }
.header-call { min-height: 48px; padding: .45rem 1.1rem; font-size: 1.05rem; }
.header-call .num { display: none; }
.offer-page .site-header { position: absolute; inset: 0 0 auto; z-index: 20; background: linear-gradient(180deg, rgba(5,16,25,.9), rgba(5,16,25,0)); }

/* Hero: headline sits on top of the photo, then the cream body (same order as the flyer) */
.hero { position: relative; background: var(--navy); color: var(--white); padding: 0; }
.hero-media { position: relative; min-height: 370px; background: var(--navy-deep); }
.hero-photo { position: absolute; inset: 0; }
.hero-photo picture { display: block; width: 100%; height: 100%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,16,25,.5) 0%, rgba(5,16,25,0) 40%); }
.hero-head { position: relative; z-index: 1; padding: calc(78px + .6rem) var(--gutter) 1rem; }
.hero h1 { font-size: clamp(2rem, 9.4vw, 4.6rem); margin: 0; text-wrap: balance; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.hero h1 span { color: var(--orange); display: block; }
.hero-body { background: var(--cream); color: var(--ink); padding: 0 var(--gutter) 1.6rem; }
.intro { font-size: 1.05rem; line-height: 1.4; font-weight: 600; margin: 1.2rem 0 0; }

/* "$300 OFF" block: the flyer's centrepiece */
.offer {
  background: var(--orange); color: var(--navy); text-align: center;
  margin: 0 calc(-1 * var(--gutter)); padding: .9rem var(--gutter) 1rem;
}
.offer-big { font-family: var(--display); font-size: clamp(3.4rem, 18vw, 7.5rem); line-height: .95; letter-spacing: .005em; }
.offer-sub { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.05rem, 4.8vw, 1.9rem); letter-spacing: .02em; margin-top: .15rem; }
.plus { margin: .85rem 0 .3rem; font-size: 1.35rem; font-weight: 800; line-height: 1.25; }
.plus b { color: var(--orange-text); }
.jobs { margin: 0 0 1rem; padding: .6rem 0; border-block: 2px solid var(--line); font-weight: 800; font-size: 1.15rem; text-align: center; }
.jobs i { color: var(--orange); font-style: normal; padding-inline: .35rem; }
.cta-row { display: grid; gap: .7rem; }
.after-cta { margin: 1rem 0 0; font-weight: 600; font-size: 1.02rem; color: var(--ink-soft); }

/* Form */
.hero-form { background: var(--cream); padding: 0 var(--gutter) 2rem; }
.form-card { background: var(--white); color: var(--ink); border-radius: 14px; border-top: 8px solid var(--orange); padding: 1.3rem 1.2rem 1.2rem; box-shadow: 0 10px 30px rgba(10,27,39,.18); }
.form-card h2 { font-size: 1.85rem; margin-bottom: .2rem; }
.form-card .sub { color: var(--ink-soft); font-size: 1rem; margin-bottom: 1rem; }
.field { margin: 0 0 .95rem; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { display: block; margin-bottom: .35rem; font-weight: 800; font-size: .98rem; padding: 0; }
.opt { font-weight: 500; color: var(--ink-soft); }
.field input[type=text], .field input[type=tel], .field textarea {
  width: 100%; min-height: 50px; padding: .65rem .9rem; font: inherit; font-size: 1.0625rem; /* >=16px: no iOS zoom */
  color: var(--ink); background: var(--white); border: 1.5px solid #8b949b; border-radius: 8px;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--orange); outline: 3px solid rgba(254,123,14,.35); outline-offset: 0; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: .4rem .5rem; text-align: center;
  font-weight: 800; font-size: 1rem; border: 1.5px solid #8b949b; border-radius: 8px; background: var(--white);
}
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: inset 0 -4px 0 var(--orange); }
.chip input:focus-visible + span { outline: 3px solid #1d6fdc; outline-offset: 2px; }
details.note { margin-bottom: 1rem; }
details.note summary { min-height: 48px; display: flex; align-items: center; font-weight: 800; color: var(--orange-text); cursor: pointer; }
details.note textarea { margin-top: .4rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-card .btn { width: 100%; font-size: 1.2rem; }
.form-status { min-height: 1.4em; margin: .7rem 0 0; font-size: .98rem; font-weight: 700; }
.form-status.error { color: #b42318; }
.form-perk { margin: .8rem 0 0; font-size: .95rem; font-weight: 700; text-align: center; }
.fine-print { margin: .9rem 0 0; font-size: .85rem; line-height: 1.4; color: var(--ink-soft); text-align: center; }
.form-success { text-align: center; padding: 1rem .25rem; }
.form-success .tick { width: 60px; height: 60px; margin: 0 auto 1rem; color: #1a7f37; }

/* Trust strip: plain type on navy, like the flyer's footer line */
.trust { background: var(--navy); color: var(--white); }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.trust li { padding: .95rem .6rem; text-align: center; font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: 1.1rem; line-height: 1.25; }
.trust li:nth-child(even) { border-left: 2px solid var(--orange); }
.trust li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.16); }

/* Sections */
section { padding: 2.2rem 0; }
.section-head { max-width: 42rem; margin-bottom: 1.5rem; }
.section-head h2 { font-size: clamp(1.8rem, 7.2vw, 3rem); }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.section-head .kicker, .kicker { color: var(--orange-text); font-weight: 800; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .4rem; }
.alt { background: var(--white); border-block: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: step; border-top: 2px solid var(--navy); }
.steps li { counter-increment: step; position: relative; padding: 1.1rem 0 1.1rem 3.4rem; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: .85rem; font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--orange-text); }
.steps h3 { font-size: 1.15rem; margin-bottom: .2rem; font-weight: 800; }
.steps p { margin: 0; color: var(--ink-soft); }

.final-cta { background-color: var(--navy); background-image: linear-gradient(rgba(5,16,25,.84), rgba(5,16,25,.9)), var(--cta-img, linear-gradient(transparent, transparent)); background-size: cover; background-position: center; color: var(--white); text-align: center; }
.final-cta h2 { font-size: clamp(2.2rem, 9vw, 3.4rem); }
.final-cta h2 span { color: var(--orange); }
.final-cta p { color: #d3d9dd; max-width: 32em; margin-inline: auto; }
.final-cta .cta-row { margin-top: 1.3rem; max-width: 26rem; margin-inline: auto; }
@media (min-width: 640px) { .final-cta .cta-row { max-width: 34rem; } }
.final-cta .btn-outline { border-color: rgba(255,255,255,.6); color: var(--white); }
.final-cta .btn-outline:hover { background: rgba(255,255,255,.1); }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c3cbd0; padding: 2rem 0 calc(1.5rem + 84px); /* clears the sticky bar */ font-size: .95rem; }
.site-footer .grid { display: grid; gap: 1.2rem; }
.site-footer strong { color: var(--white); }
.site-footer a { color: var(--white); }
.footer-logo { height: 110px; width: auto; margin-bottom: .6rem; }
.fine { margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid #25323b; font-size: .85rem; color: #98a4ac; }

/* Sticky call/text bar */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr 1.55fr; gap: .5rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  background: var(--navy-deep); box-shadow: 0 -4px 16px rgba(0,0,0,.3);
}
.sticky-bar .btn { min-height: 50px; padding: .5rem .5rem; font-size: 1rem; gap: .4rem; }
.sticky-bar .btn-text { background: var(--white); color: var(--navy); }

/* Recent work, reviews, mid-page call to action */
.work { padding-bottom: 2.4rem; }
.gallery { display: flex; gap: .7rem; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) .4rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { flex: 0 0 74%; margin: 0; min-width: 0; scroll-snap-align: start; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.gallery figcaption { padding-top: .35rem; font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.reviews { background: var(--navy); color: var(--white); padding: 1.6rem 1.3rem; margin-top: 1.6rem; }
.reviews h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.9rem; line-height: 1.08; color: var(--orange); margin: 0 0 .4rem; }
.reviews p { margin: 0; color: #d9e0e4; }
.cta-band { background: var(--orange); color: var(--navy); text-align: center; padding: 2rem 0; }
.cta-band h2 { font-size: clamp(2rem, 8.5vw, 3rem); margin: 0 0 .3rem; }
.cta-band p { margin: 0 0 1.1rem; font-weight: 700; font-size: 1.1rem; }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: #12293a; }
.cta-band .btn { width: 100%; max-width: 24rem; }

/* Root chooser page */
.offer-cards { display: grid; gap: .9rem; }
.offer-card { display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; padding: 1.2rem; text-decoration: none; color: var(--white); background-color: var(--navy); background-image: linear-gradient(180deg, rgba(5,16,25,.25) 0%, rgba(5,16,25,.88) 100%), var(--tile-img); background-size: cover; background-position: center; }
.offer-card:hover h3 { color: var(--orange); }
.offer-card h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 2rem; line-height: 1.05; margin-bottom: .3rem; }
.offer-card p { margin: 0; color: #e2e8eb; }


/* Content sections: ruled rows, big type, one navy band. No boxed cards. */
.checklist { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.checklist li { padding: .9rem 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 1.1rem; line-height: 1.35; }
.facts { display: grid; margin-bottom: 1.2rem; border-top: 2px solid var(--navy); }
.fact { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.fact-big { font-family: var(--display); text-transform: uppercase; font-size: 2.7rem; line-height: 1; color: var(--navy); margin-bottom: .3rem; }
.fact p { margin: 0; color: var(--ink-soft); }
.source { margin: 0 0 1.2rem; font-size: .88rem; color: var(--ink-soft); }
.source a { text-decoration: underline; text-underline-offset: 2px; }
.callout { background: var(--navy); color: var(--white); padding: 1.5rem 1.3rem; }
.callout h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.8rem; line-height: 1.08; color: var(--orange); }
.callout p { margin: 0; color: #d9e0e4; }
.surfaces { display: grid; border-top: 2px solid var(--navy); }
.surface { padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.surface h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.4rem, 11vw, 3.6rem); line-height: 1; margin: 0 0 .6rem; }
.surface .label { margin: 0 0 .2rem; font-size: .8rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--orange-text); }
.surface ul { margin: 0 0 .8rem; padding-left: 1.1rem; color: var(--ink-soft); }
.surface li { margin-bottom: .25rem; }
.surface .we { margin: 0; }
.about { background: #eef0e8; border-block: 1px solid var(--line); padding: 2.4rem 0; }
.about-grid { display: grid; gap: 1.6rem; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.about-photo figcaption { margin-top: .5rem; font-size: .88rem; color: var(--ink-soft); }
.about-copy { min-width: 0; }
.about-copy h2 { font-size: clamp(2rem, 8vw, 3rem); }
.about-copy p:not(.kicker) { color: var(--ink-soft); font-size: 1.08rem; max-width: 40em; }
.about-facts { margin: 0; }
.faq { max-width: 46rem; border-top: 2px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 58px; padding: .8rem 0; font-weight: 800; font-size: 1.05rem; line-height: 1.3; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--display); font-size: 1.7rem; line-height: 1; color: var(--orange-text); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0; padding: 0 0 1.1rem; color: var(--ink-soft); }
.faq a { text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 760px) {
  .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; padding: 0; overflow: visible; }
  .gallery figure { flex: none; }
  .reviews { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem 2rem; align-items: center; padding: 1.8rem 2rem; }
  .reviews h3, .reviews p { grid-column: 1; margin-bottom: 0; }
  .reviews   .about-grid { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 2rem 3rem; align-items: center; }
  .about-facts { grid-column: 1 / -1; }
}
@media (min-width: 640px) {
  .facts { grid-template-columns: repeat(3, 1fr); column-gap: 2rem; }
  .fact { border-bottom: 0; padding-top: 1.2rem; }
  .surface { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 2rem; align-items: start; }
  .surface > h3 { grid-column: 1; grid-row: 1 / span 4; margin: 0; }
  .surface > :not(h3) { grid-column: 2; }
}

@media (min-width: 640px) {
  .header-call .num { display: inline; }
  .trust ul { grid-template-columns: repeat(4, 1fr); }
  .trust li:nth-child(n+3) { border-top: 0; }
  .trust li + li { border-left: 2px solid var(--orange); }
  .steps { grid-template-columns: repeat(3, 1fr); column-gap: 2rem; }
  .steps li { padding: 3.7rem 0 0; border-bottom: 0; }
  .steps li::before { top: .9rem; }
  .offer-cards { grid-template-columns: 1fr 1fr; }
  .site-footer .grid { grid-template-columns: 1.4fr 1fr; }
  .cta-row { grid-template-columns: 1fr 1fr; }
  .hero-media { min-height: 440px; }
  .hero-head { padding-top: calc(90px + 1rem); }
  .offer-cards .offer-card { min-height: 280px; }
}

/* Desktop: photo becomes the hero backdrop; copy left, form right */
@media (min-width: 960px) {
  .site-footer { padding-bottom: 1.5rem; }
  .sticky-bar { display: none; }
  .hero { overflow: hidden; }
  .hero-media { position: static; min-height: 0; background: transparent; }
  .hero-photo { z-index: 0; }
  .hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,16,25,.78) 0%, rgba(5,16,25,.5) 55%, rgba(5,16,25,.2) 100%); }
  .hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: start; width: min(1120px, 100% - 64px); margin-inline: auto; padding: calc(84px + 2.5rem) 0 3.5rem; }
  .hero-head, .hero-body { position: relative; z-index: 1; background: transparent; padding-inline: 0; }
  .hero-head { padding-top: 0; padding-bottom: 1rem; }
  .hero h1 { font-size: clamp(3rem, 4.5vw, 4.4rem); }
  .hero-body { color: var(--white); padding-top: 0; padding-bottom: 0; }
  .intro { font-size: 1.15rem; max-width: 34em; margin: 1.3rem 0 0; }
  .offer { margin-inline: 0; border-radius: var(--radius); max-width: 36rem; }
  .plus b { color: var(--orange); }
  .jobs { border-color: rgba(255,255,255,.25); text-align: left; max-width: 36rem; }
  .cta-row { max-width: 36rem; }
  .after-cta { color: #d3d9dd; max-width: 36rem; }
  .hero-body .btn-outline { border-color: rgba(255,255,255,.6); color: var(--white); }
  .hero-body .btn-outline:hover { background: rgba(255,255,255,.1); }
  .hero-form { position: relative; z-index: 1; background: transparent; padding: 0; }
  .form-card { position: sticky; top: 1.5rem; }
  section { padding: 4.2rem 0; }
  .site-header .wrap { min-height: 84px; }
  .brand-logo { height: 68px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
