/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; min-height: 52px; padding: 0.85em 1.7em;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0.01em; text-decoration: none;
  border: 1.5px solid var(--wine); border-radius: var(--radius); background: var(--wine); color: var(--chalk);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:hover { background: var(--black-cherry); border-color: var(--black-cherry); }
.btn:active { transform: translateY(1px); }
.btn--light { background: var(--chalk); border-color: var(--chalk); color: var(--black-cherry); }
.btn--light:hover { background: var(--sand); border-color: var(--sand); color: var(--black-cherry); }
.btn--sm { min-height: 44px; padding: 0.55em 1.25em; font-size: 0.95rem; }
.btn svg { width: 1.1em; height: 1.1em; }

.link { position: relative; display: inline-block; text-decoration: none; font-weight: 600; color: var(--wine); padding-bottom: 3px; }
.link::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform var(--t-med) var(--ease); }
.link:hover::before { transform: scaleX(0); }
.link--arrow::after { content: " →"; }
.on-dark .link, .doors__med .link, .hero .link, .closing .link, .bg-cherry .link, .bg-wine-dark .link, .bg-wine .link { color: var(--chalk); }
.row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

/* ---------- header ---------- */
.utility { background: var(--black-cherry); color: var(--chalk); font-size: 0.8125rem; letter-spacing: 0.02em; }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.utility__place { opacity: 0.85; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.72rem; }
.utility__links { display: flex; align-items: center; gap: 22px; }
.utility a { text-decoration: none; }
.utility a:hover { text-decoration: underline; text-underline-offset: 3px; }
.utility__spoed { display: inline-flex; align-items: center; gap: 0.55em; background: var(--wine); padding: 5px 14px; border-radius: var(--radius); font-weight: 600; }
.utility__spoed b { font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.7rem; color: var(--focus-light); }
.utility__spoed:hover { background: #a3134e; text-decoration: none !important; }

.site-header { position: sticky; top: 0; z-index: var(--z-header); background: var(--chalk); border-bottom: 1px solid transparent; transition: background var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease); }
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 30px -22px rgba(53, 14, 33, 0.5); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); transition: min-height var(--t-med) var(--ease); }
.site-header.is-stuck .wrap { min-height: 66px; }
/* transparent over the home hero until scrolled */
.has-hero .site-header { background: transparent; margin-bottom: calc(-1 * var(--header-h) - 1px); }
.has-hero .site-header.is-stuck { background: var(--chalk); }
.has-hero .site-header:not(.is-stuck) .brand { color: var(--chalk); }
.has-hero .site-header:not(.is-stuck) .brand__sub { color: var(--rose-clay); }
.has-hero .site-header:not(.is-stuck) .menu-toggle { color: var(--chalk); }
.has-hero .site-header:not(.is-stuck) .menu-toggle__bars::before, .has-hero .site-header:not(.is-stuck) .menu-toggle__bars::after { background: var(--chalk); }

.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand__mark { height: 54px; width: auto; transition: height var(--t-med) var(--ease); }
.site-header.is-stuck .brand__mark { height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.005em; }
.brand__sub { margin-top: 6px; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--wine); }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); }
.nav__list { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.nav__link { position: relative; display: inline-block; padding: 10px 2px; font-size: 0.98rem; font-weight: 500; text-decoration: none; color: var(--ink); }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--wine); }
.menu-only { display: none; }
/* over the hero the nav sits on a solid tab so it never depends on photo contrast */
@media (min-width: 980px) {
  .has-hero .site-header:not(.is-stuck) .nav { background: var(--black-cherry); padding: 8px 8px 8px 28px; border-radius: var(--radius); }
  .has-hero .site-header:not(.is-stuck) .nav__link, .has-hero .site-header:not(.is-stuck) .nav__link[aria-current="page"] { color: var(--chalk); }
  .has-hero .site-header:not(.is-stuck) .nav .btn { background: var(--chalk); border-color: var(--chalk); color: var(--black-cherry); }
  .has-hero .site-header:not(.is-stuck) .nav .btn:hover { background: var(--sand); border-color: var(--sand); }
}

.menu-toggle { display: none; align-items: center; gap: 10px; min-height: 48px; padding: 0 6px 0 14px; background: none; border: 0; font-weight: 600; font-size: 0.95rem; }
.menu-toggle__bars { position: relative; width: 26px; height: 14px; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); transition: transform var(--t-med) var(--ease), top var(--t-med) var(--ease); }
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars::after { top: 12px; }
.menu-open .menu-toggle__bars::before { top: 6px; transform: rotate(45deg); }
.menu-open .menu-toggle__bars::after { top: 6px; transform: rotate(-45deg); }

@media (max-width: 979px) {
  :root { --header-h: 60px; }
  .utility { display: none; }
  .brand__mark { height: 40px; }
  .brand__name { font-size: 1.2rem; }
  .brand { gap: 10px; }
  .site-header .wrap { flex-wrap: wrap; }
  .js .site-header .wrap { flex-wrap: nowrap; }
  .js .menu-toggle { display: inline-flex; position: relative; z-index: calc(var(--z-menu) + 1); }
  .nav { flex: 1 0 100%; flex-wrap: wrap; gap: 4px 20px; padding-bottom: 12px; }
  .nav__list { flex-wrap: wrap; gap: 0 18px; }
  .js .nav {
    position: fixed; inset: 0; z-index: var(--z-menu); background: var(--black-cherry); color: var(--chalk);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px; padding: 108px var(--gutter) 40px; overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-12px);
    transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility 0s linear var(--t-med);
  }
  .menu-open .nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .menu-open .brand, .menu-open .menu-toggle { position: relative; z-index: calc(var(--z-menu) + 1); color: var(--chalk) !important; }
  .menu-open .brand__sub { color: var(--rose-clay) !important; }
  .menu-open .menu-toggle__bars::before, .menu-open .menu-toggle__bars::after { background: var(--chalk) !important; }
  .js .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .js .nav__list li { border-bottom: 1px solid var(--line-light); }
  .js .nav__link { display: block; padding: 14px 0; font-family: var(--font-display); font-size: clamp(2rem, 9vw, 2.8rem); font-weight: 500; line-height: 1.1; color: var(--chalk); }
  .js .nav__link::after { display: none; }
  .js .nav__link[aria-current="page"] { color: var(--rose-clay); font-style: italic; }
  .js .nav > .btn { display: none; }
  .js .menu-only { display: block; }
  .js .menu-only .btn { width: 100%; }
  .js .menu-spoed { margin-top: auto; padding: 22px; border: 1px solid var(--line-light); border-radius: var(--radius); display: grid; gap: 6px; }
  .js .menu-spoed small { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose-clay); font-weight: 600; }
  .js .menu-spoed a { font-family: var(--font-display); font-size: 2rem; text-decoration: none; line-height: 1.1; }
  .js .menu-spoed span { font-size: 0.95rem; opacity: 0.95; }
  .js .menu-spoed span a { font-family: var(--font-body); font-size: 1rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
  body.menu-open { overflow: hidden; }
}

/* mobile sticky call bar */
.callbar { display: none; }
@media (max-width: 979px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar); padding-bottom: env(safe-area-inset-bottom); background: var(--chalk); border-top: 1px solid var(--line); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; text-decoration: none; font-weight: 600; font-size: 0.98rem; color: var(--wine); }
  .callbar a + a { background: var(--wine); color: var(--chalk); }
  .callbar svg { width: 18px; height: 18px; }
  .menu-open .callbar { display: none; }
  body { padding-bottom: 56px; }
}

/* ---------- accordion (native details, progressively enhanced) ---------- */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; padding: 16px 0; cursor: pointer; font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem); font-weight: 500; line-height: 1.2; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--wine); border-bottom: 1.5px solid var(--wine); transform: rotate(45deg) translate(-3px, -3px); transition: transform var(--t-med) var(--ease); }
.acc details[open] > summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.acc summary:hover { color: var(--wine); }
.acc__body { padding: 0 0 24px; color: var(--ink-soft); max-width: 62ch; font-size: 1rem; }
.acc__body > * + * { margin-top: 0.8em; }
.acc__body ul { list-style: none; display: grid; gap: 0.45em; }
.acc__body li { position: relative; padding-left: 1.4em; }
.acc__body li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 0.6em; height: 1px; background: var(--wine); }
.acc__body a { color: var(--wine); font-weight: 600; }
@supports (interpolate-size: allow-keywords) {
  .acc { interpolate-size: allow-keywords; }
  .acc details::details-content { block-size: 0; overflow: clip; transition: block-size var(--t-med) var(--ease), content-visibility var(--t-med) allow-discrete; }
  .acc details[open]::details-content { block-size: auto; }
}
.on-dark .acc, .on-dark .acc details { border-color: var(--line-light); }
.on-dark .acc summary::after { border-color: var(--rose-clay); }
.on-dark .acc__body { color: rgba(252, 249, 245, 0.9); }
.on-dark .acc summary:hover { color: var(--rose-clay); }

/* ---------- forms ---------- */
.field { display: grid; gap: 8px; }
.field label { font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--wine); }
.field input, .field select { width: 100%; min-height: 52px; padding: 12px 16px; background: #fff; border: 1px solid var(--ink-soft); border-radius: var(--radius); color: var(--ink); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23871041' stroke-width='1.8'/%3E%3C/svg%3E"); background-position: calc(100% - 16px) 50%; background-repeat: no-repeat; padding-right: 44px; }
.field input:hover, .field select:hover { border-color: var(--wine); }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; border-color: var(--wine); box-shadow: 0 0 0 4px rgba(135, 16, 65, 0.12); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #a1121b; border-width: 2px; }
.field__hint { font-size: 0.875rem; color: var(--ink-soft); }
.field__error { font-size: 0.9rem; font-weight: 600; color: #a1121b; }
.field__error:empty { display: none; }
.check { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.check input { width: 24px; height: 24px; margin: 3px 0 0; accent-color: var(--wine); }
.check label { font-weight: 400; font-size: 0.95rem; line-height: 1.55; color: var(--ink-soft); }

/* ---------- emergency blocks ---------- */
.spoed-box { background: var(--wine); color: var(--chalk); padding: 26px 28px; display: grid; gap: 6px; border-radius: var(--radius); }
.spoed-box small { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--focus-light); }
.spoed-box a { font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); text-decoration: none; line-height: 1.1; }
.spoed-box a:hover { text-decoration: underline; text-underline-offset: 6px; }
.spoed-box p { font-size: 0.95rem; opacity: 0.95; }

/* ---------- footer ---------- */
.site-footer { background: var(--black-cherry); color: var(--chalk); padding-block: clamp(56px, 7vw, 96px) 28px; border-top: 1px solid var(--line-light); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__grid { display: grid; gap: 40px 32px; grid-template-columns: minmax(0, 1fr); }
@media (max-width: 799px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand, .footer__col:last-child { grid-column: 1 / -1; } }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.3fr 0.8fr 1fr 1.1fr; align-items: start; } }
.footer__brand { display: grid; gap: 22px; align-content: start; }
.footer__brandrow { display: flex; align-items: center; gap: 16px; }
.footer__mark { width: 60px; height: 76px; background: var(--chalk); border-radius: var(--radius); display: grid; place-items: center; flex: none; }
.footer__mark img { height: 58px; width: auto; }
.footer__brandrow .brand { color: var(--chalk); }
.footer__brandrow .brand__name { font-size: 1.6rem; }
.footer__brandrow .brand__sub { color: var(--rose-clay); }
.footer__tagline { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.15; font-weight: 500; max-width: 18ch; }
.footer__col h2 { font-family: var(--font-body); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose-clay); margin-bottom: 18px; line-height: 1.3; }
.footer__col ul { display: grid; gap: 4px; }
.footer__col a, .footer__col address, .footer__col p { font-style: normal; font-size: 0.98rem; line-height: 1.7; }
.footer__col li a { display: inline-block; padding: 4px 0; }
.footer__spoed { padding: 18px 20px; background: var(--wine); border-radius: var(--radius); display: grid; gap: 2px; }
.footer__spoed small { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--focus-light); font-weight: 600; }
.footer__spoed a { font-family: var(--font-display); font-size: 1.8rem; line-height: 1.15; }
.footer__spoed span { font-size: 0.85rem; opacity: 0.95; }
.footer__kv { margin-top: 18px; max-width: 28ch; opacity: 0.92; }
.footer__legal { margin-top: clamp(44px, 5vw, 72px); padding-top: 22px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; font-size: 0.85rem; color: rgba(252, 249, 245, 0.85); }
.footer__legal a { color: var(--chalk); }
@media (max-width: 979px) { .site-footer { padding-bottom: 96px; } }

@media (max-width: 799px) {
  .site-footer { padding-top: 44px; }
  .footer__grid { gap: 26px 20px; }
  .footer__tagline { font-size: 1.4rem; }
  .footer__col h2 { margin-bottom: 10px; }
  .footer__col li a { padding: 2px 0; }
  .footer__legal { margin-top: 28px; }
}
