@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost-latin-ext.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3-latin-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #2C2416;
  --paper: #fdfdfb;
  --yellow: #f4da37;
  --card: #fffdf8;
  --line: rgba(44, 36, 22, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--ink);
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

a:hover { text-decoration-thickness: 3px; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  z-index: 5;
}

.skip:focus { top: 0.6rem; }

.wrap {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--paper);
  border-top: 3px solid var(--yellow);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0 1rem;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  max-width: 21rem;
}

.logo img {
  height: 11rem;
  width: auto;
  max-width: 20rem;
}

.logo-tagline {
  font-family: Jost, "Source Sans 3", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-align: center;
  text-transform: uppercase;
  color: var(--ink);
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav > ul > li { position: relative; }

.nav a {
  display: inline-block;
  padding: 0.35rem 0;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.nav a:hover,
.nav .is-open > a,
.nav a[aria-current="page"] {
  border-bottom-color: var(--yellow);
}

.nav li ul {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 16rem;
  flex-direction: column;
  gap: 0;
  background: var(--card);
  border-top: 3px solid var(--yellow);
  padding: 0.4rem 0.8rem 0.6rem;
  box-shadow: 0 10px 24px rgba(44, 36, 22, 0.08);
  transform: translateY(-3px);
}

.nav li:hover > ul,
.nav li:focus-within > ul { display: flex; }

.hero-slider {
  --hero-fade: 1.1s;
  --hero-zoom: 7.5s;
  position: relative;
  width: 100%;
  height: clamp(16rem, 55vw, 30rem);
  background: #d9d2c2;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity var(--hero-fade) ease;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-slide.is-leaving {
  opacity: 0;
  z-index: 1;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.14);
  transform-origin: center center;
  backface-visibility: hidden;
}

.hero-slide.is-active img {
  animation: hero-zoom-out var(--hero-zoom) linear forwards;
}

@keyframes hero-zoom-out {
  from { transform: scale(1.14); }
  to { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }

  .hero-slide img { transform: none; }

  .hero-slide.is-active img { animation: none; }
}

.home-body { padding: 2rem 0 3rem; }

.place {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
}

.intro {
  max-width: 42rem;
  font-size: 1.3rem;
  line-height: 1.5;
}

.hours-panel {
  max-width: 42rem;
  margin: 1.5rem 0 2.4rem;
  padding: 1rem 1.2rem 1rem 1.3rem;
  background: var(--card);
  border-left: 3px solid var(--yellow);
}

.hours-panel .phone {
  margin: 0 0 0.2rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.2;
}

.hours-panel .phone a { text-decoration: none; }

.hours-panel p:last-child { margin: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
  gap: 1.1rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  text-decoration: none;
  min-height: 100%;
}

.card img {
  width: 100%;
  aspect-ratio: 13 / 14;
  object-fit: cover;
  object-position: center top;
}

.card-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 0.9rem 1rem 1px;
}

.card-name {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 560;
}

.card-role { font-size: 1.02rem; }

.page { padding-bottom: 3rem; }

.page-title {
  margin: 1.4rem 0 0.8rem;
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  border-bottom: 3px solid var(--yellow);
  display: inline-block;
  padding: 0.375rem 1rem;
  width: 100%;
  margin-bottom: 1.5rem;
  transform: translateX(-18px);
}

.banner {
  width: 100%;
  max-height: 18rem;
  object-fit: cover;
}

.role {
  margin-top: 0;
  font-size: 1.25rem;
}

.lead {
  font-size: 1.3rem;
  margin-top: 0;
}

.prose { max-width: 42rem; }

.prose h2,
.prose h3,
.note strong,
.contact-list h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  line-height: 1.25;
}

.prose h2 { font-size: 1.7rem; margin: 1.6rem 0 0.4rem; }
.prose h3 { font-size: 1.35rem; margin: 1.3rem 0 0.3rem; }

.prose ul,
.prose ol { padding-left: 1.2rem; }

.note {
  max-width: 42rem;
  margin: 1rem 0 1.4rem;
  padding: 0.9rem 1.1rem;
  background: var(--card);
  border-left: 3px solid var(--yellow);
}

.with-portrait {
  display: grid;
  grid-template-columns: minmax(0, 42rem) minmax(12rem, 18rem);
  gap: 2rem;
  align-items: start;
}

.portrait img { width: 100%; height: auto; }

.house,
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.house figure,
.gallery figure { margin: 0; }

.gallery figcaption {
  padding: 0.45rem 0 0.2rem;
  font-size: 1.05rem;
}

.address {
  font-style: normal;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.contact-list {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.contact-list article {
  background: var(--card);
  border-top: 3px solid var(--yellow);
  padding: 0.9rem 1rem 1rem;
}

.contact-list h2 {
  margin: 0 0 0.2rem;
  font-size: 1.45rem;
}

.contact-list p { margin: 0.2rem 0; }

.parking { margin-top: 1.6rem; }

.parking-photo { max-width: 42rem; margin: 0.6rem 0 1rem; }

.osm { font-size: 1.15rem; }

.site-footer {
  border-top: 3px solid var(--yellow);
  padding: 1.4rem 0 2rem;
  background: var(--paper);
}

.site-footer p { max-width: 70rem; }

.footer-links { display: flex; gap: 1.2rem; }

@media (max-width: 860px) {
  .header-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .nav li.is-open > ul { display: none; }
  .with-portrait { grid-template-columns: 1fr; }
  .portrait { max-width: 18rem; }
}
