/* Albero & Luce — v1 */
:root {
  --evergreen: #14281D;
  --evergreen-2: #22392B;
  --evergreen-3: #1B3124;
  --limestone: #F6F3EC;
  --limestone-2: #ECE6D9;
  --field: #FBF9F4;
  --brass: #B89552;
  --brass-text: #7E6129;   /* brass for small text on light grounds (contrast) */
  --lamp: #F2D9A0;
  --slate: #1F2421;
  --muted: #5A615C;
  --rule: #CFC6B2;
  --rule-2: #E2DBCB;
  --on-dark: #E9E3D5;
  --on-dark-2: #CFC6B2;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--limestone); color: var(--slate); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: var(--evergreen); }
a:hover { color: var(--brass-text); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; }
p { margin: 0; }
[id] { scroll-margin-top: 96px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--brass); color: var(--evergreen); padding: 12px 18px; font-weight: 600; }
.skip:focus { left: 8px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.section { padding-top: 128px; padding-bottom: 128px; }
.dark { background: var(--evergreen); color: var(--limestone); }
.stone { background: var(--limestone-2); }

.btn:focus-visible, .link:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* Type */
.eyebrow { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass-text); }
.dark .eyebrow { color: var(--brass); }
.display { font-size: clamp(40px, 5vw, 60px); line-height: 1.05; color: var(--evergreen); }
.dark .display { color: var(--limestone); }
.amp { font-style: italic; color: var(--brass); }
.lede { font-size: 16px; line-height: 1.7; max-width: 380px; }
.head { display: flex; flex-direction: column; gap: 16px; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 64px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 32px; font: 600 14px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer; }
.btn--brass { background: var(--brass); color: var(--evergreen); }
.btn--brass:hover { background: #C9A764; color: var(--evergreen); }
.btn--dark { background: var(--evergreen); color: var(--limestone); }
.btn--dark:hover { background: var(--evergreen-2); color: var(--limestone); }
.btn--ghost { min-height: 44px; padding: 0 22px; border: 1px solid var(--brass); color: var(--brass); font-size: 13px; font-weight: 500; letter-spacing: 0.14em; }
.btn--ghost:hover { background: var(--brass); color: var(--evergreen); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.textlink { font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; text-underline-offset: 6px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--evergreen); border-bottom: 1px solid rgba(184,149,82,0.35); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 18px; }
.wordmark { text-decoration: none; font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: 0.02em; color: var(--limestone); white-space: nowrap; }
.wordmark:hover { color: var(--limestone); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.nav-links a:not(.btn) { color: var(--on-dark); text-decoration: none; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--brass); }
.nav-links a { white-space: nowrap; }
@media (max-width: 1080px) { .nav-links a:not(.btn) { display: none; } }

/* Hero */
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 64px; align-items: center; padding-top: 96px; padding-bottom: 112px; }
.hero-copy { display: flex; flex-direction: column; gap: 32px; }
.hero h1 { font-size: clamp(64px, 9vw, 128px); line-height: 0.92; letter-spacing: -0.01em; }
.hero .translation { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--on-dark-2); }
.rule-short { width: 64px; height: 1px; background: var(--brass); }
.hero .pitch { max-width: 520px; font-size: 18px; line-height: 1.65; color: var(--on-dark); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.hero-actions .link { color: var(--on-dark); font-size: 14px; letter-spacing: 0.08em; text-underline-offset: 6px; }
.hero-actions .link:hover { color: var(--brass); }
.hero-art { display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 420px; height: auto; }
.hero-art .lamps circle { animation: glow 6s ease-in-out infinite; }
.hero-art .lamps circle:nth-child(3n) { animation-delay: -2s; }
.hero-art .lamps circle:nth-child(3n+1) { animation-delay: -4s; }
@keyframes glow { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) { .hero-art .lamps circle { animation: none; } }
.assurances { border-top: 1px solid rgba(184,149,82,0.3); }
.assurances ul { list-style: none; margin: 0 auto; padding-top: 28px; padding-bottom: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-2); }

/* Tracks */
.tracks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.track { background: var(--limestone); padding: 56px 48px; display: flex; flex-direction: column; gap: 24px; }
.track h3 { font-weight: 500; font-size: 36px; line-height: 1.1; color: var(--evergreen); }
.track > p { line-height: 1.7; }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 1.55; }
.ticks li { padding-top: 14px; border-top: 1px solid var(--rule-2); }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.steps li { display: flex; flex-direction: column; gap: 16px; border-top: 1px solid var(--brass); padding-top: 28px; }
.steps .num { font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--brass-text); }
.steps h3 { font-weight: 500; font-size: 26px; color: var(--evergreen); }
.steps p { font-size: 15px; line-height: 1.65; }

/* Gallery cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 48px 24px; }
.card { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.plate { aspect-ratio: 4 / 5; background: var(--evergreen); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; position: relative; overflow: hidden; }
.plate:nth-child(n) { }
.card:nth-child(3n+2) .plate { background: var(--evergreen-2); }
.card:nth-child(3n) .plate { background: var(--evergreen-3); }
.plate::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(184,149,82,0.45); pointer-events: none; }
.plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plate .tbc { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); }
.card figcaption { display: flex; flex-direction: column; gap: 6px; }
.card .kind { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-text); }
.card .title { font-family: var(--serif); font-size: 24px; line-height: 1.2; color: var(--evergreen); }
.card .detail { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* Standard of care */
.standard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 80px; }
.standard-copy { display: flex; flex-direction: column; gap: 28px; }
.standard-copy p { font-size: 17px; line-height: 1.75; color: var(--on-dark); }
.standard-copy .sig { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--brass); }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: rgba(184,149,82,0.35); border: 1px solid rgba(184,149,82,0.35); align-self: start; }
.pillars li { background: var(--evergreen); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.pillars h3 { font-weight: 500; font-size: 24px; }
.pillars p { font-size: 14px; line-height: 1.65; color: var(--on-dark-2); }

/* Corridor */
.corridor { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-top: 1px solid var(--brass); }
.corridor li { padding: 28px 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.corridor .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--brass); margin-top: -34px; }
.corridor li:last-child .dot { background: var(--evergreen); }
.corridor .region { font-family: var(--serif); font-size: 24px; line-height: 1.2; color: var(--evergreen); }
.corridor .towns { font-size: 13px; line-height: 1.5; color: var(--muted); }
@media (max-width: 760px) {
  .corridor { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--brass); padding-left: 24px; gap: 28px; }
  .corridor li { padding: 0; position: relative; }
  .corridor .dot { position: absolute; left: -30px; top: 8px; margin: 0; }
}

/* Inquiry */
.inquiry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 80px; align-items: start; }
.inquiry-copy { display: flex; flex-direction: column; gap: 24px; }
.inquiry-copy p { line-height: 1.7; }
.contact-block { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 15px; }
.form { background: #FFFFFF; border: 1px solid var(--rule-2); padding: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.label, .form legend { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--evergreen); }
.label .opt { font-weight: 400; letter-spacing: 0.06em; text-transform: none; color: var(--muted); }
.input { width: 100%; font: 400 16px/1.4 var(--sans); color: var(--slate); background: var(--field); border: 1px solid var(--rule); border-radius: 0; padding: 14px 16px; min-height: 48px; }
.input:focus { outline: 2px solid var(--brass); outline-offset: 1px; border-color: var(--brass); }
textarea.input { resize: vertical; }
.form fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.form legend { padding: 0; margin-bottom: 12px; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; border: 1px solid var(--rule); font-size: 15px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--evergreen); background: var(--field); }
.choice input { accent-color: var(--evergreen); width: 18px; height: 18px; margin: 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; }
.form-foot .note { font-size: 13px; color: var(--muted); }
.form-error { color: #8A2A1B; font-size: 14px; line-height: 1.5; }
.form-error:empty { display: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.thanks { background: var(--evergreen); color: var(--limestone); padding: 64px 48px; display: flex; flex-direction: column; gap: 20px; }
.thanks h3 { font-size: 40px; }
.thanks p { line-height: 1.7; color: var(--on-dark); }
.thanks button { align-self: flex-start; min-height: 44px; padding: 0; background: none; border: 0; color: var(--brass); font: 500 14px var(--sans); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 6px; cursor: pointer; }
[hidden] { display: none !important; }

/* CTA band */
.band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; padding-top: 96px; padding-bottom: 96px; }
.band h2 { max-width: 640px; font-size: clamp(36px, 4vw, 52px); line-height: 1.1; color: var(--evergreen); }

/* Gallery page */
.page-hero { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; padding-top: 88px; padding-bottom: 96px; }
.page-hero h1 { font-size: clamp(56px, 7vw, 96px); line-height: 0.95; }
.page-hero p { max-width: 400px; line-height: 1.7; color: var(--on-dark); }
.filters { display: flex; flex-wrap: wrap; gap: 12px; border-bottom: 1px solid var(--rule); padding-bottom: 24px; margin-bottom: 40px; }
.filter { min-height: 44px; padding: 0 22px; background: transparent; color: var(--evergreen); border: 1px solid var(--rule); font: 500 13px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--evergreen); color: var(--limestone); border-color: var(--evergreen); }

/* Footer */
.site-footer { background: var(--evergreen); color: var(--on-dark-2); border-top: 1px solid rgba(184,149,82,0.35); }
.footer-inner { padding-top: 72px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 48px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-cols .brand { font-family: var(--serif); font-size: 32px; color: var(--limestone); }
.footer-cols .h { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); }
.footer-cols a { color: var(--on-dark); text-decoration: none; }
.footer-cols a:hover { color: var(--brass); }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(184,149,82,0.25); font-size: 12px; letter-spacing: 0.06em; }

@media (max-width: 640px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .section { padding-top: 88px; padding-bottom: 88px; }
  .hero-grid { padding-top: 64px; padding-bottom: 72px; gap: 40px; }
  .hero-art svg { max-width: 260px; }
  .track { padding: 40px 28px; }
  .form { padding: 28px 22px; }
  .thanks { padding: 44px 28px; }
  .wordmark { font-size: 24px; }
  .head-row { margin-bottom: 44px; }
}
