/* ==========================================================================
   Tides Coaching - tidescoaching.co.uk
   Executive coaching for the founders, leaders and operators of growing UK businesses
   --------------------------------------------------------------------------
   Palette: Coastal, Deep harbour blue, tide, sand, foam
   Editorial, restorative, considered. Quiet premium, not corporate.
   ========================================================================== */

:root {
  --deep:           #0F2A35;
  --deep-bright:    #163E4E;
  --tide:           #4A8090;
  --tide-pale:      #A8C5CE;
  --sand:           #EFE8DC;
  --sand-warm:      #E2D5BD;
  --foam:           #F8F4ED;
  --rule:           #C4B89F;
  --rule-soft:      #D9CFB8;
  --ink:            #0F2A35;
  --ink-soft:       #4F5F66;
  --ink-mute:       #788890;
  --white:          #FFFFFF;

  --radius: 2px;
  --radius-lg: 6px;
  --shadow-sm: 0 1px 2px rgba(15,42,53,0.05), 0 2px 6px rgba(15,42,53,0.03);
  --shadow-md: 0 4px 14px rgba(15,42,53,0.06), 0 12px 28px rgba(15,42,53,0.05);

  --font-serif: 'Spectral', 'Lora', Georgia, serif;
  --font-sans:  'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--foam);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--deep-bright); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--tide); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--deep);
  font-weight: 500;
  line-height: 1.22;
  margin: 0 0 .65em;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 500; }
h3 { font-size: 1.24rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { margin: 0 0 1.05em; color: var(--ink-soft); }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--tide);
  margin-bottom: 1.1rem;
}
.eyebrow.on-dark { color: var(--tide-pale); }

.section-title {
  text-align: center;
  margin-bottom: 3.4rem;
}
.section-title h2 { margin-bottom: .7rem; }
.section-title p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.04rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* Tide ornament - horizontal wave rule */
.tide-rule {
  display: block;
  width: 64px;
  height: 8px;
  margin: 0 auto 1.6rem;
  color: var(--tide);
}
.tide-rule svg { width: 100%; height: 100%; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: all .25s ease;
  cursor: pointer;
  text-align: center;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--deep);
  color: var(--foam);
  border-color: var(--deep);
}
.btn-primary:hover { background: var(--deep-bright); border-color: var(--deep-bright); color: var(--foam); }
.btn-outline {
  background: transparent;
  color: var(--deep);
  border-color: var(--deep);
}
.btn-outline:hover { background: var(--deep); color: var(--foam); }
.btn-outline.on-dark { color: var(--foam); border-color: rgba(248,244,237,0.5); }
.btn-outline.on-dark:hover { background: var(--foam); color: var(--deep); border-color: var(--foam); }
.btn-large { padding: 16px 34px; font-size: 0.98rem; }

/* Topbar */
.topbar {
  background: var(--deep);
  color: var(--foam);
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(248,244,237,0.06);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  gap: 24px;
}
.topbar-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.04em;
  color: rgba(248,244,237,0.86);
}
.topbar-tagline svg { width: 16px; height: 16px; color: var(--tide-pale); }
.topbar-meta {
  display: inline-flex;
  align-items: center;
  gap: 22px;
}
.topbar-meta span,
.topbar-meta a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(248,244,237,0.9);
}
.topbar-meta a:hover { color: var(--tide-pale); }
.topbar-meta svg { width: 14px; height: 14px; color: var(--tide-pale); }

/* Nav */
.nav {
  background: var(--foam);
  border-bottom: 1px solid var(--rule-soft);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--deep);
}
.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--deep);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--deep);
  letter-spacing: 0;
}
.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  color: var(--deep);
  font-weight: 500;
  font-size: 0.94rem;
  padding: 8px 2px;
  position: relative;
}
.nav-menu a.active,
.nav-menu a:hover { color: var(--tide); }
.nav-menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--tide);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--deep);
}
.hamburger svg { width: 22px; height: 22px; }

/* Mobile drawer */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(15,42,53,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 90;
}
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(320px, 86vw);
  background: var(--foam);
  padding: 32px 28px;
  transform: translateX(110%);
  transition: transform .3s ease;
  z-index: 100;
  display: flex;
  flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-close {
  align-self: flex-end;
  color: var(--deep);
  margin-bottom: 14px;
}
.drawer-close svg { width: 22px; height: 22px; }
.drawer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer ul a {
  display: block;
  padding: 14px 6px;
  color: var(--deep);
  font-weight: 500;
  font-size: 1rem;
  border-bottom: 1px solid var(--rule-soft);
}
.drawer-cta { width: 100%; margin-bottom: 28px; }
.drawer-meta {
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* Hero - sand background with horizon line motif */
.hero {
  position: relative;
  background: var(--sand);
  color: var(--deep);
  padding: 120px 0 130px;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.hero::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(180deg, transparent 0%, rgba(168,197,206,0.18) 100%);
  pointer-events: none;
}
.hero-horizon {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 220px;
  pointer-events: none;
  opacity: 0.55;
}
.hero-horizon svg {
  width: 100%;
  height: 100%;
  color: var(--tide);
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero h1 {
  color: var(--deep);
  margin-bottom: 1.3rem;
  font-weight: 500;
  line-height: 1.18;
}
.hero h1 .accent { color: var(--tide); font-style: italic; font-weight: 500; }
.hero-lead {
  color: var(--ink-soft);
  font-size: 1.14rem;
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 620px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 2.6rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-size: 0.88rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-meta svg { width: 16px; height: 16px; color: var(--tide); }

/* Sections */
.section-foam  { background: var(--foam); padding: 100px 0; }
.section-sand  { background: var(--sand); padding: 100px 0; }
.section-sand-warm { background: var(--sand-warm); padding: 100px 0; }
.section-deep  { background: var(--deep); color: var(--foam); padding: 100px 0; }
.section-deep h2, .section-deep h3 { color: var(--foam); }
.section-deep p { color: rgba(248,244,237,0.78); }
.section-deep .eyebrow { color: var(--tide-pale); }

/* Trust strip */
.trust {
  background: var(--foam);
  padding: 48px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}
.trust-item .label {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.16rem;
  color: var(--deep);
  font-weight: 600;
  margin-bottom: 4px;
  font-style: italic;
}
.trust-item .desc {
  display: block;
  font-size: 0.84rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

/* Services grid - vertical thin rule on left, not a top border */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--foam);
  border-left: 1px solid var(--rule);
  padding: 8px 8px 8px 30px;
  transition: all .25s ease;
  position: relative;
}
.service-card::before {
  content: "";
  position: absolute;
  left: -1px; top: 0; bottom: 0;
  width: 2px;
  background: var(--tide);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s ease;
}
.service-card:hover::before { transform: scaleY(1); }
.service-card:hover { padding-left: 34px; }
.service-num {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--tide);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.service-card h3 { margin-bottom: 12px; font-family: var(--font-serif); font-weight: 600; font-size: 1.34rem; }
.service-card p { font-size: 0.97rem; margin-bottom: 16px; line-height: 1.75; }
.service-card .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-card .chips li {
  font-size: 0.76rem;
  background: transparent;
  color: var(--ink-mute);
  padding: 3px 0;
  border: 0;
  position: relative;
  letter-spacing: 0.04em;
}
.service-card .chips li:not(:last-child)::after {
  content: "·";
  margin: 0 8px;
  color: var(--rule);
}

/* Engagement formats / shapes */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}
.format {
  background: var(--foam);
  padding: 34px 30px;
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-lg);
  position: relative;
}
.format .duration {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.94rem;
  color: var(--tide);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  font-style: italic;
}
.format h3 { margin-bottom: 10px; font-size: 1.2rem; font-family: var(--font-serif); font-weight: 600; }
.format p { margin: 0; font-size: 0.94rem; line-height: 1.72; }

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  position: relative;
}
.process-step {
  position: relative;
  padding: 30px 26px 28px;
  background: var(--foam);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-lg);
}
.process-num {
  font-family: var(--font-serif);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--tide);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.process-step h3 { margin-bottom: 10px; font-family: var(--font-serif); font-weight: 600; font-size: 1.2rem; }
.process-step p { font-size: 0.93rem; margin: 0; line-height: 1.72; }

/* Pull quote */
.pull-quote {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.5;
  color: var(--deep);
}
.pull-quote::before {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: var(--tide);
  margin: 0 auto 1.6rem;
}
.pull-quote cite {
  display: block;
  margin-top: 1.6rem;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tide);
  font-weight: 500;
}

/* FAQ */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.faq {
  background: transparent;
  border-bottom: 1px solid var(--rule-soft);
  margin-bottom: 0;
  overflow: hidden;
}
.faq:first-child { border-top: 1px solid var(--rule-soft); }
.faq summary {
  padding: 26px 60px 26px 6px;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--deep);
  cursor: pointer;
  list-style: none;
  position: relative;
  font-family: var(--font-serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-right: 1px solid var(--tide);
  border-bottom: 1px solid var(--tide);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s ease;
}
.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-body {
  padding: 0 6px 26px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.78;
}
.faq-body p { margin: 0; }

/* Engagement shapes (3 shapes) */
.shapes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.shape {
  padding: 38px 32px;
  border-left: 1px solid var(--rule-soft);
}
.shape:first-child { border-left: 0; }
.shape .shape-len {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--tide);
  font-size: 0.94rem;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  display: block;
}
.shape h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.2rem; margin-bottom: 10px; }
.shape p { font-size: 0.94rem; margin: 0; line-height: 1.7; }

/* Page hero (interior) */
.page-hero {
  background: var(--sand);
  color: var(--deep);
  padding: 96px 0 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, transparent 0%, rgba(168,197,206,0.18) 100%);
  pointer-events: none;
}
.page-hero h1 { color: var(--deep); margin-bottom: 1rem; }
.page-hero h1 .accent { color: var(--tide); font-style: italic; }
.page-hero p {
  color: var(--ink-soft);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.75;
}

/* Prose (about / detailed pages) */
.prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.04rem;
  line-height: 1.85;
}
.prose h2 {
  margin-top: 2.6rem;
  font-style: italic;
  font-weight: 500;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  margin-top: 1.8rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
}
.prose p { color: var(--ink-soft); }
.prose ul { color: var(--ink-soft); padding-left: 22px; margin-bottom: 1.4rem; }
.prose ul li { margin-bottom: 0.6rem; line-height: 1.75; }
.prose strong { color: var(--deep); font-weight: 600; }
.prose .prose-rule {
  width: 56px; height: 8px; color: var(--tide); margin: 2.4rem 0;
}

/* Service detail (services page) */
.service-detail {
  border-top: 1px solid var(--rule-soft);
  padding: 44px 0;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}
.service-detail:last-child { border-bottom: 1px solid var(--rule-soft); }
.service-detail .label {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--tide);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.service-detail .label .num {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--deep);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0;
  text-transform: none;
}
.service-detail h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.6rem;
  margin: 0 0 1rem;
  line-height: 1.25;
}
.service-detail p { color: var(--ink-soft); line-height: 1.78; margin-bottom: 1rem; }
.service-detail .meta {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.86rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.service-detail .meta strong {
  display: block;
  color: var(--deep);
  font-family: var(--font-serif);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 2px;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.96rem;
}

/* Who this is for / who it isn't */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.fit-card {
  padding: 32px 28px;
  background: var(--foam);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-lg);
}
.fit-card h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-style: italic;
}
.fit-card ul { list-style: none; padding: 0; margin: 0; }
.fit-card li {
  position: relative;
  padding: 10px 0 10px 24px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule-soft);
  font-size: 0.96rem;
  line-height: 1.6;
}
.fit-card li:last-child { border-bottom: 0; }
.fit-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 12px;
  height: 1px;
  background: var(--tide);
}
.fit-card.no li::before { background: var(--ink-mute); }

/* CTA banner */
.cta-banner {
  background: var(--deep);
  color: var(--foam);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 800px;
  height: 800px;
  border: 1px solid rgba(168,197,206,0.08);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}
.cta-banner::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1100px;
  height: 1100px;
  border: 1px solid rgba(168,197,206,0.05);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}
.cta-banner > .container { position: relative; z-index: 2; }
.cta-banner h2 {
  color: var(--foam);
  max-width: 720px;
  margin: 0 auto 1rem;
  font-weight: 500;
}
.cta-banner p {
  color: rgba(248,244,237,0.8);
  max-width: 620px;
  margin: 0 auto 2rem;
  font-size: 1.04rem;
}
.cta-banner .hero-actions { justify-content: center; margin: 0; }

/* Contact wrap */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1.2rem; }
.contact-info p { font-size: 1.02rem; margin-bottom: 1.6rem; line-height: 1.78; }
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row svg { width: 20px; height: 20px; color: var(--tide); flex-shrink: 0; margin-top: 4px; }
.contact-row strong {
  display: block;
  color: var(--deep);
  font-weight: 600;
  margin-bottom: 2px;
  font-family: var(--font-serif);
  font-size: 1.02rem;
}
.contact-row span { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }
.form-card {
  background: var(--foam);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--rule-soft);
  box-shadow: var(--shadow-sm);
}
.form-card iframe {
  width: 100%;
  border: 0;
  min-height: 770px;
  display: block;
}

.chemistry-note {
  margin-top: 28px;
  padding: 22px 24px;
  border-left: 2px solid var(--tide);
  background: var(--sand);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--deep);
  line-height: 1.7;
}

/* Footer */
.footer {
  background: var(--deep);
  color: rgba(248,244,237,0.72);
  padding: 70px 0 30px;
}
.footer h4 {
  color: var(--foam);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: var(--font-sans);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer .brand .brand-name,
.footer .brand .brand-sub { color: var(--foam); }
.footer .brand .brand-sub { color: rgba(248,244,237,0.55); }
.footer .brand .brand-mark { background: transparent; color: var(--foam); border-color: rgba(248,244,237,0.3); }
.footer p { color: rgba(248,244,237,0.65); font-size: 0.93rem; margin: 14px 0; line-height: 1.75; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: rgba(248,244,237,0.72); font-size: 0.92rem; }
.footer ul a:hover { color: var(--tide-pale); }
.footer-meta {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(248,244,237,0.7);
}
.footer-meta-row svg { width: 16px; height: 16px; color: var(--tide-pale); }
.footer-bottom {
  border-top: 1px solid rgba(248,244,237,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(248,244,237,0.5);
}

/* Responsive */
@media (max-width: 940px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 36px; }
  .service-detail { grid-template-columns: 1fr; gap: 16px; }
  .shapes-grid { grid-template-columns: 1fr; }
  .shape { border-left: 0; border-top: 1px solid var(--rule-soft); }
  .shape:first-child { border-top: 0; }
  .fit-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 780px) {
  .topbar-tagline { display: none; }
  .nav-menu { display: none; }
  .hamburger { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .hero { padding: 86px 0 100px; }
  .section-foam, .section-sand, .section-sand-warm, .section-deep { padding: 72px 0; }
  .page-hero { padding: 72px 0 72px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-meta { gap: 14px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; }
  .brand-sub { display: none; }
}
