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

html,
body,
h1,
h2,
p,
dl,
dd,
dt,
figure {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Tokens ---------- */
:root {
  --color-bg: #fcf9f6;
  --color-text: #36312c;
  --color-heading: #2f2a2a;
  --color-hero-bg: #cbcbcb;
  --color-divider: #dadada;
  --color-button-bg: #36312c;
  --color-button-text: #fcf9f6;

  /*
    Swiss 721 BT is a licensed font used in the source design.
    Substituted here with a Helvetica-family stack for the same
    grotesque/extended sans character without a license dependency.
  */
  --font-body: "Helvetica Neue", "Hiragino Sans", "Yu Gothic", Arial, sans-serif;
  --font-heading: "Marcellus", "Times New Roman", serif;
  --font-jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-jp-tagline: "Shippori Mincho", "Hiragino Mincho ProN", serif;

  --side-padding: 32px;
  --label-col-width: 105px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.12px;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  min-height: 100vh; /* fallback for browsers without dvh support */
  min-height: 100dvh; /* excludes the mobile browser chrome (address bar etc.) that 100vh includes, which otherwise pushes the hero image below the fold or causes it to jump as the chrome shows/hides on scroll */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lang-toggle {
  position: absolute;
  top: 48px;
  right: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle__item {
  font-size: 11px;
  letter-spacing: 0.66px;
  text-transform: uppercase;
  text-decoration: none;
}

.lang-toggle__item--dim {
  opacity: 0.2;
}

.lang-toggle__divider {
  display: block;
  width: 1px;
  height: 10px;
  background-color: var(--color-text);
  opacity: 0.4;
}

/*
  aspect-ratio + height:auto lives on the <img> itself (not a percentage
  height resolved against the wrapper) — percentage heights need a definite
  parent size to resolve, which isn't reliable for a flex item, and that was
  previously causing the logo to render vertically stretched.
*/
.site-header__logo img {
  display: block;
  width: 203px;
  aspect-ratio: 202.96 / 18.978;
  height: auto;
}

.site-header__tagline {
  position: absolute;
  left: 50%;
  bottom: 64px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.66px;
  text-transform: uppercase;
  text-align: center;
}

:lang(ja) .site-header__tagline {
  font-family: var(--font-jp-tagline);
  font-size: 13px;
  letter-spacing: 0.78px;
}

/* ---------- Dividers ---------- */
.divider {
  border: none;
  border-top: 1px solid var(--color-divider);
  margin: 0;
}

/*
  A normal-flow sibling right after the 100vh header (not nested inside it)
  so it closes off that section without being painted over by the hero
  image that immediately follows.
*/
.divider--pre-hero {
  margin: 0;
}

/*
  Full-bleed within main's border box (matches Figma, where these divider
  lines run edge-to-edge of the page canvas, unlike the text columns which
  are inset by the side padding), with generous breathing room before the
  heading/body copy that follows.
*/
.divider--section {
  margin-left: calc(-1 * var(--side-padding));
  margin-right: calc(-1 * var(--side-padding));
  margin-bottom: 64px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: var(--color-hero-bg);
  overflow: hidden;
  height: 230px;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/*
  Fixed absolute placement, not scaled per-breakpoint: Figma places this
  watermark at the identical x/y (59.68px, 107.93px) inside both the PC
  (1440x785) and SP (390x230) hero containers, so it's expressed here as a
  percentage of each container's own fixed dimensions.
*/
.hero__watermark {
  position: absolute;
  width: 45.179px;
  aspect-ratio: 45.4874 / 4.33683;
  left: 15.30%;
  top: 46.93%;
}

/* ---------- Content blocks ---------- */
main {
  padding: 40px var(--side-padding) 0;
}

.content-block {
  padding-bottom: 64px;
}

.content-block__heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 1.92px;
  text-transform: uppercase;
  color: var(--color-heading);
  margin-bottom: 24px;
}

/* JA page only: "ダニエル・カルバート" set directly under the "Daniel Calvert" heading. */
.content-block__subheading {
  font-family: var(--font-jp);
  font-size: 12px;
  letter-spacing: 0.96px;
  margin-top: -12px;
  margin-bottom: 24px;
  display: block;
}

.content-block__text p + p {
  margin-top: 16px;
}

:lang(ja) .content-block__text,
:lang(ja) .info-list__row dd {
  font-family: var(--font-jp);
  letter-spacing: 0.48px;
}

.content-block--info {
  padding-bottom: 64px;
}

/* ---------- Info list ---------- */
.info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-list__row {
  display: flex;
  align-items: baseline;
}

.info-list__row dt {
  flex: 0 0 var(--label-col-width);
  white-space: nowrap;
}

.info-list__row dd a {
  text-decoration-skip-ink: none;
}

/* ---------- Reservation button ---------- */
.reservation-button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  height: 48px;
  background-color: var(--color-button-bg);
  color: var(--color-button-text);
  font-size: 14px;
  letter-spacing: -0.14px;
  text-align: center;
  text-decoration: none;
}

/* =====================================================
   Desktop (PC design) — 1024px and up
   ===================================================== */
@media (min-width: 1024px) {
  :root {
    --side-padding: 120px;
    --label-col-width: 205px;
  }

  body {
    letter-spacing: -0.14px;
  }

  .site-header__logo img {
    width: 347.932px;
    aspect-ratio: 347.932 / 32.534;
  }

  /* The desktop design does not include the divider that separates the
     tagline from the hero on mobile — the tagline itself now also
     appears on desktop, directly beneath the logo. */
  .divider--pre-hero {
    display: none;
  }

  .hero {
    height: 785px;
    max-width: 1440px;
    margin: 0 auto;
  }

  .hero__watermark {
    left: 4.14%;
    top: 13.75%;
  }

  main {
    max-width: 1440px;
    margin: 0 auto;
    padding-top: 96px;
  }

  .content-block {
    display: grid;
    grid-template-columns: 1fr 584px;
    padding-bottom: 96px;
  }

  .divider--section {
    margin-bottom: 120px;
  }

  /*
    .content-block__heading-group wraps the heading and (on the JA page) its
    "ダニエル・カルバート"-style subheading as a single grid item, so the pair
    stack adjacently via normal flow inside it — keeping them both in row 1
    without stretching row 1 to the subheading's row, which is what happened
    when the subheading was placed as its own auto-flowed grid item.
  */
  .content-block__heading,
  .content-block__heading-group {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
  }

  .content-block__text {
    grid-column: 2;
    grid-row: 1;
  }

  .content-block__text p + p {
    margin-top: 24px;
  }

  .content-block--info {
    padding-bottom: 128px;
  }

  .info-list {
    grid-column: 2;
    width: 584px;
  }

  .reservation-button {
    grid-column: 2;
    width: 479px;
    margin-top: 48px;
  }
}
