/* ============================================================================
   9 DECATUR GUEST HOUSE — styles.css
   Design language: "Mile 0" — a boutique trail-house on the confluence of the
   Great Allegheny Passage and the C&O Canal. Warm limestone paper, deep pine,
   autumn rust. High-contrast serif display over a clean humanist sans.
   Edit tokens in :root to re-skin the whole site.
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------- */
:root {
  /* Ink & paper */
  --ink:        #201d18;   /* near-black, warm  */
  --ink-soft:   #4b453b;
  --ink-faint:  #7c7364;
  --paper:      #f6efe1;   /* warm cream        */
  --paper-2:    #efe5d1;
  --paper-3:    #e6d8bd;
  --line:       #ddceac;

  /* Landscape palette */
  --pine:       #23473a;   /* deep forest       */
  --pine-deep:  #16302688; /* used as overlay   */
  --pine-solid: #143026;
  --moss:       #43765a;
  --limestone:  #d8c39a;   /* crushed-limestone trail */
  --sand:       #cdb78d;
  --rust:       #bd5127;   /* autumn accent     */
  --rust-deep:  #9c3f1c;
  --gold:       #d99a2b;
  --sky-top:    #2b4a58;
  --sky-mid:    #6d7a6a;
  --sky-glow:   #e6b25c;

  /* Semantic */
  --accent:     var(--rust);
  --accent-ink: #fff;

  /* Type */
  --font-display: "Fraunces", "Hoefler Text", Georgia, "Times New Roman", serif;
  --font-sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --wrap:  1180px;
  --wrap-narrow: 760px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4.5rem, 11vw, 9rem);
  --radius: 4px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(32,29,24,.08), 0 4px 14px rgba(32,29,24,.06);
  --shadow-md: 0 6px 22px rgba(32,29,24,.12), 0 18px 50px rgba(32,29,24,.10);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---- Reset / base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: clamp(1rem, .96rem + .25vw, 1.125rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---- Type ---------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 460;
  line-height: 1.04;
  letter-spacing: -.015em;
  font-optical-sizing: auto;
}
.display {
  font-size: clamp(2.9rem, 1.6rem + 6.2vw, 6.5rem);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.028em;
}
h2.section-title {
  font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.9rem);
  letter-spacing: -.022em;
}
.eyebrow {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rust);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: currentColor;
  display: inline-block;
}
.lede { font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem); color: var(--ink-soft); line-height: 1.5; font-weight: 400; }
.serif-quiet { font-family: var(--font-display); font-weight: 400; }

/* ---- Layout helpers ------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--wrap-narrow); }
section { position: relative; }
.section-pad { padding-block: var(--section-y); }
.center { text-align: center; }
.stack > * + * { margin-top: 1.1rem; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  --_bg: var(--rust); --_fg: #fff;
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--_bg); color: var(--_fg);
  padding: .95em 1.6em;
  border-radius: 999px;
  font-weight: 600; font-size: .98rem;
  letter-spacing: .01em;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  box-shadow: 0 6px 18px rgba(189,81,39,.28);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(189,81,39,.36); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn.ghost {
  background: transparent; color: var(--ink);
  border-color: color-mix(in srgb, var(--ink) 26%, transparent);
  box-shadow: none;
}
.btn.ghost:hover { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.btn.on-dark { color: var(--pine-solid); }
.btn.ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.5); }
.btn.ghost.on-dark:hover { background: rgba(255,255,255,.12); border-color:#fff; }

/* ---- Nav ----------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05rem var(--gutter);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.nav.solid {
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: .7rem;
}
.brand { display: flex; align-items: center; gap: .7rem; color: #fff; transition: color .4s var(--ease); }
.nav.solid .brand { color: var(--ink); }
.brand .mile { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing:-.01em; line-height: 1; }
.brand .mile small { display:block; font-family: var(--font-sans); font-weight:600; font-size:.6rem; letter-spacing:.24em; text-transform:uppercase; opacity:.75; margin-top:3px; }
.brand .badge {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
}
.nav-links { display: flex; align-items: center; gap: clamp(1rem,2.2vw,2.1rem); }
.nav-links a { color: #fff; font-weight: 500; font-size: .95rem; opacity: .9; transition: color .4s var(--ease), opacity .2s; }
.nav.solid .nav-links a { color: var(--ink-soft); }
.nav-links a:hover { opacity: 1; color: var(--rust); }
.nav-links .btn { color:#fff; }
.nav-cta { padding: .6em 1.15em; font-size: .9rem; box-shadow: 0 4px 14px rgba(189,81,39,.3); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.6rem;
    background: var(--pine-solid); padding: 2rem var(--gutter);
    transform: translateX(100%); transition: transform .45s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,.3);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a, .nav.solid .nav-links a { color: #f6efe1; font-size: 1.3rem; font-family: var(--font-display); }
  .nav-toggle {
    display: inline-grid; place-items: center; z-index: 60;
    width: 44px; height: 44px; border: none; background: transparent; color: #fff;
  }
  .nav.solid .nav-toggle { color: var(--ink); }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content:""; display:block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s;
  }
  .nav-toggle span::before { transform: translateY(-7px); }
  .nav-toggle span::after  { transform: translateY(5px); }
  .nav-toggle.x span { background: transparent; }
  .nav-toggle.x span::before { transform: rotate(45deg); }
  .nav-toggle.x span::after  { transform: rotate(-45deg) translateY(-1px); }
}

/* ---- Hero ---------------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero__scene { position: absolute; inset: 0; z-index: 0; }
.hero__scene svg { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(15,26,20,.42) 0%, rgba(15,26,20,0) 26%),
    linear-gradient(0deg, rgba(11,20,15,.86) 2%, rgba(11,20,15,.30) 40%, rgba(11,20,15,0) 68%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-top: clamp(6rem, 12vh, 7.5rem); padding-bottom: clamp(3rem, 8vh, 7rem); }
.hero .kicker {
  display: inline-flex; align-items:center; gap:.7rem;
  font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: .8rem;
  color: #f3d9a5; margin-bottom: 1.4rem;
}
.hero .kicker::before { content:""; width: 30px; height:1.5px; background: var(--gold); }
.hero .display { color: #fff; text-shadow: 0 2px 40px rgba(0,0,0,.35); max-width: 15ch; }
.hero .display em { font-style: italic; color: #f2c879; }
.hero__sub { margin-top: 1.6rem; max-width: 46ch; font-size: clamp(1.1rem,1rem+.7vw,1.4rem); color: rgba(246,239,225,.92); line-height: 1.5; }
.hero__cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__meta {
  margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: clamp(1.2rem,3vw,2.6rem);
  border-top: 1px solid rgba(255,255,255,.18); padding-top: 1.4rem;
}
.hero__meta div { line-height: 1.2; }
.hero__meta .n { font-family: var(--font-display); font-size: clamp(1.5rem,1.2rem+1vw,2.2rem); color:#fff; }
.hero__meta .l { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(246,239,225,.7); margin-top:.25rem; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 1.4rem; z-index: 3; transform: translateX(-50%);
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.7);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.scroll-hint::after { content:""; width: 1px; height: 34px; background: linear-gradient(#fff,transparent); animation: drop 1.8s var(--ease) infinite; }
@keyframes drop { 0%{transform:scaleY(0);transform-origin:top} 45%{transform:scaleY(1);transform-origin:top} 55%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }
@media (max-width: 640px){ .scroll-hint { display: none; } }

/* Mobile-only scroll cue: down-arrow over the hero, fades out on scroll */
.scroll-cue { display: none; }
@media (max-width: 640px){
  .scroll-cue {
    position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%);
    z-index: 40; display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%; color: #fff;
    background: rgba(20,38,30,.32);
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
    border: 1.5px solid rgba(255,255,255,.5);
    box-shadow: 0 6px 18px rgba(0,0,0,.28);
    animation: cue-bounce 1.8s var(--ease) infinite;
    transition: opacity .35s var(--ease), visibility .35s;
  }
  .scroll-cue svg { width: 22px; height: 22px; display: block; }
  .scroll-cue.hide { opacity: 0; visibility: hidden; pointer-events: none; }
}
@keyframes cue-bounce { 0%,100%{ transform: translateX(-50%) translateY(0); } 50%{ transform: translateX(-50%) translateY(5px); } }

/* ---- The confluence / route map ----------------------------------------- */
.confluence { background: var(--pine-solid); color: #f1ead9; overflow: hidden; }
.confluence .eyebrow { color: var(--gold); }
.confluence h2 { color: #fff; }
.confluence .lede { color: rgba(241,234,217,.82); }
.routemap { margin-top: clamp(2.5rem,6vw,4.5rem); overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
.routemap svg { width: 100%; min-width: 640px; height: auto; overflow: visible; }
.route-legend { display:flex; flex-wrap:wrap; gap: 1.5rem 2.5rem; margin-top: 2rem; justify-content: center; }
.route-legend .item { display:flex; align-items:center; gap:.6rem; font-size:.9rem; color: rgba(241,234,217,.8); }
.route-legend .dot { width: 14px; height: 14px; border-radius: 50%; flex:none; }
.stat-row { display:grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: clamp(1.5rem,4vw,3rem); margin-top: clamp(2.5rem,6vw,4rem); text-align:center; }
.stat-row .stat .n { font-family: var(--font-display); font-size: clamp(2.4rem,1.6rem+2.6vw,3.6rem); color:#fff; line-height:1; }
.stat-row .stat .n span { color: var(--gold); }
.stat-row .stat .l { margin-top:.6rem; font-size:.82rem; letter-spacing:.12em; text-transform:uppercase; color: rgba(241,234,217,.62); }
.stat-row .stat + .stat { position: relative; }

/* ---- Generic section header --------------------------------------------- */
.sec-head { max-width: 62ch; }
.sec-head .lede { margin-top: 1.2rem; }
.sec-head.center { margin-inline: auto; }

/* ---- Rooms --------------------------------------------------------------- */
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px,1fr)); gap: clamp(1.2rem,2.5vw,1.8rem); margin-top: clamp(2.5rem,5vw,3.5rem); }
.room {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.room:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.room__img { aspect-ratio: 4/3; position: relative; background: linear-gradient(135deg, var(--paper-3), var(--sand)); overflow:hidden; }
.room__img .ph { position:absolute; inset:0; display:grid; place-items:center; color: var(--pine); opacity:.5; }
.room__img .tag { position:absolute; top:.9rem; left:.9rem; background: rgba(255,255,255,.92); color: var(--ink); font-size:.72rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; padding:.35em .7em; border-radius:999px; }
.room__body { padding: 1.4rem 1.4rem 1.6rem; display:flex; flex-direction:column; gap:.55rem; flex:1; }
.room__body h3 { font-size: 1.6rem; }
.room__beds { font-size:.9rem; color: var(--ink-faint); font-weight:600; letter-spacing:.02em; }
.room__desc { color: var(--ink-soft); font-size:.98rem; }
.room__foot { margin-top:auto; padding-top:.9rem; border-top:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; gap:.6rem; }
.room__sleeps { font-size:.85rem; color: var(--ink-faint); display:flex; align-items:center; gap:.4rem; }
.whole-house { margin-top: 2rem; background: linear-gradient(120deg, var(--pine) 0%, var(--pine-solid) 100%); color:#f1ead9; border-radius: var(--radius-lg); padding: clamp(1.8rem,4vw,2.8rem); display:grid; grid-template-columns: 1fr auto; gap:1.5rem; align-items:center; }
.whole-house h3 { color:#fff; font-size: clamp(1.6rem,1.2rem+1.5vw,2.3rem); }
.whole-house p { color: rgba(241,234,217,.82); margin-top:.5rem; max-width: 52ch; }
@media (max-width:620px){ .whole-house{ grid-template-columns:1fr; } }

/* ---- Amenities ----------------------------------------------------------- */
.amen { background: var(--paper-2); }
.amen-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: clamp(1rem,2.4vw,1.7rem); margin-top: clamp(2.5rem,5vw,3.5rem); }
.amen-card { background: var(--paper); border:1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem 1.4rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.amen-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--sand); }
.amen-card .ic { width: 46px; height:46px; display:grid; place-items:center; border-radius: 12px; background: color-mix(in srgb, var(--rust) 12%, var(--paper)); color: var(--rust); margin-bottom: 1rem; }
.amen-card h4 { font-size:1.2rem; margin-bottom:.35rem; letter-spacing:-.01em; }
.amen-card p { font-size:.92rem; color: var(--ink-soft); }

/* ---- Editorial split (town / plan) -------------------------------------- */
.split { display:grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,4.5rem); align-items:center; }
.split.rev { grid-template-columns: .95fr 1.05fr; }
@media (max-width: 900px){ .split, .split.rev { grid-template-columns: 1fr; } }
.split .media { border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-md); aspect-ratio: 5/6; background: var(--paper-3); position:relative; }
.split .media.scene { aspect-ratio: 5/6; }
.town { background: var(--paper); }
.feature-list { margin-top: 1.6rem; display:flex; flex-direction:column; gap:1rem; }
.feature-list li { list-style:none; display:flex; gap:.9rem; align-items:flex-start; }
.feature-list .mk { flex:none; width:30px; height:30px; border-radius:50%; background: color-mix(in srgb,var(--rust) 12%, var(--paper)); color:var(--rust); display:grid; place-items:center; margin-top:2px; }
.feature-list h4 { font-family: var(--font-sans); font-weight:700; font-size:1rem; letter-spacing:0; }
.feature-list p { font-size:.94rem; color: var(--ink-soft); margin-top:.15rem; }

/* ---- Plan your ride / itinerary ----------------------------------------- */
.plan { background: var(--pine-solid); color:#f1ead9; }
.plan .eyebrow{ color: var(--gold);} .plan h2{color:#fff;} .plan .lede{color:rgba(241,234,217,.82);}
.timeline { margin-top: clamp(2.5rem,5vw,3.5rem); display:grid; gap: 1rem; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); }
.tl-card { background: rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 1.5rem; }
.tl-card .num { font-family: var(--font-display); font-size:1.1rem; color: var(--gold); letter-spacing:.1em; }
.tl-card h4 { color:#fff; font-family: var(--font-display); font-weight:460; font-size:1.35rem; margin:.5rem 0 .5rem; }
.tl-card p { font-size:.92rem; color: rgba(241,234,217,.78); }
.plan-note { margin-top: 2rem; font-size:.9rem; color: rgba(241,234,217,.6); font-style:italic; }

/* ---- Contact / booking --------------------------------------------------- */
.contact { background: var(--paper); }
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); margin-top: clamp(2.5rem,5vw,3.5rem); align-items:start; }
@media (max-width: 820px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem,3.5vw,2.4rem); box-shadow: var(--shadow-sm); }
.contact-line { display:flex; align-items:center; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.contact-line:last-child { border-bottom:none; }
.contact-line .ic { width:44px;height:44px;flex:none;border-radius:12px;background: color-mix(in srgb,var(--pine) 10%, var(--paper)); color: var(--pine); display:grid;place-items:center; }
.contact-line .k { font-size:.75rem; letter-spacing:.14em; text-transform:uppercase; color: var(--ink-faint); }
.contact-line .v { font-size:1.12rem; font-weight:600; font-family: var(--font-display); font-weight:500; }
.contact-line a.v:hover { color: var(--rust); }
form.inquiry { display:grid; gap: 1rem; }
form.inquiry label { font-size:.78rem; letter-spacing:.1em; text-transform:uppercase; color: var(--ink-faint); font-weight:600; }
form.inquiry input, form.inquiry textarea, form.inquiry select {
  width:100%; font: inherit; padding: .8em .9em; border:1.5px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
form.inquiry input:focus, form.inquiry textarea:focus, form.inquiry select:focus { outline:none; border-color: var(--rust); box-shadow: 0 0 0 3px color-mix(in srgb,var(--rust) 18%, transparent); }
form.inquiry .row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
@media (max-width:520px){ form.inquiry .row{ grid-template-columns:1fr; } }
form.inquiry .field { display:grid; gap:.4rem; }

/* ---- Footer -------------------------------------------------------------- */
.footer { background: var(--pine-solid); color: rgba(241,234,217,.72); padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer a { color: rgba(241,234,217,.72); } .footer a:hover { color:#fff; }
.footer .top { display:flex; flex-wrap:wrap; justify-content:space-between; gap:2rem; padding-bottom:2.5rem; border-bottom:1px solid rgba(255,255,255,.12); }
.footer .brand { color:#fff; }
.footer .brand .mile small { opacity:.6; }
.footer .cols { display:flex; gap: clamp(2rem,6vw,5rem); flex-wrap:wrap; }
.footer h5 { font-family: var(--font-sans); font-weight:700; font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; color:#fff; margin-bottom:.9rem; }
.footer ul { list-style:none; display:grid; gap:.5rem; padding:0; font-size:.94rem; }
.footer .bottom { padding-top:1.6rem; display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:1.2rem 2rem; font-size:.82rem; color: rgba(241,234,217,.5); }
.footer .bottom-left { display:flex; flex-direction:column; gap:.3rem; }
.footer .foot-tagline { color: rgba(241,234,217,.4); }
.ab-credit { display:inline-flex; align-items:center; gap:9px; color:rgba(241,234,217,.5); text-decoration:none; white-space:nowrap; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; }
.ab-credit:hover { color:#fff; }
.ab-credit .ab-logo { height:28px; width:auto; display:block; text-transform:none; opacity:.9; transition:opacity .15s; }
.ab-credit:hover .ab-logo { opacity:1; }
@media (max-width:600px){ .footer .bottom { flex-direction:column; align-items:flex-start; } }

/* ---- Reveal animation ---------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---- Misc ---------------------------------------------------------------- */
.pin { display:inline-flex; align-items:center; gap:.4rem; }
.hr-leaf { display:flex; align-items:center; justify-content:center; gap:1rem; color: var(--sand); margin: 0 auto; }
.hr-leaf::before, .hr-leaf::after { content:""; height:1px; width:min(120px,18vw); background: currentColor; }
::selection { background: var(--rust); color:#fff; }
