:root {
  color-scheme: light;
  --ink: #132234;
  --ink-soft: #33465a;
  --cream: #f3efe6;
  --olive: #aab08a;
  --line: rgba(19, 34, 52, 0.18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid #997c42;
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.8rem 1rem;
  color: #fff;
  background: var(--ink);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 128px;
  align-items: center;
  justify-content: space-between;
  padding: 2.4rem clamp(1.5rem, 5.5vw, 6rem) 1.6rem;
}

.demo-label {
  position: absolute;
  top: 1rem;
  left: clamp(1.5rem, 5.5vw, 6rem);
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.44rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.wordmark-storage {
  font-size: 0.86em;
  font-weight: 400;
  letter-spacing: 0;
}

.ampersand {
  color: #778060;
  font-weight: 400;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.7vw, 2.8rem);
}

.desktop-nav > a {
  color: var(--ink-soft);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 180ms ease;
}

.desktop-nav > a:hover {
  color: #7c6845;
}

.header-cta,
.primary-cta,
.mobile-nav-cta {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 0;
  color: #fff;
  background: var(--ink-soft);
  cursor: pointer;
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.header-cta {
  min-height: 2.9rem;
  padding: 0 1.1rem;
  font-family: var(--serif);
  font-size: 0.98rem;
}

.header-cta:hover,
.primary-cta:hover,
.mobile-nav-cta:hover {
  background: #1d3044;
  box-shadow: 0 8px 20px rgba(19, 34, 52, 0.18);
  transform: translateY(-2px);
}

.header-cta svg,
.primary-cta svg,
.mobile-nav-cta svg {
  width: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transition: transform 180ms ease;
}

.header-cta:hover svg,
.primary-cta:hover svg,
.mobile-nav-cta:hover svg {
  transform: translateX(3px);
}

.menu-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(243, 239, 230, 0.82);
  cursor: pointer;
}

.menu-icon {
  display: grid;
  width: 1.05rem;
  gap: 0.3rem;
}

.menu-icon span {
  display: block;
  height: 1px;
  background: var(--ink);
  transition:
    transform 180ms ease,
    width 180ms ease;
}

.menu-icon span:last-child {
  width: 0.72rem;
  margin-left: auto;
}

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

.menu-toggle[aria-expanded="true"] .menu-icon span:last-child {
  width: 1.05rem;
  transform: translateY(-0.2rem) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: calc(100% - 0.5rem);
  right: clamp(1rem, 4vw, 2rem);
  left: clamp(1rem, 4vw, 2rem);
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem;
  border: 1px solid rgba(19, 34, 52, 0.12);
  background: rgba(247, 245, 239, 0.98);
  box-shadow: 0 1.2rem 3rem rgba(19, 34, 52, 0.14);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 0.9rem 0.8rem;
  color: var(--ink);
  font-size: 0.83rem;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.mobile-nav a:hover {
  background: rgba(170, 176, 138, 0.16);
}

.mobile-nav-cta {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0 1rem;
  font-family: var(--serif);
  font-size: 1.02rem;
}

.hero {
  position: relative;
  display: flex;
  min-height: max(680px, 100svh);
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 22% 22%, rgba(255, 255, 255, 0.76), transparent 36%),
    var(--cream);
}

.hero-photo {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 42%;
  overflow: hidden;
  background: #d4c9b7;
}

.hero-photo picture,
.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-photo img {
  object-fit: cover;
  object-position: 52% 48%;
  filter: saturate(0.82) contrast(1.02);
}

.photo-tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(243, 239, 230, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(20, 33, 48, 0.06), transparent 30%, rgba(20, 33, 48, 0.08));
  pointer-events: none;
}

.image-label {
  position: absolute;
  right: clamp(1.2rem, 3.5vw, 3.6rem);
  bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.42);
  text-transform: uppercase;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(59%, 790px);
  padding: clamp(7rem, 14vh, 10rem) 0 clamp(4rem, 9vh, 7rem) clamp(1.5rem, 5.8vw, 6.5rem);
}

.eyebrow {
  display: inline-block;
  color: #596346;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-rule {
  display: block;
  width: 4.3rem;
  height: 2px;
  margin: 1.15rem 0 1.2rem;
  background: var(--olive);
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(4rem, 8.2vw, 8.9rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.hero h1 span {
  color: #657051;
  font-weight: 400;
}

.hero-category {
  margin: 1.45rem 0 0;
  color: #33465a;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.8vw, 3.65rem);
  line-height: 1;
}

.hero-location {
  margin: 1.2rem 0 0;
  color: #34455a;
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.29em;
  line-height: 1.7;
  text-transform: uppercase;
}

.primary-cta {
  min-width: 12.6rem;
  min-height: 3.6rem;
  margin-top: 2.2rem;
  padding: 0 1.35rem;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.details-dialog {
  width: min(92vw, 31rem);
  max-width: none;
  padding: 0;
  border: 1px solid rgba(19, 34, 52, 0.16);
  color: var(--ink);
  background: var(--cream);
  box-shadow: 0 2rem 5rem rgba(10, 20, 31, 0.3);
}

.details-dialog::backdrop {
  background: rgba(15, 27, 40, 0.58);
  backdrop-filter: blur(5px);
}

.dialog-inner {
  position: relative;
  padding: clamp(2rem, 7vw, 3.5rem);
}

.dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.dialog-close:hover {
  background: rgba(19, 34, 52, 0.07);
}

.dialog-close svg {
  width: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.dialog-kicker {
  margin: 0 0 1.5rem;
  color: #687052;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.dialog-inner h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 8vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.06em;
}

.dialog-inner h2 span {
  color: #657051;
}

.dialog-description {
  margin: 1.1rem 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.dialog-note {
  margin: 2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: #536174;
  font-size: 0.72rem;
  letter-spacing: 0.035em;
}

@media (min-width: 1500px) {
  .hero-copy {
    width: 57%;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 116px;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  .demo-label {
    left: 1.5rem;
  }

  .desktop-nav {
    gap: 1rem;
  }

  .desktop-nav > a {
    font-size: 0.66rem;
    letter-spacing: 0.04em;
  }

  .header-cta {
    min-height: 2.6rem;
    padding: 0 0.8rem;
    font-size: 0.9rem;
  }

  .hero-photo {
    left: 44%;
  }

  .hero-copy {
    width: 64%;
    padding-left: 2rem;
  }

  .hero h1 {
    font-size: clamp(4rem, 9vw, 6rem);
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 100px;
    padding: 2.1rem 1.1rem 0.8rem;
  }

  .demo-label {
    top: 0.8rem;
    left: 0.8rem;
    padding: 0.28rem 0.45rem;
    border: 1px solid rgba(19, 34, 52, 0.1);
    background: rgba(243, 239, 230, 0.88);
    font-size: 0.58rem;
  }

  .wordmark {
    font-size: 1.15rem;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: max(720px, 100svh);
    align-items: flex-end;
    background: #f3efe6;
  }

  .hero-photo {
    inset: 0;
  }

  .hero-photo img {
    object-position: 58% 50%;
  }

  .photo-tint {
    background:
      linear-gradient(180deg, rgba(243, 239, 230, 0.1) 0%, rgba(243, 239, 230, 0.02) 34%, rgba(243, 239, 230, 0.56) 56%, rgba(243, 239, 230, 0.97) 76%, #f3efe6 100%),
      linear-gradient(90deg, rgba(19, 34, 52, 0.12), transparent 65%);
  }

  .image-label {
    top: 6.7rem;
    right: 1.2rem;
    bottom: auto;
    font-size: 0.53rem;
  }

  .hero-copy {
    width: 100%;
    padding: 0 1.4rem 3.5rem;
  }

  .eyebrow {
    font-size: 0.68rem;
  }

  .hero-rule {
    width: 3.1rem;
    margin: 0.75rem 0 0.9rem;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(3.55rem, 14vw, 5.5rem);
    line-height: 0.91;
  }

  .hero-category {
    margin-top: 0.9rem;
    font-size: 2rem;
  }

  .hero-location {
    margin-top: 0.8rem;
    font-size: 0.65rem;
    letter-spacing: 0.21em;
  }

  .primary-cta {
    min-height: 3.25rem;
    margin-top: 1.4rem;
    font-size: 1.05rem;
  }

}

@media (max-width: 390px) {
  .hero-copy {
    padding-right: 1.15rem;
    padding-left: 1.15rem;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .hero-location {
    letter-spacing: 0.17em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
