/* =========================================================
   MNR Custom — style.css
   Palette: Carbon · Walnut · Brass · Ivory
   Vertical: Custom Gunsmith / Heritage Craftsman
   Base: site-forge/skeleton/base.css
   ========================================================= */

:root {
  /* Brand world tokens */
  --carbon:    #0C0C0E;
  --barrel:    #161618;
  --walnut:    #1D1B17;
  --ivory:     #F3F0E8;
  --cream:     #E4E0D5;
  --brass:     #B5884A;
  --gilt:      #D0A562;
  --polish:    #E4C898;
  --copper:    #8B5E2A;
  --smoke:     #ABA79E;
  --ash:       #787470;

  /* Structural aliases (base.css convention) */
  --paper:       var(--carbon);
  --paper-2:     var(--barrel);
  --paper-soft:  var(--walnut);
  --ink:         var(--ivory);
  --ink-2:       var(--cream);
  --accent:      var(--brass);
  --accent-2:    var(--gilt);
  --accent-soft: var(--polish);
  --spot:        var(--copper);
  --muted:       var(--smoke);
  --muted-2:     var(--ash);
  --line:        rgba(243,240,232,.10);
  --line-2:      rgba(243,240,232,.05);

  --f-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --f-body:    "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono:    "JetBrains Mono", "SF Mono", Menlo, monospace;

  --container:        1320px;
  --container-narrow: 1040px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-soft: 0 1px 2px rgba(0,0,0,.18), 0 12px 32px -16px rgba(0,0,0,.42);
  --shadow-lift: 0 2px 4px rgba(0,0,0,.22), 0 24px 48px -20px rgba(0,0,0,.52);
}

/* RESET */
* { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }
*::selection { background: var(--brass); color: var(--carbon); }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; max-width: 100vw; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: 16px; line-height: 1.65; font-weight: 400;
  color: var(--ivory); background: var(--carbon);
  overflow-x: hidden; width: 100%; max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
section, header, footer { max-width: 100vw; overflow-x: clip; position: relative; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .35s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--barrel); }
::-webkit-scrollbar-thumb { background: var(--brass); border-radius: 4px; }

/* FILM GRAIN — signature finish */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200;
  opacity: .04; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
@media (prefers-reduced-motion: reduce) { body::after { display: none; } }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5 {
  font-family: var(--f-display); font-weight: 400;
  letter-spacing: -.012em; line-height: 1.08; color: var(--ivory);
}
h1 { font-size: clamp(2.8rem, 6.5vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.75rem); }
p  { color: var(--smoke); }
em, .italic { font-style: italic; font-family: var(--f-display); }
.serif { font-family: var(--f-display); font-weight: 400; letter-spacing: -.01em; color: var(--ivory); }

/* Signature eyebrow — universal house marker */
.eyebrow {
  font-family: var(--f-body); text-transform: uppercase;
  letter-spacing: .4em; font-size: 11px; font-weight: 500;
  color: var(--ivory); display: inline-block;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 1px;
  background: var(--brass); margin-right: 14px; vertical-align: middle;
}
.label-mono {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ash);
}

/* LAYOUT */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 10vw, 140px) 0; }
.section--mid { background: var(--barrel); }
.section--light {
  background: #F3F0E8; color: var(--carbon);
}
.section--light h1, .section--light h2, .section--light h3 { color: var(--carbon); }
.section--light p { color: #4A4640; }
.section--light .eyebrow { color: var(--carbon); }
.grid { display: grid; gap: clamp(24px, 4vw, 64px); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-body); font-size: 11px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  padding: 15px 30px; border: 1px solid var(--ivory);
  background: var(--ivory); color: var(--carbon);
  transition: all .35s var(--ease); cursor: pointer;
}
.btn:hover { background: transparent; color: var(--ivory); opacity: 1; }
.btn--ghost { background: transparent; color: var(--smoke); border-color: rgba(243,240,232,.25); }
.btn--ghost:hover { background: rgba(243,240,232,.08); color: var(--ivory); }
.btn--accent { background: var(--brass); border-color: var(--brass); color: var(--carbon); }
.btn--accent:hover { background: var(--gilt); border-color: var(--gilt); color: var(--carbon); opacity: 1; }

/* ANNOUNCE BAR */
.announce {
  background: var(--walnut); text-align: center; padding: 11px 20px;
  font-size: 10.5px; letter-spacing: .36em; text-transform: uppercase;
  color: var(--smoke); font-weight: 400; border-bottom: 1px solid var(--line);
}
.announce span { color: var(--gilt); }

/* STICKY NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 24px; padding: 18px var(--gutter);
  background: color-mix(in srgb, var(--carbon) 88%, transparent);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line); transition: padding .35s var(--ease);
}
.nav.scrolled { padding-top: 12px; padding-bottom: 12px; }
.nav-logo {
  font-family: var(--f-display); font-size: 1.25rem;
  letter-spacing: .08em; color: var(--ivory); white-space: nowrap;
}
.nav-links {
  display: flex; gap: 32px; justify-self: center; justify-content: center;
  list-style: none; font-size: 10.5px; letter-spacing: .24em;
  text-transform: uppercase; font-weight: 500;
}
.nav-links a { color: var(--ash); transition: color .3s var(--ease); }
.nav-links a:hover { color: var(--gilt); opacity: 1; }
.nav-cta { justify-self: end; padding: 11px 22px; font-size: 10px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 24px; height: 1.5px; background: var(--ivory); transition: .3s var(--ease); }

/* HERO */
.hero {
  padding: clamp(80px, 14vh, 180px) 0 clamp(64px, 10vw, 120px);
  background: radial-gradient(ellipse 70% 60% at 65% 30%, rgba(181,136,74,.08) 0%, transparent 70%);
  border-bottom: 1px solid var(--line);
}
.hero-meta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em;
  color: var(--ash); margin-bottom: 32px;
}
.hero-meta-row .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--brass); flex-shrink: 0; }
.hero-title { margin-bottom: 24px; }
.hero-title em { color: var(--gilt); font-style: italic; }
.hero-tag { font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 54ch; color: var(--smoke); }

/* MARQUEE */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  padding: 14px 0; background: var(--walnut);
}
.marquee-track {
  display: flex; gap: 36px; white-space: nowrap; width: max-content;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ash);
  animation: marq 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .dot-sep { color: var(--brass); }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* TRUST BAR */
.trust-bar { padding: clamp(40px, 6vw, 72px) 0; }
.trust-num { font-size: clamp(2rem, 3.5vw, 2.8rem); color: var(--gilt); margin-bottom: 8px; }

/* STORY */
.story-grid { grid-template-columns: 1fr 1.15fr; align-items: center; gap: clamp(40px, 7vw, 96px); }
.story-img-wrap { position: relative; }
.img-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--walnut) 0%, var(--barrel) 60%, rgba(181,136,74,.05) 100%);
  border: 1px solid var(--line);
  display: flex; align-items: flex-end; padding: 28px;
}
.img-placeholder::after {
  content: attr(data-label);
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ash); line-height: 1.6;
}
/* Brass corner brackets — signature craft detail */
.story-img-wrap::before {
  content: ""; position: absolute; top: -14px; left: -14px;
  width: 72px; height: 72px;
  border-top: 1.5px solid var(--brass); border-left: 1.5px solid var(--brass);
  z-index: 1; pointer-events: none;
}
.story-img-wrap::after {
  content: ""; position: absolute; bottom: -14px; right: -14px;
  width: 72px; height: 72px;
  border-bottom: 1.5px solid var(--brass); border-right: 1.5px solid var(--brass);
  z-index: 1; pointer-events: none;
}

/* SERVICES */
.services-grid { grid-template-columns: repeat(3, 1fr); }
.service-card {
  border: 1px solid var(--line); padding: 36px 28px; background: var(--walnut);
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.service-card:hover { border-color: var(--brass); background: rgba(181,136,74,.04); }
.service-num {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em;
  color: var(--brass); margin-bottom: 20px; display: block;
}
.service-card h3 { color: var(--ivory); }
.service-card p { margin-top: 12px; font-size: 14px; line-height: 1.7; }

/* PROCESS */
.process-step { border-top: 1px solid var(--line); padding-top: 28px; }
.process-num {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em;
  color: var(--brass); margin-bottom: 16px; display: block;
}
.process-step h3 { color: var(--ivory); }
.process-step p { margin-top: 10px; font-size: 14px; line-height: 1.7; }

/* TESTIMONIAL */
.testimonial-quote {
  font-family: var(--f-display); font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1.45; color: var(--ivory); font-style: italic;
}
.testimonial-cite {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ash); display: block; margin-top: 24px;
}
.testimonial-cite span { color: var(--brass); margin: 0 8px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); padding: 28px 0; }
.faq-item summary {
  font-family: var(--f-display); font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  cursor: pointer; list-style: none; color: var(--ivory);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--f-mono); font-size: 18px;
  color: var(--brass); flex-shrink: 0; transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 16px; max-width: 66ch; font-size: 15px; }

/* CONTACT / LIGHT SECTION */
.contact-info h2 em { color: var(--copper); }
.contact-detail { display: flex; gap: 14px; margin-top: 18px; align-items: flex-start; }
.contact-detail-label {
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--copper); min-width: 56px; padding-top: 3px; flex-shrink: 0;
}
.contact-detail-value { color: #4A4640; font-size: 14px; line-height: 1.6; }
.contact-detail-value a { color: var(--carbon); font-weight: 500; }
.contact-detail-value a:hover { color: var(--copper); opacity: 1; }

/* FORM */
.enquiry-form { display: flex; flex-direction: column; gap: 14px; }
.enquiry-form input,
.enquiry-form textarea,
.enquiry-form select {
  width: 100%; padding: 14px 16px;
  background: transparent; border: 1px solid rgba(12,12,14,.18);
  font-family: var(--f-body); font-size: 14px; color: var(--carbon);
  transition: border-color .3s var(--ease); appearance: none;
}
.enquiry-form input:focus,
.enquiry-form textarea:focus,
.enquiry-form select:focus { outline: none; border-color: var(--copper); }
.enquiry-form textarea { resize: vertical; min-height: 120px; }
.enquiry-form ::placeholder { color: #ABA7A0; }
.enquiry-form .btn-submit {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-body); font-size: 11px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  padding: 15px 30px; border: 1px solid var(--carbon);
  background: var(--carbon); color: var(--ivory);
  cursor: pointer; transition: all .35s var(--ease); align-self: flex-start;
}
.enquiry-form .btn-submit:hover { background: transparent; color: var(--carbon); }

/* FOOTER */
.footer {
  background: var(--walnut); color: var(--ivory);
  padding: clamp(56px, 8vw, 100px) 0 40px;
  border-top: 1px solid var(--line);
}
.footer-brand { font-family: var(--f-display); font-size: 1.5rem; color: var(--ivory); }
.footer a { color: var(--smoke); transition: color .3s var(--ease); }
.footer a:hover { color: var(--gilt); opacity: 1; }
.footer-grid { grid-template-columns: 2fr 1fr 1fr; }
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 16px; font-size: 13px; }
.footer-credit {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em;
  color: var(--ash); text-align: center;
}
.footer-credit a { color: var(--ash); }
.footer-credit a:hover { color: var(--brass); opacity: 1; }

/* REVEAL SYSTEM */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in, .no-js .reveal, .reveal.reveal--shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* IMAGE FALLBACK */
.img-fallback { display: flex; align-items: center; justify-content: center;
  background: var(--barrel); border: 1px solid var(--line); min-height: 220px; }
.img-fallback-cap { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ash); padding: 24px; text-align: center; }

/* UTILITIES */
.center { text-align: center; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.maxw-prose { max-width: 60ch; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-img-wrap { max-width: 520px; }
  .story-img-wrap::before, .story-img-wrap::after { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav { grid-template-columns: auto 1fr; }
  .nav-cta { display: none; }
  .nav-links.open {
    display: flex; position: fixed; inset: 60px 0 auto 0; flex-direction: column;
    background: var(--barrel); padding: 28px var(--gutter); gap: 20px;
    border-bottom: 1px solid var(--line); z-index: 99;
  }
  .nav-links.open a { font-size: 14px; letter-spacing: .14em; color: var(--ivory); }
  .grid { gap: 28px; }
  .hero-title { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .trust-bar .grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section--light .grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
  .hero-meta-row { gap: 10px; font-size: 10px; }
  .trust-bar .grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
