/* Fonts are self-hosted so no visitor data goes to Google */
@font-face { font-family: "Archivo"; src: url("fonts/archivo.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --ink: #16181b;
  --ink-2: #1f2226;
  --ink-3: #2a2e33;
  --paper: #ffffff;
  --paper-2: #f4f2ee;
  --text: #22252a;
  --muted: #5f646b;
  --muted-light: #a8adb3;
  --line: #e3e0da;
  --accent: #c8862f;
  --accent-dark: #a86d1f;
  --radius: 6px;
  --max: 1200px;
  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.menu-open, html.lb-open { overflow: hidden; }
* { -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; color: var(--ink); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: #d6d8db; }
.section-dark h2, .section-dark h4 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-lead { color: var(--muted); font-size: 1.1rem; }
.eyebrow {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 16px 30px; border-radius: var(--radius);
  background: var(--accent); color: #fff; border: 2px solid var(--accent);
  cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.7); }
.btn-sm { padding: 10px 18px; font-size: .8rem; white-space: nowrap; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 18px 0;
}
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(22,24,27,.96); box-shadow: 0 2px 20px rgba(0,0,0,.25); opacity: 0; transition: opacity .3s; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.site-header.scrolled { padding: 10px 0; }
.site-header.scrolled::before { opacity: 1; }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--accent); color: #fff; border-radius: 4px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.4rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-size: 1.2rem; letter-spacing: .06em; text-transform: uppercase; }
.brand-text small { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-light); }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { color: #fff; font-weight: 500; font-size: .95rem; position: relative; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--accent); transition: width .25s; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: transform .3s, opacity .3s; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--ink); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero-video::-webkit-media-controls, .hero-video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14,15,17,.82) 0%, rgba(14,15,17,.5) 55%, rgba(14,15,17,.2) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: 100px; padding-bottom: 80px; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 9.5vw, 5.6rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; line-height: .98; margin-bottom: 28px; }
.hero-lead { max-width: 560px; font-size: 1.15rem; color: #e1e3e6; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Trust bar */
.trust-bar { background: var(--ink-2); color: #cfd2d6; border-top: 3px solid var(--accent); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 16px; align-items: flex-start; padding: 30px 24px; border-right: 1px solid rgba(255,255,255,.08); }
.trust-item:last-child { border-right: 0; }
.trust-item svg { flex: none; width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.trust-item strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.02rem; }
.trust-item span { font-size: .88rem; color: var(--muted-light); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; }
.service-card { grid-column: span 2; }
.service-card:nth-last-child(-n+2) { grid-column: span 3; }
.service-card:nth-last-child(-n+2) .service-img { aspect-ratio: 16 / 9; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.service-img { aspect-ratio: 4 / 3; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-body { padding: 26px 26px 30px; }
.service-body p { color: var(--muted); font-size: .98rem; margin: 0; }
.services-grid .service-featured { grid-column: 1 / -1; flex-direction: row; }
.service-featured .service-img { flex: 1.25; aspect-ratio: auto; min-height: 380px; }
.service-featured .service-body { flex: 1; padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.service-featured h3 { font-size: 2rem; }
.service-featured .service-body p { font-size: 1.05rem; margin-bottom: 20px; }
.tag { align-self: flex-start; font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: rgba(200,134,47,.12); color: var(--accent-dark); padding: 6px 12px; border-radius: 3px; margin-bottom: 16px; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 28px; margin-bottom: 8px; font-weight: 500; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-media { position: relative; padding-bottom: 70px; padding-right: 70px; }
.about-img-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about-img-accent { position: absolute; right: 0; bottom: 0; width: 55%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 8px solid var(--ink); }
.about-copy > p { color: #b9bdc2; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; margin-top: 34px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.1); }
.about-points h4 { color: #fff; margin-bottom: 6px; padding-left: 14px; border-left: 3px solid var(--accent); }
.about-points p { font-size: .93rem; color: var(--muted-light); margin: 0; }

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.process li { position: relative; padding: 34px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.process li::after { content: ""; position: absolute; top: 0; left: 0; width: 60px; height: 3px; background: var(--accent); }
.step-num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--line); display: block; margin-bottom: 10px; line-height: 1; }
.process p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Gallery */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter { font-family: var(--font-head); font-weight: 600; font-size: .9rem; padding: 10px 20px; border-radius: 40px; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; transition: all .2s; }
.filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 14px; }
.g-item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; background: var(--ink-3); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, opacity .3s; }
.g-item figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 18px 14px; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .95rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); opacity: 0; transform: translateY(8px); transition: all .3s; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-item.hidden { display: none; }

/* CTA band */
.cta-band { background: linear-gradient(rgba(22,24,27,.85), rgba(22,24,27,.85)), url("images/framing-6.jpg") center / cover fixed; color: #fff; padding: 80px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #cfd2d6; margin: 0; font-size: 1.1rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: start; }
.contact-info > p { color: var(--muted); font-size: 1.08rem; }
.contact-list { margin: 34px 0 0; display: grid; gap: 0; }
.contact-list div { padding: 18px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 140px 1fr; gap: 16px; }
.contact-list dt { font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact-list dd { margin: 0; font-weight: 500; }
.contact-form { background: var(--paper-2); padding: 44px; border-radius: var(--radius); border-top: 4px solid var(--accent); display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 7px; font-size: .85rem; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-size: 1rem; font-weight: 400; color: var(--text);
  width: 100%; padding: 13px 14px; border: 1px solid #d5d1c9; border-radius: 4px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,134,47,.18); }
.contact-form .invalid { border-color: #c0392b; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: .82rem; color: var(--muted); }
.form-note a, .legal a { text-decoration: underline; }
.legal { padding-top: 150px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal-date { color: var(--muted); }
.form-status { margin: 0; font-weight: 500; min-height: 1.4em; }
.form-status.ok { color: #1e7a45; }
.form-status.err { color: #b3261e; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-light); padding-top: 70px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand p { margin-top: 18px; max-width: 340px; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; padding-bottom: 24px; font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,11,12,.95); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 88vw; max-height: 86vh; object-fit: contain; border-radius: 4px; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 3rem; line-height: 1; cursor: pointer; padding: 12px 18px; opacity: .75; }
.lb-close { top: 16px; right: 20px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Hover effects: mouse and trackpad only */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
  .btn-ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
  .main-nav a:not(.btn):hover::after { width: 100%; }
  .service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20,22,25,.12); }
  .service-card:hover .service-img img { transform: scale(1.05); }
  .filter:hover { border-color: var(--ink); }
  .g-item:hover img { transform: scale(1.06); }
  .g-item:hover figcaption { opacity: 1; transform: none; }
  .site-footer a:hover { color: var(--accent); }
  .lightbox button:hover { opacity: 1; }
}
/* Touch screens: always show gallery captions, use normal scrolling backgrounds (iOS does not support fixed) */
@media (hover: none), (pointer: coarse) {
  .g-item figcaption { opacity: 1; transform: none; font-size: .85rem; padding: 30px 12px 10px; }
  .cta-band { background-attachment: scroll; }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card, .service-card:nth-last-child(-n+2) { grid-column: span 1; }
  .service-card:last-child { grid-column: 1 / -1; }
  .service-card:nth-last-child(-n+2) .service-img { aspect-ratio: 4 / 3; }
  .service-card:last-child .service-img { aspect-ratio: 21 / 9; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .about-grid { gap: 50px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw);
    flex-direction: column; align-items: flex-start; gap: 26px;
    background: var(--ink); padding: 100px 32px 32px;
    transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility 0s .35s;
    overflow-y: auto; overscroll-behavior: contain; z-index: 55;
  }
  .main-nav.open { transform: none; visibility: visible; transition: transform .35s ease; box-shadow: -10px 0 40px rgba(0,0,0,.4); }
  .nav-backdrop { position: fixed; inset: 0; z-index: 45; background: rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .menu-open .nav-backdrop { opacity: 1; pointer-events: auto; }
  .main-nav a { font-size: 1.15rem; }
  .nav-toggle { display: block; position: relative; z-index: 60; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid .service-featured { flex-direction: column; }
  .service-featured .service-img { min-height: 260px; }
  .service-featured .service-body { padding: 30px 26px; }
  .cta-band { background-attachment: scroll; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 76px 0; }
  .services-grid, .process, .trust-grid { grid-template-columns: 1fr; }
  .service-card:last-child .service-img { aspect-ratio: 4 / 3; }
  .trust-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); padding: 20px 8px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 10px; }
  .g-wide { grid-column: span 2; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .contact-list div { grid-template-columns: 1fr; gap: 4px; }
  .about-points { grid-template-columns: 1fr; }
  .about-media { padding-right: 40px; padding-bottom: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-content { padding-top: 110px; }
  .hero-lead { font-size: 1.05rem; }
  .brand-text strong { font-size: 1.05rem; }
  .brand-mark { width: 38px; height: 38px; }
  .lightbox img { max-width: 100vw; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span { animation: none; }
  .service-card, .g-item img, .service-img img { transition: none; }
}

@media (max-height: 560px) and (orientation: landscape) {
  .scroll-cue { display: none; }
  .hero-content { padding-top: 90px; padding-bottom: 40px; }
  .hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
}
.nav-backdrop { display: none; }
@media (max-width: 860px) { .nav-backdrop { display: block; } }
