@font-face {
  font-family: "EB Garamond";
  src: url("/fonts/EBGaramond-roman.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("/fonts/EBGaramond-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --navy: #0c1a2b;
  --paper: #f3f0e8;
  --ink: #101418;
  --muted: #58606b;
  --ivory: #f3f0e8;
  --ivory-soft: rgba(243, 240, 232, 0.72);
  --rule: rgba(16, 20, 24, 0.16);
  --rule-dark: rgba(243, 240, 232, 0.2);
  --serif: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --width: 1120px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.label {
  margin: 0;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Opening: dark band, like a gallery wall at night */

.hero {
  background: var(--navy);
  color: var(--ivory);
  min-height: 88vh;
  min-height: 88svh;
  display: flex;
  flex-direction: column;
}

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 28px;
  padding-bottom: 28px;
}

.wordmark {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  text-decoration: none;
}

.lang {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ivory-soft);
}

.hero-body {
  margin-top: auto;
  padding-top: 64px;
  padding-bottom: clamp(56px, 10vh, 112px);
}

.hero .label {
  color: var(--ivory-soft);
}

h1 {
  margin: 24px 0 0;
  max-width: 13ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 7.2vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.012em;
}

.lede {
  margin: 36px 0 0;
  max-width: 36rem;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--ivory-soft);
}

.cta {
  display: inline-block;
  margin-top: 36px;
  font-family: var(--serif);
  font-size: 22px;
}

/* The service: numbered like exhibition rooms */

.service {
  padding-top: clamp(72px, 10vw, 128px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.service > .wrap > .label {
  color: var(--muted);
}

.rooms {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.room {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 0 32px;
  padding: 36px 0 40px;
  border-top: 1px solid var(--rule);
}

.room:last-child {
  border-bottom: 1px solid var(--rule);
}

.room-number {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.2;
  color: var(--muted);
}

.room h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 32px);
  line-height: 1.15;
}

.room p {
  margin: 0;
  max-width: 34rem;
}

/* Pricing statement */

.statement {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(88px, 12vw, 152px);
}

.statement .label {
  color: var(--muted);
}

.statement p:not(.label) {
  margin: 20px 0 0;
  max-width: 24ch;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

/* Contact and footer: back to the dark band */

.contact {
  background: var(--navy);
  color: var(--ivory);
  padding-top: clamp(80px, 11vw, 136px);
}

.contact .label {
  color: var(--ivory-soft);
}

.contact h2 {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
}

.email {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(80px, 11vw, 136px);
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid var(--rule-dark);
  font-size: 13px;
  color: var(--ivory-soft);
}

.footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .room {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 12px 16px;
    padding: 28px 0 32px;
  }

  .room p {
    grid-column: 2;
  }

  .footer {
    flex-direction: column;
  }
}
