:root {
  --ink: #18201d;
  --muted: #64706a;
  --green: #1f4b3a;
  --green-dark: #123429;
  --yellow: #f0b83e;
  --paper: #f5f3ee;
  --white: #fff;
  --line: #d8ddd8;
  --steel: #414a46;
  --timber: #bb8150;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "DM Sans", sans-serif; line-height: 1.6; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .brand-copy strong { font-family: "Manrope", sans-serif; letter-spacing: 0; }
h1 { max-width: 860px; margin-bottom: 20px; color: white; font-size: clamp(3.1rem, 6.2vw, 6.2rem); line-height: .95; font-weight: 800; }
.hero-name { display: inline-block; white-space: nowrap; font-size: .78em; }
h2 { margin-bottom: 0; font-size: clamp(2.25rem, 4vw, 4.15rem); line-height: 1.05; }
h3 { line-height: 1.2; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--green); font-weight: 700; font-size: .77rem; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { width: 28px; height: 2px; content: ""; background: var(--yellow); }
.eyebrow.light { color: #e7eee9; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 0; border-radius: 4px; color: var(--ink); background: var(--yellow); font-weight: 700; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); background: #fac95d; }
.button svg, .text-link svg { width: 18px; }
.button-small { min-height: 42px; padding-inline: 17px; font-size: .9rem; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--green); font-weight: 700; }
.light-link { color: white; }

.site-header { position: absolute; z-index: 10; top: 0; left: 0; display: grid; width: 100%; height: 90px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); grid-template-columns: auto 1fr auto; align-items: center; gap: 44px; color: white; border-bottom: 1px solid rgba(255,255,255,.22); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: grid; width: 48px; aspect-ratio: 1; place-items: center; border: 2px solid var(--yellow); color: var(--yellow); font-family: "Manrope", sans-serif; font-size: .78rem; font-weight: 800; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font-size: 1.02rem; }
.brand-copy small { margin-top: 5px; font-size: .58rem; letter-spacing: .15em; text-transform: uppercase; }
.nav { display: flex; justify-content: center; gap: 34px; font-size: .9rem; font-weight: 600; }
.nav a { position: relative; }
.nav a::after { position: absolute; right: 0; bottom: -7px; left: 0; height: 2px; content: ""; background: var(--yellow); transform: scaleX(0); transition: transform .2s; }
.nav a:hover::after { transform: scaleX(1); }
.icon-button { display: none; width: 42px; height: 42px; padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; }

.hero { position: relative; display: flex; min-height: 780px; height: min(880px, 92vh); align-items: center; overflow: hidden; background: var(--green-dark) url("assets/fencing-hero.png") center/cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,24,18,.91) 0%, rgba(8,24,18,.63) 42%, rgba(8,24,18,.1) 74%); }
.hero-content { position: relative; z-index: 1; width: min(1180px, calc(100% - 48px)); margin: 65px auto 0; }
.hero-lead { max-width: 580px; margin-bottom: 31px; color: #e2e8e4; font-size: 1.14rem; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.hero-proof { display: flex; margin-top: 56px; gap: 28px; color: #dce5e0; font-size: .86rem; }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof svg { width: 18px; color: var(--yellow); }
.scroll-cue { position: absolute; z-index: 2; right: max(24px, calc((100vw - 1180px) / 2)); bottom: 36px; display: flex; align-items: center; gap: 14px; color: white; font-size: .75rem; letter-spacing: .11em; text-transform: uppercase; }
.scroll-cue svg { width: 18px; color: var(--yellow); }

.intro { display: grid; padding-block: 110px 72px; grid-template-columns: 1.15fr .85fr; gap: 100px; align-items: end; }
.section-intro { max-width: 510px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.service-showcase { padding-bottom: 120px; }
.service-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.service-tab { padding: 18px 0; border: 0; border-bottom: 3px solid transparent; color: var(--muted); background: transparent; text-align: left; font-family: "Manrope", sans-serif; font-size: 1rem; font-weight: 700; cursor: pointer; }
.service-tab span { margin-right: 10px; color: #a1aaa5; font-size: .7rem; }
.service-tab.active { border-color: var(--yellow); color: var(--ink); }
.service-panel { display: grid; min-height: 500px; padding-top: 44px; grid-template-columns: 1.08fr .92fr; gap: 76px; align-items: center; }
.material-visual { position: relative; display: flex; height: 440px; align-items: stretch; overflow: hidden; background: #cab49c; box-shadow: 24px 24px 0 var(--paper); }
.material-visual span { flex: 1; border-right: 2px solid rgba(79,47,24,.33); background: linear-gradient(90deg, #9b6035, #ca9060 32%, #ae7040 70%, #8c5431); }
.material-visual span:nth-child(even) { background: linear-gradient(90deg, #bd8050, #d59f6c 50%, #9f623b); }
.material-visual span::before { display: block; height: 100%; content: ""; background: repeating-linear-gradient(88deg, transparent 0 36px, rgba(60,31,17,.09) 38px, transparent 40px 70px); }
.colorbond-visual { background: #505a55; box-shadow: 24px 24px 0 #e9ece9; }
.colorbond-visual span, .colorbond-visual span:nth-child(even) { border-color: #2f3733; background: linear-gradient(90deg, #313936, #58635e 48%, #303835); }
.colorbond-visual span::before { background: linear-gradient(rgba(255,255,255,.08), transparent 35%); }
.service-kicker { color: var(--green); font-size: .77rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.service-copy h3 { margin-bottom: 18px; font-size: clamp(2rem, 3vw, 3.1rem); }
.service-copy > p:not(.service-kicker) { color: var(--muted); }
.check-list { margin: 26px 0 30px; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.check-list svg { width: 17px; color: var(--green); stroke-width: 3; }

.why-section { padding-block: 110px; color: white; background: var(--green-dark); }
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; }
.why-grid h2 { max-width: 480px; }
.why-list article { display: grid; padding: 28px 0; grid-template-columns: 54px 1fr; border-top: 1px solid rgba(255,255,255,.2); }
.why-list article:last-child { border-bottom: 1px solid rgba(255,255,255,.2); }
.why-list article > span { color: var(--yellow); font: 700 .72rem "Manrope", sans-serif; }
.why-list h3 { margin-bottom: 7px; font-size: 1.25rem; }
.why-list p { margin: 0; color: #b9c7c1; }

.process { padding-block: 115px; }
.section-heading { display: grid; margin-bottom: 64px; grid-template-columns: 1.3fr .7fr; gap: 80px; align-items: end; }
.section-heading > p { margin: 0; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps article { position: relative; min-height: 320px; padding: 34px 28px; border-right: 1px solid var(--line); }
.steps article:first-child { border-left: 1px solid var(--line); }
.steps svg { width: 29px; height: 29px; margin-bottom: 64px; color: var(--green); }
.steps span { position: absolute; top: 35px; right: 24px; color: #9aa39e; font-size: .7rem; font-weight: 700; }
.steps h3 { margin-bottom: 12px; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); font-size: .91rem; }

.quote-section { padding-block: 110px; background: var(--paper); }
.quote-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; }
.quote-copy h2 { margin-bottom: 22px; }
.quote-copy > p { color: var(--muted); }
.contact-lines { display: grid; margin-top: 45px; gap: 16px; }
.contact-lines a { display: flex; align-items: center; gap: 14px; }
.contact-lines svg { width: 42px; height: 42px; padding: 11px; color: var(--green); border: 1px solid #cbd2cd; }
.contact-lines span { display: flex; flex-direction: column; font-weight: 700; }
.contact-lines small { color: var(--muted); font-weight: 400; }
.quote-form { position: relative; padding: 42px; background: white; box-shadow: 0 18px 50px rgba(38,48,43,.08); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; margin-bottom: 18px; color: #36413c; font-size: .8rem; font-weight: 700; }
input, select, textarea { width: 100%; margin-top: 7px; padding: 13px 14px; border: 1px solid #cfd5d1; border-radius: 2px; color: var(--ink); background: white; outline: none; font-weight: 400; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,75,58,.1); }
textarea { resize: vertical; }
.submit-button { width: 100%; }
.form-note { display: flex; justify-content: center; align-items: center; gap: 7px; margin: 14px 0 0; color: var(--muted); font-size: .73rem; }
.form-note svg { width: 14px; }
.form-success { position: absolute; inset: 0; display: none; padding: 44px; align-items: center; gap: 20px; background: white; }
.form-success.show { display: flex; }
.form-success > svg { width: 48px; height: 48px; color: var(--green); }
.form-success strong { font: 700 1.45rem "Manrope", sans-serif; }
.form-success p { margin: 7px 0 0; color: var(--muted); }

.faq { display: grid; padding-block: 110px; grid-template-columns: .72fr 1.28fr; gap: 110px; }
.faq h2 { font-size: clamp(2.1rem, 3.3vw, 3.6rem); }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 20px; font-family: "Manrope", sans-serif; font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary svg { width: 18px; flex: 0 0 auto; transition: transform .2s; }
details[open] summary svg { transform: rotate(45deg); }
details p { max-width: 650px; padding: 0 40px 24px 0; color: var(--muted); }

footer { color: white; background: #101915; }
.footer-main { display: grid; min-height: 175px; grid-template-columns: 1fr 1fr auto; gap: 50px; align-items: center; }
.footer-brand .brand-mark { color: var(--yellow); }
.footer-main p { max-width: 360px; margin: 0; color: #aebbb5; }
.footer-links { display: flex; gap: 24px; font-size: .86rem; }
.footer-bottom { display: flex; min-height: 62px; align-items: center; justify-content: space-between; color: #78857f; border-top: 1px solid #2b3531; font-size: .74rem; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: auto 1fr auto; height: 76px; gap: 10px; padding-inline: 24px; }
  .menu-toggle { display: grid; grid-column: 3; grid-row: 1; place-items: center; }
  .header-cta { display: none; }
  .nav { position: absolute; top: 76px; right: 16px; left: 16px; display: none; padding: 22px; flex-direction: column; gap: 8px; color: var(--ink); background: white; box-shadow: 0 16px 35px rgba(0,0,0,.16); }
  .nav a { min-height: 46px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav.open { display: flex; }
  .hero { min-height: 720px; height: 88vh; }
  .hero-shade { background: linear-gradient(90deg, rgba(8,24,18,.92), rgba(8,24,18,.5)); }
  .intro, .why-grid, .section-heading, .quote-grid, .faq { grid-template-columns: 1fr; gap: 40px; }
  .service-panel { grid-template-columns: 1fr; gap: 55px; }
  .material-visual { height: 350px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps article:nth-child(3) { border-left: 1px solid var(--line); }
  .footer-main { grid-template-columns: 1fr 1fr; padding-block: 45px; }
  .footer-links { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .section-shell, .hero-content { width: min(100% - 32px, 1180px); }
  h1 { font-size: clamp(2.35rem, 12vw, 3rem); }
  h2 { font-size: 2.25rem; }
  .hero { min-height: 640px; height: auto; padding-block: 128px 72px; background-position: 61% center; }
  .hero-content { margin-top: 48px; }
  .hero-lead { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-proof { display: grid; margin-top: 34px; gap: 10px; }
  .scroll-cue { display: none; }
  .intro { padding-block: 78px 48px; }
  .service-showcase { padding-bottom: 78px; }
  .service-tab { min-height: 62px; padding-right: 12px; font-size: .82rem; line-height: 1.25; }
  .service-tab span { display: block; margin: 0 0 4px; }
  .service-panel { min-height: 0; padding-top: 30px; }
  .material-visual { height: 235px; box-shadow: 10px 10px 0 var(--paper); }
  .why-section, .process, .quote-section, .faq { padding-block: 68px; }
  .why-grid { gap: 50px; }
  .steps { grid-template-columns: 1fr; }
  .steps article, .steps article:nth-child(3) { min-height: 235px; border-left: 1px solid var(--line); }
  .steps svg { margin-bottom: 40px; }
  .quote-form { padding: 24px 18px; margin-inline: -2px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .faq { gap: 45px; }
  .footer-main { grid-template-columns: 1fr; gap: 25px; }
  .footer-links { grid-column: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
  .footer-bottom { padding-block: 18px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

@media (max-width: 420px) {
  .site-header { padding-inline: 16px; }
  .brand-mark { width: 44px; font-size: .72rem; }
  .brand-copy strong { font-size: .94rem; }
  .brand-copy small { font-size: .52rem; }
  .section-shell, .hero-content { width: min(100% - 28px, 1180px); }
  .hero { min-height: 610px; padding-block: 118px 58px; }
  .hero-lead { margin-bottom: 24px; }
  .button { min-height: 50px; padding-inline: 16px; }
  .service-tabs { gap: 10px; border-bottom: 0; }
  .service-tab { padding: 14px 12px; border: 1px solid var(--line); }
  .service-tab.active { border-color: var(--yellow); }
  .why-list article { grid-template-columns: 40px 1fr; }
  summary { min-height: 68px; align-items: flex-start; padding-block: 18px; }
  .form-success { padding: 28px 20px; align-items: flex-start; flex-direction: column; }
}
@media (max-width: 360px) {
  h1 { font-size: clamp(2.1rem, 11vw, 2.55rem); }
  .hero-name { font-size: .74em; }
}
.form-success.error > svg { color: #b94a3c; }
