:root {
  --paper: #f7f4ef;
  --paper-2: #ebe5dc;
  --ink: #191714;
  --muted: #6d665e;
  --line: #d9d0c5;
  --rust: #9f4f36;
  --moss: #5f6f58;
  --teal: #2f6770;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(25, 23, 20, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(25, 23, 20, .04) 1px, transparent 1px);
  background-size: 100% 32px;
  z-index: -1;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid rgba(217, 208, 197, .82);
  background: rgba(247, 244, 239, .88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 150px;
}

.brand-company-logo {
  width: 138px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  letter-spacing: .06em;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.4vw, 30px);
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--rust);
}

.hero {
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  min-height: 620px;
  position: relative;
  overflow: hidden;
  background: #d8d0c5;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 58%, rgba(25, 23, 20, .18));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 6vw, 86px);
  background: linear-gradient(180deg, #fbfaf7, var(--paper));
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--rust);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 26px;
  font-family: "Songti SC", "Noto Serif CJK SC", serif;
  font-size: clamp(46px, 7vw, 96px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-family: "Songti SC", "Noto Serif CJK SC", serif;
  font-size: clamp(32px, 4.6vw, 62px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.25;
}

.hero-content p {
  max-width: 620px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  color: var(--white);
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
}

.intro,
.section,
.image-band,
.contact,
.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.intro {
  padding: 92px 0 86px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.intro p,
.image-band p,
.contact p,
.ops-lead,
.ops-grid p,
.brand-card p,
.ownership-statement p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.82;
}

.ownership-statement {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.ownership-statement > div {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .62);
}

.ownership-statement > div:first-child {
  background: var(--ink);
}

.ownership-statement > div:first-child p {
  color: rgba(255, 255, 255, .78);
}

.ownership-statement > div:first-child .statement-label {
  color: #d8b486;
}

.statement-label {
  margin-bottom: 12px;
  color: var(--rust);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section {
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head .section-kicker {
  min-width: 190px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.brand-card,
.ops-grid article {
  min-height: 292px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 12px 34px rgba(25, 23, 20, .06);
}

.brand-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
}

.brand-card.featured {
  color: var(--white);
  background: #243b3f;
  border-color: #243b3f;
}

.brand-card.featured p,
.brand-card.featured .card-index {
  color: rgba(255, 255, 255, .76);
}

.card-index {
  color: var(--moss);
  font-weight: 800;
  letter-spacing: .08em;
}

.brand-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  min-height: 138px;
}

.brand-logo {
  width: min(76%, 250px);
  max-height: 136px;
  object-fit: contain;
  object-position: top right;
}

.hostel-logo {
  width: min(100%, 320px);
  max-height: 154px;
  padding: 14px;
  background: rgba(255, 255, 255, .94);
  border-radius: 8px;
}

.brand-card.featured .brand-card-top {
  position: relative;
  justify-content: center;
  min-height: 168px;
  padding-top: 2px;
}

.brand-card.featured .card-index {
  position: absolute;
  top: 0;
  left: 0;
}

.za-logo {
  max-height: 118px;
}

.dai-logo {
  max-height: 110px;
}

.image-band {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(360px, 1.18fr);
  gap: 36px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #20201d;
  color: var(--white);
}

.image-band p {
  color: rgba(255, 255, 255, .76);
}

.image-band img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ops-lead {
  max-width: 760px;
  margin: -12px 0 34px;
  font-size: 18px;
}

.ops-grid article {
  min-height: 250px;
  background: var(--white);
}

.ops-grid article:nth-child(2) {
  border-top: 4px solid var(--teal);
}

.ops-grid article:nth-child(3) {
  border-top: 4px solid var(--rust);
}

.ops-grid article:nth-child(4) {
  border-top: 4px solid var(--moss);
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 420px);
  gap: 36px;
  align-items: start;
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

address {
  display: grid;
  gap: 14px;
  padding: 26px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-style: normal;
}

address a,
address span {
  overflow-wrap: anywhere;
}

address a {
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer a {
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .62s ease, transform .62s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .intro-grid,
  .ownership-statement,
  .image-band,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 52svh;
    order: 1;
  }

  .hero-content {
    order: 2;
  }

  .hero-media::after {
    background: linear-gradient(180deg, transparent 62%, rgba(25, 23, 20, .2));
  }

  .brand-grid,
  .ops-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    display: block;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand strong {
    font-size: 15px;
  }

  .nav {
    gap: 18px;
    font-size: 13px;
  }

  .hero-content {
    padding: 34px 20px 48px;
  }

  .hero-media {
    min-height: 46svh;
  }

  .hero-content p {
    font-size: 17px;
  }

  .intro,
  .section,
  .contact {
    padding: 64px 0;
  }

  .intro,
  .section,
  .image-band,
  .contact,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  .brand-grid,
  .ops-grid {
    grid-template-columns: 1fr;
  }

  .brand-card,
  .ops-grid article {
    min-height: auto;
  }

  .brand-card-top {
    min-height: 116px;
  }

  .brand-logo {
    width: min(72%, 220px);
    max-height: 118px;
  }

  .hostel-logo {
    width: min(100%, 282px);
    max-height: 138px;
  }

  .brand-card.featured .brand-card-top {
    min-height: 146px;
  }

  .image-band {
    padding: 24px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
