:root {
  --paper: #f3efe7;
  --paper-2: #e3e7d9;
  --ink: #1c1b18;
  --ink-2: #4a4740;
  --line: #d2d5c3;
  --brick: #5f7352;
  --brick-dark: #4a5a3f;
  --sand: #c5d1b3;
  --moss: #34412f;
  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --body: "Public Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.center { text-align: center; margin-top: 32px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; margin-right: auto; }
.brand-mark { width: 26px; height: 26px; fill: var(--brick); }
.links { display: flex; gap: 26px; }
.links a { text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; }
.links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--brick); transition: right .25s; }
.links a:hover::after { right: 0; }
.call { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; background: var(--ink); color: var(--paper); padding: 9px 16px; border-radius: 999px; font-size: .95rem; white-space: nowrap; }
.call:hover { background: var(--brick); }
.call-icon { width: 16px; height: 16px; fill: currentColor; flex: none; }
.menu-btn { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; padding: 10px 8px; }
.menu-btn span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .2s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--brick); color: #fff; border: 0; padding: 15px 24px; font: 600 1rem var(--body); text-decoration: none; cursor: pointer; border-radius: 4px; transition: background .2s, transform .2s; }
.btn:hover { background: var(--brick-dark); }
.btn:hover span { transform: translateX(3px); }
.btn span { transition: transform .2s; }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--brick); padding-bottom: 2px; }
.link-arrow::after { content: " →"; }

/* ---------- hero ---------- */
.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.kicker { font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--brick); margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 32px; height: 2px; background: var(--brick); }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--brick); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em; background: var(--sand); z-index: -1; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--ink-2); max-width: 560px; margin: 26px 0 32px; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-photo { position: relative; margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 4px 120px 4px 4px; background: var(--paper-2); }
.hero-photo figcaption { position: absolute; left: 16px; bottom: 16px; background: var(--paper); padding: 8px 14px; font-size: .85rem; font-weight: 600; border-radius: 3px; }
.hero-photo figcaption:empty { display: none; }
.stamp { position: absolute; width: clamp(104px, 11vw, 136px); left: -48px; top: 38%; animation: spin 30s linear infinite; }
.stamp circle { fill: var(--moss); }
.stamp textPath { fill: var(--sand); font: 700 9.6px var(--body); letter-spacing: .14em; }
.stamp .stamp-big { fill: #fff; font: 800 26px var(--display); }
.stamp .stamp-small { fill: var(--sand); font: 700 9px var(--body); letter-spacing: .2em; }
.stamp text:not(:first-of-type) { animation: spin 30s linear infinite reverse; transform-origin: 60px 60px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- ticker ---------- */
.ticker { background: var(--ink); color: var(--paper); overflow: hidden; padding: 16px 0; }
.ticker-track { display: flex; width: max-content; animation: tick 45s linear infinite; }
.ticker-track span { font: 700 clamp(1.1rem, 2vw, 1.5rem) var(--display); padding: 0 22px; display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; }
.ticker-track span::after { content: ""; width: 14px; height: 8px; background: var(--brick); border-radius: 1px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.section-note { margin: 0; color: var(--ink-2); }

/* featured grid */
.featured { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(160px, 18vw, 250px); gap: 12px; }
.tile { position: relative; overflow: hidden; border-radius: 3px; cursor: zoom-in; background: var(--paper-2); margin: 0; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.04); }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px; color: #fff; font-weight: 600; font-size: .92rem; background: linear-gradient(transparent, rgba(0,0,0,.65)); opacity: 0; transform: translateY(6px); transition: .3s; }
.tile:hover figcaption { opacity: 1; transform: none; }
.featured .tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }

/* services */
.services-section { background: var(--paper-2); }
.service-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.service-col h3 { font-size: 1.05rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; display: flex; justify-content: space-between; }
.service-col h3 small { font: 600 .8rem var(--body); color: var(--brick); letter-spacing: 0; }
.svc { display: grid; grid-template-columns: 38px 1fr auto; gap: 4px 8px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.svc-n { font: 600 .8rem var(--body); color: var(--brick); }
.svc-name { font: 700 1.3rem var(--display); letter-spacing: -0.01em; }
.svc-arrow { opacity: 0; transform: translateX(-6px); transition: .2s; color: var(--brick); font-weight: 700; }
.svc-text { grid-column: 2 / 4; color: var(--ink-2); font-size: .94rem; }
.svc:hover .svc-arrow { opacity: 1; transform: none; }
.svc:hover .svc-name { color: var(--brick); }

/* about */
.about { background: var(--moss); color: #efe9dc; padding: clamp(64px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.about::before { /* faint brick coursing */
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image:
    linear-gradient(#fff 2px, transparent 2px),
    linear-gradient(90deg, #fff 2px, transparent 2px);
  background-size: 100% 40px, 120px 80px;
  mask-image: linear-gradient(90deg, #000, transparent 60%);
}
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: center; position: relative; }
.about-num { font: 800 clamp(8rem, 20vw, 16rem)/.8 var(--display); letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 2px var(--sand); position: relative; }
.about-num sup { font-size: .4em; color: var(--brick); -webkit-text-stroke: 0; vertical-align: top; position: relative; top: .1em; }
.about-num small { display: block; font: 600 1rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--sand); -webkit-text-stroke: 0; margin-top: 24px; }
.about-copy h2 { color: #fff; margin-bottom: 20px; }
.about-copy p { font-size: 1.06rem; color: #d8d2c3; max-width: 620px; }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid rgba(255,255,255,.25); padding-top: 14px; }
.steps li::before { content: "0" counter(s); font: 700 .8rem var(--body); color: var(--sand); display: block; margin-bottom: 6px; }
.steps b { display: block; color: #fff; font-family: var(--display); font-size: 1.1rem; margin-bottom: 4px; }
.steps span { font-size: .9rem; color: #c9c3b4; }

/* masonry */
.masonry { columns: 4 240px; column-gap: 12px; }
.masonry .tile { break-inside: avoid; margin-bottom: 12px; }
.masonry .tile img { height: auto; }
.empty { border: 2px dashed var(--line); padding: 48px; text-align: center; color: var(--ink-2); border-radius: 4px; grid-column: 1 / -1; }

/* contact */
.contact { background: var(--moss); color: var(--paper); padding: clamp(64px, 9vw, 120px) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 90px); }
.contact-info h2 { margin-bottom: 18px; }
.contact-info p { color: #c9d0bd; max-width: 440px; }
.big-phone { display: block; font: 800 clamp(2rem, 4.4vw, 3.2rem) var(--display); color: var(--sand); text-decoration: none; margin: 30px 0 8px; letter-spacing: -0.02em; }
.big-phone:hover { color: #fff; }
.contact-email { font-weight: 600; color: var(--paper); }
.area { margin-top: 26px; font-size: .92rem; }
.quote-form { background: var(--paper); color: var(--ink); padding: clamp(22px, 3vw, 36px); border-radius: 4px; display: grid; gap: 16px; }
.quote-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form label { display: grid; gap: 6px; font-weight: 600; font-size: .88rem; }
.quote-form input, .quote-form select, .quote-form textarea { font: 400 1rem var(--body); padding: 12px 0; border: 0; border-bottom: 2px solid var(--line); background: transparent; color: var(--ink); border-radius: 0; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--brick); }
.quote-form textarea { resize: vertical; }
.quote-form .btn { justify-self: start; margin-top: 6px; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; min-height: 1.4em; font-weight: 600; }
.form-status.ok { color: #2f7a36; }
.form-status.err { color: var(--brick-dark); }

.footer { background: #121210; color: #9a968a; font-size: .9rem; padding: 48px 0 20px; }
.footer a { color: #cfcabd; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer p { margin: 0 0 6px; }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid #2a2925; }
.footer-name { font: 700 1.1rem var(--display); color: #fff; margin-bottom: 10px !important; }
.footer-links { list-style: none; margin: 0; padding: 0; columns: 3 150px; column-gap: 24px; }
.footer-links li { padding: 3px 0; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 18px; font-size: .84rem; }
.footer .admin-link { color: #5d594f; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(15,14,12,.95); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; }
.lightbox img { max-width: 100%; max-height: 84vh; border-radius: 2px; }
.lightbox figcaption { color: #ddd; font-weight: 500; }
.lightbox button { background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; height: 100%; opacity: .7; }
.lightbox button:hover { opacity: 1; }
.lb-close { position: absolute; top: 10px; right: 16px; height: auto !important; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, .js .reveal { animation: none !important; transition: none !important; opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .service-cols { grid-template-columns: 1fr 1fr; }
  .featured { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px) {
  .links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--paper); flex-direction: column; padding: 8px 20px 20px; gap: 0; border-bottom: 1px solid var(--line); }
  .links.open { display: flex; }
  .links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .menu-btn { display: block; }
  .top-inner { gap: 12px; }
  .call { padding: 8px 12px; font-size: .85rem; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-photo img { aspect-ratio: 4/3; border-radius: 4px 72px 4px 4px; }
  .stamp { left: auto; right: 12px; top: 12px; width: 92px; }
  .service-cols { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .quote-form .row { grid-template-columns: 1fr; }
  .tile figcaption { opacity: 1; transform: none; }
  .about-num { font-size: 7rem; }
}
@media (max-width: 420px) {
  .brand span { font-size: 1rem; }
  .call span:last-child { display: none; }
  .call::after { content: "Call"; }
}

/* ---------- SEO additions ---------- */
.hero-area { margin: 22px 0 0; font-size: .92rem; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.hero-area::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brick); }
.section-alt { background: var(--paper); }
.tile.more { display: none; }


.chip-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list a { display: inline-block; padding: 10px 18px; border: 1.5px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 600; background: var(--paper); }
.chip-list a:hover { background: var(--ink); color: var(--paper); }
\.nf { min-height: 40vh; }
.nf h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; }
}
