:root {
  color-scheme: light;
  --page: #ffffff;
  --page-soft: #f7f7f7;
  --ink: #090909;
  --muted: #777777;
  --line: rgba(9, 9, 9, 0.14);
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--page);
  color: var(--ink);
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

figure,
address {
  margin: 0;
}

address {
  font-style: normal;
}

.site-home {
  background: #000;
}

.home-hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  text-decoration: none;
  background-image: url("/assets/images/hero/jade-emerald-ring-hero.jpg");
  background-position: center;
  background-size: cover;
}

.home-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.26));
  transition: opacity 420ms ease;
}

.home-hero__content {
  display: grid;
  gap: 1.15rem;
  justify-items: center;
  padding: 1.5rem;
  text-align: center;
}

.home-hero__wordmark {
  font-size: clamp(1.35rem, 3.2vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
  text-shadow: 0 0.12em 1.2em rgba(0, 0, 0, 0.42);
}

.home-hero__enter {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  line-height: 1;
  opacity: 0.72;
  text-transform: uppercase;
}

.home-hero:hover .home-hero__veil,
.home-hero:focus-visible .home-hero__veil {
  opacity: 0.78;
}

.home-hero:focus-visible,
.site-mark:focus-visible,
.page-mark:focus-visible,
.entry-nav a:focus-visible,
.page-nav a:focus-visible,
.contact-row:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 0.4rem;
}

.site-interior {
  min-height: 100svh;
  background: var(--page);
}

.entry-menu {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.6fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: 100svh;
  padding: clamp(1.25rem, 3.5vw, 3rem);
}

.entry-menu__art {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(10rem, 0.64fr);
  grid-template-rows: auto auto;
  gap: clamp(0.75rem, 1.4vw, 1.4rem);
  align-items: end;
}

.entry-image {
  overflow: hidden;
  background: var(--page-soft);
}

.entry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entry-image--landscape {
  aspect-ratio: 5 / 4;
}

.entry-image--portrait {
  aspect-ratio: 4 / 5;
}

.entry-image--bamboo {
  grid-column: 1;
  grid-row: 1;
}

.entry-image--ice {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.entry-image--jade {
  grid-column: 1;
  grid-row: 2;
  justify-self: end;
  width: min(48%, 20rem);
}

.entry-image--peacock {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  width: min(48%, 26rem);
}

.entry-menu__inner {
  display: grid;
  gap: clamp(1.4rem, 4vw, 2.4rem);
  justify-items: start;
  align-content: center;
}

.site-mark,
.page-mark {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
}

.entry-nav {
  display: grid;
  gap: 0.58rem;
}

.entry-nav a {
  width: fit-content;
  font-size: clamp(1.15rem, 2.05vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.02;
  text-decoration: none;
}

.entry-nav a::after,
.page-nav a::after,
.contact-row span:last-child::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  margin: 0.18em 0 0;
  background: currentColor;
  transition: width 220ms ease;
}

.entry-nav a:hover::after,
.entry-nav a:focus-visible::after,
.page-nav a:hover::after,
.page-nav a:focus-visible::after,
.page-nav a[aria-current="page"]::after,
.contact-row:hover span:last-child::after,
.contact-row:focus-visible span:last-child::after {
  width: 100%;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  line-height: 1.6;
  text-transform: uppercase;
}

.page-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1rem, 2.3vw, 1.75rem) clamp(1.25rem, 3.5vw, 3rem);
  color: var(--ink);
  mix-blend-mode: normal;
}

.page-nav {
  display: flex;
  gap: clamp(1rem, 2.5vw, 1.85rem);
  align-items: center;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-nav a {
  text-decoration: none;
}

.bio-page,
.contact-page {
  min-height: 100svh;
  padding: clamp(4.8rem, 9vw, 7.2rem) clamp(1.25rem, 3.8vw, 3.5rem) clamp(3rem, 6vw, 5rem);
}

.bio-page {
  display: grid;
  gap: clamp(2.2rem, 5vw, 4.5rem);
}

.bio-page__image {
  width: min(100%, 118rem);
  margin-inline: auto;
  background: var(--page-soft);
}

.bio-page__image img {
  width: 100%;
  height: auto;
}

.bio-page__copy {
  display: grid;
  gap: 0.9rem;
  width: min(58rem, 100%);
  margin-inline: auto;
}

.bio-page h1,
.contact-page h1 {
  margin: 0;
  font-size: clamp(1.55rem, 2.8vw, 2.55rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.98;
}

.prose {
  display: grid;
  gap: 1rem;
  margin-top: 0.7rem;
  max-width: 68ch;
}

.prose p {
  margin: 0;
  color: #333333;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.58;
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.contact-page__image {
  justify-self: center;
  width: min(100%, 33rem);
  background: var(--page-soft);
}

.contact-page__image img {
  width: 100%;
  height: auto;
}

.contact-page__content {
  display: grid;
  gap: 0.95rem;
  width: min(35rem, 100%);
}

.contact-list {
  display: grid;
  gap: 0;
  margin-top: 1.55rem;
}

.contact-row {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  color: inherit;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-decoration: none;
  text-transform: uppercase;
}

.contact-row:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-row span:last-child {
  width: fit-content;
  color: #222222;
  letter-spacing: 0.04em;
  text-transform: none;
}

@media (max-width: 980px) {
  .entry-menu {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .entry-menu__inner {
    order: -1;
  }

  .entry-menu__art {
    grid-template-columns: 1fr 1fr;
  }

  .entry-image--ice {
    grid-column: 2;
    grid-row: 1;
  }

  .entry-image--jade,
  .entry-image--peacock {
    width: 100%;
  }

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

  .contact-page__image,
  .contact-page__content {
    justify-self: start;
    width: min(100%, 34rem);
  }
}

@media (max-width: 720px) {
  .page-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  .page-nav {
    flex-wrap: wrap;
  }

  .bio-page,
  .contact-page {
    padding-top: 2.4rem;
  }

  .entry-menu__art {
    grid-template-columns: 1fr;
  }

  .entry-image--bamboo,
  .entry-image--ice,
  .entry-image--jade,
  .entry-image--peacock {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
  }

  .entry-image--landscape {
    aspect-ratio: 5 / 4;
  }

  .entry-image--portrait {
    aspect-ratio: 4 / 5;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}
