/* Fairytale at Sea — Tidewell preview
   Classic, playful, natural. Deep ocean, sea green, warm sand, sunset. */

:root {
  --deep: #0b2a38;
  --ocean: #163e50;
  --sea: #2c6f63;
  --sea-light: #3e8b7c;
  --foam: #f6f1e6;
  --sand: #e6d3b0;
  --sunset: #d2673a;
  --sunset-hover: #b8552e;
  --sunset-soft: #e8a070;
  --ink: #1c272c;
  --muted: #5a6a70;
  --paper: #fbf8f2;
  --white: #fffdf8;
  --line: rgba(11, 42, 56, 0.12);
  --shadow: 0 18px 40px -20px rgba(11, 42, 56, 0.45);
  --font-display: "Cormorant Garamond", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --font-body: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
  --header-h: 4.25rem;
  --radius: 1.15rem;
  --max: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-underline-offset: 0.18em; }
a:hover { color: var(--ocean); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--deep);
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 4.85rem); line-height: 1.05; }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 600; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--sunset);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
  border-radius: 0.4rem;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.wrap-narrow { width: min(100% - 2rem, 44rem); margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sea);
  margin-bottom: 0.7rem;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 38rem; }
.muted { color: var(--muted); }
.note {
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
  border-left: 3px solid var(--sand);
  padding: 0.35rem 0 0.35rem 0.9rem;
  margin: 1.1rem 0 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-sunset {
  background: var(--sunset);
  color: #fff;
  border-color: var(--sunset);
}
.btn-sunset:hover { background: var(--sunset-hover); border-color: var(--sunset-hover); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--foam);
  border-color: rgba(246, 241, 230, 0.55);
}
.btn-ghost:hover { background: rgba(246, 241, 230, 0.12); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--deep);
  border-color: var(--deep);
}
.btn-outline:hover { background: var(--deep); color: var(--foam); }
.btn-sea {
  background: var(--sea);
  color: #fff;
  border-color: var(--sea);
}
.btn-sea:hover { background: var(--ocean); border-color: var(--ocean); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 42, 56, 0.94);
  backdrop-filter: blur(14px);
  color: var(--foam);
  height: var(--header-h);
  border-bottom: 1px solid rgba(230, 211, 176, 0.16);
}
.header-inner {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--foam);
  min-width: 0;
}
.brand img { width: 2.55rem; height: 2.55rem; flex: none; }
.brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.brand-text em {
  font-style: italic;
  font-weight: 500;
  display: block;
  font-size: 1.42rem;
}
.brand-text span {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
  margin-top: 0.1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.35rem;
}
.nav a {
  color: var(--foam);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--sand);
}
.nav .btn { margin-left: 0.4rem; padding: 0.7rem 1.1rem; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: var(--foam);
  cursor: pointer;
  border-radius: 0.5rem;
  padding: 0;
}
.nav-toggle:hover { background: rgba(255,255,255,.08); }
.nav-toggle svg { width: 1.6rem; height: 1.6rem; display: block; margin: auto; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--deep);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.4rem;
    gap: 0;
    border-bottom: 1px solid rgba(230, 211, 176, 0.16);
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 0.9rem 0.2rem;
    border-bottom: 1px solid rgba(246,241,230,.1);
    font-size: 1.15rem;
  }
  .nav a[aria-current="page"] { border-bottom-color: var(--sand); }
  .nav .btn { margin: 1rem 0 0.3rem; width: 100%; }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 48rem);
  display: flex;
  align-items: flex-end;
  color: var(--foam);
  background: var(--deep) center/cover no-repeat;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(11,42,56,.78) 0%, rgba(11,42,56,.42) 48%, rgba(11,42,56,.18) 100%),
    linear-gradient(to top, rgba(11,42,56,.7) 0%, rgba(11,42,56,.05) 45%);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 6rem 0 4.5rem;
}
.hero .eyebrow { color: var(--sand); }
.hero h1 { color: #fff; max-width: 14ch; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero .lead { color: rgba(246,241,230,.9); font-size: clamp(1.12rem, 2vw, 1.32rem); max-width: 34rem; }
.season-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.6rem;
  background: rgba(246,241,230,.12);
  border: 1px solid rgba(230,211,176,.35);
  color: var(--foam);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.92rem;
  font-weight: 600;
}
.season-pill::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #8fd4a8;
  box-shadow: 0 0 0 4px rgba(143,212,168,.2);
}

/* Wave divider */
.wave {
  display: block;
  width: 100%;
  height: 4rem;
  color: var(--paper);
  margin-top: -1px;
}
.wave-on-deep { color: var(--paper); background: var(--deep); }
.wave-on-paper { color: var(--white); }

/* Sections */
.section { padding: 4.5rem 0; }
.section-tight { padding: 3.2rem 0; }
.section-deep { background: var(--deep); color: var(--foam); }
.section-deep h2, .section-deep h3 { color: #fff; }
.section-deep .eyebrow { color: var(--sand); }
.section-deep .lead, .section-deep .muted { color: rgba(246,241,230,.78); }
.section-foam { background: var(--white); }
.section-sand { background: #f1e6d0; }
.section-head { max-width: 40rem; margin-bottom: 2.4rem; }

.grid-3, .grid-2, .grid-4 {
  display: grid;
  gap: 1.25rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { min-height: calc(100svh - var(--header-h)); align-items: flex-end; }
  .hero h1 { max-width: none; }
  .hero-inner { padding: 3.5rem 0 2rem; }
}

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
}
.card-body { padding: 1.35rem 1.4rem 1.5rem; }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--muted); font-size: 1.02rem; }
.card-media {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--ocean);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.price {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  align-items: baseline;
  font-weight: 600;
  color: var(--deep);
}
.price .placeholder {
  color: var(--sunset);
  font-style: italic;
  font-weight: 600;
}
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ocean);
  background: #e8f0ee;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.65rem;
}

.icon-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.icon-list li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.85rem;
  align-items: start;
}
.icon-list .mark {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--deep);
  color: var(--sand);
  display: grid;
  place-items: center;
}
.icon-list .mark svg { width: 1.25rem; height: 1.25rem; }
.icon-list strong { display: block; color: var(--deep); font-weight: 700; }
.icon-list span { color: var(--muted); font-size: 1rem; }

/* Photo strip */
.photo-strip {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 0.7rem;
}
.photo-strip a, .photo-strip figure { margin: 0; position: relative; overflow: hidden; border-radius: 1rem; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.photo-strip a:first-child img, .photo-strip figure:first-child img { aspect-ratio: 4/5; }
@media (max-width: 700px) {
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip a:first-child, .photo-strip figure:first-child { grid-column: 1 / -1; }
  .photo-strip a:first-child img, .photo-strip figure:first-child img { aspect-ratio: 16/9; }
}

/* Gallery page */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.gallery-grid figure {
  margin: 0;
  background: var(--deep);
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform .5s ease;
}
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.2rem 0.85rem 0.7rem;
  background: linear-gradient(to top, rgba(11,42,56,.82), transparent);
  color: var(--foam);
  font-size: 0.82rem;
  line-height: 1.35;
}
.gallery-grid .tall img { aspect-ratio: 3/4; }
.gallery-grid .wide { grid-column: span 2; }
.gallery-grid .wide img { aspect-ratio: 16/8; }
@media (max-width: 800px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .wide { grid-column: span 2; }
}
@media (max-width: 520px) {
  .gallery-grid, .gallery-grid .wide { grid-template-columns: 1fr; }
  .gallery-grid .wide { grid-column: auto; }
  .gallery-grid .wide img { aspect-ratio: 16/10; }
}

/* FAQ */
.faq { display: grid; gap: 0.65rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.15rem 1.1rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--deep);
  padding: 0.95rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--sunset);
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 1rem; color: var(--muted); }

/* Forms */
form { display: grid; gap: 0.9rem; }
label { display: block; font-weight: 600; font-size: 0.95rem; color: var(--deep); margin-bottom: 0.3rem; }
input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #d5cbb8;
  border-radius: 0.7rem;
  padding: 0.7rem 0.85rem;
  appearance: none;
  background-image: none;
}
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ocean) 50%), linear-gradient(135deg, var(--ocean) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(44, 111, 99, 0.28);
  border-color: var(--sea);
  background: #fff;
}
textarea { min-height: 8rem; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-status {
  display: none;
  padding: 1rem 1.1rem;
  border-radius: 0.8rem;
  font-weight: 600;
}
.form-status.is-ok { display: block; background: #e5f3ec; color: #1a4a38; }
.form-status.is-err { display: block; background: #fde8e2; color: #7a2e1c; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Contact layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.6rem;
}
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.contact-list a { color: var(--deep); font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--sunset); }
.contact-list span { display: block; color: var(--muted); font-size: 0.92rem; font-weight: 500; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 22rem;
  background: #d9e2df;
}
.map-wrap iframe { width: 100%; height: 22rem; border: 0; display: block; }

.coming-soon {
  background: var(--foam);
  border: 1px dashed #c9b48a;
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
}
.coming-soon h3 { margin-bottom: 0.35rem; }
.coming-soon p { color: var(--muted); }

/* Hours box */
.hours {
  background: var(--deep);
  color: var(--foam);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.hours h3 { color: #fff; }
.hours p { color: rgba(246,241,230,.82); }
.hours strong { color: var(--sand); }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  min-height: 22rem;
  display: flex;
  align-items: flex-end;
  color: var(--foam);
  background: var(--deep) center/cover no-repeat;
  isolation: isolate;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,42,56,.82) 0%, rgba(11,42,56,.3) 100%);
}
.page-hero-inner {
  position: relative; z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 5.5rem 0 2.4rem;
}
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lead { color: rgba(246,241,230,.9); }

/* Footer */
.site-footer {
  background: var(--deep);
  color: rgba(246,241,230,.78);
  padding: 3rem 0 1.6rem;
  font-size: 0.98rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(246,241,230,.12);
}
.site-footer h3 { color: #fff; font-size: 1.35rem; }
.site-footer a { color: var(--sand); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; color: #fff; text-decoration: none; margin-bottom: 0.8rem; }
.footer-brand img { width: 2.4rem; height: 2.4rem; }
.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: #fff;
}
.legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  padding-top: 1.2rem;
  font-size: 0.88rem;
  color: rgba(246,241,230,.55);
}
.legal a { color: rgba(246,241,230,.7); }
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* CTA band */
.cta-band {
  position: relative;
  background: var(--deep) center/cover no-repeat;
  color: var(--foam);
  isolation: isolate;
  padding: 5rem 0;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,42,56,.82), rgba(11,42,56,.45));
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 16ch; }
.cta-band .lead { color: rgba(246,241,230,.9); }

/* Placeholder mark used in copy */
.ph {
  display: inline;
  color: var(--sunset);
  font-style: italic;
  font-weight: 600;
  background: rgba(210, 103, 58, 0.08);
  padding: 0 0.2em;
  border-radius: 0.2em;
}
