@layer reset, base, layout, components, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body, h1, h2, h3, p, figure, blockquote { margin: 0; }
  img { display: block; max-width: 100%; }
  button, input { font: inherit; }
  a { color: inherit; }
}

@layer base {
  :root {
    --ink: #191816;
    --paper: #f5f2ec;
    --white: #fffdf9;
    --pink: #e60062;
    --pink-dark: #bd004f;
    --lime: #d8ff45;
    --line: rgba(25, 24, 22, .18);
    --serif: Georgia, "Times New Roman", serif;
    --sans: "Helvetica Neue", Helvetica, sans-serif;
    --page: min(100% - 48px, 1320px);
  }

  body {
    min-width: 320px;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    letter-spacing: 0;
  }

  h1, h2, h3 { font-weight: 500; line-height: .92; letter-spacing: 0; text-wrap: balance; }
  h1 { font-size: clamp(3.8rem, 8.8vw, 9rem); color: var(--white); }
  h2 { font-size: clamp(3rem, 6.2vw, 6.8rem); }
  h3 { font-size: clamp(2rem, 3vw, 3.2rem); }
  em { font-family: var(--serif); font-weight: 400; }
  a { text-decoration: none; }
  :focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
  ::selection { color: var(--white); background: var(--pink); }

  .skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; color: var(--white); background: var(--ink); transform: translateY(-180%); }
  .skip-link:focus { transform: translateY(0); }
  .eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
  .eyebrow::before { width: 28px; height: 2px; background: var(--pink); content: ""; }
  .eyebrow.light { color: var(--white); }
  .section { width: var(--page); margin-inline: auto; padding-block: clamp(90px, 11vw, 170px); }
}

@layer layout {
  .site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 96px;
    padding: 16px max(24px, calc((100vw - 1320px) / 2));
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, .28);
  }
  .site-header.is-scrolled { position: fixed; min-height: 72px; color: var(--ink); background: rgba(245, 242, 236, .96); border-color: var(--line); animation: header-in .3s ease; }
  @keyframes header-in { from { transform: translateY(-100%); } }

  .brand { display: flex; align-items: center; gap: 12px; line-height: 1.05; }
  .brand-mark { display: grid; width: 48px; aspect-ratio: 1; place-items: center; color: var(--white); background: var(--pink); font-family: var(--serif); font-size: 1.1rem; }
  .brand-name { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
  .brand-name strong { font-weight: 700; }
  .site-nav { display: flex; justify-content: center; gap: clamp(20px, 3vw, 48px); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
  .site-nav a { position: relative; padding-block: 10px; }
  .site-nav a::after { position: absolute; right: 0; bottom: 4px; left: 0; height: 2px; background: var(--pink); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
  .site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .menu-button { display: none; }

  .hero { position: relative; display: flex; min-height: min(900px, 100svh); align-items: flex-end; overflow: hidden; background: var(--ink); }
  .hero > picture, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; animation: hero-reveal 1.2s ease both; }
  .hero-shade { background: linear-gradient(90deg, rgba(14, 13, 12, .78) 0%, rgba(14, 13, 12, .22) 62%, rgba(14, 13, 12, .08)), linear-gradient(0deg, rgba(14, 13, 12, .68), transparent 52%); }
  .hero-content { position: relative; z-index: 1; width: min(920px, calc(100% - 48px)); margin: 0 max(24px, calc((100vw - 1320px) / 2)); padding: 185px 0 clamp(70px, 9vw, 125px); animation: content-up .8s .2s ease both; }
  .hero-copy { max-width: 590px; margin-top: 30px; color: rgba(255,255,255,.86); font-size: clamp(1.05rem, 1.5vw, 1.35rem); }
  .hero-actions { display: flex; align-items: center; gap: 36px; margin-top: 40px; }
  .hero-note { position: absolute; right: max(24px, calc((100vw - 1320px) / 2)); bottom: 42px; z-index: 2; display: flex; flex-direction: column; color: rgba(255,255,255,.72); font-family: monospace; font-size: .65rem; letter-spacing: .1em; }
  @keyframes hero-reveal { from { opacity: 0; transform: scale(1.06); } }
  @keyframes content-up { from { opacity: 0; transform: translateY(30px); } }

  .intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: clamp(60px, 10vw, 150px); align-items: end; }
  .intro-copy { max-width: 580px; padding-bottom: 10px; }
  .intro-copy .lead { margin-bottom: 24px; font-family: var(--serif); font-size: clamp(1.45rem, 2.2vw, 2.1rem); line-height: 1.3; }
  .intro-copy > p:last-of-type { color: #5e5a54; }
  .quick-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 48px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
  .quick-facts li { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
  .quick-facts strong { display: block; margin-bottom: 2px; color: var(--pink); font-family: var(--serif); font-size: 1.8rem; font-weight: 400; text-transform: none; }

  .photo-strip { display: grid; grid-template-columns: 1.45fr .65fr .7fr; min-height: 560px; background: var(--ink); }
  .photo-strip figure { overflow: hidden; }
  .photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
  .photo-strip figure:hover img { transform: scale(1.025); }
  .photo-tall { margin: 70px 0 70px -60px; border: 10px solid var(--paper); }
  .photo-caption { align-self: end; padding: 0 36px 68px; color: var(--white); font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 2rem); line-height: 1.25; }

  .section-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 80px; align-items: end; margin-bottom: 70px; }
  .section-heading > p { max-width: 470px; color: #5e5a54; }
  .room-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .room-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(210px, .8fr); min-height: 380px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .room-image-wrap { position: relative; min-height: 330px; overflow: hidden; }
  .room-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
  .room-card:hover img { transform: scale(1.035); }
  .room-tag { position: absolute; top: 16px; left: 16px; padding: 8px 11px; color: var(--ink); background: var(--lime); font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
  .room-content { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; background: var(--white); }
  .room-number { margin-bottom: auto; color: var(--pink); font-family: monospace; font-size: .75rem; }
  .room-content h3 { margin: 32px 0 14px; }
  .room-content > p:not(.room-number) { margin-bottom: 24px; color: #66615b; font-size: .83rem; }
  .room-note { margin-top: 22px; color: #77716a; font-size: .75rem; }

  .amenities { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: none; padding: 0; color: var(--white); background: var(--ink); }
  .amenities-photo { min-height: 850px; }
  .amenities-photo img { width: 100%; height: 100%; object-fit: cover; }
  .amenities-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 140px); }
  .amenities-content h2 { margin-bottom: 62px; }
  .amenity-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.2); }
  .amenity-list li { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 23px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .amenity-list li > span { color: var(--pink); font-family: monospace; font-size: .7rem; }
  .amenity-list strong { font-size: 1.05rem; }
  .amenity-list p { margin-top: 5px; color: rgba(255,255,255,.62); font-size: .84rem; }

  .location { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(70px, 12vw, 180px); }
  .location-copy > p:not(.eyebrow) { max-width: 520px; margin: 35px 0; color: #5e5a54; font-size: 1.1rem; }
  .distance-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
  .distance-list > li { display: grid; grid-template-columns: 120px 1fr; align-items: center; padding: 23px 0; border-bottom: 1px solid var(--line); }
  .distance-list span { color: var(--pink); font-family: var(--serif); font-size: 3.4rem; line-height: 1; }
  .distance-list p { color: #716b64; font-size: .75rem; }
  .distance-list strong { display: block; color: var(--ink); font-size: 1rem; }

  .quote { position: relative; display: grid; min-height: min(780px, 80svh); place-items: center; overflow: hidden; color: var(--white); background: var(--ink); }
  .quote > img, .quote-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
  .quote > img { object-fit: cover; }
  .quote-overlay { background: rgba(11, 10, 9, .54); }
  .quote blockquote { position: relative; z-index: 1; width: min(1050px, calc(100% - 48px)); text-align: center; }
  .quote blockquote p { font-family: var(--serif); font-size: clamp(2.7rem, 6vw, 6.3rem); font-style: italic; line-height: 1; }
  .quote blockquote footer { margin-top: 30px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }

  .faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(70px, 12vw, 180px); }
  .faq-list { border-top: 1px solid var(--line); }
  details { border-bottom: 1px solid var(--line); }
  summary { display: flex; justify-content: space-between; gap: 20px; padding: 27px 0; cursor: pointer; font-family: var(--serif); font-size: 1.35rem; list-style: none; }
  summary::-webkit-details-marker { display: none; }
  summary span { color: var(--pink); font-family: var(--sans); transition: transform .25s ease; }
  details[open] summary span { transform: rotate(45deg); }
  details p { max-width: 620px; padding: 0 45px 26px 0; color: #625d57; }

  .booking-band { position: relative; padding: clamp(90px, 12vw, 170px) max(24px, calc((100vw - 1320px) / 2)); color: var(--white); background: var(--pink); overflow: hidden; }
  .booking-band::after { position: absolute; right: -3vw; bottom: -15vw; color: rgba(255,255,255,.11); content: "RS"; font-family: var(--serif); font-size: 38vw; line-height: 1; }
  .booking-band h2 { position: relative; z-index: 1; max-width: 950px; }
  .booking-band .button { position: relative; z-index: 1; margin-top: 45px; }

  .site-footer { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 50px; padding: 80px max(24px, calc((100vw - 1320px) / 2)) 35px; color: var(--white); background: var(--ink); }
  .footer-brand { display: flex; align-items: center; gap: 15px; font-family: var(--serif); font-size: 1.2rem; }
  .footer-label { margin-bottom: 18px; color: #8c8881; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
  .site-footer address { font-style: normal; }
  .site-footer a { display: block; width: fit-content; margin-bottom: 5px; }
  .site-footer a:hover { color: var(--lime); }
  .footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 50px; padding-top: 25px; color: #8c8881; border-top: 1px solid rgba(255,255,255,.16); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
}

@layer components {
  .button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 25px; border: 1px solid transparent; font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; transition: color .2s ease, background .2s ease, transform .2s ease; }
  .button:hover { transform: translateY(-2px); }
  .button-primary { color: var(--white); background: var(--pink); }
  .button-primary:hover { background: var(--pink-dark); }
  .button-dark { color: var(--white); background: var(--ink); }
  .button-dark:hover { color: var(--ink); background: var(--lime); }
  .button-light { color: var(--ink); background: var(--white); }
  .button-light:hover { background: var(--lime); }
  .text-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
  .light-link { color: var(--white); }
  .flat-arrow { position: relative; display: inline-block; flex: 0 0 12px; width: 12px; height: 12px; color: var(--pink); transition: transform .2s ease; }
  .flat-arrow::before { position: absolute; top: 1px; right: 1px; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; content: ""; }
  .flat-arrow::after { position: absolute; top: 6px; left: 1px; width: 11px; height: 1.5px; background: currentColor; content: ""; transform: rotate(-45deg); transform-origin: center; }
  .flat-arrow-down { color: var(--lime); transform: rotate(135deg); }
  .flat-arrow-up { color: currentColor; transform: rotate(-45deg); }
  .footer-link { display: inline-flex !important; align-items: center; gap: 8px; }
  a:hover .flat-arrow-external { transform: translate(2px, -2px); }
  a:hover .flat-arrow-down { transform: translateY(2px) rotate(135deg); }
  a:hover .flat-arrow-up { transform: translateY(-2px) rotate(-45deg); }
}

@layer responsive {
  @media (max-width: 1060px) {
    .site-header { grid-template-columns: auto auto 1fr; gap: 18px; }
    .site-nav { order: 3; grid-column: 1 / -1; display: none; }
    .site-nav.is-open { display: flex; position: absolute; inset: 96px 0 auto; flex-direction: column; align-items: center; gap: 5px; padding: 28px; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); }
    .site-header.is-scrolled .site-nav.is-open { inset-block-start: 72px; }
    .menu-button { display: flex; align-items: center; gap: 10px; color: inherit; background: transparent; border: 0; cursor: pointer; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
    .menu-lines, .menu-lines::before { display: block; width: 20px; height: 2px; background: currentColor; content: ""; transition: transform .2s ease; }
    .menu-lines::before { transform: translateY(6px); }
    .menu-button[aria-expanded="true"] .menu-lines { transform: rotate(45deg); }
    .menu-button[aria-expanded="true"] .menu-lines::before { transform: rotate(90deg); }
    .header-book { justify-self: end; }
    .room-card { grid-template-columns: 1fr; }
    .room-content { min-height: 250px; }
    .amenities-photo { min-height: 700px; }
    .amenities-content { padding: 70px 45px; }
  }

  @media (max-width: 760px) {
    :root { --page: min(100% - 32px, 1320px); }
    h1 { font-size: clamp(3.45rem, 17vw, 5.6rem); }
    h2 { font-size: clamp(2.85rem, 13vw, 4.8rem); }
    .section { padding-block: 90px; }
    .site-header { min-height: 76px; padding: 12px 16px; }
    .site-header.is-scrolled { min-height: 68px; }
    .brand-name { display: none; }
    .brand-mark { width: 44px; }
    .header-book { min-height: 44px; padding: 0 14px; }
    .site-nav.is-open { inset-block-start: 76px; }
    .site-header.is-scrolled .site-nav.is-open { inset-block-start: 68px; }
    .hero { min-height: 780px; }
    .hero-image { object-position: 56% center; }
    .hero-content { width: calc(100% - 32px); margin-inline: 16px; padding-bottom: 95px; }
    .hero-copy { max-width: 390px; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 24px; }
    .hero-note { display: none; }
    .intro, .section-heading, .location, .faq { grid-template-columns: 1fr; gap: 45px; }
    .quick-facts { gap: 10px; }
    .quick-facts strong { font-size: 1.45rem; }
    .photo-strip { grid-template-columns: 1fr .72fr; min-height: 580px; }
    .photo-main { grid-row: 1 / span 2; }
    .photo-tall { margin: 35px 0 0 -35px; border-width: 7px; }
    .photo-caption { padding: 25px 16px 45px; }
    .section-heading { margin-bottom: 42px; }
    .room-grid { grid-template-columns: 1fr; }
    .room-card { grid-template-columns: 1.2fr .8fr; min-height: 320px; }
    .room-image-wrap { min-height: 320px; }
    .room-content { min-height: auto; padding: 20px; }
    .amenities { grid-template-columns: 1fr; }
    .amenities-photo { min-height: 480px; }
    .amenities-content { padding: 80px 24px; }
    .amenities-content h2 { margin-bottom: 45px; }
    .distance-list > li { grid-template-columns: 90px 1fr; }
    .quote { min-height: 580px; }
    .faq { gap: 55px; }
    .site-footer { grid-template-columns: repeat(2, 1fr); padding-top: 65px; }
    .footer-brand { grid-column: 1 / -1; }
  }

  @media (max-width: 500px) {
    .menu-label { display: none; }
    .hero { min-height: 720px; }
    .room-card { grid-template-columns: 1fr; }
    .room-image-wrap { min-height: 250px; }
    .room-content { min-height: 230px; }
    .photo-strip { min-height: 480px; }
    .quick-facts { grid-template-columns: 1fr; }
    .quick-facts li { display: flex; align-items: baseline; gap: 10px; }
    .site-footer { grid-template-columns: 1fr; }
    .footer-brand, .footer-bottom { grid-column: 1; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  }
}
