/* ============ Tokens ============ */
:root{
  --ink: #0a1e2c;
  --ink-2: #0f2a3d;
  --paper: #f6f1e7;
  --paper-2: #efe7d6;
  --card: #fffdf8;
  --text-dark: #201c16;
  --text-dark-soft: #5a5348;
  --text-light: #f6f1e7;
  --text-light-soft: rgba(246,241,231,0.68);
  --green: #1f5c45;
  --green-bright: #339370;
  --blue: #1b5a80;
  --blue-bright: #2f7fac;
  --sky: #7ec4e8;
  --red: #a3283a;
  --red-bright: #c23349;
  --line-dark: rgba(246,241,231,0.16);
  --line-light: rgba(32,28,22,0.14);
  --shadow: 0 24px 50px -24px rgba(0,0,0,0.45);
  --font-display: 'Italiana', serif;
  --font-serif: 'Cormorant Garamond', serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

body{
  margin:0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-weight: 300;
}

img{ max-width:100%; display:block; }
h1,h2,h3{ font-family: var(--font-display); font-weight:400; margin:0 0 0.5em; color: var(--text-dark); text-transform: uppercase; letter-spacing: 0.02em; }
h1{ font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height:1.12; }
h2{ font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3{ font-size: 1.25rem; margin-bottom:0.4em; letter-spacing:0.04em; }
p{ margin:0 0 1em; font-weight:300; }
a{ color: inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
em{ font-style: italic; }

.wrap{ max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wrap--bleed-right{ padding-right:0; }
.section{ padding: 110px 0; background: var(--paper); color: var(--text-dark); }
.section--dark{ background: var(--ink); color: var(--text-light); }
.section--dark h1, .section--dark h2, .section--dark h3{ color: var(--text-light); }
.section--dark p{ color: var(--text-light-soft); }

.eyebrow{
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 1em;
}
.section--dark .eyebrow{ color: var(--sky); }
.section-head{ max-width: 620px; margin: 0 auto 60px; text-align:center; }
.section-head--left{ text-align:left; margin: 0; }
.section-sub{ color: var(--text-dark-soft); font-size: 1rem; font-weight:300; }
.section--dark .section-sub{ color: var(--text-light-soft); }

/* ============ Buttons ============ */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 15px 32px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight:500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border: 1px solid transparent;
  cursor:pointer;
  transition: background 0.25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-small{ padding: 11px 22px; font-size: 0.7rem; }
.btn-full{ width:100%; }
.btn-primary{ background: var(--blue); color: var(--text-light); border-color: var(--blue); }
.btn-primary:hover{ background: var(--blue-bright); border-color: var(--blue-bright); }
.btn-line{ border-color: var(--text-dark); color: var(--text-dark); background: transparent; }
.btn-line:hover{ background: var(--text-dark); color: var(--paper); }
.btn-line-light{ border-color: rgba(246,241,231,0.55); color: var(--text-light); background: rgba(0,0,0,0.12); backdrop-filter: blur(3px); }
.btn-line-light:hover{ background: rgba(246,241,231,0.14); border-color: var(--text-light); }
.text-link{ color: var(--blue); font-weight:500; text-decoration:none; letter-spacing:0.03em; }
.text-link:hover{ text-decoration: underline; }
.section--dark .text-link{ color: var(--sky); }

/* ============ Header ============ */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index: 100;
  transition: background 0.35s ease, box-shadow .35s ease, padding .35s ease;
  padding: 26px 0;
}
.site-header.scrolled{
  background: rgba(10,30,44,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
  padding: 16px 0;
}
.header-inner{ display:grid; grid-template-columns: 1fr auto 1fr; align-items:center; gap:20px; }
.brand{
  justify-self:center; font-family: var(--font-display); font-size:1.3rem; letter-spacing:0.12em;
  text-transform: uppercase; color:#fff; text-decoration:none; white-space:nowrap;
}
.main-nav{ display:flex; align-items:center; gap:28px; }
.main-nav--left{ justify-self:start; }
.main-nav--right{ justify-self:end; }
.main-nav a{
  text-decoration:none; color: rgba(255,255,255,0.85); font-weight:400; font-size:0.72rem;
  text-transform: uppercase; letter-spacing: 0.16em;
  transition: color .25s ease;
}
.main-nav a:hover{ color: var(--sky); }

.nav-toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px;
  justify-self:end;
}
.nav-toggle span{ width:24px; height:1.5px; background:#fff; transition: background .3s ease, transform .3s ease, opacity .3s ease; }
.nav-toggle.open{ position:relative; z-index:101; }
.nav-toggle.open span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav{
  display:none; position:fixed; inset:0; top:0; z-index:99;
  background: var(--ink); flex-direction:column; align-items:center; justify-content:center; gap:30px;
  transform: translateY(-100%); transition: transform .4s ease;
}
.mobile-nav.open{ display:flex; transform: translateY(0); }
.mobile-nav a{
  color: var(--text-light); text-decoration:none; font-size:1rem; text-transform:uppercase; letter-spacing:0.2em; font-weight:400;
}

/* ============ Side tab (cross-link between restaurant & rooms) ============ */
.side-tab{
  position: fixed; top:50%; right:0; z-index:90;
  transform: translateY(-50%) rotate(-90deg); transform-origin: bottom right;
  background: var(--blue); color:#fff; text-decoration:none;
  padding: 12px 22px; border-radius: 4px 4px 0 0;
  font-size:0.72rem; text-transform:uppercase; letter-spacing:0.16em; font-weight:500;
  box-shadow: -4px -4px 16px rgba(0,0,0,0.25);
  transition: background .25s ease, padding .25s ease;
}
.side-tab:hover{ background: var(--blue-bright); padding-top:16px; }
@media (max-width: 760px){
  .side-tab{
    top:auto; bottom:22px; right:18px; transform:none; border-radius: 999px;
    padding: 12px 18px; box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }
  .side-tab:hover{ padding-top:12px; }
}

/* ============ Hero ============ */
.hero{
  position:relative; min-height: 100vh; display:flex; align-items:center; overflow:hidden;
}
.hero-photo{
  position:absolute; inset:0; z-index:-3;
  background-image: url('../images/hero-terrace.jpg');
  background-size: cover;
  background-position: center 32%;
}
@media (max-width: 700px){
  .hero-photo{ background-image: url('../images/hero-terrace-mobile.jpg'); background-position: center 28%; }
}
.hero-photo--rooms{ background-image: url('../images/room-quad-alt.jpg'); background-position: center 55%; }
@media (max-width: 700px){
  .hero-photo--rooms{ background-image: url('../images/room-quad-alt.jpg'); background-position: center 60%; }
}
.hero-tint{
  position:absolute; inset:0; z-index:-2;
  background:
    linear-gradient(100deg, rgba(8,20,30,0.86) 0%, rgba(10,26,38,0.66) 34%, rgba(14,34,48,0.32) 64%, rgba(14,34,48,0.18) 100%),
    linear-gradient(0deg, rgba(6,15,22,0.55) 0%, rgba(6,15,22,0) 45%);
}
.hero-content{ position:relative; z-index:1; color: var(--text-light); padding-top:70px; max-width: 720px; }
.hero-content h1{ color:#fff; text-shadow: 0 2px 24px rgba(0,0,0,0.4); text-transform:none; font-family: var(--font-serif); font-style: italic; font-weight:500; letter-spacing:0; }
.hero-content .eyebrow{ color: var(--sky); text-shadow: 0 1px 8px rgba(0,0,0,0.3); }
.hero-sub{ font-size:1.05rem; max-width: 520px; color: rgba(255,255,255,0.85); font-weight:300; }
.hero-cta{ display:flex; gap:16px; flex-wrap:wrap; margin-top: 10px; align-items:center; }
.hero-aside{ margin-top:22px; font-size:0.85rem; color: rgba(255,255,255,0.7); }
.hero-aside a{ color: var(--sky); text-decoration: underline; text-underline-offset:3px; }
.hero-aside a:hover{ color:#fff; }

.scroll-cue{
  position:absolute; bottom:30px; left:50%; transform:translateX(-50%);
  width:1px; height:50px; background: rgba(255,255,255,0.4); z-index:2;
}
.scroll-cue span{
  position:absolute; top:0; left:-2px; width:5px; height:5px; border-radius:50%; background:#fff;
  animation: scrollcue 2s infinite;
}
@keyframes scrollcue{ 0%{ top:0; opacity:1;} 90%{ top:44px; opacity:0;} 100%{top:44px; opacity:0;} }

/* ============ Reveal on scroll ============ */
.reveal{ opacity:0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible{ opacity:1; transform:none; }

/* ============ Story ============ */
.two-col{ display:grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items:center; }
.story-media img{ border-radius: 2px; box-shadow: var(--shadow); }
.photo-caption{ font-family: var(--font-serif); font-style:italic; color: var(--text-dark-soft); font-size:1rem; margin-top:16px; }
.story-copy h2{ font-size: clamp(1.6rem, 3vw, 2.3rem); }

/* ============ Menu ============ */
.menu-top{ margin-bottom: 70px; }
.menu-photo img{ border-radius:2px; box-shadow: var(--shadow); }
.menu-section h2{ font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.menu-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap: 46px 64px; }
.menu-card h3{ color: var(--green-bright); border-bottom:1px solid var(--line-dark); display:block; padding-bottom:10px; text-transform:uppercase; }
.menu-list li{ padding: 15px 0; border-bottom: 1px solid var(--line-dark); }
.menu-list li:last-child{ border-bottom:none; }
.dish-name{ display:block; font-weight:400; font-size:1rem; color: var(--text-light); letter-spacing:0.02em; }
.menu-list p{ margin: 5px 0 0; color: var(--text-light-soft); font-size:0.86rem; }
.menu-cta{ margin-top: 64px; display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap; }
.menu-bar-shot{ width:220px; border-radius:2px; box-shadow: var(--shadow); }
.flag-rule{ display:flex; gap:6px; margin: 18px 0 26px; }
.flag-rule span{ display:block; width:32px; height:3px; border-radius:2px; }
.flag-rule span:nth-child(1){ background: var(--green-bright); }
.flag-rule span:nth-child(2){ background: var(--text-light-soft); }
.flag-rule span:nth-child(3){ background: var(--red); }

/* ============ Rooms ============ */
.rooms-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 40px; max-width: 900px; margin: 0 auto; }
.room-card{
  background: var(--card); border-radius: 2px; overflow:hidden; box-shadow: var(--shadow);
  display:flex; flex-direction:column; transition: transform .35s ease, box-shadow .35s ease;
}
.room-card:hover{ transform: translateY(-6px); }
.room-photo{ aspect-ratio: 5/4; overflow:hidden; }
.room-photo img{ width:100%; height:100%; object-fit:cover; }
.room-card--featured{ border-top: 2px solid var(--red); }
.room-body{ padding: 28px; position:relative; flex:1; display:flex; flex-direction:column; }
.room-tag{
  position:absolute; top:-14px; right:24px; background: var(--red); color: #fff;
  font-size:0.66rem; font-weight:500; text-transform:uppercase; letter-spacing:0.14em;
  padding:6px 14px; border-radius:2px; box-shadow: 0 6px 14px -6px rgba(0,0,0,0.4);
}
.room-desc{ color: var(--text-dark-soft); font-size:0.9rem; }
.room-amenities{ display:flex; flex-wrap:wrap; gap:8px; margin: 12px 0 22px; }
.room-amenities li{
  font-size:0.68rem; text-transform:uppercase; letter-spacing:0.08em; background: var(--paper-2); color: var(--text-dark-soft);
  padding: 6px 12px; border-radius:2px;
}
.room-row{ margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.room-price{ font-family: var(--font-serif); font-style:italic; font-size:1.2rem; color: var(--text-dark); }
.room-price small{ font-family: var(--font-body); font-size:0.62rem; text-transform:uppercase; letter-spacing:0.08em; color: var(--text-dark-soft); display:block; font-style:normal; }
.rooms-note{ text-align:center; margin-top: 40px; color: var(--text-dark-soft); font-size:0.85rem; }

.teaser-strip{
  background: var(--paper-2); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
  text-align:center; padding: 26px 24px;
}
.teaser-strip p{ margin:0; font-size:0.95rem; color: var(--text-dark-soft); }
.teaser-strip strong{ color: var(--text-dark); font-weight:500; }
.teaser-strip a{ color: var(--blue); font-weight:500; text-decoration: underline; text-underline-offset:3px; }
.teaser-strip a:hover{ color: var(--blue-bright); }

/* ============ Gallery / photo strip ============ */
.gallery-section .wrap{ padding-bottom: 0; }
.section-head-row{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom: 44px; flex-wrap:wrap; }
.strip-controls{ display:flex; gap:10px; }
.strip-arrow{
  width:44px; height:44px; border-radius:50%; border:1px solid var(--line-dark); background:transparent; color:var(--text-light);
  cursor:pointer; font-size:1rem; transition: background .25s ease, border-color .25s ease;
}
.strip-arrow:hover{ background: rgba(246,241,231,0.08); border-color: var(--sky); }

.photo-strip{
  display:flex; gap:20px; overflow-x:auto; padding: 0 32px 60px; scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.photo-strip::-webkit-scrollbar{ display:none; }
.strip-item{
  position:relative; flex: 0 0 auto; width: 340px; height: 420px; margin:0; border-radius:2px; overflow:hidden;
  scroll-snap-align:start; box-shadow: var(--shadow);
}
.strip-item--wide{ width: 460px; }
.strip-item--tall{ width: 280px; }
.strip-item img{ width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.strip-item:hover img{ transform: scale(1.04); }
.strip-item figcaption{
  position:absolute; left:0; right:0; bottom:0; padding: 30px 18px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent);
  color:#fff; font-size:0.78rem; text-transform:uppercase; letter-spacing:0.1em;
}

/* ============ Testimonials ============ */
.testimonials{ background: var(--paper-2); }
.testi-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 20px; }
.testi-card{
  background: var(--card); border-top: 2px solid var(--blue);
  padding: 30px 26px; margin:0; border-radius:2px; box-shadow: var(--shadow);
}
.testi-card p{ font-family: var(--font-serif); font-style:italic; color: var(--text-dark); font-size:1.1rem; line-height:1.55; margin:0; }

/* ============ Contact ============ */
.contact-section .two-col{ align-items:start; }
.trust-note{
  display:inline-block; font-size:0.85rem; color: var(--sky); border:1px solid rgba(126,196,232,0.35);
  background: rgba(126,196,232,0.08); padding: 10px 16px; border-radius:2px; margin: 4px 0 8px;
}
.trust-note a{ text-decoration: underline; text-underline-offset:3px; font-weight:500; }
.trust-note a:hover{ color:#fff; }
.contact-list{ margin: 28px 0; }
.contact-list li{ display:flex; flex-direction:column; gap:4px; padding: 16px 0; border-bottom:1px solid var(--line-dark); }
.contact-list strong{ color: var(--sky); font-size:0.68rem; text-transform:uppercase; letter-spacing:0.14em; }
.map-placeholder{
  position:relative; border-radius: 2px; overflow:hidden; border:1px solid var(--line-dark); margin-top: 32px;
}
.map-placeholder svg{ width:100%; height:auto; display:block; }
.map-placeholder span{
  position:absolute; bottom:10px; left:10px; background: rgba(0,0,0,0.55); font-size:0.7rem;
  padding: 5px 12px; border-radius: 2px; color: var(--text-light-soft);
}

.contact-form{
  background: rgba(246,241,231,0.04); border:1px solid var(--line-dark); border-radius: 2px; padding: 40px;
}
.form-title{ margin-bottom: 26px; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.field-row{ margin-bottom: 20px; display:flex; flex-direction:column; gap:8px; }
.field-row--split{ display:grid; grid-template-columns: 1fr 1fr; gap:16px; }
.field-row--split > div{ display:flex; flex-direction:column; gap:8px; min-width:0; }
input, select, textarea{ width:100%; min-width:0; }
label{ font-size:0.68rem; font-weight:500; text-transform:uppercase; letter-spacing:0.1em; color: var(--text-light-soft); }
input, select, textarea{
  font-family: var(--font-body); font-size:0.92rem; padding: 12px 14px;
  border: 1px solid var(--line-dark); border-radius: 2px; background: rgba(255,255,255,0.03); color: var(--text-light);
}
input:focus, select:focus, textarea:focus{ outline: none; border-color: var(--sky); }
select option{ background: var(--ink); color: var(--text-light); }
.form-note{ margin: 16px 0 0; font-size:0.85rem; min-height:1.2em; color: var(--sky); font-weight:400; }

/* ============ Footer ============ */
.site-footer{ background: #071a26; color: rgba(246,241,231,0.75); padding-top: 64px; }
.footer-inner{ display:flex; flex-wrap:wrap; gap:32px; justify-content:space-between; padding-bottom: 36px; border-bottom:1px solid var(--line-dark); }
.footer-brand .brand-text{ font-family: var(--font-display); font-size:1.2rem; letter-spacing:0.1em; text-transform:uppercase; color:#fff; }
.footer-brand p{ color: rgba(246,241,231,0.5); font-size:0.82rem; margin-top:8px; }
.footer-links{ display:flex; gap:24px; flex-wrap:wrap; }
.footer-links a{ text-decoration:none; color: rgba(246,241,231,0.75); font-size:0.72rem; text-transform:uppercase; letter-spacing:0.12em; }
.footer-links a:hover{ color: var(--sky); }
.footer-social{ display:flex; gap:14px; }
.footer-social a{
  width:36px; height:36px; border-radius:50%; border:1px solid var(--line-dark);
  display:flex; align-items:center; justify-content:center; font-size:0.66rem; text-decoration:none; color:#fff; letter-spacing:0.05em;
}
.footer-bottom{ padding: 22px 32px 30px; }
.footer-bottom p{ margin:0; font-size:0.76rem; color: rgba(246,241,231,0.4); }

/* ============ Responsive ============ */
@media (max-width: 980px){
  .two-col{ grid-template-columns: 1fr; gap:40px; }
  .menu-grid{ grid-template-columns: 1fr; }
  .menu-top.two-col{ grid-template-columns: 1fr; }
  .testi-grid{ grid-template-columns: 1fr; gap:0; }
  .rooms-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 760px){
  .main-nav--left, .main-nav--right{ display:none; }
  .header-inner{ grid-template-columns: 1fr auto; }
  .brand{ justify-self:start; font-size:1.1rem; }
  .nav-toggle{ display:flex; }
  .section{ padding: 72px 0; }
  .menu-cta{ flex-direction:column; align-items:flex-start; }
  .menu-bar-shot{ width:100%; }
  .strip-item{ width: 260px; height:340px; }
  .strip-item--wide{ width: 300px; }
  .strip-item--tall{ width: 220px; }
  .field-row--split{ grid-template-columns: 1fr; }
  .contact-form{ padding: 28px 22px; }
}
