/* Aerros Ink: site styles.
   Colors come from the original Squarespace site (client request). Contrast checked for WCAG AA:
   gold on brown 12.7:1, gold on maroon 11.1:1, white on maroon 15:1, brown text on teal 5.2:1. */

/* Self-hosted fonts (SIL OFL 1.1, see /fonts/LICENSE.txt). Alegreya stands in for the old
   Adobe font (Alverata); Julius Sans One is the same heading font the old site used. */
@font-face { font-family: "Julius Sans One"; src: url("/fonts/julius-sans-one-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya"; src: url("/fonts/alegreya-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya"; src: url("/fonts/alegreya-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya"; src: url("/fonts/alegreya-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #201a16;          /* dark brown page background */
  --bg-alt: #2a221d;      /* slightly lighter band */
  --maroon: #520800;      /* accent sections */
  --gold: #ffd981;        /* body text */
  --gold-dim: #e9c877;
  --white: #ffffff;       /* headings */
  --teal: #139cae;        /* buttons */
  --teal-dark: #0f7f8e;   /* button hover (white text 4.7:1) */
  --line: rgba(255, 217, 129, 0.25);

  --font-display: "Julius Sans One", "Trebuchet MS", Arial, sans-serif;
  --font-body: "Alegreya", Georgia, "Times New Roman", serif;

  --wrap: 72rem;
  --gutter: 16px;
  --header-h: 60px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--gold);
  font: 400 1.125rem/1.65 var(--font-body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--white); }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; color: var(--white); line-height: 1.15; letter-spacing: 0.06em; }
h1 { font-size: clamp(2.6rem, 9vw, 5rem); margin: 0.2em 0 0.1em; text-transform: uppercase; letter-spacing: 0.12em; }
h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin: 0 0 0.6em; }
h3 { font-size: 1.2rem; margin: 1.6em 0 0.4em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 48rem; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--white); color: var(--bg); padding: 0.6em 1em; }
.skip-link:focus { left: 8px; top: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.6em 1.4em;
  background: var(--teal); color: var(--bg);
  font: 400 1rem/1.2 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; border: 2px solid var(--teal); border-radius: var(--radius);
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover, .btn:focus-visible { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.btn-small { min-height: 40px; padding: 0.4em 1em; font-size: 0.85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5rem 0 0; }
.btn-row.center { justify-content: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(32, 26, 22, 0.94);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); font: 400 1.2rem/1 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; margin-right: auto; }
.brand img { width: 20px; height: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a { display: block; padding: 0.6em 0.8em; text-decoration: none; font: 400 0.95rem/1 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.site-nav a:hover { color: var(--white); }
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; padding: 0; background: none; border: 0; color: var(--gold); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 24px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; } .nav-toggle-bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); }
  .site-nav:not(.open) { display: none; }
  .site-nav ul { flex-direction: column; padding: 8px var(--gutter) 16px; }
  .site-nav a { padding: 0.9em 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .header-call { order: 3; }
  .nav-toggle { order: 4; }
}

/* Hero */
/* Hero height follows the panoramic photo (about 2.66:1) on wide screens; 520px minimum leaves room for the text on phones. */
.hero { position: relative; min-height: clamp(520px, 37.6vw, 860px); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(32,26,22,0.35) 0%, rgba(32,26,22,0.55) 45%, rgba(32,26,22,0.96) 100%); }
.hero-content { padding-top: 6rem; padding-bottom: 3.5rem; text-shadow: 0 2px 12px rgba(0,0,0,0.6); }
.hero-mark { width: 38px; height: auto; margin-bottom: 0.5rem; filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }
.hero-sub { font: 400 clamp(1rem, 3.2vw, 1.35rem)/1.4 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin: 0 0 0.75rem; }
.hero-note { font-size: 1.2rem; font-style: italic; margin: 0; }

/* Sections */
.section { padding: clamp(3.5rem, 9vw, 6rem) 0; }
.section-maroon { background: var(--maroon); }
.section-dark-alt { background: var(--bg-alt); }
.section-lead { margin-top: -0.4em; }

.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.15fr 1fr; gap: 4rem; } }
.split-media { margin: 0; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,0.45); }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.5rem 0; }
.filter {
  min-height: 44px; padding: 0.4em 1em; cursor: pointer;
  background: transparent; color: var(--gold); border: 1px solid var(--line); border-radius: 999px;
  font: 400 0.9rem/1 var(--font-display); letter-spacing: 0.1em; text-transform: uppercase;
}
.filter:hover { border-color: var(--gold); }
.filter[aria-pressed="true"] { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.gallery { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; gap: 6px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 8px; } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery li[hidden], .gallery li.over { display: none; }
.gallery-more { display: flex; margin: -1rem auto 2.5rem; }
.gallery-more[hidden] { display: none; }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--bg-alt); border-radius: 2px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, opacity .2s; }
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.04); }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 10, 8, 0.96); color: var(--gold); }
.lightbox::backdrop { background: rgba(0,0,0,0.7); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; padding: 56px 12px 40px; display: grid; justify-items: center; gap: 10px; }
.lightbox img { max-width: min(96vw, 1500px); max-height: calc(100vh - 110px); width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { font: 400 0.9rem/1 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; }
.lb-btn { position: absolute; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(32,26,22,0.75); color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer; }
.lb-btn:hover { background: var(--teal-dark); }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* Aftercare */
.aftercare-intro { display: grid; gap: 1.5rem; margin-bottom: 1.5rem; }
@media (min-width: 700px) { .aftercare-intro { grid-template-columns: 240px 1fr; align-items: start; } }
.aftercare-intro img { border-radius: var(--radius); background: #fff; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 12px; background: rgba(0,0,0,0.15); }
.panel summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.1rem; position: relative; font: 400 1.1rem/1.3 var(--font-display); letter-spacing: 0.08em; color: var(--white); min-height: 48px; }
.panel summary::-webkit-details-marker { display: none; }
.panel summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--gold); }
.panel[open] summary::after { content: "\2212"; }
.panel-body { padding: 0 1.1rem 0.6rem; }
.panel-body h3:first-child, .panel-body h2:first-child { margin-top: 0.4em; }
.panel-body h2 { font-size: 1.2rem; margin: 1.6em 0 0.4em; }

/* FAQ */
.faq { margin: 0; }
.faq dt { font: 400 1.15rem/1.3 var(--font-display); letter-spacing: 0.06em; color: var(--white); margin-top: 1.6rem; }
.faq dd { margin: 0.4rem 0 0; }

/* Contact */
.contact-intro { max-width: 36rem; margin: 0 auto 1.5rem; }
.contact-lead { font-size: 1.3rem; font-style: italic; margin-bottom: 0.25rem; }
.contact-aftercare { margin: 0.5rem 0 0; font-size: 0.95rem; }
.aftercare-page h1 { font-size: clamp(2rem, 7vw, 3.2rem); }
.site-nav a[aria-current="page"] { color: var(--white); text-decoration: underline; text-underline-offset: 6px; }
.contact-phone { font: 400 clamp(2rem, 8vw, 3.2rem)/1.1 var(--font-display); letter-spacing: 0.08em; margin: 0.4rem 0; }
.contact-phone a { color: var(--white); text-decoration: none; }
.contact-phone a:hover { text-decoration: underline; }
.contact-hours { margin: 0; }
.contact-address { font-style: normal; margin-top: 1.75rem; color: var(--white); line-height: 1.5; }
.contact-area { margin-top: 0.5rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 1.5rem 0; font-size: 0.95rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; }
.footer-inner p { margin: 0; }

/* Mobile quick-action bar */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--teal); border-top: 1px solid rgba(0,0,0,0.25);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .action-bar a { display: flex; align-items: center; justify-content: center; min-height: 52px; color: var(--bg); text-decoration: none; font: 400 1rem/1 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; }
  .action-bar a + a { border-left: 1px solid rgba(32,26,22,0.3); }
  .action-bar a:active { background: var(--teal-dark); color: var(--white); }
  body { padding-bottom: calc(52px + env(safe-area-inset-bottom)); }
  .header-call { display: none; }
}

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.notfound img { margin: 0 auto 1rem; width: 40px; }
