@import url("/assets/shared/common.css");

:root {
  --gallery: #f2f0e9;
  --gallery-bright: #fbfaf6;
  --ink: #11110f;
  --muted: #66645e;
  --blue: #1749e6;
  --blue-dark: #0d2d9b;
  --orange: #f05a28;
  --line: #c9c6bc;
  --white: #fff;
  --shadow: 0 24px 65px rgba(17, 17, 15, 0.12);
  --radius: 0;
}

body {
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(17, 17, 15, 0.035) 50%, transparent calc(50% + 1px)),
    var(--gallery);
  font-family: "Be Vietnam Pro", sans-serif;
}

h1,
h2 {
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.container {
  width: min(1240px, calc(100% - 3rem));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 2px solid var(--ink);
  background: rgba(242, 240, 233, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 72px;
}

.brand {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.brand span {
  color: var(--blue);
}

.nav-list {
  gap: 0;
}

.nav-list a {
  padding: 0.55rem 0.72rem;
  border: 1px solid transparent;
  border-radius: 0;
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.015em;
}

.nav-list a:hover {
  color: var(--blue);
  background: transparent;
  border-bottom-color: var(--blue);
}

.nav-list a[aria-current="page"] {
  color: var(--gallery-bright);
  border-color: var(--blue);
  background: var(--blue);
}

.eyebrow {
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.075em;
  text-transform: none;
}

.eyebrow::before {
  width: 0.7rem;
  height: 0.7rem;
  background: var(--orange);
}

.button {
  min-height: 50px;
  padding-inline: 1.25rem;
  border-width: 2px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.button-primary {
  color: var(--gallery-bright);
  border-color: var(--blue);
  background: var(--blue);
}

.button-primary:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}

.button-secondary:hover {
  color: var(--gallery-bright);
  border-color: var(--ink);
  background: var(--ink);
}

.hero {
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  min-height: min(810px, calc(100vh - 74px));
}

.hero-copy {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: clamp(4rem, 7vw, 7rem) clamp(2rem, 5vw, 5.5rem) clamp(4rem, 7vw, 6rem) 0;
  border-right: 2px solid var(--ink);
}

.catalog-mark {
  position: absolute;
  top: 1.4rem;
  right: 1.3rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}

.hero h1 {
  max-width: 8ch;
  margin: 0;
  font-size: clamp(4rem, 8.4vw, 8.2rem);
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
  color: var(--blue);
  -webkit-text-stroke: 2px var(--blue);
}

.hero-lead {
  max-width: 58ch;
  margin: 1.8rem 0 0;
  color: #3f3e39;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 5vw, 5rem);
  background:
    linear-gradient(rgba(17, 17, 15, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 15, 0.06) 1px, transparent 1px),
    var(--gallery-bright);
  background-size: 32px 32px;
}

.hero-visual img {
  width: min(100%, 720px);
  border: 2px solid var(--ink);
  box-shadow: 18px 18px 0 var(--blue);
  animation: map-enter 700ms ease-out both;
}

.map-note {
  position: absolute;
  right: clamp(1rem, 3vw, 3rem);
  bottom: clamp(1rem, 4vw, 3rem);
  width: min(230px, 43%);
  padding: 1rem;
  color: var(--gallery-bright);
  background: var(--ink);
  box-shadow: 8px 8px 0 var(--orange);
}

.map-note strong,
.map-note span {
  display: block;
}

.map-note strong {
  font-size: 1.15rem;
}

.map-note span {
  margin-top: 0.25rem;
  color: #d4d1c7;
  font-size: 0.78rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.6fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading h2 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.7rem);
  text-transform: uppercase;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
}

.route-section {
  background: var(--gallery-bright);
}

.room-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.room-card {
  position: relative;
  min-height: 390px;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.room-card:nth-child(2) {
  min-height: 470px;
  background: var(--blue);
  color: var(--gallery-bright);
}

.room-card:hover {
  color: var(--gallery-bright);
  background: var(--ink);
}

.room-number {
  display: block;
  margin-bottom: 5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.room-card h3 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.1;
}

.room-card p {
  max-width: 38ch;
  margin: 1rem 0 0;
  color: currentColor;
  opacity: 0.76;
}

.room-arrow {
  position: absolute;
  right: 1.5rem;
  bottom: 1.25rem;
  font-size: 2rem;
}

.slow-look {
  color: var(--gallery-bright);
  background: var(--ink);
}

.look-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.look-copy h2 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(2.8rem, 5.4vw, 5.4rem);
  text-transform: uppercase;
}

.look-copy p:not(.eyebrow) {
  color: #c9c6bc;
}

.look-visual img {
  border: 1px solid rgba(242, 240, 233, 0.28);
}

.label-section {
  background: var(--gallery);
}

.label-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}

.label-visual {
  position: relative;
}

.label-visual::before {
  position: absolute;
  inset: -1rem 1rem 1rem -1rem;
  z-index: -1;
  border: 2px solid var(--ink);
  content: "";
}

.label-copy h2 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5rem);
  text-transform: uppercase;
}

.label-copy ol {
  padding-left: 1.35rem;
}

.label-copy li + li {
  margin-top: 0.85rem;
}

.cooperation-summary {
  color: var(--ink);
  border-top: 2px solid var(--ink);
  background: var(--orange);
}

.cooperation-panel h2 {
  text-transform: uppercase;
}

.cooperation-panel .eyebrow,
.cooperation-panel p {
  color: var(--ink);
}

.cooperation-panel .button-primary {
  color: var(--gallery-bright);
  border-color: var(--ink);
  background: var(--ink);
}

.cooperation-panel .button-secondary {
  color: var(--ink);
  border-color: var(--ink);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 7vw, 6rem);
  border-bottom: 2px solid var(--ink);
  background: var(--gallery-bright);
}

.page-hero::after {
  position: absolute;
  top: 0;
  right: 8%;
  width: 21%;
  height: 100%;
  border-inline: 2px solid var(--ink);
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(23, 73, 230, 0.09) 14px 28px);
  content: "";
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 14ch;
  font-size: clamp(3.2rem, 7vw, 7rem);
  text-transform: uppercase;
}

.page-hero p:last-child {
  max-width: 62ch;
  color: var(--muted);
}

.content-layout,
.article-layout,
.contact-layout {
  gap: clamp(2.5rem, 8vw, 7rem);
}

.update-box,
.article-aside,
.contact-note,
.contact-panel {
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--gallery-bright);
  box-shadow: 10px 10px 0 var(--blue);
}

.update-box {
  position: sticky;
  top: 100px;
}

.update-box strong {
  display: block;
  color: var(--blue);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.content-copy h2,
.prose h2 {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  text-transform: uppercase;
}

.content-copy h3 {
  padding-top: 1.4rem;
  border-top: 2px solid var(--ink);
  font-size: 1.35rem;
}

.content-copy blockquote {
  margin: 2.5rem 0;
  padding: 1.5rem;
  border-left: 8px solid var(--orange);
  background: var(--gallery-bright);
  font-size: 1.08rem;
}

.contact-address {
  color: var(--blue);
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 800;
}

.error-main {
  display: grid;
  min-height: 65vh;
  place-items: center;
}

.error-layout {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: clamp(2rem, 8vw, 7rem);
  align-items: center;
}

.error-code {
  color: var(--blue);
  font-size: clamp(7rem, 18vw, 15rem);
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 0.75;
}

.error-layout h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  text-transform: uppercase;
}

.site-footer {
  border-top: 2px solid var(--ink);
  background: var(--gallery-bright);
}

.footer-bottom {
  border-top-color: var(--ink);
}

@keyframes map-enter {
  from { opacity: 0; transform: translate(18px, 18px); }
  to { opacity: 1; transform: translate(0, 0); }
}

@media (max-width: 980px) {
  .hero-grid,
  .look-grid,
  .label-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .hero-visual {
    min-height: 540px;
  }

  .room-grid {
    grid-template-columns: 1fr 1fr;
  }

  .room-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .header-inner {
    padding-block: 0.8rem;
  }

  .section-heading,
  .error-layout {
    grid-template-columns: 1fr;
  }

  .update-box {
    position: static;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 1.25rem, 1240px);
  }

  .hero h1 {
    font-size: clamp(3.5rem, 21vw, 5.5rem);
  }

  .hero-copy {
    padding-right: 1.6rem;
  }

  .hero-visual {
    min-height: 390px;
    padding: 1.5rem 1.25rem 4rem;
  }

  .hero-visual img {
    box-shadow: 9px 9px 0 var(--blue);
  }

  .map-note {
    width: 58%;
  }

  .room-grid {
    grid-template-columns: 1fr;
  }

  .room-card,
  .room-card:nth-child(2) {
    min-height: 330px;
  }

  .room-card:last-child {
    grid-column: auto;
  }

  .page-hero::after {
    right: 1.25rem;
    width: 16%;
    opacity: 0.55;
  }

  .label-visual::before {
    display: none;
  }

  .error-code {
    font-size: 8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual img {
    animation: none;
  }
}
