/* ==========================================================================
   BAYHAVEN.BUZZ  |  DRISDA SOLUTION LIMITED
   Light warm sand-cream theme with sunset-coral accents
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --sand: #FAF4ED;
  --ink: #2B2320;
  --coral: #DE5F4F;
  --coral-deep: #C74A3C;
  --peach: #F3D9CF;
  --sandpanel: #EADFCD;
  --line: #E7D9C8;
  --coral-soft: #EFB3AA;
  --white: #FFFFFF;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  background-color: var(--sand);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--coral);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--coral-deep);
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  line-height: 1.16;
  color: var(--ink);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Reveal animation — safe without JS */
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* Buttons */
.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 14px 28px;
  border: 2px solid var(--coral);
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background-color: var(--coral);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--coral-deep);
  border-color: var(--coral-deep);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--coral);
}

.btn-outline:hover {
  background-color: var(--peach);
  color: var(--coral-deep);
}

/* ==========================================================================
   TIDE NAV  — slim sticky top strip
   ========================================================================== */

.tide-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--sand);
  border-bottom: 2px solid var(--coral);
  transition: box-shadow 0.2s ease;
}

.tide-nav.scrolled {
  box-shadow: 0 6px 16px rgba(222, 95, 79, 0.18);
}

.tide-nav .container {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 0;
  min-height: 74px;
}

.tide-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
}

.tide-mark {
  width: 30px;
  height: 30px;
  background-color: var(--coral);
  flex: 0 0 auto;
}

.tide-word {
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ink);
  line-height: 1;
}

.tide-cap {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--coral);
}

.tide-links {
  list-style: none;
  display: flex;
  gap: 4px;
}

.tide-links a {
  display: block;
  position: relative;
  padding: 12px 12px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink);
}

.tide-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background-color: var(--coral-soft);
  transition: width 0.25s ease, background-color 0.25s ease;
}

.tide-links a:hover {
  color: var(--coral);
}

.tide-links a:hover::after {
  width: 32px;
  background-color: var(--coral);
}

.tide-links .active {
  color: var(--coral);
}

.tide-links .active::after {
  width: 36px;
  background-color: var(--coral);
}

.tide-burger {
  display: none;
  margin-bottom: 8px;
  width: 46px;
  height: 46px;
  background: none;
  border: 2px solid var(--coral);
  border-radius: 2px;
  color: var(--coral);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* ==========================================================================
   BAY HERO  — left aligned, full width band, sunset graphic below
   ========================================================================== */

.bay-hero {
  background-color: var(--sand);
  padding: 84px 0 0;
}

.hero-eyebrow {
  display: inline-block;
  background-color: var(--coral);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 2px;
  margin-bottom: 26px;
}

.hero-title {
  font-size: 58px;
  letter-spacing: -0.5px;
  max-width: 860px;
}

.hero-title .coral-word {
  color: var(--coral);
}

.hero-sub {
  font-size: 18px;
  max-width: 660px;
  margin: 24px 0 32px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Bay at sunset graphic */
.bay-at-sunset {
  margin-top: 64px;
}

.bay-graphic {
  position: relative;
  height: 150px;
  width: 100%;
  overflow: hidden;
}

.bay-graphic .sun {
  position: absolute;
  right: 26%;
  bottom: 72px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--coral);
}

.bay-graphic .horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 64px;
  height: 2px;
  background-color: var(--coral);
}

.bay-graphic .wave {
  position: absolute;
  height: 2px;
  border-radius: 2px;
  background-color: var(--coral);
}

.bay-graphic .wave-1 {
  left: 14%;
  bottom: 48px;
  width: 46px;
}

.bay-graphic .wave-2 {
  left: 28%;
  bottom: 30px;
  width: 64px;
}

.bay-graphic .lighthouse {
  position: absolute;
  left: 7%;
  bottom: 64px;
  width: 16px;
  height: 46px;
  background-color: var(--ink);
}

.bay-graphic .lighthouse::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--coral);
}

/* ==========================================================================
   SECTION SHARED ELEMENTS
   ========================================================================== */

.section-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 10px;
}

.section-title {
  font-size: 38px;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 17px;
  max-width: 760px;
}

/* ==========================================================================
   BAY ROWS  — full width rows with hairline separators
   ========================================================================== */

.bay-rows {
  padding: 90px 0 34px;
  background-color: var(--sand);
}

.bay-rows .section-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.bay-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--coral);
}

.bay-row:last-child {
  border-bottom: 1px solid var(--coral);
}

.wave-dash {
  width: 36px;
  height: 22px;
  position: relative;
  justify-self: center;
}

.wave-dash::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background-color: var(--coral);
}

.wave-dash::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 9px;
  width: 27px;
  height: 2px;
  background-color: var(--coral);
}

.bay-row-title {
  font-size: 27px;
  margin-bottom: 8px;
}

.bay-row p {
  max-width: 720px;
}

.bay-chip {
  background-color: var(--coral);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 2px;
  white-space: nowrap;
}

/* ==========================================================================
   HARBOR LIST  — compact two column list of short items
   ========================================================================== */

.harbor-list {
  padding: 76px 0;
  background-color: var(--peach);
}

.harbor-list .section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.harbor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 56px;
}

.harbor-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid #E9C4BA;
}

.harbor-dot {
  width: 10px;
  height: 10px;
  background-color: var(--coral);
  margin-top: 10px;
  flex: 0 0 auto;
}

.harbor-name {
  font-weight: 700;
  font-size: 16px;
}

.harbor-item p {
  font-size: 14px;
  margin-top: 2px;
}

/* ==========================================================================
   UPDATES LIST  — compact news style rows
   ========================================================================== */

.updates-list {
  padding: 88px 0;
  background-color: var(--sand);
}

.updates-list .section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.update-row {
  display: grid;
  grid-template-columns: 20px 96px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.update-row .harbor-dot {
  margin-top: 10px;
}

.update-date {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--coral);
}

.update-title {
  font-weight: 700;
  font-size: 17px;
}

.update-row p {
  font-size: 14px;
  margin-top: 2px;
}

/* ==========================================================================
   CTA BAND
   ========================================================================== */

.cta-band {
  background-color: var(--sandpanel);
  padding: 84px 0;
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: 34px;
  margin-bottom: 14px;
}

.cta-inner p {
  margin-bottom: 28px;
}

/* ==========================================================================
   SHORE FOOTER
   ========================================================================== */

.shore-footer {
  background-color: var(--sand);
  border-top: 2px solid var(--coral);
  padding: 52px 0 26px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 30px;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink);
}

.footer-links a:hover {
  color: var(--coral);
}

.footer-contact {
  font-size: 14px;
  color: var(--ink);
}

.footer-contact a {
  color: var(--coral);
}

.footer-legal {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.footer-sun {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--coral);
}

.footer-legal .legal-line {
  font-size: 12px;
  text-align: center;
}

.footer-legal .legal-line a {
  color: var(--coral);
}

/* ==========================================================================
   SECONDARY PAGES  — services & contact
   ========================================================================== */

.page-hero {
  background-color: var(--sand);
  padding: 76px 0 56px;
  border-bottom: 2px solid var(--coral);
}

.page-title {
  font-size: 48px;
  margin-bottom: 18px;
  max-width: 840px;
}

.page-intro {
  font-size: 18px;
  max-width: 780px;
}

/* Services page */
.service-block {
  padding: 58px 0;
  border-top: 1px solid var(--coral);
  background-color: var(--sand);
}

.service-block:first-of-type {
  margin-top: 56px;
}

.service-num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2.4px;
  color: var(--coral);
  text-transform: uppercase;
}

.service-title {
  font-size: 29px;
  margin: 10px 0 14px;
}

.service-block p {
  max-width: 820px;
  margin-bottom: 14px;
}

.service-block p:last-child {
  margin-bottom: 0;
}

.process-section {
  background-color: var(--peach);
  padding: 80px 0;
}

.step {
  position: relative;
  padding: 20px 0 20px 72px;
  border-bottom: 1px solid #E9C4BA;
}

.step:first-child {
  border-top: 1px solid #E9C4BA;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  left: 0;
  top: 20px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--coral);
}

.process-list {
  counter-reset: step;
  max-width: 820px;
}

.step-title {
  font-size: 21px;
  margin-bottom: 6px;
}

.stat-strip {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 44px;
}

.stat {
  flex: 1 1 180px;
  background-color: var(--sand);
  padding: 26px 22px;
  text-align: center;
  border-radius: 2px;
  border: 1px solid #E9C4BA;
}

.stat b {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--coral);
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
  padding: 64px 0 84px;
  background-color: var(--sand);
}

.contact-form {
  background-color: var(--sandpanel);
  padding: 38px;
  border-radius: 2px;
  border: 1px solid var(--line);
}

.form-title {
  font-size: 24px;
  margin-bottom: 8px;
}

.form-note {
  font-size: 14px;
  margin-bottom: 22px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 2px solid var(--line);
  background-color: var(--white);
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  border-radius: 2px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--coral);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  font-size: 14px;
  font-weight: 700;
  color: var(--coral-deep);
  margin-bottom: 14px;
  min-height: 20px;
}

.contact-info {
  background-color: var(--peach);
  padding: 36px;
  border-radius: 2px;
  border: 1px solid #E9C4BA;
}

.contact-info h3 {
  font-size: 21px;
  margin-bottom: 14px;
}

.contact-info p {
  font-size: 15px;
  margin-bottom: 12px;
}

.contact-info .info-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 2px;
}

.contact-info a {
  color: var(--coral);
  font-weight: 600;
}

.faq-section {
  background-color: var(--peach);
  padding: 76px 0 84px;
  border-top: 2px solid var(--coral);
}

.faq-list {
  max-width: 760px;
  margin-top: 30px;
}

.faq-item {
  border-bottom: 1px solid #E9C4BA;
}

.faq-item:first-child {
  border-top: 1px solid #E9C4BA;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-q::after {
  content: "+";
  color: var(--coral);
  font-size: 24px;
  font-weight: 700;
  flex: 0 0 auto;
}

.faq-item.open .faq-q::after {
  content: "\2212";
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a p {
  padding: 0 0 20px;
  font-size: 15px;
  max-width: 700px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {
  .tide-nav .container {
    align-items: center;
  }

  .tide-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background-color: var(--sandpanel);
    border-bottom: 2px solid var(--coral);
    padding: 6px 0 14px;
  }

  .tide-links.open {
    display: flex;
  }

  .tide-links a {
    padding: 13px 24px;
    border-bottom: 1px solid var(--line);
  }

  .tide-links a:last-child {
    border-bottom: none;
  }

  .tide-links a::after {
    display: none;
  }

  .tide-burger {
    display: block;
  }

  .hero-title {
    font-size: 42px;
  }

  .bay-row {
    grid-template-columns: 40px 1fr;
    gap: 16px 18px;
  }

  .bay-chip {
    grid-column: 2;
    justify-self: start;
  }

  .wave-dash {
    grid-row: 1 / span 2;
  }

  .harbor-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .update-row {
    grid-template-columns: 20px 84px 1fr;
    gap: 14px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 560px) {
  .hero-title {
    font-size: 34px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .section-title {
    font-size: 30px;
  }

  .bay-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wave-dash {
    display: none;
  }

  .bay-chip {
    grid-column: 1;
  }

  .update-row {
    grid-template-columns: 14px 1fr;
    gap: 12px;
  }

  .update-date {
    grid-column: 2;
  }

  .update-title {
    grid-column: 2;
  }

  .update-row p {
    grid-column: 2;
  }

  .update-row .harbor-dot {
    grid-column: 1;
    grid-row: 1;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .footer-legal {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 10px;
  }

  .footer-legal .legal-line {
    text-align: left;
    order: 2;
  }

  .footer-sun {
    order: 1;
  }

  .page-title {
    font-size: 36px;
  }

  .contact-form,
  .contact-info {
    padding: 26px 22px;
  }

  .step {
    padding-left: 52px;
  }

  .stat-strip {
    flex-direction: column;
  }
}
