/* MyHotelWorks — shared styles
   Palette and type tokens live here; every page pulls this one file. */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&display=swap');

:root {
  --ink:        #141B22;
  --ink-soft:   #2B3440;
  --paper:      #F7F5F2;
  --paper-warm: #EFEBE5;
  --signal:     #B4472C;
  --signal-dim: #8F3823;
  --crs:        #2F5E4E;
  --steel:      #6F7780;
  --rule:       #D8D2C9;
  --rule-firm:  #B9B1A5;

  --sans: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Newsreader', Georgia, serif;

  --page: 1180px;
  --gut: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-synthesis-weight: none;
}

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

.wrap { max-width: var(--page); margin: 0 auto; padding-inline: var(--gut); }

/* ---------- masthead ---------- */

.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
}
.masthead .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.brand {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
}
.brand .mark { color: var(--signal); }

.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  align-items: center;
}
.nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--rule-firm); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--signal); }

.nav-toggle { display: none; }

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

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 11px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--signal); color: #fff; }
.btn-primary:hover { background: var(--signal-dim); }
.btn-ghost { border-color: var(--rule-firm); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { padding: 14px 26px; font-size: 16px; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

/* ---------- type ---------- */

h1, h2, h3 { letter-spacing: -.025em; line-height: 1.08; margin: 0; }

.display {
  font-size: clamp(2.6rem, 6.2vw, 4.7rem);
  font-weight: 800;
}
.h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -.025em;
}
.h3 { font-size: 1.24rem; font-weight: 700; letter-spacing: -.015em; }

.lede {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.32rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 62ch;
}
.serif-note {
  font-family: var(--serif);
  font-style: italic;
  color: var(--steel);
}

section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { max-width: 68ch; margin-bottom: 44px; }
.section-head p { margin: 16px 0 0; color: var(--ink-soft); max-width: 60ch; }

.rule-top { border-top: 1px solid var(--rule); }
.band-warm { background: var(--paper-warm); }
.band-ink { background: var(--ink); color: var(--paper); }
.band-ink .lede, .band-ink .section-head p { color: #B9C0C8; }
.band-ink a { color: var(--paper); }

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

.foot {
  background: var(--ink);
  color: #A8B0B8;
  padding-block: 56px 32px;
  font-size: 14.5px;
}
.foot a { color: #D6DBE0; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #2A333D;
}
.foot h4 {
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: .01em;
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 9px; }
.foot-addr {
  font-style: normal;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid #2A333D;
  line-height: 1.5;
  color: #98A0A8;
}
.foot-brand { font-size: 19px; font-weight: 800; color: var(--paper); letter-spacing: -.02em; }
.foot-brand .mark { color: var(--signal); }
.foot-note { padding-top: 24px; display: flex; gap: 20px; flex-wrap: wrap; font-size: 13.5px; }
.foot-note p { margin: 0; }

@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 8px var(--gut) 18px;
  }
  .nav.open a { padding: 11px 0; width: 100%; border-bottom: 1px solid var(--rule); }
  .nav.open .btn { margin-top: 12px; width: 100%; text-align: center; }
  .nav-toggle {
    display: block;
    margin-left: auto;
    background: none;
    border: 1px solid var(--rule-firm);
    padding: 7px 12px;
    font: 600 14px var(--sans);
    cursor: pointer;
  }
  .foot-grid { grid-template-columns: 1fr; }
}
