:root {
  --red: #682A2B;
  --ochre: #C28A3E;
  --sage: #7A8F6B;
  --brown: #3B2A1F;
  --paper: #F7F2E8;
  --sand: #E7D3A9;
  --deep: #2B1F16;
  --coal: #232323;
  --blue: #4A6782;
  --white: #fff;
  --max: 1240px;
  --pad: clamp(1.25rem, 3vw, 2.5rem);
  --section: clamp(5rem, 9vw, 9rem);
  --radius: 2px;
  --shadow: 0 20px 60px rgba(43, 31, 22, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Source Sans 3", system-ui, sans-serif; color: var(--coal); background: var(--paper); font-size: 18px; line-height: 1.58; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { background: var(--ochre); color: var(--deep); }

.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 1000; background: var(--paper); color: var(--deep); padding: .65rem 1rem; transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
.container { width: min(var(--max), calc(100% - 2 * var(--pad))); margin-inline: auto; }
.section { padding-block: var(--section); }
.eyebrow { margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; }
h1, h2, h3 { font-family: "Bitter", Georgia, serif; margin: 0; line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(3.1rem, 7.2vw, 7.4rem); max-width: 13ch; }
h2 { font-size: clamp(2.3rem, 4.8vw, 5rem); max-width: 16ch; }
h3 { font-size: clamp(1.35rem, 2vw, 2rem); }
p { margin: 0 0 1.2rem; }

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(43,31,22,.46); backdrop-filter: blur(7px); box-shadow: 0 1px 0 rgba(255,255,255,.06); transition: background .5s ease, box-shadow .5s ease, backdrop-filter .5s ease; }
.site-header.is-scrolled { background: rgba(43,31,22,.94); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.10); }
.header-inner { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand img { width: 210px; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); color: white; font-size: .94rem; }
.main-nav a { text-decoration: none; opacity: .9; }
.main-nav a:hover, .main-nav a:focus-visible { opacity: 1; }
.nav-cta { border: 1px solid rgba(255,255,255,.42); padding: .65rem .9rem; }
.nav-toggle { display: none; border: 0; background: none; width: 44px; height: 44px; padding: 10px; }
.nav-toggle span:not(.sr-only) { display: block; height: 1px; background: white; margin: 7px 0; transition: transform .25s; }

.hero { min-height: 100svh; position: relative; color: white; display: grid; align-items: end; overflow: hidden; background: var(--deep); }
.hero-media, .hero-media img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 52% 46%; scale: 1.02; }
.hero-shade { background: linear-gradient(90deg, rgba(25,18,13,.78) 0%, rgba(25,18,13,.38) 52%, rgba(25,18,13,.12) 100%), linear-gradient(0deg, rgba(25,18,13,.52), transparent 45%); }
.hero-inner { position: relative; z-index: 2; padding-top: 150px; padding-bottom: clamp(3.5rem, 7vw, 6rem); display: grid; gap: 3rem; }
.hero-copy { max-width: 850px; }
.hero-lead { max-width: 650px; margin-top: 1.5rem; font-size: clamp(1.12rem, 1.8vw, 1.45rem); color: rgba(255,255,255,.9); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem 1.7rem; margin-top: 2rem; }
.hero-pro { justify-self: end; text-align: right; text-decoration: none; font-weight: 600; border-top: 1px solid rgba(255,255,255,.35); padding-top: .9rem; max-width: 350px; }
.hero-pro span { display: block; font-weight: 400; opacity: .75; font-size: .9rem; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .8rem 1.25rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ochre); color: var(--deep); font-weight: 600; }
.button-light { background: var(--paper); color: var(--deep); font-weight: 600; }
.text-link { display: inline-flex; gap: .45rem; align-items: center; font-weight: 600; color: var(--red); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .16rem; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.text-link.light { color: white; }

.intro { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(420px, 1.35fr); gap: 2rem 5rem; align-items: start; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.section-heading .eyebrow { grid-column: 1; }
.section-heading .section-kicker { grid-column: 1; grid-row: 1 / span 3; min-width: 0; }
.section-heading .section-kicker .eyebrow { margin-bottom: 1.5rem; }
.intro-detail { width: min(250px, 92%); aspect-ratio: 4 / 5; overflow: hidden; margin-top: clamp(2rem, 4vw, 3.5rem); box-shadow: var(--shadow); }
.intro-detail img { width: 100%; height: 100%; object-fit: cover; }
.section-heading h2 { grid-column: 2; grid-row: 1 / span 2; }
.section-heading > p:last-child:not(.eyebrow) { grid-column: 2; max-width: 680px; margin-top: 1rem; }
.section-heading.narrow { display: block; max-width: 860px; }
.building-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.building-card { margin: 0; background: white; }
.building-card picture { aspect-ratio: 4/3; overflow: hidden; display: block; }
.building-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.building-card:hover img { transform: scale(1.018); }
.card-copy { padding: 1.5rem; }
.card-copy > span, .route-number { font-size: .76rem; letter-spacing: .12em; color: var(--red); font-weight: 600; }
.card-copy h3 { margin: .35rem 0 .7rem; }
.card-copy p { margin: 0; font-size: .98rem; color: #514a44; }

.craft-story { background: var(--sand); }
.split { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(3rem, 7vw, 8rem); align-items: center; }
.craft-images { position: relative; min-height: 650px; }
.image-main { position: absolute; inset: 0 17% 12% 0; overflow: hidden; box-shadow: var(--shadow); }
.image-main img, .image-detail img { width: 100%; height: 100%; object-fit: cover; }
.image-detail { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 4/5; overflow: hidden; box-shadow: var(--shadow); border: 8px solid var(--sand); }
.copy-block h2 { margin-bottom: 1.5rem; }
.copy-block p { max-width: 620px; }
.copy-block .text-link { margin-top: .5rem; }

.route { background: var(--paper); }
.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(43,31,22,.18); border-bottom: 1px solid rgba(43,31,22,.18); }
.route-card { padding: 2rem clamp(1.2rem, 2.5vw, 2.5rem) 2.4rem; text-decoration: none; min-height: 300px; display: flex; flex-direction: column; border-right: 1px solid rgba(43,31,22,.18); transition: background .25s ease, transform .25s ease; }
.route-card:last-child { border-right: 0; }
.route-card:hover { background: white; transform: translateY(-4px); }
.route-card h3 { margin: auto 0 .8rem; }
.route-card p { color: #514a44; }
.route-link { margin-top: auto; font-weight: 600; color: var(--red); }

.continuum { padding: 0; display: grid; grid-template-columns: 1.2fr .8fr; min-height: 700px; background: var(--deep); color: white; }
.continuum-media { min-height: 700px; overflow: hidden; }
.continuum-media img { width: 100%; height: 100%; object-fit: cover; }
.continuum-copy { width: auto; margin: 0; padding: clamp(4rem, 8vw, 8rem); align-self: center; }
.continuum-copy h2 { margin-bottom: 1.4rem; }
.continuum-copy p:last-child { max-width: 560px; color: rgba(255,255,255,.8); }

.image-rhythm { background: var(--paper); padding: clamp(3.5rem, 6vw, 6rem) 0 var(--section); }
.image-rhythm-grid { display: grid; grid-template-columns: .72fr 1.45fr .72fr; gap: clamp(.8rem, 1.8vw, 1.5rem); align-items: end; }
.rhythm-image { display: block; overflow: hidden; background: #ddd4c7; }
.rhythm-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.8s cubic-bezier(.22,.61,.36,1); }
.rhythm-tall { aspect-ratio: 4 / 5; }
.rhythm-wide { aspect-ratio: 16 / 10; align-self: center; }
.rhythm-image:hover img { transform: scale(1.012); }

.references { background: var(--paper); }
.reference-feature { display: grid; grid-template-columns: 1.45fr .55fr; gap: 0; background: white; box-shadow: var(--shadow); }
.reference-wide { min-height: 520px; overflow: hidden; }
.reference-wide img { width: 100%; height: 100%; object-fit: cover; }
.reference-copy { padding: clamp(2rem, 4vw, 4rem); align-self: center; }
.reference-copy h3 { font-size: clamp(2rem, 3vw, 3.3rem); margin-bottom: 1rem; }
.verify { font-size: .88rem; color: var(--blue); border-left: 2px solid var(--blue); padding-left: .8rem; }
.verify-inline { color: var(--blue); font-size: .92em; }

.process { background: #eee6d8; }
.process-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(43,31,22,.22); }
.process-list li { display: grid; grid-template-columns: 100px 1fr; gap: 1rem; padding: 1.6rem 0; border-bottom: 1px solid rgba(43,31,22,.22); }
.process-list li > span { font-family: "Bitter", Georgia, serif; font-size: 2.4rem; color: var(--red); }
.process-list h3 { margin-bottom: .45rem; }
.process-list p { max-width: 780px; margin-bottom: .5rem; }

.material { background: var(--paper); }
.material-images { min-height: 620px; position: relative; }
.material-main { position: absolute; inset: 0 0 8% 12%; overflow: hidden; box-shadow: var(--shadow); }
.material-main img, .material-small img { width: 100%; height: 100%; object-fit: cover; }
.material-small { position: absolute; left: 0; bottom: 0; width: 38%; aspect-ratio: 3/4; overflow: hidden; border: 8px solid var(--paper); box-shadow: var(--shadow); }

.pro { background: var(--red); color: white; }
.pro-grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(4rem, 8vw, 8rem); }
.pro-copy h2 { margin-bottom: 1.5rem; }
.pro-copy p { max-width: 650px; color: rgba(255,255,255,.86); }
.pro-copy .button { margin-top: 1rem; }
.pro-points { border-top: 1px solid rgba(255,255,255,.28); }
.pro-points > div { padding: 1.4rem 0 1.8rem; border-bottom: 1px solid rgba(255,255,255,.28); }
.pro-points span { color: var(--sand); font-size: .8rem; letter-spacing: .12em; }
.pro-points h3 { margin: .35rem 0 .45rem; }
.pro-points p { margin: 0; opacity: .75; }

.people { background: var(--sand); }
.people-image { min-height: 590px; overflow: hidden; }
.people-image img { width: 100%; height: 100%; object-fit: cover; }

.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(3rem, 8vw, 8rem); }
.faq .section-heading { display: block; margin: 0; }
.faq .section-heading h2 { font-size: clamp(2.2rem, 4vw, 4.1rem); }
.accordion { border-top: 1px solid rgba(43,31,22,.22); }
details { border-bottom: 1px solid rgba(43,31,22,.22); padding: 0; }
summary { cursor: pointer; list-style: none; font-family: "Bitter", Georgia, serif; font-size: 1.2rem; font-weight: 600; padding: 1.35rem 2.5rem 1.35rem 0; position: relative; }
summary::-webkit-details-marker { display:none; }
summary::after { content: "+"; position:absolute; right:.15rem; top:1rem; font-family: "Source Sans 3",sans-serif; font-size:1.7rem; font-weight:400; transition:transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 3rem 1.35rem 0; color: #514a44; }

.contact { background: var(--deep); color: white; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.contact-copy h2 { margin-bottom: 1.5rem; }
.contact-copy > p { max-width: 520px; color: rgba(255,255,255,.8); }
.protected-contacts { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 1rem; }
.contact-link { display: inline-flex; flex-direction: column; gap: .12rem; min-width: 210px; border: 1px solid rgba(255,255,255,.35); color: white; padding: .75rem .95rem; text-decoration: none; transition: border-color .3s ease, background .3s ease, color .3s ease; }
.contact-link:hover, .contact-link:focus-visible { border-color: var(--ochre); background: rgba(255,255,255,.04); color: var(--sand); }
.contact-kind { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; opacity: .62; }
.footer-contact { color: inherit; text-decoration: none; }
.privacy-note { font-size: .82rem; opacity: .65; }
.project-form { background: var(--paper); color: var(--coal); padding: clamp(1.5rem, 4vw, 3.5rem); }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.project-form label { display:block; font-weight:600; font-size:.92rem; margin-bottom:1rem; }
.project-form input, .project-form select, .project-form textarea { width:100%; margin-top:.38rem; border:1px solid rgba(43,31,22,.28); background:white; padding:.78rem .85rem; color:var(--coal); border-radius:0; }
.project-form input:focus, .project-form select:focus, .project-form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.optional { font-weight:400; color:#6a625d; }
.form-submit { margin-top: .5rem; }
.form-note, .form-status { font-size: .84rem; margin: .9rem 0 0; color:#625951; }
.form-status.is-success { color: #3f6748; font-weight: 600; }
.form-status.is-error { color: #8a2f2f; font-weight: 600; }
.form-submit:disabled { opacity: .62; cursor: wait; transform: none; }
.hp-field { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }

.site-footer { background: #17110d; color:white; padding: 4rem 0 1.5rem; }
.footer-grid { display:grid; grid-template-columns: 1.4fr .7fr .7fr; gap:3rem; }
.footer-grid-wide { grid-template-columns: 1.35fr 1fr 1fr .9fr; gap: clamp(2rem, 4vw, 4rem); }
.footer-brand img { width:210px; margin-bottom:1rem; }
.footer-brand p { opacity:.68; max-width: 340px; }
.footer-column { min-width: 0; }
.footer-address { font-style: normal; line-height: 1.6; opacity: .78; margin: 0 0 .9rem; }
.footer-small { margin-top: 1rem; font-size: .9rem; opacity: .6; }
.footer-detail { margin: 0 0 .9rem; line-height: 1.45; opacity: .78; }
.footer-detail span { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; opacity: .72; }
.footer-site-links { margin-top: 1.35rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12); }
.footer-title { font-weight:600; margin-bottom:.8rem; }
.footer-grid > div:not(.footer-brand) a, .footer-contact { display:block; width:fit-content; margin:.45rem 0; text-decoration:none; background:none; border:0; padding:0; opacity:.76; color: inherit; font: inherit; cursor: pointer; }
.footer-grid a:hover, .footer-contact:hover { opacity:1; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.14); margin-top:3rem; padding-top:1rem; display:flex; justify-content:space-between; gap:2rem; font-size:.78rem; opacity:.55; }

/* Progressive reveal: content is visible by default. JavaScript only enhances it.
   This avoids blank images if IntersectionObserver or animation handling is unreliable. */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 1.15s cubic-bezier(.22,.61,.36,1), transform 1.15s cubic-bezier(.22,.61,.36,1); transition-delay: var(--reveal-delay, 0ms); }
.js .intro .reveal, .js .route .reveal, .js .process .reveal { transition-duration: 1.75s; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Image reveals intentionally avoid clip-path. Mobile Chrome has shown cases where
   clip-path remains stuck and leaves the picture invisible. */
.image-reveal { clip-path: none !important; }
.js .image-reveal { opacity: 0; transform: translateY(10px); transition: opacity 1.45s cubic-bezier(.22,.61,.36,1), transform 1.45s cubic-bezier(.22,.61,.36,1); transition-delay: var(--reveal-delay, 0ms); }
.js .intro .image-reveal { transition-duration: 1.75s; }
.js .image-reveal.is-visible { opacity: 1; transform: none; }
.js .image-reveal img { transform: scale(1.012); transition: transform 1.8s cubic-bezier(.22,.61,.36,1); }
.js .image-reveal.is-visible img { transform: scale(1); }
.reveal-hero { transition-delay: .22s; }
.hero .reveal-hero:nth-of-type(2) { transition-delay: .72s; }

@media (max-width: 980px) {
  body { font-size: 17px; }
  .nav-toggle { display:block; position:relative; z-index:80; }
  .site-header.nav-open { height: 100dvh; background: var(--deep); backdrop-filter: none; box-shadow: none; }
  .site-header.nav-open .header-inner { width: 100%; max-width: none; height: 100%; padding: 0; }
  .site-header.nav-open > .header-inner > .brand {
    visibility: visible;
    position: absolute;
    top: calc(1.15rem + env(safe-area-inset-top));
    left: var(--pad);
    z-index: 80;
  }
  .main-nav {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 100dvh;
    height: 100dvh;
    overflow-y: auto;
    background: var(--deep);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 7.5rem var(--pad) max(2rem, env(safe-area-inset-bottom));
    font-size: 1.35rem;
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 70;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav > a {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
  }
  .main-nav .nav-cta {
    margin-top: 1.25rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255,255,255,.48);
    text-align: center;
  }
  .site-header.nav-open .nav-toggle { position: absolute; top: calc(1rem + env(safe-area-inset-top)); right: var(--pad); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  body.nav-is-open { overflow: hidden; }
  .section-heading { display:block; }
  .section-heading .section-kicker { margin-bottom: 2.2rem; }
  .intro-detail { width: min(320px, 70vw); aspect-ratio: 5 / 4; margin-top: 1.5rem; }
  .section-heading h2 { margin-bottom:1rem; }
  .building-grid { grid-template-columns:1fr; }
  .building-card { display:grid; grid-template-columns:1.1fr .9fr; }
  .building-card picture { aspect-ratio: 4/3; }
  .split, .pro-grid, .faq-grid, .contact-grid { grid-template-columns:1fr; }
  .craft-images, .material-images { min-height: 560px; }
  .continuum { grid-template-columns:1fr; }
  .continuum-media { min-height:500px; }
  .continuum-copy { width: min(var(--max), calc(100% - 2 * var(--pad))); padding: 5rem 0; margin-inline:auto; }
  .image-rhythm-grid { grid-template-columns: .8fr 1.3fr .8fr; }
  .reference-feature { grid-template-columns:1fr; }
  .reference-wide { min-height:430px; }
  .route-grid { grid-template-columns:1fr; border-bottom:0; }
  .route-card { min-height:230px; border-right:0; border-bottom:1px solid rgba(43,31,22,.18); }
  .footer-grid, .footer-grid-wide { grid-template-columns:1.2fr 1fr 1fr; }
  .footer-grid-wide .footer-column:last-child { grid-column: 2 / -1; }
}

@media (max-width: 680px) {
  :root { --section: 4.5rem; }
  h1, h2, h3 { max-width: 100%; hyphens: auto; overflow-wrap: break-word; text-wrap: balance; }
  h1 { font-size: clamp(2.15rem, 10.5vw, 3.4rem); line-height: 1.03; }
  h2, .faq .section-heading h2 { font-size: clamp(1.85rem, 8.7vw, 2.7rem); line-height: 1.07; }
  h3 { font-size: clamp(1.25rem, 6vw, 1.75rem); }
  .header-inner { height:76px; }
  .brand img { width:160px; }
  .hero { min-height: 92svh; }
  .hero-inner { padding-top:120px; }
  .hero-pro { justify-self:start; text-align:left; }
  .building-card { display:block; }
  .craft-images, .material-images { min-height: 440px; }
  .people-split { gap: 2.5rem; }
  .people-image { min-height: 0; aspect-ratio: 16 / 10; }
  .people-image img { width: 100%; height: 100%; object-fit: cover; }
  .image-main { inset:0 10% 14% 0; }
  .image-detail { width:45%; }
  .material-main { inset:0 0 10% 10%; }
  .image-rhythm-grid { grid-template-columns: 1fr 1fr; }
  .rhythm-wide { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16 / 9; }
  .rhythm-tall { aspect-ratio: 4 / 5; }
  .continuum-media { min-height:390px; }
  .process-list li { grid-template-columns:58px 1fr; }
  .process-list li > span { font-size:1.7rem; }
  .form-row.two { grid-template-columns:1fr; gap:0; }
  .footer-grid, .footer-grid-wide { grid-template-columns:1fr; }
  .footer-grid-wide .footer-column:last-child { grid-column:auto; }
  .footer-bottom { flex-direction:column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  .reveal, .image-reveal { opacity:1 !important; transform:none !important; clip-path:none !important; }
}
