/* AL47 Construction — site styles. Palette derived from the AL47 logo:
   slate charcoal, aged copper, moss green, parchment. */
:root {
  --charcoal: #1f2321;
  --slate: #2b3134;
  --slate-2: #394145;
  --copper: #b07247;        /* decorative accents on dark */
  --copper-btn: #9c5f37;    /* buttons (white text AA) */
  --copper-btn-hover: #824d2b;
  --copper-text: #8a5230;   /* copper text on light */
  --moss: #5b6330;
  --moss-dark: #434a22;
  --sand: #c9b48c;
  --parchment: #f6f2ea;
  --paper: #fffdf9;
  --ink: #23272a;
  --muted: #5d6468;
  --line: #e2dccf;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(20, 22, 21, .12);
  --font-head: "Roboto Slab", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-text); text-underline-offset: 3px; }
a:hover { color: var(--copper-btn-hover); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--charcoal); margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--copper-btn); color: #fff; padding: .7rem 1rem; z-index: 1000; }
.skip-link:focus { left: 1rem; top: 1rem; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--copper-text); margin-bottom: .8rem; display: inline-block; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; background: currentColor; vertical-align: middle; margin-right: .6rem; }
.lead { font-size: 1.2rem; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .9rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; font-family: var(--font-body); line-height: 1.2; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-primary { background: var(--copper-btn); color: #fff; }
.btn-primary:hover { background: var(--copper-btn-hover); color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--charcoal); }
.btn-outline { border-color: var(--copper-btn); color: var(--copper-text); }
.btn-outline:hover { background: var(--copper-btn); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--charcoal); color: #fff; border-bottom: 3px solid var(--copper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; }
.brand img { height: 58px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; }
.brand-sub { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); margin-top: .25rem; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; color: #fff; cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--charcoal); border-top: 1px solid rgba(255,255,255,.08); padding: .5rem 1.25rem 1.25rem; box-shadow: 0 20px 30px rgba(0,0,0,.25); }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: .8rem .25rem; color: #fff; text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--sand); }
.site-nav .nav-cta { margin-top: 1rem; border: 0; }
.site-nav .nav-cta a { display: inline-flex; border: 0; padding: .8rem 1.3rem; color: #fff; }
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; background: none; border: 0; padding: 0; box-shadow: none; }
  .site-nav ul { display: flex; align-items: center; gap: 1.6rem; }
  .site-nav a { border: 0; padding: .4rem 0; font-size: .98rem; position: relative; }
  .site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--copper); }
  .site-nav .nav-cta { margin: 0 0 0 .4rem; }
  .site-nav .nav-cta a::after { display: none; }
  .brand img { height: 64px; }
  .header-inner { min-height: 84px; }
}

/* Hero */
.hero { position: relative; color: #fff; background: var(--charcoal); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 70%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,23,22,.88) 0%, rgba(20,23,22,.7) 45%, rgba(20,23,22,.25) 100%), linear-gradient(0deg, rgba(20,23,22,.6), transparent 40%); }
.hero-content { position: relative; z-index: 1; padding: 5.5rem 0 4.5rem; max-width: 640px; }
.hero h1 { color: #fff; }
.hero p { font-size: 1.2rem; color: #e9e5dc; max-width: 34em; }
.hero .eyebrow { color: var(--sand); }
@media (min-width: 960px) { .hero-content { padding: 9rem 0 8rem; } }

.page-hero { position: relative; background: var(--charcoal); color: #fff; overflow: hidden; }
.page-hero .hero-media img { object-position: center; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,23,22,.9), rgba(20,23,22,.55)); }
.page-hero .wrap { position: relative; z-index: 1; padding: 4rem 0 3.5rem; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #e9e5dc; font-size: 1.15rem; max-width: 40em; margin: 0; }
.page-hero .eyebrow { color: var(--sand); }
@media (min-width: 960px) { .page-hero .wrap { padding: 6rem 0 5rem; } }

/* Trust bar */
.trust { background: var(--moss-dark); color: #fff; }
.trust ul { list-style: none; margin: 0; padding: 1.1rem 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem 1rem; }
.trust li { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .95rem; }
.trust svg { width: 22px; height: 22px; color: var(--sand); flex: none; }
@media (min-width: 860px) { .trust ul { grid-template-columns: repeat(4, 1fr); padding: 1.3rem 0; } .trust li { justify-content: center; } }

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--parchment); }
.section-dark { background: var(--slate); color: #e9e5dc; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--sand); }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
@media (min-width: 960px) { .section { padding: 6rem 0; } }

.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } .split.reverse > :first-child { order: 2; } }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-media .badge { position: absolute; left: -12px; bottom: -18px; background: var(--copper-btn); color: #fff; padding: 1rem 1.2rem; border-radius: var(--radius); box-shadow: var(--shadow); font-family: var(--font-head); line-height: 1.1; }
.badge strong { display: block; font-size: 2rem; }
.badge span { font-size: .85rem; font-family: var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
@media (min-width: 900px) { .split-media .badge { left: -24px; } }

/* Service cards */
.cards { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; transition: box-shadow .2s, transform .2s, border-color .2s; position: relative; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--sand); }
.card h3 { margin-bottom: .4em; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.card-icon { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: #efe6d8; color: var(--copper-text); margin-bottom: 1rem; }
.card-icon svg { width: 24px; height: 24px; }

/* Residential / commercial tiles */
.tiles { display: grid; gap: 1.4rem; }
@media (min-width: 800px) { .tiles { grid-template-columns: 1fr 1fr; } }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,23,22,.92) 0%, rgba(20,23,22,.45) 55%, rgba(20,23,22,.05) 100%); }
.tile-body { position: relative; z-index: 1; padding: 1.8rem; }
.tile-body h3 { color: #fff; font-size: 1.6rem; }
.tile-body p { color: #e9e5dc; margin-bottom: .8rem; }
.tile-body ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.tile-body li { font-size: .82rem; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); padding: .2rem .65rem; border-radius: 999px; }

/* Project cards */
.projects { display: grid; gap: 1.4rem; }
@media (min-width: 760px) { .projects { grid-template-columns: repeat(3, 1fr); } }
.project-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; transition: box-shadow .2s, transform .2s; }
.project-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.project-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.project-card .body { padding: 1.3rem 1.4rem 1.5rem; }
.project-card h3 { font-size: 1.2rem; margin-bottom: .35em; }
.project-card h3 a { color: inherit; text-decoration: none; }
.project-card h3 a::after { content: ""; position: absolute; inset: 0; }
.project-card p { margin: 0; color: var(--muted); font-size: .97rem; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--moss); margin-bottom: .4rem; }

/* CTA band */
.cta-band { background: var(--charcoal) linear-gradient(120deg, rgba(91,99,48,.35), rgba(156,95,55,.25)); color: #fff; }
.cta-band .wrap { display: grid; gap: 1.5rem; padding: 3.5rem 0; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #e3dfd5; margin: 0; max-width: 42em; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1.6fr auto; padding: 4.5rem 0; } }

/* Services page rows */
.service-rows { display: grid; gap: 4.5rem; }
.service-row h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.service-row ul.checks { padding: 0; list-style: none; margin: 0 0 1rem; display: grid; gap: .4rem; }
.checks li { padding-left: 1.7rem; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1rem; height: .55rem; border-left: 3px solid var(--moss); border-bottom: 3px solid var(--moss); transform: rotate(-45deg); }
.mini-cards { display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .mini-cards { grid-template-columns: repeat(2, 1fr); } }
.mini-cards .card { padding: 1.8rem; }
.mini-cards .card:hover { transform: none; }
.mini-cards .card p + p { margin-top: .8rem; }
.anchor { scroll-margin-top: 120px; }

/* Portfolio */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-btn { font: inherit; font-size: .92rem; font-weight: 600; padding: .55rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.filter-btn:hover { border-color: var(--copper-btn); }
.filter-btn[aria-pressed="true"] { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.gallery { display: grid; gap: .8rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery-item { margin: 0; }
.gallery-item[hidden] { display: none; }
.gallery-item a { display: block; position: relative; border-radius: 8px; overflow: hidden; background: var(--slate); }
.gallery-item img { aspect-ratio: 1/1; object-fit: cover; width: 100%; transition: transform .4s, opacity .3s; }
.gallery-item a:hover img { transform: scale(1.05); opacity: .9; }
.gallery-item figcaption { font-size: .85rem; color: var(--muted); padding: .45rem .1rem 0; line-height: 1.35; }

.project { display: grid; gap: 2rem; padding: 3rem 0; border-top: 1px solid var(--line); }
.project:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 960px) { .project { grid-template-columns: 5fr 7fr; gap: 3.5rem; align-items: start; } }
.project h3 { font-size: 1.6rem; }
.project-photos { display: grid; gap: .8rem; grid-template-columns: 1fr 1fr; }
.project-photos a { display: block; border-radius: 8px; overflow: hidden; position: relative; }
.project-photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s; }
.project-photos a:hover img { transform: scale(1.04); }
.project-photos .wide { grid-column: 1 / -1; }
.project-photos .wide img { aspect-ratio: 16/9; }
.ba-label { position: absolute; top: .7rem; left: .7rem; background: rgba(20,23,22,.82); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 4px; }
.ba-label.after { background: var(--copper-btn); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12,14,13,.94); display: none; align-items: center; justify-content: center; padding: 3.5rem 1rem; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1600px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 9rem); object-fit: contain; border-radius: 4px; }
.lightbox figcaption { color: #e9e5dc; text-align: center; padding-top: .9rem; font-size: .98rem; }
.lb-btn { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: .8rem; right: .8rem; }
.lb-prev { left: .8rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .8rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 1.3rem; left: 1.2rem; color: #c9c4b8; font-size: .9rem; }

/* About */
.people { display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .people { grid-template-columns: 1fr 1fr; } }
.person { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.person .role { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-text); }
.person h3 { font-size: 1.5rem; margin-top: .3rem; }
.person dl { margin: 1.2rem 0 0; display: grid; gap: .9rem; }
.person dt { font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--moss); }
.person dd { margin: .15rem 0 0; color: var(--muted); font-size: .97rem; }
.quote { margin: 0; padding: 0; text-align: center; max-width: 820px; margin-inline: auto; }
.quote p { font-family: var(--font-head); font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.45; color: #fff; font-weight: 400; }
.quote footer { color: var(--sand); letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; font-weight: 700; }
.quote-mark { font-family: var(--font-head); font-size: 4rem; line-height: 1; color: var(--copper); display: block; height: 2.5rem; }
.owners-photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; max-width: 500px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.8rem 0 0; }
.facts div { border-left: 3px solid var(--copper); padding: .2rem 0 .2rem .9rem; }
.facts strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--charcoal); line-height: 1.2; }
.facts span { color: var(--muted); font-size: .92rem; }

/* Contact */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.contact-item .card-icon { margin: 0; flex: none; }
.contact-item h3 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .15rem; }
.contact-item p { margin: 0; }
.contact-item a.big { font-size: 1.25rem; font-weight: 700; color: var(--charcoal); text-decoration: none; font-family: var(--font-head); }
.contact-item a.big:hover { color: var(--copper-text); }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.5rem; box-shadow: var(--shadow); }
@media (min-width: 600px) { .form { padding: 2.4rem; } }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: .8rem .9rem; border: 1.5px solid #cfc7b7; border-radius: 8px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--copper-btn); outline: 3px solid rgba(176,114,71,.25); outline-offset: 0; }
.field textarea { min-height: 150px; resize: vertical; }
.field .req { color: var(--copper-text); }
.form-note { font-size: .88rem; color: var(--muted); margin: 1rem 0 0; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: 8px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #eef0e2; border: 1px solid #c5cb9f; color: var(--moss-dark); }
.form-status.warn { background: #f7ece2; border: 1px solid #e3c4a8; color: #6a3d20; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: #171a19; color: #bdb8ad; font-size: .95rem; }
.footer-grid { display: grid; gap: 2.2rem; padding: 3.5rem 0 2.5rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand img { width: 150px; height: auto; margin-bottom: 1rem; }
.site-footer h2 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: #e9e5dc; text-decoration: none; }
.site-footer a:hover { color: var(--sand); text-decoration: underline; }
.site-footer p { margin: 0 0 .5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.3rem 0; font-size: .85rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* Mobile call bar */
.call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; background: var(--charcoal); border-top: 2px solid var(--copper); }
.call-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem; color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem; }
.call-bar a + a { background: var(--copper-btn); }
.call-bar svg { width: 18px; height: 18px; }
body { padding-bottom: 54px; }
@media (min-width: 960px) { .call-bar { display: none; } body { padding-bottom: 0; } }

/* refinements */
.tile, .tile:hover { text-decoration: none; color: #fff; }
a[href^="tel:"] { white-space: nowrap; }
@media (min-width: 960px) { .brand img { height: 72px; } }
.footer-brand img { width: 170px; }
@media (min-width: 960px) { .brand img { height: 84px; } .header-inner { min-height: 96px; } }
.site-footer { background: var(--charcoal); }
.footer-bottom { border-top-color: rgba(255,255,255,.1); }
@media (max-width: 639px) {
  .cards .card { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; padding: 1.2rem; }
  .cards .card-icon { grid-row: span 2; margin: 0; }
  .cards .card h3 { font-size: 1.12rem; margin-bottom: .2em; }
}
.social a { display: inline-flex; align-items: center; gap: .55rem; }
.social svg { width: 22px; height: 22px; color: #e9e5dc; transition: color .2s; }
.social a:hover svg { color: var(--sand); }

/* ---------- Logo as centerpiece ---------- */
.logo-shadow, .brand img, .hero-logo img, .page-hero-logo img, .footer-brand img { filter: drop-shadow(0 6px 14px rgba(0,0,0,.5)); }
/* Header: big badge-style logo that overhangs the bar, shrinks on scroll */
.header-inner { min-height: 72px; transition: min-height .25s ease; }
.brand { position: relative; align-self: stretch; width: 76px; flex: none; }
.brand img { position: absolute; left: 0; top: 6px; height: 86px; width: auto; max-width: none; transition: height .25s ease, top .25s ease; }
.site-header.scrolled .brand img { height: 60px; top: 6px; }
@media (min-width: 960px) {
  .header-inner { min-height: 96px; }
  .brand { width: 126px; }
  .brand img { height: 142px; top: 10px; }
  .site-header.scrolled .header-inner { min-height: 76px; }
  .site-header.scrolled .brand img { height: 66px; top: 5px; }
  .site-header.scrolled .brand { width: 60px; }
}
.brand:focus-visible { outline-offset: 6px; }

/* Home hero: logo as focal point */
.hero::after { background: linear-gradient(90deg, rgba(20,23,22,.86) 0%, rgba(20,23,22,.66) 50%, rgba(20,23,22,.5) 100%), linear-gradient(0deg, rgba(20,23,22,.6), transparent 40%); }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 0; padding: 6.5rem 0 3.5rem; }
.hero-grid .hero-content { padding: 0; }
.hero-logo { position: relative; display: flex; justify-content: center; margin-bottom: 1.5rem; }
.hero-logo::before { content: ""; position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(20,23,22,.8), rgba(20,23,22,.45) 60%, rgba(20,23,22,0)); pointer-events: none; }
.hero-logo img { position: relative; width: 230px; height: auto; filter: drop-shadow(0 16px 28px rgba(0,0,0,.6)); }
.hero-content { text-align: left; }
@media (min-width: 600px) { .hero-logo img { width: 300px; } }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 3.5rem; padding: 8.5rem 0 6rem; }
  .hero-logo { order: 2; margin: 0; }
  .hero-logo img { width: min(100%, 440px); }
}

/* Page hero with logo (About) */
.page-hero .wrap { display: grid; gap: 1.5rem; align-items: center; }
.page-hero-logo { display: flex; justify-content: flex-start; }
.page-hero-logo img { width: 180px; height: auto; }
@media (min-width: 960px) {
  .page-hero.has-logo .wrap { grid-template-columns: 1fr auto; gap: 3rem; padding: 6.5rem 0 4.5rem; }
  .page-hero-logo img { width: 300px; }
}
@media (max-width: 959px) { .page-hero.has-logo .page-hero-logo { order: -1; } }

/* Footer logo */
.footer-brand img { width: 220px; height: auto; }
/* mobile header: compact logo on the left on every page (including home), shrinks on scroll */
@media (max-width: 959px) {
  .brand { width: 56px; transition: width .25s ease; }
  .brand img { height: 62px; top: 5px; filter: drop-shadow(0 3px 6px rgba(0,0,0,.45)); }
  .site-header.scrolled .header-inner { min-height: 60px; }
  .site-header.scrolled .brand { width: 45px; }
  .site-header.scrolled .brand img { height: 50px; top: 5px; }
}
.page-hero-logo { position: relative; }
.page-hero-logo::before { content: ""; position: absolute; left: 50%; top: 50%; width: 160%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(20,23,22,.8), rgba(20,23,22,.4) 60%, rgba(20,23,22,0)); pointer-events: none; }
.page-hero-logo img { position: relative; }
.page-hero.has-logo::after { background: linear-gradient(90deg, rgba(20,23,22,.9), rgba(20,23,22,.7)); }
@media (min-width: 960px) { .site-header.scrolled .brand img { height: 70px; top: 3px; } }
@media (max-width: 959px) { body.home .hero-grid { padding-top: 2.75rem; } }

/* ---------- Featured panorama band (timber-frame hall) ---------- */
.pano-band { background: var(--charcoal); color: #e9e5dc; }
.pano-frame { position: relative; }
.pano-scroll { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  scrollbar-width: thin; scrollbar-color: var(--copper) rgba(255,255,255,.08); background: #171a19; }
.pano-scroll:focus-visible { outline-offset: -3px; }
.pano-scroll a, .pano-scroll img { display: block; }
.pano-scroll img { height: clamp(220px, 40vw, 320px); width: auto; max-width: none; }
.pano-link { cursor: zoom-in; }
.pano-badge { position: absolute; right: 1rem; bottom: 1rem; background: rgba(20,23,22,.72); color: #fff; font-size: .78rem; font-weight: 600;
  letter-spacing: .04em; padding: .35rem .75rem; border-radius: 999px; pointer-events: none; display: none; }
.pano-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.5rem 0 1.8rem; }
.pano-caption > div { max-width: 46rem; }
.pano-caption .eyebrow { color: var(--sand); margin-bottom: .4rem; }
.pano-caption h2 { color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 0 0 .3em; }
.pano-caption p { margin: 0; color: #d9d4c9; }
.pano-caption p a { color: var(--sand); }
.pano-caption p a:hover { color: #fff; }
.pano-hint { order: -1; flex-basis: 100%; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sand); margin-top: -.6rem; }
@media (min-width: 1024px) {
  .pano-scroll { overflow: visible; }
  .pano-scroll img { width: 100%; height: auto; }
  .pano-link img { transition: opacity .3s; }
  .pano-link:hover img { opacity: .92; }
  .pano-badge { display: inline-block; }
  .pano-hint { display: none; }
}
.lightbox .lb-btn[hidden] { display: none; }

/* ---------- "Look for our logo" band (home, after the panorama) ---------- */
.logo-band { background: var(--parchment); text-align: center; padding: 2.5rem 0 2.35rem; border-bottom: 1px solid var(--line); }
.logo-band .wrap { display: flex; flex-direction: column; align-items: center; }
.logo-band .eyebrow { margin-bottom: 1.25rem; }
.logo-band .eyebrow::after { content: ""; display: inline-block; width: 28px; height: 2px; background: currentColor; vertical-align: middle; margin-left: .6rem; }
.logo-band-logo { width: 210px; height: auto; filter: drop-shadow(0 10px 16px rgba(31,35,33,.16)) drop-shadow(0 2px 3px rgba(31,35,33,.12)); }
.logo-band h2 { font-size: clamp(1.1rem, 2.2vw, 1.35rem); font-weight: 600; color: var(--charcoal); max-width: 36em; margin: 1.25rem 0 0; line-height: 1.4; }
@media (min-width: 960px) {
  .logo-band { padding: 3.4rem 0 3.05rem; }
  .logo-band-logo { width: 300px; }
}
