/* Long Bay Consulting website, Tideline brand */
@font-face { font-family: "DM Serif Display"; src: url("fonts/dm-serif-display.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --teal: #0E5E5A;
  --teal-deep: #0A4744;
  --charcoal: #1F2A2E;
  --brass: #B88A44;
  --sand: #D9B77A;
  --ivory: #F8F6F2;
  --stone: #ECE7DE;
  --sea: #8FB3AF;
  --line: #E2DDD4;
  --muted: #5E676B;
  --white: #FFFFFF;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", Calibri, "Segoe UI", Arial, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--teal); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.1em; }
.lead { font-size: 1.22rem; color: var(--charcoal); }
.muted { color: var(--muted); }
.eyebrow {
  font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brass); margin: 0 0 1rem;
}

/* Header */
.site-header { background: var(--ivory); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.brand img { height: 84px; width: auto; margin: -6px 0; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--charcoal); text-decoration: none; font-size: .95rem; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--teal); }
.nav a[aria-current="page"] { color: var(--teal); border-bottom-color: var(--brass); }
.nav a.btn { color: var(--white); border-bottom: 0; padding: 10px 20px; }
.menu-toggle { display: none; }

@media (max-width: 860px) {
  .site-header .wrap { min-height: 72px; position: relative; }
  .brand img { height: 60px; }
  .menu-toggle {
    display: inline-flex; align-items: center; cursor: pointer; font: inherit;
    font-weight: 700; font-size: .95rem; color: var(--teal); padding: 10px 18px;
    border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  }
  .nav { display: none; }
  .menu-open .nav {
    display: flex; position: absolute; right: 24px; top: calc(100% + 8px); flex-direction: column; align-items: stretch;
    gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: 14px;
    padding: 10px; min-width: 230px; box-shadow: 0 16px 40px rgba(31,42,46,.12);
  }
  .menu-open .nav a { padding: 12px 14px; border-bottom: 0; border-radius: 8px; }
  .menu-open .nav a[aria-current="page"] { background: var(--stone); }
  .menu-open .nav a.btn { margin-top: 6px; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-block; background: var(--teal); color: var(--white); text-decoration: none;
  font-weight: 700; font-size: 1rem; padding: 14px 28px; border-radius: 999px; transition: background .2s;
}
.btn:hover { background: var(--teal-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); }
.btn-ghost:hover { background: var(--teal); color: var(--white); }
.btn-sand { background: var(--sand); color: var(--charcoal); }
.btn-sand:hover { background: #E6C78F; color: var(--charcoal); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }

/* Hero */
.hero { padding: 96px 0 0; position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 16ch; }
.hero .lead { max-width: 40ch; }
.tideline { width: 100%; height: 120px; margin-top: 72px; }
.page-hero { padding: 80px 0 0; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 52ch; }
.page-hero .tideline { margin-top: 48px; height: 90px; }

/* Sections */
section { padding: 88px 0; }
.band-stone { background: var(--stone); }
.band-white { background: var(--white); }
.band-teal { background: var(--teal); color: var(--ivory); }
.band-teal h2, .band-teal h3 { color: var(--ivory); }
.band-teal .eyebrow { color: var(--sand); }
.band-teal a:not(.btn) { color: var(--sand); }
.flush-top { padding-top: 0; }

.belief { text-align: center; }
.belief blockquote {
  font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.25;
  color: var(--teal); margin: 0 auto; max-width: 22ch;
}
.belief .rule { width: 64px; height: 2px; background: var(--brass); margin: 28px auto 0; border: 0; }

.grid { display: grid; gap: 28px; }
.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: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.band-white .card { background: var(--ivory); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .q { font-family: var(--serif); font-size: 1.2rem; color: var(--charcoal); margin-bottom: .7em; }
.letter {
  width: 48px; height: 48px; border-radius: 50%; background: var(--teal); color: var(--ivory);
  font-family: var(--serif); font-size: 1.5rem; display: grid; place-items: center; margin-bottom: 18px;
}
.band-teal .card { background: rgba(248,246,242,.07); border-color: rgba(248,246,242,.18); color: var(--ivory); }
.band-teal .card h3 { color: var(--sand); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* Survival / thriving */
.modes { display: grid; grid-template-columns: 1fr 1fr; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.modes > div { padding: 32px; }
.modes .survival { background: var(--stone); }
.modes .thriving { background: var(--teal); color: var(--ivory); }
.modes .thriving h3 { color: var(--sand); }
.modes ul { margin: 0; padding-left: 1.1em; }
@media (max-width: 680px) { .modes { grid-template-columns: 1fr; } }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 120px 1fr; gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.step .num { font-family: var(--serif); font-size: 3rem; color: var(--brass); line-height: 1; }
.step h3 { margin-bottom: .3em; }
.step p:last-child { margin-bottom: 0; }
@media (max-width: 680px) { .step { grid-template-columns: 1fr; gap: 8px; } .step .num { font-size: 2.2rem; } }

.equation {
  font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--teal);
  border-left: 3px solid var(--brass); padding: 4px 0 4px 22px; margin: 0 0 1.2em;
}

.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: .65em; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 16px; height: 2px; background: var(--brass);
}

/* Portrait */
.portrait {
  aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--stone);
  border: 1px solid var(--line); display: grid; place-items: center;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .placeholder { width: 34%; height: auto; border-radius: 16px; }

.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--sea); }
.timeline li { padding: 0 0 26px 26px; position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: .55em; width: 12px; height: 12px; border-radius: 50%;
  background: var(--ivory); border: 2px solid var(--teal);
}
.timeline .when { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); }
.timeline strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--teal); }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list .label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 4px; }
.contact-list a { font-size: 1.2rem; font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* CTA */
.cta { text-align: center; }
.cta h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta p { max-width: 54ch; margin-left: auto; margin-right: auto; }
.cta .actions { justify-content: center; }

/* Footer */
.site-footer { background: var(--charcoal); color: #C9CFD1; font-size: .9rem; padding: 64px 0 40px; }
.site-footer a { color: var(--ivory); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-top img { height: 72px; width: auto; }
.footer-tag { font-family: var(--serif); font-size: 1.2rem; color: var(--ivory); margin-top: 18px; max-width: 26ch; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 48px; align-content: start; }
.footer-legal { padding-top: 26px; font-size: .8rem; color: #9AA3A6; line-height: 1.6; }
.footer-legal p { margin: 0 0 .4em; }

/* Reader prompts and invitations */
.prompt { font-family: var(--serif); font-size: 1.35rem; color: var(--brass); margin: 1.2em 0 0; }
.band-teal .prompt { color: var(--sand); }
.talk { margin: 0; font-weight: 700; }
.talk a { text-decoration: none; border-bottom: 1.5px solid var(--brass); padding-bottom: 2px; }
.talk a::after { content: " \2192"; }
.band-teal .lead { color: var(--ivory); }

/* Commercial evidence */
.stat { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--teal); line-height: 1; margin: 0 0 .5em; }
.stats .card p { margin-bottom: .6em; }
.src { font-size: .78rem; color: var(--muted); margin: 1em 0 0 !important; }
section[id] { scroll-margin-top: 100px; }

/* Side-by-side distinctions */
.contrast { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.contrast > div { padding: 28px; }
.contrast > div:first-child { background: var(--stone); }
.contrast > div:last-child { background: var(--teal); color: var(--ivory); }
.contrast > div:last-child h3 { color: var(--sand); }
.contrast p { margin: 0; }
@media (max-width: 420px) { .contrast { grid-template-columns: 1fr; } }
.contrast .side { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin: 0 0 .5em; }
.contrast > div:last-child .side { color: var(--sand); }
.pull { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.25; color: var(--teal); margin: 48px 0 0; padding-left: 22px; border-left: 3px solid var(--brass); max-width: 30ch; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.pillars span { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--brass); border-radius: 10px; padding: 12px 8px; text-align: center; font-weight: 700; font-size: .9rem; color: var(--teal); }
@media (max-width: 520px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
.mini { font-weight: 700; font-size: .85rem; color: var(--teal); letter-spacing: .02em; }
.fun { font-family: var(--serif); font-size: 1.3rem; color: var(--teal); border-left: 3px solid var(--brass); padding-left: 18px; }
.fun strong, .lead strong { color: var(--brass); font-weight: 700; }
.band-teal .lead strong { color: var(--sand); }
.funlist { list-style: none; padding: 0; margin: 8px 0 22px; display: flex; flex-wrap: wrap; gap: 12px 36px; justify-content: flex-start; font-family: var(--serif); font-size: 1.35rem; color: var(--teal); }
.funlist li { display: flex; align-items: baseline; gap: 4px; }
.funlist span { font-size: 2.4rem; color: var(--brass); line-height: 1; }
@media (max-width: 640px) { .funlist { flex-direction: column; align-items: flex-start; gap: 6px; } }
.funstate { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 40px; margin: 18px 0 8px; }
.funstate .funhead { font-family: var(--serif); font-size: 1.35rem; color: var(--teal); margin-bottom: .35em; display: flex; align-items: baseline; gap: 4px; }
.funstate .funhead span { font-size: 2.4rem; color: var(--brass); line-height: 1; }
.funstate p:last-child { margin-bottom: 0; }
@media (max-width: 800px) { .funstate { grid-template-columns: 1fr; gap: 20px; } }

/* Services at-a-glance table (1 Dec 2026) */
.glance { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: .95rem; }
.glance th { background: var(--teal); color: #fff; text-align: left; font-weight: 600; padding: 12px 16px; }
.glance td { padding: 14px 16px; border-bottom: 1px solid var(--stone); vertical-align: top; }
.glance tbody tr:nth-child(odd) td { background: #F8F6F2; }
@media (max-width: 640px) {
  .glance thead { display: none; }
  .glance, .glance tbody, .glance tr, .glance td { display: block; width: 100%; }
  .glance tr { border-bottom: 1px solid var(--stone); padding: 8px 0; }
  .glance td { border: 0; padding: 4px 0; background: none !important; }
  .glance td:first-child { font-weight: 600; }
}
