/* ==========================================================================
   LAYOUT — containers, sticky header, navigation, breadcrumbs, footer
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 980px; }
.wrap--text { max-width: 820px; }

.section { padding-block: clamp(4rem, 3rem + 5vw, 8.5rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem); }
.section--paper { background: var(--white); }
.section--stone { background: var(--stone-soft); }
.section--wine { background: var(--deep-wine); color: var(--wine-ink); }
.section--oxblood { background: var(--oxblood); color: var(--white); }
.section--sage { background: var(--sage); color: var(--ink); }
.section--wine h2, .section--wine h3, .section--oxblood h2, .section--oxblood h3 { color: var(--white); }
.section--wine p, .section--wine li { color: #E9DCD2; }
.section--oxblood p, .section--oxblood li { color: #F4E9E2; }
.section--wine a, .section--oxblood a { color: var(--apricot); }
.section--wine a:hover, .section--oxblood a:hover { color: var(--white); }
.section--wine .label, .section--oxblood .label { color: var(--apricot); }
.section--wine .meta, .section--oxblood .meta { color: #D7C4B8; }

.rule-top { border-top: 1px solid var(--rule); }

/* ---------------------------------------------------------------------------
   Sticky header
   --------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 231, .96);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow .3s var(--ease);
}
.site-header::after {
  /* thin brass hairline that "draws" under the header */
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  height: 1px;
  width: var(--read-progress, 0%);
  background: var(--oxblood);
  transition: width .15s linear;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(37, 35, 34, .55); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand:hover { color: var(--ink); }
.brand__mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand__mark .m-frame { fill: none; stroke: var(--oxblood); stroke-width: 1.4; }
.brand__mark .m-col { stroke: var(--oxblood); stroke-width: 1.4; }
.brand__mark .m-base { fill: var(--oxblood); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.005em;
}
.brand__sub {
  font-size: .64rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: .3rem;
  font-weight: 500;
}

/* Desktop primary nav */
.primary-nav__list {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav__list > li { margin: 0; }
.nav-trigger, .nav-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding: .5rem .95rem;
  background: none;
  border: 0;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  position: relative;
}
.nav-trigger::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .25s var(--ease);
}
.nav-trigger[aria-expanded="true"]::after { transform: translateY(1px) rotate(225deg); }
.nav-trigger:hover, .nav-trigger[aria-expanded="true"], .nav-link:hover { color: var(--oxblood); }
.nav-item.is-current > .nav-trigger::before,
.nav-link.is-current::before {
  content: "";
  position: absolute;
  left: .95rem; right: .95rem; bottom: 4px;
  height: 1px;
  background: var(--brass);
}
.nav-contact {
  margin-left: .6rem;
  border: 1px solid var(--oxblood);
  color: var(--oxblood);
}
.nav-contact:hover, .nav-contact.is-current { background: var(--oxblood); color: var(--white); }
.nav-contact.is-current::before { display: none; }

/* Mega panels */
.nav-panel {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--white);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 30px 50px -40px rgba(37, 35, 34, .6);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.nav-panel[hidden] { display: none; }
.nav-panel__inner {
  max-width: var(--page-max);
  margin-inline: auto;
  padding: 2.4rem var(--gutter) 2.6rem;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 3fr;
  gap: 3rem;
}
.nav-panel__intro { border-right: 1px solid var(--rule); padding-right: 2.5rem; }
.nav-panel__intro p {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.25;
  color: var(--ink-2);
  margin-top: .8rem;
}
.nav-panel__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 2rem;
}
.nav-panel__links li { margin: 0; max-width: none; }
.nav-panel__links a {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0 .4rem;
  padding: .85rem 0;
  border-top: 1px solid var(--stone);
  text-decoration: none;
  color: var(--ink);
}
.nav-panel__links a:hover .t, .nav-panel__links a[aria-current="page"] .t { color: var(--oxblood); }
.nav-panel__links .n {
  grid-row: span 2;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--brass);
  padding-top: .1rem;
}
.nav-panel__links .t { font-weight: 600; font-size: .98rem; }
.nav-panel__links .d { font-size: .82rem; color: var(--ink-3); line-height: 1.45; }

/* Mobile toggle */
.menu-toggle {
  display: none;
  align-items: center;
  gap: .7rem;
  min-height: 44px;
  min-width: 44px;
  padding: .5rem .2rem .5rem .6rem;
  background: none;
  border: 0;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
}
.menu-toggle__bars { position: relative; width: 26px; height: 12px; }
.menu-toggle__bars::before, .menu-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars::after { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { top: 5px; transform: rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  left: 0; right: 0;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  background: var(--deep-wine);
  color: var(--wine-ink);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1rem var(--gutter) 3rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__group { border-bottom: 1px solid rgba(243, 231, 221, .16); }
.mobile-menu__trigger {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
  background: none;
  border: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.85rem;
  text-align: left;
  padding: .4rem 0;
}
.mobile-menu__trigger .ix { font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; color: var(--apricot); }
.mobile-menu__trigger[aria-expanded="true"] .ix::after { content: " —"; }
.mobile-menu__trigger[aria-expanded="false"] .ix::after { content: " +"; }
.mobile-menu__list { list-style: none; margin: 0; padding: 0 0 1.2rem; }
.mobile-menu__list[hidden] { display: none; }
.mobile-menu__list li { margin: 0; }
.mobile-menu__list a {
  display: flex;
  gap: .9rem;
  align-items: baseline;
  min-height: 46px;
  padding: .7rem 0;
  color: #EADDD3;
  text-decoration: none;
  font-size: 1.02rem;
  border-top: 1px solid rgba(243, 231, 221, .08);
}
.mobile-menu__list a .n { font-family: var(--serif); color: var(--apricot); min-width: 1.8rem; }
.mobile-menu__list a:hover, .mobile-menu__list a[aria-current="page"] { color: var(--white); }
.mobile-menu__list a[aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }
.mobile-menu__contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
  background: var(--oxblood);
  color: var(--white);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.6rem;
}
.mobile-menu__contact:hover { color: var(--white); background: #7a2d3d; }
.mobile-menu a:focus-visible, .mobile-menu button:focus-visible { outline-color: var(--apricot); }

body.menu-open { overflow: hidden; }

/* ---------------------------------------------------------------------------
   Breadcrumbs
   --------------------------------------------------------------------------- */
.breadcrumb {
  padding-top: 1.6rem;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .6rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--fs-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: .6rem; }
.breadcrumb li + li::before { content: "/"; color: var(--brass); }
.breadcrumb a { color: var(--ink-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--oxblood); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--oxblood); font-weight: 600; }

/* ---------------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------------- */
.site-footer {
  background: var(--deep-wine);
  color: #E6D8CD;
  position: relative;
  overflow: hidden;
}
.site-footer a { color: #F1E5DB; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

.footer-statement {
  border-bottom: 1px solid rgba(243, 231, 221, .14);
  padding-block: clamp(3.5rem, 2.6rem + 4vw, 6.5rem) clamp(2.5rem, 2rem + 2vw, 4rem);
}
.footer-statement__words {
  display: flex;
  flex-wrap: wrap;
  gap: .1em .5em;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 1.2rem + 4.4vw, 5.6rem);
  line-height: 1;
  color: var(--white);
  margin: 0;
  max-width: none;
  letter-spacing: -.015em;
}
.footer-statement__words span:nth-child(even) { color: var(--apricot); font-style: italic; }
.footer-statement__note {
  margin-top: 1.8rem;
  font-size: var(--fs-sm);
  color: #D9C7BB;
  max-width: 62ch;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-block: 3.5rem;
}
.footer-col h2 {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--apricot);
  margin: 0 0 1.2rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 .55rem; font-size: .92rem; }
.footer-col p { font-size: .92rem; color: #DCCBBF; }

.footer-brand .brand { color: var(--white); }
.footer-brand .brand__sub { color: #CDB8AA; }
.footer-brand .brand__mark .m-frame, .footer-brand .brand__mark .m-col { stroke: var(--apricot); }
.footer-brand .brand__mark .m-base { fill: var(--apricot); }
.footer-brand p { margin-top: 1.4rem; }

.footer-contact dl { margin: 0; }
.footer-contact dt {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #C9B3A5;
  margin-top: .9rem;
}
.footer-contact dt:first-child { margin-top: 0; }
.footer-contact dd { margin: .15rem 0 0; font-size: .98rem; color: var(--white); }

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding-block: 1.6rem;
  border-top: 1px solid rgba(243, 231, 221, .14);
}
.footer-social__label {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #C9B3A5;
}
.social-list { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.social-list li { margin: 0; }
.social-btn {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid rgba(243, 231, 221, .35);
  color: var(--white);
  border-radius: 50%;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.social-btn svg { width: 18px; height: 18px; fill: currentColor; }
a.social-btn:hover { background: var(--apricot); border-color: var(--apricot); color: var(--deep-wine); text-decoration: none; }
.social-btn[aria-disabled="true"] { opacity: .42; cursor: not-allowed; }
.footer-social__note { font-size: .78rem; color: #C9B3A5; max-width: 60ch; margin: 0; }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem 2rem;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid rgba(243, 231, 221, .14);
  font-size: .8rem;
  color: #D3C0B3;
}
.footer-base p { margin: 0; max-width: none; }
.footer-base .credit a { color: var(--apricot); }
.footer-base .credit a:hover { color: var(--white); }
.to-top {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
