/* Ayres Apart Hotel — palette drawn from the building itself:
   dark marble walls, brass pendants, carrara floors, teal room walls. */

:root {
  --marble-900: #201d1b;
  --marble-800: #2a2624;
  --carrara: #f3f1ed;
  --paper: #fcfbf9;
  --ink: #26221f;
  --greige: #7e756c;
  --brass: #b3893f;
  --brass-bright: #cfa75b;
  --teal: #33706b;
  --font-display: "Prata", "Times New Roman", serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Great Vibes", cursive;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal); }
a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  margin: 0.9rem 0 0.3rem;
}

.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: 4.5rem 0; }

/* ---- the etched-glass double rule, from the lounge partitions ---- */

.rule-double {
  display: block;
  width: 7rem;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  height: 5px;
  opacity: 0.85;
}

.rule-brass {
  color: var(--brass);
  width: 3.2rem;
  height: 4px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.6rem;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--greige);
  margin-bottom: 0.8rem;
}

/* ---- header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.7rem 1.25rem;
  background: rgba(32, 29, 27, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--carrara);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass-bright);
}

.site-nav {
  display: flex;
  gap: 1.4rem;
  margin-left: auto;
}

.site-nav a {
  color: var(--carrara);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover { border-bottom-color: var(--brass-bright); }

/* ---- buttons ---- */

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn-brass {
  background: var(--brass);
  color: #fff;
}

.btn-brass:hover { background: var(--brass-bright); color: var(--marble-900); }

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }

.btn-small { padding: 0.5rem 1.1rem; font-size: 0.88rem; }

.btn-block { display: block; width: 100%; }

/* ---- hero ---- */

.hero {
  position: relative;
  height: clamp(480px, 82vh, 700px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.25rem;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 62%;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(32,29,27,0.55) 0%, rgba(32,29,27,0.35) 45%, rgba(32,29,27,0.72) 100%);
}

.hero-glass {
  position: relative;
  max-width: 34rem;
  padding: 2.6rem 2.8rem;
  text-align: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  animation: rise 700ms ease-out both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.hero-wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 9vw, 5.4rem);
  line-height: 1;
  letter-spacing: 0.02em;
}

.hero-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--brass-bright);
  margin-bottom: 0.9rem;
}

.hero-tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--brass-bright);
}

.hero-lede {
  font-size: 1.05rem;
  max-width: 26rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 0.4rem;
}

/* ---- intro ---- */

.intro { background: var(--carrara); }

.intro-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: center;
}

.facts {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 1.6rem;
}

.facts li {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--greige);
  border-left: 2px solid var(--brass);
  padding-left: 0.8rem;
  line-height: 1.4;
}

.facts strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
}

/* ---- rooms ---- */

.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 1.6rem;
}

.room-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.room-card p { color: var(--greige); font-size: 0.97rem; }

.room-note {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid #e4dfd7;
  color: var(--greige);
  font-size: 0.95rem;
  max-width: 46rem;
}

/* ---- lounge / services (dark marble band) ---- */

.lounge {
  background: var(--marble-900);
  color: var(--carrara);
}

.lounge-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.script-sign {
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  line-height: 1;
  color: var(--brass-bright);
  margin-bottom: 0.4rem;
}

.lounge h2 { color: #fff; }

.lounge p { color: rgba(243, 241, 237, 0.85); }

.services {
  list-style: none;
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.4rem;
}

.services li {
  font-size: 0.95rem;
  color: rgba(243, 241, 237, 0.9);
  padding-left: 1.1rem;
  position: relative;
}

.services li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--brass);
}

.lounge-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.lounge-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* ---- gallery ---- */

.gallery { background: var(--carrara); }

.gallery-grid {
  columns: 3 14rem;
  column-gap: 0.9rem;
  margin-top: 1.6rem;
}

.gallery-grid a {
  display: block;
  margin-bottom: 0.9rem;
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  transition: transform 300ms ease;
}

.gallery-grid a:hover img { transform: scale(1.03); }

/* ---- contact ---- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.link-arrow {
  display: inline-block;
  margin-top: 0.6rem;
  font-weight: 600;
  color: var(--teal);
}

.link-arrow::after { content: " →"; }

.contact-card {
  background: var(--carrara);
  border-top: 3px double var(--brass);
  padding: 1.8rem;
}

.contact-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.contact-list {
  list-style: none;
  margin-top: 1.1rem;
  display: grid;
  gap: 0.5rem;
}

.contact-list a { color: var(--ink); text-decoration-color: var(--brass); }
.contact-list a:hover { color: var(--teal); }

/* ---- footer ---- */

.site-footer {
  background: var(--marble-900);
  color: var(--carrara);
  text-align: center;
  padding: 2.8rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.site-footer .rule-double { color: var(--brass); width: 4rem; }

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.footer-brand span {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass-bright);
  margin-right: 0.5rem;
}

.footer-line { font-size: 0.85rem; color: rgba(243, 241, 237, 0.65); }

/* ---- responsive ---- */

@media (max-width: 860px) {
  .intro-grid, .lounge-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .room-grid { grid-template-columns: 1fr; }
  .room-card img { aspect-ratio: 16 / 10; }
}

@media (max-width: 720px) {
  .site-nav { display: none; }
  .site-header .btn { margin-left: auto; }
  section { padding: 3.2rem 0; }
  .hero { height: clamp(520px, 88vh, 640px); }
  .hero-glass { padding: 2rem 1.4rem; }
}
