@font-face {
  font-family: "Northpole Script";
  src: url("assets/fonts/northpole-script.otf") format("opentype");
  font-display: swap;
}

:root {
  --ivory: #f8f3ea;
  --ivory-light: #fdfaf4;
  --stone: #e8ddcc;
  --wine: #6f0d20;
  --wine-deep: #430711;
  --wine-dark: #260307;
  --gold: #c19a4b;
  --gold-light: #e5ca88;
  --ink: #312724;
  --muted: #756762;
  --line: #d8c9b3;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --script: "Northpole Script", "Snell Roundhand", "Brush Script MT", cursive;
  --shell: 1260px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  background: var(--ivory-light);
  color: var(--wine-deep);
  padding: 10px 16px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgb(229 202 136 / 0.35);
  color: white;
}

.header-inner,
.section-shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 48px;
  height: auto;
  flex: none;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  white-space: nowrap;
}

.brand-state {
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-script {
  color: var(--ivory);
  font-family: var(--script);
  font-size: 2.25rem;
  line-height: 0.8;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: rgb(255 255 255 / 0.82);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:not(.nav-book):hover {
  color: var(--gold-light);
}

.site-nav .nav-book {
  border: 1px solid var(--gold-light);
  color: var(--gold-light);
  padding: 10px 17px;
}

.site-nav .nav-book:hover {
  background: var(--gold-light);
  color: var(--wine-deep);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  color: white;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 7px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  min-height: max(720px, 100svh);
  overflow: hidden;
  background: var(--wine-dark);
  color: white;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(38 3 7 / 0.95) 0%, rgb(67 7 17 / 0.8) 34%, rgb(38 3 7 / 0.16) 72%),
    linear-gradient(0deg, rgb(38 3 7 / 0.6), transparent 42%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(calc(100% - 48px), var(--shell));
  min-height: max(720px, 100svh);
  margin-inline: auto;
  padding: 150px 0 78px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero h1 {
  display: flex;
  margin: 0;
  flex-direction: column;
  font-weight: 400;
  line-height: 1;
}

.hero h1 > span {
  color: var(--ivory-light);
  font-family: var(--script);
  font-size: clamp(5.6rem, 9vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.72;
  white-space: nowrap;
}

.hero-tagline {
  margin: 31px 0 0 6px;
  color: var(--ivory-light);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-style: italic;
}

.hero-services {
  margin: 13px 0 0 7px;
  color: rgb(255 255 255 / 0.6);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  margin: 32px 0 0 6px;
  border: 1px solid var(--gold-light);
  background: var(--gold-light);
  color: var(--wine-deep);
}

.button-gold:hover {
  background: transparent;
  color: var(--gold-light);
}

.section-label {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h2,
h3,
p {
  text-wrap: pretty;
}

h2 {
  margin: 0;
  color: var(--wine-deep);
  font-family: var(--serif);
  font-size: clamp(3.1rem, 5.4vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.appearances {
  border-block: 1px solid var(--line);
  background: var(--ivory-light);
  padding-block: clamp(90px, 10vw, 140px);
}

.section-heading {
  display: grid;
  margin-bottom: 72px;
  align-items: end;
  grid-template-columns: 0.45fr 1.55fr;
  gap: 42px;
}

.section-heading .section-label {
  margin-bottom: 13px;
}

.appearance-grid {
  display: grid;
  border-block: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.appearance-grid article {
  min-height: 270px;
  padding: 39px 38px 44px;
  border-right: 1px solid var(--line);
}

.appearance-grid article:first-child {
  padding-left: 0;
}

.appearance-grid article:last-child {
  border-right: 0;
  padding-right: 0;
}

.appearance-number {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.82rem;
}

.appearance-grid h3 {
  margin: 38px 0 0;
  color: var(--wine-deep);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  font-weight: 400;
}

.appearance-grid p {
  margin: 22px 0 0;
  color: var(--muted);
}

.photos {
  background: var(--wine-deep);
  color: white;
  padding-block: clamp(105px, 12vw, 165px);
}

.photos-heading {
  display: grid;
  margin-bottom: 68px;
  align-items: end;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 42px;
}

.section-label-gold {
  margin-bottom: 12px;
  color: var(--gold-light);
}

.photos h2 {
  color: white;
}

.photo-grid {
  columns: 3;
  column-gap: 20px;
}

.photo-card {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 20px;
  break-inside: avoid;
  overflow: hidden;
  border: 0;
  background: var(--wine-dark);
  cursor: zoom-in;
  padding: 0;
}

.photo-card img {
  width: 100%;
  height: auto;
  opacity: 0.94;
  transition: opacity 250ms ease, transform 500ms ease;
}

.photo-card::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgb(229 202 136 / 0.34);
  content: "";
  pointer-events: none;
}

.photo-card:hover img {
  opacity: 1;
  transform: scale(1.018);
}

.photo-card > span {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 10px;
  display: grid;
  width: 35px;
  height: 35px;
  border: 1px solid rgb(229 202 136 / 0.58);
  background: rgb(38 3 7 / 0.74);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 0.7rem;
  place-items: center;
}

.contact {
  background: var(--ivory);
  padding: clamp(90px, 11vw, 150px) 24px;
}

.contact-card {
  display: grid;
  width: min(100%, 1120px);
  min-height: 590px;
  margin-inline: auto;
  border: 1px solid var(--gold);
  background: var(--ivory-light);
  box-shadow: 0 24px 60px rgb(59 40 34 / 0.11);
  grid-template-columns: 0.82fr 1.18fr;
}

.contact-brand {
  display: flex;
  padding: 55px 38px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--wine-deep);
  color: white;
  text-align: center;
}

.contact-script {
  margin: 2px 0 0;
  font-family: var(--script);
  font-size: clamp(4.6rem, 7vw, 6.4rem);
  line-height: 0.75;
}

.contact-place {
  margin: 19px 0 0;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.39em;
  text-transform: uppercase;
}

.contact-motto {
  margin: 31px 0 0;
  color: rgb(255 255 255 / 0.72);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
}

.contact-copy {
  display: flex;
  padding: clamp(50px, 7vw, 90px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.contact-copy h2 {
  font-size: clamp(3.2rem, 5vw, 5.2rem);
}

.contact-copy > p:not(.section-label) {
  max-width: 520px;
  margin: 29px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.button-burgundy {
  margin-top: 34px;
  background: var(--wine);
  color: white;
}

.button-burgundy:hover {
  background: var(--wine-deep);
}

.contact-email {
  margin-top: 20px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 0.98rem;
  text-underline-offset: 5px;
}

.site-footer {
  display: grid;
  min-height: 100px;
  padding: 25px max(24px, calc((100vw - var(--shell)) / 2));
  align-items: center;
  border-top: 1px solid var(--line);
  background: var(--ivory-light);
  color: var(--muted);
  font-size: 0.72rem;
  grid-template-columns: 1fr auto 1fr;
  letter-spacing: 0.04em;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--wine);
  text-underline-offset: 4px;
}

.site-footer a:last-child {
  justify-self: end;
}

.lightbox {
  width: min(94vw, 1200px);
  max-width: none;
  height: min(92vh, 900px);
  max-height: none;
  border: 1px solid rgb(229 202 136 / 0.56);
  background: var(--wine-dark);
  padding: 18px;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgb(19 2 5 / 0.92);
  backdrop-filter: blur(8px);
}

.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: -17px;
  right: -17px;
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  background: var(--wine-deep);
  color: white;
  cursor: pointer;
  font-size: 1.7rem;
  place-items: center;
}

@media (max-width: 980px) {
  .menu-toggle {
    position: relative;
    z-index: 61;
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 60;
    inset: 0;
    display: flex;
    padding: 140px 34px 48px;
    flex-direction: column;
    align-items: flex-start;
    background: var(--wine-deep);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
  }

  .site-nav .nav-book {
    margin-top: 10px;
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgb(38 3 7 / 0.94) 0%, rgb(67 7 17 / 0.74) 48%, rgb(38 3 7 / 0.25) 100%),
      linear-gradient(0deg, rgb(38 3 7 / 0.66), transparent 48%);
  }

  .section-heading,
  .photos-heading {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .appearance-grid article {
    padding-inline: 26px;
  }

  .appearance-grid article:first-child {
    padding-left: 0;
  }

  .appearance-grid article:last-child {
    padding-right: 0;
  }

  .photo-grid {
    columns: 2;
  }

  .contact-card {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

@media (max-width: 680px) {
  .header-inner,
  .section-shell,
  .hero-inner {
    width: min(calc(100% - 36px), var(--shell));
  }

  .header-inner {
    min-height: 86px;
  }

  .brand-script {
    font-size: 2rem;
  }

  .brand-mark {
    width: 42px;
  }

  .brand-state {
    font-size: 0.78rem;
  }

  .hero {
    min-height: 760px;
  }

  .hero-image {
    object-position: 61% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgb(38 3 7 / 0.9), rgb(38 3 7 / 0.35)),
      linear-gradient(0deg, rgb(38 3 7 / 0.82), transparent 64%);
  }

  .hero-inner {
    min-height: 760px;
    padding-top: 130px;
    justify-content: flex-end;
  }

  .hero h1 > span {
    font-size: clamp(4.2rem, 18vw, 6rem);
  }

  .hero-tagline {
    margin-top: 25px;
    font-size: 1.25rem;
  }

  .hero-services {
    max-width: 340px;
    line-height: 1.8;
  }

  h2,
  .contact-copy h2 {
    font-size: clamp(2.85rem, 13vw, 4.15rem);
  }

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

  .appearance-grid article,
  .appearance-grid article:first-child,
  .appearance-grid article:last-child {
    min-height: 0;
    padding: 31px 0 34px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .appearance-grid article:last-child {
    border-bottom: 0;
  }

  .appearance-grid h3 {
    margin-top: 22px;
  }

  .appearance-grid p {
    margin-top: 13px;
  }

  .photo-grid {
    columns: 1;
  }

  .photo-card {
    margin-bottom: 16px;
  }

  .contact {
    padding-inline: 16px;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-brand {
    min-height: 490px;
    padding: 48px 30px;
  }

  .contact-copy {
    padding: 64px 34px 70px;
  }

  .site-footer {
    display: flex;
    padding-block: 32px;
    flex-direction: column;
    gap: 13px;
  }

  .site-footer a:last-child {
    justify-self: auto;
  }

  .lightbox {
    width: calc(100vw - 24px);
    height: calc(100dvh - 48px);
    padding: 10px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
