:root {
  --gh-font: "MaruBuri", "Batang", serif;
}

@font-face {
  font-family: "MaruBuri";
  src: url("fonts/maruburi/MaruBuri-Regular-GH-v14.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "MaruBuri";
  src: url("fonts/maruburi/MaruBuri-SemiBold-GH-v14.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --navy: #12345b;
  --deep-navy: #092647;
  --sky: #b5d1e7;
  --sky-light: #d7e7f2;
  --orange: #ef8f22;
  --ink: #1d3043;
}

* {
  box-sizing: border-box;
}

html {
  background: #ffffff;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--gh-font);
  font-synthesis: none;
}

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

.detail-page {
  width: min(100%, 743px);
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, #a9c8df 0%, #c5dced 18%, #b5d1e7 66%, #a8c9e0 100%);
  box-shadow: 0 0 0 1px rgba(9, 38, 71, 0.08);
}

.hero {
  position: relative;
  height: auto;
  overflow: hidden;
  background: var(--deep-navy);
}

.hero img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 30, 58, 0.06) 32%, rgba(5, 30, 58, 0.92) 100%),
    linear-gradient(90deg, rgba(5, 30, 58, 0.42), transparent 68%);
}

.hero-copy {
  position: absolute;
  left: 44px;
  bottom: 40px;
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.24);
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding-left: 13px;
  border-left: 7px solid var(--orange);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.17em;
}

.hero h1 {
  margin: 0;
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.065em;
}

.hero p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  letter-spacing: 0.16em;
}

.intro {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 22px;
  padding: 48px 52px 54px;
  background:
    radial-gradient(circle at 86% 22%, rgba(255, 255, 255, 0.5), transparent 30%),
    rgba(218, 234, 245, 0.72);
}

.intro-mark {
  display: block;
  width: 10px;
  min-height: 150px;
  background: linear-gradient(180deg, var(--orange), #f4ba75);
}

.intro-label {
  margin: 0 0 8px;
  color: #5a7994;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.17em;
}

.intro h2 {
  max-width: 540px;
  margin: 0;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: -0.055em;
}

.intro-text {
  max-width: 560px;
  margin: 15px 0 0;
  color: #4c6479;
  font-size: 14px;
  line-height: 1.85;
  word-break: keep-all;
}

.gallery {
  padding: 0 38px 52px;
}

.photo {
  margin: 0;
  overflow: hidden;
  background: #d9e5ee;
}

.photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.wide {
  width: 100%;
}

.wide img {
  aspect-ratio: auto;
}

.framed {
  border: 5px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 38px rgba(21, 54, 82, 0.18);
}

.opening-photo {
  position: relative;
  z-index: 1;
}

.landscape-block {
  position: relative;
  margin: 88px 0 92px;
}

.full-bleed {
  width: calc(100% + 76px);
  margin-left: -38px;
}

.full-bleed img {
  aspect-ratio: auto;
}

.landscape-caption {
  position: relative;
  width: 76%;
  margin: -40px 0 0 auto;
  padding: 23px 28px 25px;
  background: rgba(9, 38, 71, 0.9);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(21, 54, 82, 0.2);
}

.landscape-caption span {
  display: block;
  margin-bottom: 8px;
  color: #f5b05c;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.landscape-caption p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: -0.035em;
}

.interior-block {
  position: relative;
  margin: 96px 24px 104px 72px;
  padding: 28px 28px 30px;
  background: rgba(12, 48, 82, 0.91);
  box-shadow: 0 18px 38px rgba(21, 54, 82, 0.2);
}

.interior-block .photo img {
  aspect-ratio: auto;
}

.interior-block p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  letter-spacing: -0.03em;
}

.section-number {
  position: absolute;
  top: -47px;
  left: -62px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 70px;
  font-weight: 600;
  line-height: 1;
}

.process-heading {
  margin: 0 12px 38px;
  padding-left: 22px;
  border-left: 8px solid var(--orange);
}

.process-heading p {
  margin: 0 0 9px;
  color: #58758d;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.process-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 27px;
  line-height: 1.38;
  letter-spacing: -0.055em;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
  margin: 0 12px 88px;
}

.process-card {
  position: relative;
  padding: 13px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 32px rgba(21, 54, 82, 0.14);
}

.process-card.lowered {
  margin-top: 54px;
}

.process-card > span {
  display: block;
  margin: 0 0 10px;
  color: #58758d;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.process-card .photo img {
  aspect-ratio: auto;
}

.stage-wide {
  position: relative;
  margin: 0 0 92px;
}

.stage-wide figcaption {
  padding: 20px 22px 22px;
  background: rgba(9, 38, 71, 0.92);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 1.7;
}

.stage-wide figcaption span {
  display: block;
  margin-bottom: 5px;
  color: #f4ad54;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.19em;
}

.final-process {
  margin-bottom: 38px;
}

.detail-footer {
  padding: 36px 38px 48px;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  background: linear-gradient(180deg, rgba(15, 48, 80, 0.08), rgba(15, 48, 80, 0.34));
}

.footer-rule {
  width: 54px;
  height: 2px;
  margin: 0 auto 18px;
  background: rgba(255, 255, 255, 0.6);
}

.detail-footer p {
  margin: 0 0 24px;
  font-size: 10px;
  letter-spacing: 0.22em;
}

.close-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 148px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(8, 35, 63, 0.72);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  box-sizing: border-box;
  text-decoration: none;
}

.close-button:hover,
.close-button:focus-visible {
  background: #082a4e;
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.close-button span {
  font-size: 17px;
  font-weight: 300;
  line-height: 1;
}

@media (min-width: 744px) {
  body {
    display: flex;
    justify-content: flex-start;
    min-height: 100vh;
  }
}

@media (max-width: 560px) {
  .hero {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .hero-copy {
    left: 25px;
    bottom: 28px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 12px;
  }

  .intro {
    gap: 16px;
    padding: 36px 25px 42px;
  }

  .intro-mark {
    min-height: 176px;
  }

  .intro h2,
  .process-heading h2 {
    font-size: 23px;
  }

  .gallery {
    padding-right: 20px;
    padding-left: 20px;
  }

  .full-bleed {
    width: calc(100% + 40px);
    margin-left: -20px;
  }

  .landscape-caption {
    width: 88%;
    padding: 19px 21px 21px;
  }

  .interior-block {
    margin-right: 0;
    margin-left: 35px;
    padding: 18px;
  }

  .section-number {
    left: -36px;
    font-size: 48px;
  }

  .process-grid {
    gap: 10px;
    margin-right: 0;
    margin-left: 0;
  }

  .process-card {
    padding: 8px;
  }

  .process-card > span {
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .stage-wide figcaption {
    padding: 17px 18px 19px;
  }
}
