/* ============================================================
   LUCY'S MARINA — Design tokens
   Display: Oswald (dock-signage stencil character)
   Body:    Source Serif 4 (ship's-log warmth)
   Utility: IBM Plex Mono (tide-table / gauge data)
   ============================================================ */

:root{
  --harbor-navy:  #10263B;
  --harbor-navy-2:#183351;
  --teak:         #4A5C6B;
  --brass:        #E07A29;
  --brass-light:  #F09B4E;
  --sea-glass:    #6F9C93;
  --dock-fog:     #E9F0F7;
  --dock-fog-2:   #D6E4F0;
  --panel-deep:   #C3D9EB;
  --charcoal:     #1C2B36;
  --white:        #FFFFFF;

  --display: "Montserrat", sans-serif;
  --body:    "Poppins", sans-serif;
  --mono:    "Inter", sans-serif;
  --nav-font:"Poppins", sans-serif;
  --hero-serif: "Times New Roman", Times, serif;

  --max: 1200px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family:var(--body);
  color:var(--charcoal);
  background:var(--dock-fog);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
.wrap{ max-width:var(--max); margin:0 auto; padding:0 32px; }

h1,h2,h3,.display{
  font-family:var(--display);
  text-transform:uppercase;
  letter-spacing:0.02em;
  font-weight:500;
  color:var(--harbor-navy);
}

.eyebrow{
  font-family:var(--mono);
  font-size:0.78rem;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--brass);
}

.btn{
  display:inline-block;
  font-family:var(--mono);
  font-size:0.82rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  padding:14px 28px;
  border:1px solid currentColor;
  transition:background .25s ease, color .25s ease, transform .2s ease;
}
.btn:hover{ transform:translateY(-2px); }
.btn-solid{
  background:var(--brass-light);
  border-color:var(--brass-light);
  color:var(--harbor-navy);
}
.btn-solid:hover{ background:var(--brass); border-color:var(--brass); }
.btn-ghost{
  color:var(--white);
  border-color:rgba(255,255,255,0.55);
}
.btn-ghost:hover{ background:rgba(255,255,255,0.12); }
.btn-dark{
  color:var(--harbor-navy);
  border-color:var(--harbor-navy);
}
.btn-dark:hover{ background:var(--harbor-navy); color:var(--white); }

/* ---------------- Nav ---------------- */
.nav{
  position:sticky; top:0; z-index:100;
  padding:18px 0;
  background:var(--harbor-navy);
  border-bottom:3px solid var(--brass);
}
.nav .wrap{ display:flex; align-items:center; justify-content:space-between; }
.nav-logo{ display:flex; align-items:center; }
.nav-logo img{ height:52px; width:auto; display:block; }
.nav-links{ display:flex; gap:34px; list-style:none; }
.nav-links a{
  font-family:var(--nav-font);
  font-weight:600;
  font-size:0.88rem;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--white);
  opacity:0.85;
  padding-bottom:4px;
  border-bottom:1px solid transparent;
}
.nav-links a:hover{ opacity:1; border-color:var(--brass); }

.has-dropdown{ position:relative; }
.nav-dropdown{
  position:absolute; top:100%; left:50%; transform:translateX(-50%) translateY(-6px);
  margin-top:14px;
  background:var(--harbor-navy);
  border:1px solid rgba(255,255,255,0.12);
  border-top:2px solid var(--brass);
  min-width:180px;
  padding:8px 0;
  opacity:0; visibility:hidden;
  transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index:200;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown{
  opacity:1; visibility:visible; transform:translateX(-50%) translateY(0);
}
.nav-dropdown a{
  display:block;
  padding:10px 20px;
  font-family:var(--nav-font);
  font-weight:600;
  font-size:0.74rem;
  letter-spacing:0.05em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.85);
  opacity:1;
  border-bottom:none;
  white-space:nowrap;
}
.nav-dropdown a:hover{ background:rgba(193,89,46,0.15); color:var(--brass-light); }

.nav-toggle{ display:none; }

@media (max-width:900px){
  .nav-logo img{ height:40px; }
  .nav-toggle{
    display:flex; flex-direction:column; justify-content:center; gap:5px;
    width:34px; height:34px; background:none; border:none; cursor:pointer; padding:0;
  }
  .nav-toggle span{ display:block; width:100%; height:2px; background:var(--white); }
  .nav-links{
    display:flex; flex-direction:column; align-items:flex-start; gap:0;
    position:fixed; top:73px; left:0; right:0;
    background:var(--harbor-navy);
    max-height:0; overflow:hidden;
    transition:max-height .3s ease;
  }
  .nav-links.open{ max-height:640px; overflow-y:auto; }
  .nav-links li{ width:100%; }
  .nav-links a{ display:block; padding:16px 32px; border-bottom:1px solid rgba(255,255,255,0.1); }

  .nav-dropdown{
    position:static; transform:none; opacity:1; visibility:visible;
    background:rgba(255,255,255,0.04);
    border:none; border-top:none;
    margin-top:0; padding:0;
  }
  .nav-dropdown a{
    padding:12px 32px 12px 48px;
    font-size:0.72rem;
    border-bottom:1px solid rgba(255,255,255,0.06);
  }
}

/* ---------------- Hero ---------------- */
.hero{
  position:relative;
  height:88vh;
  min-height:520px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  color:var(--white);
  text-align:center;
}
.hero video, .hero .hero-poster{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  z-index:0;
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(16,38,59,0.4) 0%, rgba(16,38,59,0.3) 45%, rgba(10,20,30,0.6) 100%);
  z-index:1;
}
.hero-content{
  position:relative; z-index:2;
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.hero-tag{
  font-family:var(--mono);
  font-size:0.82rem;
  letter-spacing:0.2em;
  text-transform:uppercase;
  color:var(--brass-light);
  margin-bottom:18px;
  display:block;
}
.hero h1{
  font-family:var(--hero-serif);
  text-transform:none;
  letter-spacing:0;
  font-weight:400;
  color:var(--white);
  font-size:clamp(2.6rem, 6vw, 5.2rem);
  line-height:1.05;
  max-width:18ch;
  margin-bottom:22px;
}
.hero h1 em{
  font-style:normal;
  font-weight:400;
  color:var(--brass-light);
  display:inline-block;
  transform:skewX(-10deg);
}
.hero p{
  font-family:var(--body);
  font-size:1.28rem;
  max-width:46ch;
  color:rgba(255,255,255,0.88);
  margin-bottom:34px;
}
.hero-ctas{ display:flex; gap:16px; flex-wrap:wrap; justify-content:center; }
.scroll-cue{
  position:absolute; bottom:28px; left:50%; transform:translateX(-50%);
  z-index:2; color:var(--white); opacity:0.7;
  font-family:var(--mono); font-size:0.7rem; letter-spacing:0.2em; text-transform:uppercase;
  display:flex; flex-direction:column; align-items:center; gap:8px;
}
.scroll-cue .line{ width:1px; height:34px; background:var(--white); animation:scrollpulse 2s ease-in-out infinite; }
@keyframes scrollpulse{
  0%,100%{ transform:scaleY(0.4); opacity:0.4; }
  50%{ transform:scaleY(1); opacity:1; }
}

/* ---------------- Section shell ---------------- */
section{ padding:76px 0; }
.section-head{ width:100%; max-width:640px; margin:0 auto 40px; text-align:center; }
.section-head h2{ font-size:clamp(1.8rem,3.4vw,2.6rem); }
.amenities, .hours{ padding-top:48px; }

/* ---------------- About feature (gallery + copy + stats) ---------------- */
.about-feature{ background:var(--white); }
.about-feature-grid{
  display:grid;
  grid-template-columns:1.15fr 1fr;
  gap:70px;
  align-items:center;
}
.about-gallery{ display:flex; flex-direction:column; gap:24px; }
.about-photo-frame{
  position:relative;
  border-radius:6px;
  overflow:hidden;
  box-shadow:0 18px 40px rgba(16,38,59,0.16);
}
.about-photo-frame img{ width:100%; height:440px; object-fit:cover; display:block; transition:opacity .25s ease; }
.about-photo-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px; height:44px;
  border-radius:50%;
  border:none;
  background:rgba(16,38,59,0.55);
  color:var(--white);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  backdrop-filter:blur(2px);
  transition:background .2s ease, transform .2s ease;
}
.about-photo-arrow:hover{ background:rgba(16,38,59,0.8); }
.about-photo-arrow svg{ width:20px; height:20px; }
.about-photo-arrow.prev{ left:16px; }
.about-photo-arrow.next{ right:16px; }

.about-copy .eyebrow.with-line{
  display:inline-flex;
  align-items:center;
  flex-direction:row-reverse;
  gap:14px;
  font-size:1rem;
  font-weight:600;
  letter-spacing:0.14em;
  color:var(--harbor-navy);
}
.about-copy .eyebrow.with-line::before{ content:""; width:32px; height:2px; background:var(--brass); display:inline-block; }
.about-copy .eyebrow.with-line::after{ content:""; width:32px; height:2px; background:var(--brass); display:inline-block; }
.about-copy h2{
  font-family:var(--hero-serif);
  text-transform:none;
  letter-spacing:0;
  font-weight:400;
  color:var(--harbor-navy);
  font-size:clamp(2.3rem,4.2vw,3.4rem);
  line-height:1.15;
  margin:16px 0 22px;
  max-width:54ch;
}
.about-copy p{
  font-family:var(--body);
  color:var(--teak);
  max-width:54ch;
  margin-bottom:34px;
}
.about-condensed{
  font-size:1.2rem;
  line-height:1.7;
}
.about-cta{ text-align:center; }
.about-cta .btn-solid{
  font-size:0.95rem;
  font-weight:700;
  padding:18px 36px;
  box-shadow:0 12px 28px rgba(224,122,41,0.35);
}
.about-cta .btn-solid:hover{ box-shadow:0 14px 32px rgba(224,122,41,0.5); }
.about-stats{
  display:flex;
  justify-content:center;
  gap:56px;
  background:var(--dock-fog-2);
  border-radius:10px;
  padding:32px 24px;
}
.about-stat{ display:flex; flex-direction:column; align-items:center; text-align:center; }
.about-stat .num{
  font-family:var(--hero-serif);
  font-weight:500;
  font-size:clamp(2.1rem,3.2vw,2.9rem);
  color:var(--harbor-navy);
}
.about-stat .num .plus{ color:var(--brass); }
.about-stat .label{
  font-family:var(--nav-font);
  font-weight:600;
  font-size:0.8rem;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--teak);
  margin-top:8px;
}

/* ---------------- Amenities (horizontal card grid) ---------------- */
.amenities{ background:var(--dock-fog); }
.section-head h2 em{
  font-family:var(--hero-serif);
  font-style:italic;
  text-transform:none;
  letter-spacing:0;
  color:var(--brass);
}
.amenity-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.amenity-card{
  background:var(--white);
  border:1px solid rgba(16,38,59,0.12);
  border-radius:10px;
  padding:26px 24px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.amenity-card:hover{
  transform:translateY(-5px);
  box-shadow:0 16px 32px rgba(16,38,59,0.14);
  border-color:rgba(224,122,41,0.35);
}
.amenity-icon{
  width:84px; height:84px;
  border-radius:50%;
  background:var(--dock-fog-2);
  color:var(--brass);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
  margin-bottom:14px;
}
.amenity-icon svg{ width:42px; height:42px; }
.amenity-card h3{ font-size:1.5rem; margin-bottom:10px; }
.amenity-card p{
  font-family:var(--body);
  color:var(--teak);
  font-size:0.92rem;
  flex-grow:1;
}


/* ---------------- Hours / tide-table strip ---------------- */
.hours{ background:var(--dock-fog-2); }
.hours-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:40px; }
.hours-card{ background:var(--white); border:1px solid rgba(16,38,59,0.12); padding:34px 30px; }
.hours-card .eyebrow{ display:block; margin-bottom:14px; }
.hours-card .row{ display:flex; justify-content:space-between; font-family:var(--mono); font-size:0.9rem; padding:6px 0; border-bottom:1px dashed rgba(16,38,59,0.12); }
.hours-card .row:last-child{ border-bottom:none; }

/* ---------------- Testimonials ---------------- */
.testimonials{ background:var(--harbor-navy); }
.testimonials .section-head h2{ color:var(--white); }
.testimonial-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.testimonial-card{
  background:var(--harbor-navy-2);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:10px;
  padding:32px 28px;
  display:flex;
  flex-direction:column;
}
.testimonial-stars{ color:var(--brass-light); font-size:1.1rem; letter-spacing:2px; margin-bottom:16px; }
.testimonial-card p{
  font-family:var(--body);
  font-style:italic;
  color:rgba(255,255,255,0.92);
  line-height:1.6;
  margin-bottom:18px;
  flex-grow:1;
}
.testimonial-name{
  font-family:var(--nav-font);
  font-weight:600;
  font-size:0.85rem;
  color:var(--brass-light);
}
.testimonials .edit-note{ color:var(--sea-glass); border-color:var(--sea-glass); background:rgba(111,156,147,0.15); }

/* ---------------- Contact / footer ---------------- */
.contact{ background:var(--dock-fog); color:var(--charcoal); }
.contact .wrap{ display:grid; grid-template-columns:1fr 1fr; gap:70px; }
.contact h2{ color:var(--harbor-navy); }
.contact-form{ display:flex; flex-direction:column; gap:16px; }
.contact-form input, .contact-form textarea{
  background:var(--white);
  border:1px solid rgba(16,38,59,0.25);
  color:var(--charcoal);
  font-family:var(--body);
  padding:14px 16px;
  font-size:1rem;
}
.contact-form input::placeholder, .contact-form textarea::placeholder{ color:rgba(28,43,54,0.45); }
.contact-form textarea{ min-height:120px; resize:vertical; }

.quote-sub{ font-family:var(--body); color:var(--teak); margin-top:8px; margin-bottom:20px; max-width:44ch; }
.quote-progress{ margin-bottom:24px; }
.quote-step-label{
  font-family:var(--nav-font);
  font-weight:600;
  font-size:0.72rem;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--harbor-navy);
  display:block;
  margin-bottom:8px;
}
.quote-progress-track{
  width:100%; height:6px;
  background:var(--dock-fog-2);
  border-radius:4px;
  overflow:hidden;
}
.quote-progress-fill{
  width:50%; height:100%;
  background:var(--brass);
  border-radius:4px;
  transition:width .3s ease;
}
.contact-form select{
  background:var(--white);
  border:1px solid rgba(16,38,59,0.25);
  color:var(--charcoal);
  font-family:var(--body);
  padding:14px 16px;
  font-size:1rem;
}
.quote-label{
  font-family:var(--nav-font);
  font-weight:600;
  font-size:0.7rem;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--teak);
  margin-top:2px;
}
.quote-step{ display:flex; flex-direction:column; gap:16px; }
.quote-step[hidden]{ display:none; }
.quote-step2-actions{ display:flex; gap:12px; }
.quote-step2-actions .btn{ flex:1; text-align:center; }
.contact-info .eyebrow{ margin-bottom:20px; font-size:0.9rem; }
.contact-info .line{ font-family:var(--mono); font-size:1.35rem; font-weight:500; margin-bottom:18px; color:var(--teak); line-height:1.4; }
.contact-info a:hover{ color:var(--harbor-navy); }
.map-frame{ margin-top:24px; border:1px solid rgba(16,38,59,0.2); filter:none; }

footer{
  background:var(--harbor-navy);
  color:rgba(255,255,255,0.6);
  padding:28px 0;
  font-family:var(--mono);
  font-size:0.78rem;
}
footer .wrap{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }

/* ---------------- Reveal-on-scroll ---------------- */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ---------------- Editable note ribbon ---------------- */
.edit-note{
  font-family:var(--mono);
  font-size:0.72rem;
  color:var(--sea-glass);
  background:rgba(111,156,147,0.12);
  border:1px dashed var(--sea-glass);
  padding:6px 10px;
  display:inline-block;
  margin-top:10px;
}

@media (max-width:900px){
  .about-feature-grid{ grid-template-columns:1fr; gap:40px; }
  .about-photo-frame img{ height:260px; }
  .about-stats{ gap:32px; flex-wrap:wrap; }
  .amenity-grid{ grid-template-columns:repeat(2,1fr); }
  .testimonial-grid{ grid-template-columns:1fr; }
  .hours-grid{ grid-template-columns:1fr; }
  .contact .wrap{ grid-template-columns:1fr; gap:40px; }
  section{ padding:70px 0; }
}
@media (max-width:560px){
  .amenity-grid{ grid-template-columns:1fr; }
  .about-stats{ gap:20px; padding:22px 14px; }
}
@media (prefers-reduced-motion: reduce){
  .reveal{ transition:none; opacity:1; transform:none; }
  .scroll-cue .line{ animation:none; }
}
