@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=JetBrains+Mono:wght@400&family=Playfair+Display:ital@1&display=swap');

:root {
  --ink: #000000;
  --paper: #ffffff;
  --rule: 4px;
  --hair: 1px;
  --pad: 20px;
  --shell: 1320px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

.top {
  position: relative;
  z-index: 5;
}

.brandline {
  background: var(--ink);
  color: var(--paper);
}

.wrap {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 10px var(--pad);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 0;
  color: var(--paper);
  text-decoration: none;
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.15;
}

.brand-mark {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  background: var(--paper);
}

.menu {
  background: var(--paper);
  border-bottom: var(--rule) solid var(--ink);
  padding: 0 var(--pad);
}

.menu p {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2px;
  max-width: var(--shell);
  margin: 0 auto;
}

.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 10px;
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px 4px 0 0;
  transition: background 0.18s ease, color 0.18s ease;
}

.menu a:hover,
.menu a:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

main {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem 1rem;
  align-items: start;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 1.5rem var(--pad) 3rem;
}

.hero {
  grid-column: 1 / -1;
  margin: 0;
}

.hero-plate {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 45vh;
  margin: 0;
  border: var(--rule) solid var(--ink);
  border-radius: 4px;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.hero-bare .hero-plate {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 34px 34px;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.78) 100%);
}

.hero-copy {
  position: relative;
  max-width: 34ch;
  padding: 1.5rem 1.25rem 1.6rem;
}

.hero-tag {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 3px 10px;
  border: 2px solid var(--paper);
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.5;
}

h1 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.05rem, 8vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.side {
  grid-column: 1 / 4;
  grid-row: 2 / span 30;
  align-self: start;
  position: sticky;
  top: 1rem;
  padding: 1rem 1rem 1.1rem;
  border: var(--rule) solid var(--ink);
  border-radius: 4px;
  background: var(--paper);
}

.side-kicker {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.5;
}

.side-title {
  margin: 0.15rem 0 0.7rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.15;
}

.side-links a {
  display: block;
  padding: 9px 0;
  border-top: var(--hair) solid var(--ink);
  font-size: 0.9rem;
  line-height: 1.45;
  text-decoration: none;
  transition: padding-left 0.18s ease, opacity 0.18s ease;
}

.side-links a:last-child {
  border-bottom: var(--hair) solid var(--ink);
}

.side-links a:hover,
.side-links a:focus-visible {
  padding-left: 7px;
  opacity: 0.62;
}

main > div:not(.hero) {
  grid-column: 4 / -1;
  min-width: 0;
  padding-top: 1.4rem;
  border-top: var(--rule) solid var(--ink);
  scroll-margin-top: 1.2rem;
}

main > div > small {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.5;
}

main > div:not(.hero) h2,
main > div:not(.hero) h3 {
  margin: 0.1rem 0 1rem;
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  line-height: 1.16;
  text-wrap: balance;
}

main > div:not(.hero) h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
}

main > div:not(.hero) h3 {
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  margin-top: 1.5rem;
}

main > div:not(.hero) p,
main > div:not(.hero) li {
  max-width: 68ch;
}

main > div:not(.hero) p {
  margin: 0 0 1rem;
}

main > div:not(.hero) ul,
main > div:not(.hero) ol {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

main > div:not(.hero) li {
  margin-bottom: 0.45rem;
}

main > div:not(.hero) a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

main > div:not(.hero) a:hover {
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

main > div:not(.hero) figure {
  margin: 0 0 1.25rem;
}

main > div:not(.hero) figure img {
  display: block;
  width: 100%;
  border: var(--rule) solid var(--ink);
  border-radius: 4px;
}

main > div:not(.hero) figcaption {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  line-height: 1.5;
}

main > div:not(.hero) blockquote {
  margin: 0 0 1.25rem;
  padding: 0.15rem 0 0.15rem 1rem;
  border-left: var(--rule) solid var(--ink);
  font-size: 1.06rem;
}

main > div:not(.hero) img {
  border-radius: 4px;
}

main > div:not(.hero) table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

main > div:not(.hero) th,
main > div:not(.hero) td {
  border: var(--hair) solid var(--ink);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

main > div:not(.hero) th {
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
}

.foot {
  border-top: var(--rule) solid var(--ink);
  padding: 2rem var(--pad) 1.5rem;
  background: var(--paper);
}

.foot-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem 1rem;
  max-width: var(--shell);
  margin: 0 auto;
}

.foot-addr {
  grid-column: 1 / 7;
  padding-left: 1rem;
  border-left: var(--rule) solid var(--ink);
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.25;
}

.foot-nav {
  grid-column: 8 / 13;
}

.foot-nav ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-nav a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 2px;
  border-bottom: var(--hair) solid var(--ink);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.foot-nav a:hover,
.foot-nav a:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.foot-form {
  max-width: var(--shell);
  margin: 1.75rem auto 0;
}

.sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 430px;
}

.sub input {
  flex: 1 1 190px;
  min-height: 44px;
  padding: 0 12px;
  border: var(--rule) solid var(--ink);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.sub button {
  min-height: 44px;
  padding: 0 22px;
  border: var(--rule) solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.sub button:hover {
  background: var(--paper);
  color: var(--ink);
}

.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--shell);
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: var(--hair) solid var(--ink);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.foot-base p {
  margin: 0;
}

.foot-base a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 2px;
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.menu a,
.side-links a,
.foot-nav li {
  animation: rise 0.5s ease both;
}

.menu a:nth-child(1),
.side-links a:nth-child(1),
.foot-nav li:nth-child(1) {
  animation-delay: 0.02s;
}

.menu a:nth-child(2),
.side-links a:nth-child(2),
.foot-nav li:nth-child(2) {
  animation-delay: 0.06s;
}

.menu a:nth-child(3),
.side-links a:nth-child(3),
.foot-nav li:nth-child(3) {
  animation-delay: 0.1s;
}

.menu a:nth-child(4),
.side-links a:nth-child(4),
.foot-nav li:nth-child(4) {
  animation-delay: 0.14s;
}

.menu a:nth-child(5),
.side-links a:nth-child(5),
.foot-nav li:nth-child(5) {
  animation-delay: 0.18s;
}

.menu a:nth-child(6),
.side-links a:nth-child(6),
.foot-nav li:nth-child(6) {
  animation-delay: 0.22s;
}

.menu a:nth-child(7),
.side-links a:nth-child(7),
.foot-nav li:nth-child(7) {
  animation-delay: 0.26s;
}

html.reveal-on main > div:not(.hero) {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

html.reveal-on main > div.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 780px) {
  main {
    grid-template-columns: 1fr;
    padding: 1rem var(--pad) 2.5rem;
    gap: 1.25rem;
  }

  .hero,
  .side,
  main > div:not(.hero) {
    grid-column: 1 / -1;
  }

  .side {
    grid-row: auto;
    position: static;
  }

  .side-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
  }

  .side-links a:last-child {
    border-bottom: 0;
  }

  .hero-plate {
    min-height: 42vh;
  }

  .foot-grid {
    grid-template-columns: 1fr;
  }

  .foot-addr,
  .foot-nav {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .menu a {
    padding: 10px 8px;
    font-size: 0.9rem;
  }

  .foot-nav ul {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .menu a,
  .side-links a,
  .foot-nav li {
    animation: none;
  }

  html.reveal-on main > div:not(.hero) {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
