/* The St. Cloud Hotel, staystcloud.com */

:root {
  --ink: #141414;
  --navy: #24406b;
  --navy-deep: #16294a;
  --cream: #f7f6f2;
  --white: #ffffff;
  --muted: #5f6368;
  --line: #e4e2dc;
  --dark: #101011;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Small caps section label */
.label {
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 18px;
}
.on-dark .label { color: #9db4d9; }

/* Header */
header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 26px 0;
}
header.solid {
  position: static;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  white-space: nowrap;
}
.brand span { color: #b9c8e2; }
header.solid .brand { color: var(--ink); }
header.solid .brand span { color: var(--navy); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  transition: color .2s ease;
}
.nav-links a:hover { color: #b9c8e2; }
header.solid .nav-links a { color: var(--ink); }
header.solid .nav-links a:hover { color: var(--navy); }

.nav-links a.btn-nav {
  border: 1px solid rgba(255,255,255,0.55);
  padding: 10px 22px;
  transition: all .2s ease;
}
.nav-links a.btn-nav:hover { background: var(--white); color: var(--ink); }
header.solid .nav-links a.btn-nav { border-color: var(--ink); }
header.solid .nav-links a.btn-nav:hover { background: var(--ink); color: var(--white); }

/* Mobile nav */
.nav-toggle { display: none; }
.nav-toggle-btn {
  display: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  user-select: none;
}
header.solid .nav-toggle-btn { color: var(--ink); }

@media (max-width: 860px) {
  .nav-toggle-btn { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 20px;
    border-bottom: 1px solid var(--line);
  }
  header.solid .nav-links { position: absolute; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links a { color: var(--ink) !important; padding: 12px 0; font-size: 0.95rem; }
  .nav-links a.btn-nav { border-color: var(--ink); margin-top: 10px; }
  .nav { position: relative; }
  header { background: rgba(16,16,17,0.85); position: sticky; top: 0; padding: 16px 0; }
  header.solid { background: var(--white); }
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
}
.hero-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,12,18,0.55) 0%, rgba(10,12,18,0.32) 40%, rgba(12,15,24,0.88) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 84px;
}
.hero .kicker {
  font-size: 0.88rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #dbe5f5;
  font-weight: 600;
  margin-bottom: 20px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.55);
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 500;
  max-width: 14ch;
  text-shadow: 0 2px 28px rgba(0,0,0,0.55);
}
.hero p.sub {
  margin-top: 22px;
  font-size: 1.08rem;
  max-width: 46ch;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 14px rgba(0,0,0,0.6);
}
.hero .cta-row { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
}
.page-hero .hero-inner { padding-bottom: 56px; }
.page-hero h1 { font-size: clamp(2.3rem, 4.5vw, 3.6rem); font-weight: 500; text-shadow: 0 2px 24px rgba(0,0,0,0.55); }
.page-hero .kicker { text-shadow: 0 1px 12px rgba(0,0,0,0.55); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 34px;
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all .22s ease;
  border: 1px solid transparent;
}
.btn-solid { background: var(--white); color: var(--ink); }
.btn-solid:hover { background: var(--navy); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--navy); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* Sections */
section { padding: 96px 0; }
section.tight { padding: 72px 0; }
.bg-cream { background: var(--cream); }
.bg-dark { background: var(--dark); color: var(--white); }

h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 500; max-width: 24ch; }
.lede { margin-top: 20px; font-size: 1.06rem; color: var(--muted); max-width: 62ch; }
.bg-dark .lede { color: rgba(255,255,255,0.75); }

.divider {
  width: 56px; height: 2px;
  background: var(--navy);
  margin: 26px 0;
}

/* Two column feature */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.rev > .split-img { order: 2; }
.split-img img { width: 100%; height: 460px; object-fit: cover; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.rev > .split-img { order: 0; }
  .split-img img { height: 320px; }
}

/* Card grid */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); }
.bg-cream .card { border: none; }
.card img { width: 100%; height: 240px; object-fit: cover; }
.card-body { padding: 28px; }
.card-body h3 { font-size: 1.45rem; font-weight: 600; }
.card-body p { margin-top: 10px; color: var(--muted); font-size: 0.97rem; }
.card-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  transition: color .2s ease;
}
.card-link:hover { color: var(--ink); }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 56px;
}
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat .num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
}
.bg-dark .stat .num { color: #9db4d9; }
.stat .desc {
  margin-top: 10px;
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.bg-dark .stat .desc { color: rgba(255,255,255,0.65); }

/* Room / space rows */
.room-list { margin-top: 56px; display: grid; gap: 56px; }
.room {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.room:nth-child(even) > .room-img { order: 2; }
.room-img img { width: 100%; height: 380px; object-fit: cover; }
.room h3 { font-size: 1.8rem; font-weight: 500; }
.room .meta {
  margin-top: 8px;
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
}
.room p { margin-top: 16px; color: var(--muted); }
@media (max-width: 860px) {
  .room { grid-template-columns: 1fr; gap: 24px; }
  .room:nth-child(even) > .room-img { order: 0; }
  .room-img img { height: 280px; }
}

/* Amenity list */
.amenities {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 40px;
  list-style: none;
}
.amenities li {
  padding-left: 26px;
  position: relative;
  color: var(--muted);
  font-size: 0.98rem;
}
.amenities li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 12px; height: 2px;
  background: var(--navy);
}
@media (max-width: 640px) { .amenities { grid-template-columns: 1fr; } }

/* Quote band */
.quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 500;
  line-height: 1.35;
  max-width: 28ch;
}

/* Timeline (story page) */
.timeline { margin-top: 56px; display: grid; gap: 0; }
.tl-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.tl-item .year {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.7rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.2;
}
.tl-item p { color: var(--muted); }
.tl-item h3 { font-size: 1.2rem; font-family: 'Inter', sans-serif; font-weight: 600; margin-bottom: 6px; }
@media (max-width: 640px) { .tl-item { grid-template-columns: 1fr; gap: 8px; } }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label.f-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
input, textarea, select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--navy); border-color: var(--navy); }

/* Info strip */
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}
@media (max-width: 860px) { .info-strip { grid-template-columns: 1fr; } }
.info-strip h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; }
.info-strip p { color: var(--muted); font-size: 0.98rem; }

/* Footer */
footer { background: var(--dark); color: rgba(255,255,255,0.8); padding: 72px 0 40px; }
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  color: var(--white);
  font-weight: 600;
}
.foot-grid p, .foot-grid a { font-size: 0.95rem; color: rgba(255,255,255,0.72); }
.foot-grid a { display: block; padding: 4px 0; transition: color .2s ease; }
.foot-grid a:hover { color: var(--white); }
.foot-head {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
  font-weight: 600;
}
.foot-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* Notice band */
.notice {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.92);
  text-align: center;
  padding: 13px 20px;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}
