@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("assets/playfair-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("assets/playfair-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f4eb;
  --ink: #29221e;
  --wine: #742e3f;
  --deep-wine: #4b2331;
  --muted: #62544a;
  --rule: #dbccba;
  --serif: "Playfair Display", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 "DM Sans", system-ui, sans-serif; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -.04em; }
h2 { font-size: clamp(34px, 4vw, 56px); }
a { color: inherit; }
img { display: block; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1320px, calc(100% - 104px)); margin-inline: auto; }
.skip { position: absolute; inset: 12px auto auto 12px; transform: translateY(-200%); z-index: 1; background: white; padding: 10px 14px; }
.skip:focus { transform: none; }

.masthead { border-bottom: 1px solid var(--rule); }
.masthead-inner { min-height: 77px; }
.masthead-inner, .site-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 700 24px/1.1 var(--serif); }
.brand em { color: var(--wine); font-weight: 500; }
.masthead nav { display: flex; gap: clamp(17px, 3vw, 38px); }
.masthead nav a, .back-top { font-size: 14px; font-weight: 700; text-decoration: none; }
.masthead nav a:hover, .back-top:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 4px; }

.hero { display: grid; grid-template-columns: .91fr 1.09fr; align-items: center; gap: clamp(32px, 6vw, 92px); padding-block: 48px 54px; }
.hero-copy { padding-bottom: 20px; }
.eyebrow { color: var(--wine); font-size: 11px; line-height: 1.45; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.hero .eyebrow { display: flex; gap: 10px; align-items: center; }
.hero .eyebrow::before { content: ""; flex: 0 0 23px; height: 1px; background: currentColor; }
h1 { font-size: clamp(55px, 8.2vw, 121px); letter-spacing: -.068em; line-height: .94; margin-block: 20px 23px; }
h1 em { display: block; color: var(--wine); font-weight: 500; }
.intro { color: var(--muted); font-size: clamp(16px, 1.65vw, 20px); max-width: 38ch; margin-bottom: 26px; }
.cta { display: inline-flex; align-items: center; gap: 18px; padding: 12px 15px 12px 17px; color: #fff9f0; background: var(--wine); text-decoration: none; font-size: 14px; font-weight: 700; border-radius: 3px; }
.cta span { font-size: 18px; line-height: 1; }
.cta:hover { background: var(--deep-wine); }
.hero-gallery { min-width: 0; }
.hero-slides { position: relative; height: clamp(320px, 35vw, 500px); isolation: isolate; overflow: hidden; background: var(--deep-wine); border-radius: 4px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 650ms ease, visibility 0s linear 650ms; }
.hero-slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition-delay: 0s; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.hero-slide figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 44px clamp(15px, 3vw, 30px) clamp(14px, 2vw, 25px);
  background: linear-gradient(transparent, #21141ad9);
  color: #fffaf3;
  font: 600 clamp(23px, 3vw, 38px)/1.12 var(--serif);
}
.hero-slide figcaption span { display: block; margin-top: 5px; font: 500 13px/1.3 "DM Sans", system-ui, sans-serif; }
.hero-gallery-controls, .hero-gallery-actions { display: flex; align-items: center; gap: 8px; }
.hero-gallery-controls { justify-content: space-between; margin-top: 10px; }
.hero-gallery-count { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.hero-gallery-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: transparent;
  color: var(--wine);
  font: 700 13px/1 "DM Sans", system-ui, sans-serif;
  cursor: pointer;
}
.hero-gallery-actions button:hover { border-color: var(--wine); }
.hero-gallery-actions button span { width: 8px; height: 8px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; }
.hero-gallery-prev span { transform: translateX(2px) rotate(-135deg); }
.hero-gallery-next span { transform: translateX(-2px) rotate(45deg); }

.selection { background: #efe6d8; border-block: 1px solid var(--rule); padding-block: 41px 56px; }
.selection h2, .specialties h2, .visit h2 { margin-top: 7px; }
.filter-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-block: 17px 23px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { padding: 6px 13px; border: 1px solid #c7b3a2; border-radius: 999px; background: transparent; color: var(--ink); font: 600 13px/1.4 "DM Sans", system-ui, sans-serif; cursor: pointer; }
.filters button:hover { border-color: var(--wine); }
.filters button[aria-pressed="true"] { color: #fffaf3; background: var(--wine); border-color: var(--wine); }
.count { font-size: 13px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 23px); }
.card { display: flex; height: 100%; flex-direction: column; background: #fffaf1; border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; text-decoration: none; transition: box-shadow 180ms ease, transform 180ms ease; }
.card:hover { box-shadow: 0 10px 22px #4f302b1f; transform: translateY(-3px); }
.card img { width: 100%; aspect-ratio: 1.25; object-fit: cover; }
.card-content { display: flex; flex: 1; flex-direction: column; padding: clamp(14px, 1.55vw, 22px); }
.card .eyebrow { font-size: 10px; }
.card h3 { font-size: clamp(23px, 2.35vw, 32px); margin-block: 7px 8px; }
.card p:not(.eyebrow) { color: var(--muted); line-height: 1.5; font-size: 14px; }
.more { display: flex; width: 100%; justify-content: space-between; gap: 10px; border-top: 1px solid var(--rule); padding-top: 10px; margin-top: auto; color: var(--wine); font-size: 13px; font-weight: 700; }
.card p:not(.eyebrow) { margin-bottom: 16px; }

.specialties { padding-block: 53px 62px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 14px 28px; margin-bottom: 24px; }
.section-heading > p { max-width: 38ch; color: var(--muted); font-size: 14px; }
.specialty-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; }
.specialty { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); background: #f1e9dd; border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; }
.specialty img { width: 100%; height: 100%; min-height: 190px; max-height: 250px; object-fit: cover; }
.specialty-copy { align-self: center; padding: clamp(14px, 1.8vw, 24px); }
.specialty h3 { margin: 6px 0 8px; font-size: clamp(21px, 2.2vw, 30px); }
.specialty-copy p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.48; }
.specialty-copy a { display: inline-block; color: var(--wine); margin-top: 11px; font-weight: 700; font-size: 13px; text-underline-offset: 3px; }

.visit { background: var(--deep-wine); color: #fff5e8; padding-block: 38px 43px; }
.visit .eyebrow { color: #efcbb0; }
.visit-inner { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: center; gap: 15px 44px; }
.visit-links { list-style: none; margin: 0; padding: 0; }
.visit-links a { display: flex; justify-content: space-between; align-items: center; gap: 13px; padding: 8px 1px; border-bottom: 1px solid #89616d; text-decoration: none; }
.visit-links li:first-child a { border-top: 1px solid #89616d; }
.visit-links a:hover { color: #f7c8a6; }
.visit-links span { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.site-footer .wrap { padding-block: 23px; }
.site-footer p { font: 500 17px/1.3 var(--serif); }
.site-footer p em { color: var(--wine); }

@media (max-width: 1080px) {
  .wrap { width: calc(100% - 66px); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card img { aspect-ratio: 1.55; }
}
@media (max-width: 740px) {
  .wrap { width: calc(100% - 36px); }
  .masthead-inner { min-height: 64px; gap: 12px; }
  .brand { font-size: 19px; gap: 7px; }
  .brand img { width: 34px; height: 34px; }
  .masthead nav { gap: 12px; }
  .masthead nav a, .back-top { font-size: 12px; }
  .hero { grid-template-columns: 1fr; gap: 22px; padding-block: 31px 36px; }
  .hero-copy { padding-bottom: 0; }
  h1 { font-size: clamp(59px, 12vw, 87px); margin-block: 12px 16px; }
  .intro { margin-bottom: 19px; }
  .hero-slides { height: clamp(210px, 64vw, 385px); }
  .selection, .specialties { padding-block: 32px 38px; }
  .section-heading { align-items: start; flex-direction: column; }
  .specialty-grid { grid-template-columns: 1fr; gap: 12px; }
  .specialty img { min-height: 155px; max-height: 200px; }
  .visit-inner { grid-template-columns: 1fr; }
  .site-footer .wrap { flex-wrap: wrap; gap: 12px 16px; }
  .site-footer p { order: 1; width: 100%; }
}
@media (max-width: 395px) {
  .masthead nav { gap: 8px; }
  .masthead nav a { font-size: 11px; }
  .grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .hero-slide { transition: none; }
}

/* Draw the link arrows independently of the display fonts. */
.cta span[aria-hidden], .more span[aria-hidden], .specialty-copy a span[aria-hidden],
.visit-links b[aria-hidden], .back-top span[aria-hidden] {
  display: inline-block;
  position: relative;
  width: 12px;
  height: 12px;
  overflow: hidden;
  font-size: 0;
  vertical-align: middle;
  flex: 0 0 12px;
}
.cta span[aria-hidden] { transform: rotate(90deg); }
.back-top span[aria-hidden] { transform: rotate(-45deg); }
.cta span[aria-hidden]::before, .more span[aria-hidden]::before, .specialty-copy a span[aria-hidden]::before,
.visit-links b[aria-hidden]::before, .back-top span[aria-hidden]::before {
  position: absolute;
  content: "";
  right: 1px;
  top: 1px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}
.cta span[aria-hidden]::after, .more span[aria-hidden]::after, .specialty-copy a span[aria-hidden]::after,
.visit-links b[aria-hidden]::after, .back-top span[aria-hidden]::after {
  position: absolute;
  content: "";
  top: 6px;
  left: 0;
  width: 12px;
  height: 1px;
  background: currentColor;
  transform: rotate(-45deg);
}
