/* Shore Pools — draft site styles. Single stylesheet. */
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #172326;
  --ink-soft: #3d4c50;
  --muted: #5b6a6e;
  --paper: #f3efe6;
  --paper-2: #e8e2d6;
  --white: #fcfaf6;
  --teal: #2a5f5a;
  --teal-deep: #1c4542;
  --teal-soft: #d7e3e0;
  --sand: #c4a06a;
  --rule: rgba(23, 35, 38, 0.12);
  --rule-strong: rgba(23, 35, 38, 0.2);
  --shadow: 0 18px 50px rgba(23, 35, 38, 0.12);
  --radius: 22px;
  --header-h: 76px;
  --max: 1160px;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-sans: "Outfit", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--ink);
  color: var(--white);
  padding: 8px 14px;
  z-index: 100;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}
.wrap-wide {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 239, 230, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: grid;
  place-items: center;
}
.logo-mark svg { width: 20px; height: 20px; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo-text strong {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.01em;
}
.logo-text span {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--rule-strong);
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--teal); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 550;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 22px;
  transition: background 0.2s, color 0.2s, transform 0.15s, border-color 0.2s;
}
.btn:hover { color: var(--white); }
.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover { background: var(--teal-deep); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule-strong);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-light {
  background: var(--white);
  color: var(--teal-deep);
}
.btn-light:hover { background: var(--paper); color: var(--teal-deep); }
.header-cta { padding: 11px 18px; font-size: 13.5px; }
.header-phone {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 600 !important;
  color: var(--ink) !important;
  box-shadow: none !important;
}
.header-phone:hover { color: var(--teal-deep) !important; }
.phone-link {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}
.phone-link:hover { color: var(--teal-deep); }
.site-footer .phone-link:hover,
.site-footer a:hover { color: var(--white); }
.contact-points .phone-link {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.hero-contact {
  margin: 16px 0 0;
  font-size: 15px;
  color: var(--ink-soft);
}
.hero-contact a { font-weight: 600; }

/* Hero */
.hero {
  padding: 56px 0 24px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
h1, h2, h3, .serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.02em; }
h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 0.98;
  margin: 0 0 20px;
  color: var(--ink);
}
h1 em { font-style: italic; color: var(--teal-deep); }
.lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 36em;
  margin: 0 0 28px;
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo {
  position: relative;
}
.hero-photo img,
.framed img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}
.hero-photo img { height: min(640px, 72vh); }
.photo-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(252, 250, 246, 0.92);
  color: var(--ink-soft);
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

/* Sections */
section { padding: 84px 0; }
.section-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 10px;
}
h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  margin: 0 0 16px;
}
.section-intro {
  color: var(--ink-soft);
  max-width: 38em;
  margin: 0 0 44px;
  font-size: 18px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 44px;
}
.section-head .section-intro { margin: 0; }

/* Services */
#services { padding-top: 72px; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.service-card {
  grid-column: span 2;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 28px 26px 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.service-card:nth-child(4),
.service-card:nth-child(5) { grid-column: span 3; }
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
  color: inherit;
}
.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 {
  font-size: 28px;
  margin: 0 0 10px;
  line-height: 1.15;
}
.service-card p {
  color: var(--ink-soft);
  margin: 0 0 18px;
  flex: 1;
  font-size: 15.5px;
}
.more {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.02em;
}

/* Why */
.why {
  background: var(--white);
  border-block: 1px solid var(--rule);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-photo img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.why-list { display: grid; gap: 22px; margin-top: 28px; }
.why-item h3 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 6px;
}
.why-item p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.creds {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.creds-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.creds-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.creds-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.reviews-note {
  margin: 16px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}
.placeholder-note {
  margin-top: 32px;
  padding: 16px 18px;
  border: 1px dashed var(--rule-strong);
  border-radius: 14px;
  color: var(--muted);
  font-size: 14px;
  background: var(--paper);
}
.ph {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92em;
  color: var(--teal-deep);
  background: #efe4c8;
  border: 1px dashed #b8964e;
  border-radius: 6px;
  padding: 1px 7px;
  letter-spacing: 0.02em;
}

/* Area */
.town-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.town {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 26px 24px;
}
.town h3 {
  font-size: 28px;
  margin: 0 0 8px;
}
.town p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.area-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  padding: 8px 8px 0 0;
}
.step-num {
  font-family: var(--font-serif);
  font-size: 42px;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 14px;
}
.step h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0;
  margin: 0 0 8px;
}
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* Winter Watch band */
.watch {
  padding: 0 0 84px;
}
.watch-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--teal-deep);
  color: var(--white);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 420px;
}
.watch-copy {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.watch-copy .section-kicker { color: #d7c39a; }
.watch-copy h2 { color: var(--white); }
.watch-copy p { color: rgba(252, 250, 246, 0.84); font-size: 17px; max-width: 36em; }
.watch-copy .btn { margin-top: 22px; align-self: flex-start; }
.watch-visual {
  position: relative;
  min-height: 280px;
}
.watch-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
}
.watch-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--teal-deep) 0%, rgba(28, 69, 66, 0.15) 40%, transparent 70%);
}

/* Quote + contact */
#quote, #contact { scroll-margin-top: 90px; }
.contact-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 15.5px;
}
.hours-table th, .hours-table td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 400;
}
.hours-table th { font-weight: 500; width: 46%; }
.contact-points { display: grid; gap: 14px; margin: 24px 0; }
.contact-points div { font-size: 16px; }
.contact-points .label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 24px;
  padding: 32px 32px 28px;
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: 36px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 15.5px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42, 95, 90, 0.18);
  background: var(--white);
}
.form-note {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}
.form-card .btn { margin-top: 18px; }
.form-success {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: 14.5px;
}
.form-success.show { display: block; }

/* Page hero (inner) */
.page-hero {
  padding: 56px 0 20px;
}
.page-hero h1 { font-size: clamp(40px, 5vw, 62px); max-width: 14ch; }
.crumb {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 18px;
}
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--ink); }
.page-body { padding: 20px 0 80px; }
.prose {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}
.prose .copy p { color: var(--ink-soft); font-size: 17.5px; }
.include {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 28px;
  position: sticky;
  top: 100px;
}
.include h2 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.include ul { margin: 0; padding: 0; list-style: none; }
.include li {
  padding: 10px 0 10px 22px;
  position: relative;
  color: var(--ink-soft);
  font-size: 15px;
  border-bottom: 1px solid var(--rule);
}
.include li:last-child { border-bottom: 0; }
.include li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}
.faq { margin-top: 56px; }
.faq h2 { margin-bottom: 18px; }
details {
  border-top: 1px solid var(--rule);
  padding: 16px 0;
}
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  font-weight: 400;
  font-size: 22px;
  color: var(--teal);
}
details[open] summary::after { content: "–"; }
details p { color: var(--ink-soft); margin: 10px 0 4px; max-width: 42em; }
.page-cta {
  margin-top: 48px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(252, 250, 246, 0.82);
  padding: 56px 0 28px;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.site-footer a { color: rgba(252, 250, 246, 0.82); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer h3 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d7c39a;
  margin: 0 0 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.footer-brand .logo { color: var(--white); margin-bottom: 12px; }
.footer-brand .logo-text span { color: rgba(252, 250, 246, 0.55); }
.footer-bottom {
  border-top: 1px solid rgba(252, 250, 246, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(252, 250, 246, 0.5);
  font-size: 12.5px;
}

@media (max-width: 980px) {
  .hero-grid,
  .why-grid,
  .watch-band,
  .contact-split,
  .prose,
  .footer-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: start; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) { grid-column: span 1; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px; }
  .town-grid { grid-template-columns: 1fr 1fr; }
  .hero-photo img { height: 420px; }
  .why-photo img { height: 380px; }
  .watch-visual { min-height: 240px; }
  .watch-visual::after {
    background: linear-gradient(180deg, var(--teal-deep) 0%, rgba(28, 69, 66, 0.1) 35%, transparent 70%);
  }
  .watch-copy { padding: 40px 28px 28px; }
  .include { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1100px) {
  .nav { gap: 16px; }
  .nav a { font-size: 13.5px; }
}
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 0;
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--rule);
    font-size: 15px;
  }
  .nav .btn { margin-top: 14px; width: 100%; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 0;
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--rule);
  }
  .nav .btn { margin-top: 14px; width: 100%; }
  .header-inner { width: min(var(--max), calc(100% - 28px)); }
  .wrap, .wrap-wide { width: min(var(--max), calc(100% - 28px)); }
  .hero { padding-top: 32px; }
  h1 { font-size: clamp(36px, 11vw, 52px); }
  section { padding: 64px 0; }
  .service-grid,
  .steps,
  .town-grid,
  .form-grid,
  .footer-grid,
  .creds-list { grid-template-columns: 1fr; }
  .hero-photo img { height: 300px; }
  .form-card { padding: 22px 18px; }
  .photo-caption { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service-card { transition: none; }
}
