:root {
  --paper: #f3eee4;
  --paper-2: #e8e1d4;
  --ink: #171c17;
  --mute: #5a6158;
  --pine: #2a4336;
  --pine-2: #1d3128;
  --brass: #a5854a;
  --line: #d5cdbf;
  --focus: #2a4336;
  --max: 70rem;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pine); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--pine-2); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--pine);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.75rem; top: 0.75rem; }

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

.mast {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 92%, white);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.mast-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  min-height: 4.1rem;
  padding: 0.35rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  min-height: 44px;
  min-width: 0;
  flex: 1 1 auto;
}
.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  display: block;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}
.brand-text strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--ink);
}
.brand-text em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  flex: 0 0 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  z-index: 2;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav {
  display: none;
  flex: 1 0 100%;
  width: 100%;
  flex-direction: column;
  gap: 0;
  padding: 0.35rem 0 0.85rem;
  border-top: 1px solid var(--line);
}
.nav.is-open { display: flex; }
.nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0.35rem 0.15rem;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav a[aria-current="page"] { color: var(--pine); font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--pine);
  background: var(--pine);
  color: #f7f3ea;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  letter-spacing: 0.02em;
}
.btn:hover { background: var(--pine-2); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--pine);
}
.btn-ghost:hover { background: var(--paper-2); color: var(--pine-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.hero {
  padding: 1.75rem 0 2.4rem;
  border-bottom: 1px solid var(--line);
}
.kicker {
  margin: 0 0 0.7rem;
  color: var(--brass);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 6vw, 3.15rem);
  line-height: 1.15;
  margin: 0 0 0.9rem;
}
.lede { font-size: 1.08rem; color: var(--mute); margin: 0 0 1.2rem; max-width: 40rem; }
.hero-frame {
  margin-top: 1.4rem;
  background: var(--pine-2);
  overflow: hidden;
  aspect-ratio: 16 / 13;
}
.hero-frame picture,
.hero-frame img { width: 100%; height: 100%; display: block; }
.hero-frame img { object-fit: cover; }

.section { padding: 2.4rem 0; border-bottom: 1px solid var(--line); }
.section h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  margin: 0 0 0.85rem;
  line-height: 1.2;
}
.section p { margin: 0 0 1rem; }
.muted { color: var(--mute); }

.folio {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 0;
}
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper-2); }
.card-body { padding: 1rem 1.05rem 1.15rem; }
.card h3 {
  font-family: var(--serif);
  font-size: 1.28rem;
  margin: 0 0 0.45rem;
}
.card details { margin-top: 0.5rem; }
.card summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--pine);
  font-weight: 600;
  list-style: none;
}
.card summary::-webkit-details-marker { display: none; }
.card summary::after { content: "+"; margin-left: auto; font-weight: 400; }
.card details[open] summary::after { content: "–"; }

.tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0; }
.tab {
  min-height: 44px;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  background: transparent;
  font: inherit;
  cursor: pointer;
  color: var(--ink);
}
.tab[aria-selected="true"] {
  background: var(--pine);
  border-color: var(--pine);
  color: #f7f3ea;
}
.panel { display: none; }
.panel.is-on { display: block; }
.place {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1rem 1.05rem;
}
.place h3 { font-family: var(--serif); margin: 0 0 0.4rem; }
.place dl { margin: 0; display: grid; gap: 0.35rem; }
.place dt { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.place dd { margin: 0 0 0.55rem; }
.place a { display: inline-flex; min-height: 44px; align-items: center; }

.hours {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.45rem 0;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  font-size: 0.92rem;
}
.status i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #8a8f86;
}
.status.is-open i { background: #2f7a4a; }
.status.is-closed i { background: #8a4a3a; }

.faq details {
  border-top: 1px solid var(--line);
  padding: 0.2rem 0;
}
.faq summary {
  cursor: pointer;
  min-height: 48px;
  display: flex;
  align-items: center;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "▾"; margin-left: auto; color: var(--brass); }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { margin: 0 0 1rem; color: var(--mute); }

.contact-grid { display: grid; gap: 1rem; }
.box {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.05rem;
}
.box h3 { font-family: var(--serif); margin: 0 0 0.55rem; }

form { display: grid; gap: 0.75rem; }
label { display: grid; gap: 0.3rem; font-size: 0.92rem; }
input, select, textarea {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  min-height: 44px;
  padding: 0.5rem 0.7rem;
  width: 100%;
}
textarea { min-height: 8rem; resize: vertical; }
.check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.9rem;
}
.check input { width: 1.15rem; height: 1.15rem; min-height: 0; margin-top: 0.2rem; }
.form-ok, .form-err { margin: 0; font-size: 0.92rem; }
.form-ok { color: #2f7a4a; }
.form-err { color: #8a4a3a; }
.hidden { display: none !important; }

.legal { max-width: 46rem; }
.page-title,
.legal h1 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 0.6rem;
}
.legal h2 { font-family: var(--serif); font-size: 1.25rem; margin: 1.6rem 0 0.5rem; }
.legal ul { padding-left: 1.15rem; }
.stack-top { margin-top: 1.5rem; }
.note {
  font-size: 0.9rem;
  color: var(--mute);
  border-left: 2px solid var(--brass);
  padding-left: 0.85rem;
}

.job {
  background: #fff;
  border: 1px solid var(--line);
  margin-bottom: 0.75rem;
}
.job summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.05rem;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.job summary::-webkit-details-marker { display: none; }
.job summary strong { font-family: var(--serif); font-size: 1.15rem; }
.job .meta { color: var(--mute); font-size: 0.88rem; }
.job-body { padding: 0 1.05rem 1.1rem; }

.foot {
  padding: 2rem 0 6.5rem;
  background: var(--pine-2);
  color: #e6e2d8;
}
.foot a { color: #e6e2d8; }
.foot-grid {
  display: grid;
  gap: 1.2rem;
}
.foot h2 { font-family: var(--serif); font-size: 1.05rem; margin: 0 0 0.5rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; }
.copy { margin-top: 1.4rem; font-size: 0.85rem; color: #c9c4b8; }

.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
  box-shadow: 0 -8px 24px rgb(23 28 23 / 0.06);
}
.consent p { margin: 0 0 0.7rem; font-size: 0.92rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; }

dialog {
  width: min(34rem, calc(100% - 2rem));
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 1.2rem;
}
dialog::backdrop { background: rgb(23 28 23 / 0.45); }
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}
.icon-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font: inherit;
}

@media (min-width: 760px) {
  .nav-toggle { display: none; }
  .mast-row {
    flex-wrap: nowrap;
    min-height: 4.5rem;
    padding: 0;
  }
  .brand { flex: 0 1 auto; }
  .nav {
    display: flex;
    flex: 0 1 auto;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem 1.1rem;
    padding: 0;
    border-top: 0;
  }
  .nav.is-open { display: flex; }
  .nav a {
    border: 0;
    min-height: 44px;
    font-size: 0.95rem;
  }
  .hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: center;
    padding: 2.6rem 0 3rem;
  }
  .hero-frame { margin-top: 0; aspect-ratio: 16 / 13; }
  .folio { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .section { padding: 3rem 0; }
}

@media (min-width: 1080px) {
  .folio { grid-template-columns: repeat(4, 1fr); }
}
