/* Tideveil website — brand-extended palette
   The reference doc specifies a slightly cooler, water-toned palette for the
   website. Layered on top of the design-system tokens. */
:root {
  --tv-deep-tide:    #1B3A4B;  /* primary text, headers, nav */
  --tv-sea-linen:    #F2EDE4;  /* content section bg */
  --tv-steel-water:  #60849C;  /* hero bg, accents, dividers */
  --tv-sea-mist:     #A8C0C8;  /* subtle accents */
  --tv-tidal-slate:  #4A6572;  /* body text, subheadings */
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--tv-sea-linen);
  color: var(--tv-deep-tide);
  font-family: var(--font-sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ---------- HEADER ---------- */
.tv-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 80px 64px 40px;
  transition: background var(--dur-slow) var(--ease-out), color var(--dur-slow) var(--ease-out), border-color var(--dur-slow) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.tv-header.is-on-hero {
  background: transparent;
  color: var(--tv-sea-linen);
}
.tv-header.is-on-linen {
  background: var(--tv-sea-linen);
  color: var(--tv-deep-tide);
  border-bottom-color: rgba(27,58,75,0.08);
}
.tv-wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 68px;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  line-height: 1;
  color: inherit;
}
.tv-nav {
  display: flex; align-items: center; gap: 56px;
}
.tv-nav-link {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: inherit;
  padding: 6px 0;
  position: relative;
  transition: opacity var(--dur-base) var(--ease-out);
}
.tv-nav-link::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1px; background: currentColor;
  transition: right var(--dur-base) var(--ease-out);
}
.tv-nav-link:hover::after { right: 0; }
.tv-nav-link.is-active::after { right: 0; }
.tv-nav-link.is-active { opacity: 0.85; }

/* ---------- PAGE / HERO ---------- */
.tv-page { min-height: 100vh; }

.tv-hero {
  background: var(--tv-steel-water);
  color: var(--tv-sea-linen);
  min-height: calc(100vh - 200px);
  padding: 40px 64px 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
/* hero sits in normal flow below the header; the page wrapper bg covers the area behind the transparent header */

.tv-hero-inner {
  max-width: 1280px;
  width: 100%;
  margin-left: 0;
}
.tv-eyebrow-row {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 56px;
  opacity: 0; animation: fade-up 700ms var(--ease-out) 80ms forwards;
}
.tv-eyebrow-rule {
  width: 56px; height: 1px; background: currentColor; opacity: 0.85;
}
.tv-eyebrow-text {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.tv-hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.8vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  color: var(--tv-sea-linen);
  opacity: 0; animation: fade-up 800ms var(--ease-out) 200ms forwards;
}
.tv-hero-headline > span { display: block; }
.tv-hero-rule {
  width: 56px; height: 1px; background: var(--tv-sea-linen);
  margin: 32px 0 28px;
  opacity: 0; animation: fade-up 700ms var(--ease-out) 380ms forwards;
}
.tv-hero-sub {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  max-width: 600px;
  margin: 36px 0 48px;
  color: rgba(242,237,228,0.78);
  opacity: 0; animation: fade-up 700ms var(--ease-out) 500ms forwards;
}
.tv-hero-cta-row { opacity: 0; animation: fade-up 700ms var(--ease-out) 660ms forwards; }

/* ---------- BUTTONS ---------- */
.tv-btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px 26px;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  border-radius: 0;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.tv-btn:hover { background: var(--tv-sea-linen); color: var(--tv-deep-tide); }
.tv-btn .arrow {
  display: inline-flex; align-items: center;
  transition: transform var(--dur-base) var(--ease-out);
}
.tv-btn .arrow svg { display: block; }
.tv-btn:hover .arrow { transform: translateX(4px); }

.tv-btn--solid {
  background: var(--tv-deep-tide); color: var(--tv-sea-linen);
  border-color: var(--tv-deep-tide);
}
.tv-btn--solid:hover { background: var(--tv-steel-water); border-color: var(--tv-steel-water); color: var(--tv-sea-linen); }

.tv-link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sans); font-size: 12px;
  font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: inherit;
  padding: 4px 0;
  border-bottom: 1px solid currentColor;
}
.tv-link-arrow .arrow {
  display: inline-flex; align-items: center;
  transition: transform var(--dur-base) var(--ease-out);
}
.tv-link-arrow:hover .arrow { transform: translateX(4px); }

/* ---------- SECTIONS ---------- */
.tv-section { padding: 140px 64px; }
.tv-section--linen { background: var(--tv-sea-linen); color: var(--tv-deep-tide); }
.tv-section--steel { background: var(--tv-steel-water); color: var(--tv-sea-linen); }
.tv-section--deep  { background: var(--tv-deep-tide);  color: var(--tv-sea-linen); }
.tv-section-inner { max-width: 1280px; margin: 0 auto; }

.tv-eyebrow {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
}
.tv-eyebrow::before {
  content: ''; width: 28px; height: 1px; background: currentColor;
}

.tv-h2 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.05; letter-spacing: -0.022em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  margin: 28px 0 0;
}
.tv-h2 em { font-style: italic; font-weight: 300; }

.tv-prose p {
  font-family: var(--font-sans);
  font-size: 17px; line-height: 1.65;
  color: var(--tv-tidal-slate);
  max-width: 62ch;
  margin: 0 0 22px;
}
.tv-section--steel .tv-prose p,
.tv-section--deep  .tv-prose p { color: rgba(242,237,228,0.85); }

.tv-prose p.is-lede {
  font-family: var(--font-display); font-weight: 300;
  font-style: italic;
  font-size: 26px; line-height: 1.4;
  color: var(--tv-deep-tide);
  margin-bottom: 36px;
  max-width: 32rem;
}
.tv-section--steel .tv-prose p.is-lede,
.tv-section--deep  .tv-prose p.is-lede { color: var(--tv-sea-linen); }

/* ---------- SERVICES — on steel-water ---------- */
.tv-services-section .tv-services { border-top-color: rgba(242,237,228,0.18); }
.tv-services-section .tv-service-row {
  border-bottom-color: rgba(242,237,228,0.18);
  color: var(--tv-sea-linen);
}
.tv-services-section .tv-service-row:hover { background: rgba(242,237,228,0.04); }
.tv-services-section .tv-service-title { color: var(--tv-sea-linen); }
.tv-services-section .tv-service-body,
.tv-services-section .tv-service-summary { color: rgba(242,237,228,0.78); }
.tv-services-section .tv-service-num,
.tv-services-section .tv-service-tag,
.tv-services-section .tv-service-toggle { color: var(--tv-sea-mist); }
.tv-services-section .tv-eyebrow { color: rgba(242,237,228,0.78); }
.tv-services-section .tv-h2 { color: var(--tv-sea-linen); }
.tv-services-section .tv-prose p { color: rgba(242,237,228,0.78); }

/* ---------- HOME — services preview ---------- */
.tv-services-preview-section {
  border-top: 1px solid rgba(27,58,75,0.10);
}
/* Engagement terms paragraphs on steel-water */
.tv-engagement-terms p {
  color: rgba(242,237,228,0.85);
  margin: 0 0 18px;
}
.tv-engagement-terms p:last-child { margin-bottom: 0; }

/* Inquiry form — services checkboxes */
.tv-form-checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin-top: 14px;
}
.tv-form-checkbox {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-weight: 400 !important;
  cursor: pointer;
}
.tv-form-checkbox input[type="checkbox"] {
  width: 14px; height: 14px;
  accent-color: var(--tv-sea-linen);
  cursor: pointer;
  flex: 0 0 14px;
}
.tv-inquiry-section .tv-form-checkbox { color: rgba(242,237,228,0.92); }
.tv-inquiry-section .tv-form select {
  background: transparent;
  color: var(--tv-sea-linen);
  background-image: linear-gradient(45deg, transparent 50%, rgba(242,237,228,0.6) 50%), linear-gradient(135deg, rgba(242,237,228,0.6) 50%, transparent 50%);
}
.tv-inquiry-section .tv-form select option {
  background: var(--tv-deep-tide);
  color: var(--tv-sea-linen);
}

/* Inquiry section on steel-water — form sits in a cream card for contrast */
.tv-inquiry-section { color: var(--tv-sea-linen); }
.tv-inquiry-section .tv-eyebrow { color: rgba(242,237,228,1); font-weight: 600; }
.tv-inquiry-section .tv-h2 { color: var(--tv-sea-linen); }
.tv-inquiry-section .tv-inquiry-contact dt { color: rgba(242,237,228,0.85); font-size: 13px; }
.tv-inquiry-section .tv-inquiry-contact dd { color: var(--tv-sea-linen); font-size: 17px; }

/* Wrap the form column in a light card so text is dark-on-cream */
.tv-inquiry-section .tv-form,
.tv-inquiry-section .tv-form-thanks {
  background: var(--tv-sea-linen);
  padding: 48px 44px;
  border-radius: 2px;
  color: var(--tv-deep-tide);
}
.tv-inquiry-section .tv-form label {
  color: var(--tv-deep-tide);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
}
.tv-inquiry-section .tv-form input,
.tv-inquiry-section .tv-form textarea,
.tv-inquiry-section .tv-form select {
  color: var(--tv-deep-tide);
  font-size: 16px;
  border-bottom-color: rgba(27,58,75,0.30);
  background: transparent;
}
.tv-inquiry-section .tv-form input:focus,
.tv-inquiry-section .tv-form textarea:focus,
.tv-inquiry-section .tv-form select:focus { border-bottom-color: var(--tv-deep-tide); }
.tv-inquiry-section .tv-form input::placeholder,
.tv-inquiry-section .tv-form textarea::placeholder { color: rgba(27,58,75,0.45); }
.tv-inquiry-section .tv-form-note { color: var(--tv-tidal-slate); font-size: 13px; }
.tv-inquiry-section .tv-form-checkbox {
  color: var(--tv-deep-tide) !important;
  font-size: 14px !important;
}
.tv-inquiry-section .tv-form-checkbox input[type="checkbox"] {
  accent-color: var(--tv-steel-water);
}
.tv-inquiry-section .tv-form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--tv-tidal-slate) 50%), linear-gradient(135deg, var(--tv-tidal-slate) 50%, transparent 50%);
}
.tv-inquiry-section .tv-form select option {
  background: var(--tv-sea-linen);
  color: var(--tv-deep-tide);
}
.tv-inquiry-section .tv-btn--solid {
  background: var(--tv-deep-tide);
  color: var(--tv-sea-linen);
  border-color: var(--tv-deep-tide);
}
.tv-inquiry-section .tv-btn--solid:hover {
  background: var(--tv-steel-water);
  border-color: var(--tv-steel-water);
  color: var(--tv-sea-linen);
}
.tv-inquiry-section .tv-form-thanks-h { color: var(--tv-deep-tide); }
.tv-inquiry-section .tv-form-thanks p { color: var(--tv-tidal-slate) !important; }
.tv-inquiry-section .tv-form-thanks strong { color: var(--tv-deep-tide) !important; }

/* Distinction preview on linen — recolor pillars */
.tv-distinction-preview-section .tv-pillars {
  background: rgba(27,58,75,0.10);
  margin-top: 48px;
}
.tv-distinction-preview-section .tv-pillar {
  background: var(--tv-sea-linen);
  color: var(--tv-deep-tide);
}
.tv-distinction-preview-section .tv-pillar:hover {
  background: #ece6da;
}
.tv-distinction-preview-section .tv-pillar-num {
  color: var(--tv-steel-water);
  opacity: 1;
}
.tv-distinction-preview-section .tv-pillar-title { color: var(--tv-deep-tide); }
.tv-distinction-preview-section .tv-pillar-body { color: var(--tv-tidal-slate); }

/* Larger flanked title — used as section heading */
.tv-eyebrow-row--lg { gap: 28px; margin-bottom: 0; }
.tv-eyebrow-row--lg .tv-eyebrow-rule { width: 88px; }
.tv-eyebrow-row--lg .tv-eyebrow-text {
  font-size: 24px;
  letter-spacing: 0.36em;
  font-weight: 400;
}

/* ---------- HOME — services preview (on steel-water) ---------- */
.tv-services-preview-section { border-top: 1px solid rgba(242,237,228,0.18); }
.tv-services-preview {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(242,237,228,0.22);
}
.tv-services-preview li {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: start;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(242,237,228,0.22);
}
.tv-services-preview-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--tv-sea-mist);
  padding-top: 10px;
  visibility: hidden;
}
.tv-services-preview-text {
  display: flex; flex-direction: column; gap: 8px;
  max-width: 70ch;
}
.tv-services-preview-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  color: var(--tv-sea-linen);
  margin: 0;
}
.tv-services-preview-body {
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(242,237,228,0.82);
  margin: 0;
}

@media (max-width: 980px) {
  .tv-services-preview li { grid-template-columns: 1fr; gap: 8px; }
}
.tv-page-band {
  background: var(--tv-steel-water);
  color: var(--tv-sea-linen);
  padding: 28px 64px;
  display: flex; align-items: center; justify-content: center;
  gap: 24px;
}
.tv-page-band-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.tv-page-band-rule {
  width: 36px; height: 1px; background: currentColor; opacity: 0.6;
}
.tv-page-band-label {
  font-family: var(--font-display);
  font-style: italic; font-weight: 300;
  font-size: 18px; letter-spacing: 0;
}
.tv-about-lede {
  font-family: var(--font-display);
  font-style: italic; font-weight: 300;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.35;
  color: var(--tv-deep-tide);
  text-align: center;
  margin: 0 auto 72px;
  max-width: 30ch;
}
.tv-about-strip {
  display: grid; grid-template-columns: 5fr 7fr; gap: 96px;
  align-items: start;
}
.tv-about-strip-side {
  display: flex; flex-direction: column; gap: 32px;
}
.tv-about-strip-side .tv-h2 { margin-top: 0; }
.tv-about-credit {
  font-family: var(--font-display);
  font-style: italic; font-weight: 300;
  font-size: 20px; line-height: 1.4;
  color: var(--tv-tidal-slate);
  margin: -16px 0 0;
  max-width: 350px;
  text-align: center;
}
.tv-about-portrait {
  margin: 0;
  width: 100%;
  max-width: 350px;
  height: 340px;
  overflow: hidden;
}
.tv-about-portrait--beach {
  height: 340px;
  max-width: 350px;
}
.tv-about-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 50%;
}
.tv-about-strip .tv-eyebrow { color: var(--tv-tidal-slate); }
.tv-about-strip-foot {
  margin-top: 48px;
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: 22px; color: var(--tv-deep-tide);
  border-top: 1px solid rgba(27,58,75,0.15);
  padding-top: 28px;
}

/* ---------- HOME — pillar tiles (preview of Distinction) ---------- */
.tv-pillars {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(242,237,228,0.18);
  margin-top: 80px;
}
.tv-pillar {
  background: var(--tv-steel-water);
  padding: 56px 36px;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 280px;
  transition: background var(--dur-base) var(--ease-out);
}
.tv-pillar:hover { background: #557891; }
.tv-pillar-num {
  font-family: var(--font-display); font-weight: 300;
  font-size: 16px; letter-spacing: 0.2em;
  opacity: 0.7;
  visibility: hidden;
}
.tv-pillar-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: 32px; line-height: 1.1; letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  margin: 0;
}
.tv-pillar-body {
  font-family: var(--font-sans); font-size: 14.5px; line-height: 1.6;
  color: rgba(242,237,228,0.82);
  margin: 0;
}

/* ---------- PAGE HEADER (sub-pages) ---------- */
.tv-page-head {
  padding: 80px 64px 120px;
  background: var(--tv-steel-water);
  color: var(--tv-sea-linen);
}
.tv-page-head-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 5fr 7fr; gap: 96px;
  align-items: end;
}
.tv-page-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(36px, 4.8vw, 72px);
  line-height: 1.06; letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  margin: 28px 0 0;
}
.tv-page-title em { font-style: italic; font-weight: 300; }
.tv-page-sub {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: 22px; line-height: 1.5;
  color: rgba(242,237,228,0.9);
  max-width: 38ch;
  margin: 0;
  padding-bottom: 16px;
}

/* ---------- ABOUT ---------- */
.tv-about-head { display: block; }
.tv-about-head > div { max-width: 720px; }
.tv-about-head-sub {
  margin-top: 36px;
  display: flex; flex-direction: column; gap: 14px;
}
.tv-about-head-sub p {
  font-family: var(--font-display);
  font-style: italic; font-weight: 300;
  font-size: 22px; line-height: 1.4;
  color: rgba(242,237,228,0.92);
  margin: 0;
}

.tv-about-portrait-row {
  display: flex; justify-content: flex-start;
}

/* ---------- ABOUT (legacy) ---------- */
.tv-page-identity {
  font-family: var(--font-display);
  font-style: italic; font-weight: 300;
  font-size: 22px; line-height: 1.5;
  color: rgba(242,237,228,0.92);
  margin: 22px 0 0;
}

.tv-about-body {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px 96px;
  align-items: start;
}
.tv-about-hook {
  grid-column: 1;
}
.tv-about-hook .tv-h2 {
  margin: 0;
}
.tv-about-prose {
  grid-column: 2;
  max-width: 60ch;
}
.tv-about-prose p {
  font-family: var(--font-sans);
  font-size: 17px; line-height: 1.65;
  color: var(--tv-tidal-slate);
  margin: 0 0 22px;
}
.tv-about-prose p:last-of-type { margin-bottom: 0; }
.tv-about-prose .tv-about-closing {
  font-family: var(--font-display);
  font-style: italic; font-weight: 300;
  font-size: 24px; line-height: 1.45;
  color: var(--tv-deep-tide);
  margin: 40px 0 0;
  padding-top: 32px;
  border-top: 1px solid rgba(27,58,75,0.15);
}
.tv-about-location {
  grid-column: 1 / -1;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(27,58,75,0.15);
}
.tv-about-location .tv-eyebrow {
  color: var(--tv-tidal-slate);
  margin-bottom: 12px;
  display: inline-flex;
}
.tv-about-location p {
  font-family: var(--font-display);
  font-style: italic; font-weight: 300;
  font-size: 22px;
  color: var(--tv-deep-tide);
  margin: 0;
}

@media (max-width: 980px) {
  .tv-about-body { grid-template-columns: 1fr; gap: 48px; }
  .tv-about-hook, .tv-about-prose, .tv-about-location { grid-column: 1; }
}

/* ---------- ABOUT (legacy — kept for any other usage) ---------- */
.tv-about-grid {
  display: grid; grid-template-columns: 5fr 7fr; gap: 96px;
  align-items: start;
}
.tv-portrait {
  aspect-ratio: 4/5;
  background: var(--tv-sea-mist);
  background-image:
    linear-gradient(135deg, rgba(96,132,156,0.45) 0%, rgba(168,192,200,0) 60%),
    linear-gradient(0deg, rgba(27,58,75,0.10), rgba(27,58,75,0.10));
  position: relative;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 24px;
}
.tv-portrait-caption {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(27,58,75,0.7);
}
.tv-portrait-mono {
  position: absolute; right: 22%; top: 26%;
  width: 42%; aspect-ratio: 1;
  background: var(--tv-deep-tide);
  display: flex; align-items: center; justify-content: center;
  color: var(--tv-sea-linen);
}
.tv-portrait-mono span {
  font-family: var(--font-display); font-weight: 300;
  font-size: 88px; letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.tv-portrait-mono span em { font-style: italic; font-weight: 300; margin-left: -4px; }

.tv-about-meta {
  display: grid; grid-template-columns: 120px 1fr; gap: 12px 20px;
  margin: 28px 0 0;
}
.tv-about-meta dt {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--tv-tidal-slate);
  padding-top: 2px;
}
.tv-about-meta dd {
  font-family: var(--font-sans); font-size: 14.5px;
  color: var(--tv-deep-tide); margin: 0;
}

/* ---------- DISTINCTION ---------- */
.tv-pillars-full {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(27,58,75,0.12);
  border: 1px solid rgba(27,58,75,0.12);
}
.tv-pillar-full {
  background: var(--tv-sea-linen);
  padding: 64px 56px;
  display: grid; grid-template-columns: 56px 1fr;
  gap: 8px 32px;
  min-height: 340px;
}
.tv-pillar-full-num {
  font-family: var(--font-display); font-weight: 300;
  font-size: 22px; color: var(--tv-steel-water);
  letter-spacing: 0.08em;
  line-height: 1;
  padding-top: 8px;
}
.tv-pillar-full-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: 42px; line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  margin: 0 0 24px;
  color: var(--tv-deep-tide);
}
.tv-pillar-full-body {
  font-family: var(--font-sans); font-size: 15.5px;
  line-height: 1.65; color: var(--tv-tidal-slate);
  margin: 0;
  max-width: 38ch;
}
.tv-pillar-full-rule {
  width: 36px; height: 1px;
  background: var(--tv-steel-water);
  margin: 0 0 20px;
}

/* ---------- SERVICES ---------- */
.tv-services {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 1px solid rgba(27,58,75,0.15);
}
.tv-service-row {
  display: grid;
  grid-template-columns: 80px 1.2fr 2fr 200px;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(27,58,75,0.15);
  align-items: start;
  transition: background var(--dur-base) var(--ease-out);
  cursor: pointer;
  position: relative;
}
.tv-service-row:hover { background: rgba(27,58,75,0.025); }
.tv-service-num {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; color: var(--tv-steel-water);
  padding-top: 8px;
  visibility: hidden;
}
.tv-service-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: 32px; line-height: 1.1;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  margin: 0;
  color: var(--tv-deep-tide);
}
.tv-service-body {
  font-family: var(--font-sans); font-size: 15.5px; line-height: 1.6;
  color: var(--tv-tidal-slate); margin: 0;
  max-width: 50ch;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--dur-slow) var(--ease-out), opacity var(--dur-slow) var(--ease-out), margin-top var(--dur-slow) var(--ease-out);
}
.tv-service-summary {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: 17px; line-height: 1.5;
  color: var(--tv-tidal-slate);
  margin: 0;
  max-width: 50ch;
  transition: opacity var(--dur-base) var(--ease-out);
}
.tv-service-row.is-open .tv-service-body {
  max-height: 320px; opacity: 1; margin-top: 14px;
}
.tv-service-row.is-open .tv-service-summary { display: none; }
.tv-service-meta {
  font-family: var(--font-sans); font-size: 13px;
  color: var(--tv-tidal-slate); text-align: right;
  padding-top: 12px;
  display: flex; flex-direction: column; gap: 6px;
  align-items: flex-end;
}
.tv-service-tag {
  font-family: var(--font-sans);
  font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--tv-steel-water);
  font-weight: 500;
}
.tv-service-toggle {
  font-family: var(--font-mono); font-size: 18px;
  color: var(--tv-steel-water);
  transition: transform var(--dur-base) var(--ease-out);
  line-height: 1;
}
.tv-service-row.is-open .tv-service-toggle { transform: rotate(45deg); }

/* ---------- INQUIRY ---------- */
.tv-inquiry {
  display: grid; grid-template-columns: 5fr 7fr; gap: 120px;
  align-items: start;
}
.tv-inquiry-contact {
  display: grid; grid-template-columns: 100px 1fr;
  gap: 14px 20px;
  margin: 32px 0 0;
  border-top: 1px solid rgba(27,58,75,0.15);
  padding-top: 28px;
}
.tv-inquiry-contact dt {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--tv-tidal-slate); padding-top: 2px;
}
.tv-inquiry-contact dd {
  font-family: var(--font-sans); font-size: 15px;
  color: var(--tv-deep-tide); margin: 0;
}

.tv-form {
  background: transparent;
  display: flex; flex-direction: column; gap: 36px;
}
.tv-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.tv-form label {
  display: flex; flex-direction: column; gap: 10px;
  font-family: var(--font-sans);
  font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tv-tidal-slate); font-weight: 500;
}
.tv-form input,
.tv-form textarea {
  font-family: var(--font-sans); font-size: 15px;
  color: var(--tv-deep-tide);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(27,58,75,0.25);
  padding: 10px 0;
  outline: none;
  letter-spacing: 0; text-transform: none;
  transition: border-color var(--dur-base) var(--ease-out);
}
.tv-form textarea { resize: vertical; min-height: 120px; }
.tv-form input:focus, .tv-form textarea:focus { border-color: var(--tv-deep-tide); }
.tv-form input::placeholder, .tv-form textarea::placeholder {
  color: rgba(27,58,75,0.35);
  font-family: var(--font-display);
  font-style: italic; letter-spacing: 0;
  text-transform: none; font-size: 16px;
}
.tv-form-actions {
  display: flex; align-items: center; gap: 28px;
  padding-top: 12px;
}
.tv-form-note {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: 14px; color: var(--tv-tidal-slate);
}
.tv-form .field-error {
  color: var(--tv-rust, #7A3B2E);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: none;
  margin-top: 4px;
  font-weight: 400;
}
.tv-form .has-error input,
.tv-form .has-error textarea { border-color: var(--tv-rust, #7A3B2E); }

.tv-form-thanks {
  padding: 56px 0;
  display: flex; flex-direction: column; gap: 18px;
  align-items: flex-start;
  border-top: 1px solid rgba(27,58,75,0.15);
}
.tv-form-thanks-h {
  font-family: var(--font-display); font-weight: 300;
  font-size: 40px; line-height: 1.1; letter-spacing: -0.015em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  color: var(--tv-deep-tide);
  margin: 0;
}
.tv-form-thanks-h em { font-style: italic; }

/* ---------- FOOTER ---------- */
.tv-footer {
  background: var(--tv-deep-tide);
  color: var(--tv-sea-linen);
  padding: 96px 64px 56px;
}
.tv-footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1.4fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.tv-footer-link { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.tv-footer-mark {
  font-family: var(--font-display); font-weight: 400;
  font-size: 56px; letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  color: var(--tv-sea-linen);
  margin: 0 0 22px;
}
.tv-footer-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(242,237,228,0.65);
  margin: 0 0 14px;
}
.tv-footer-tag {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: 18px; line-height: 1.5;
  color: rgba(242,237,228,0.7);
  margin: 0;
  max-width: 30ch;
}
.tv-footer-col-title {
  font-family: var(--font-sans); font-size: 10.5px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(242,237,228,0.5);
  margin: 0 0 22px;
}
.tv-footer-link {
  display: block;
  font-family: var(--font-sans); font-size: 14px;
  padding: 7px 0;
  color: rgba(242,237,228,0.92);
  transition: color var(--dur-base) var(--ease-out);
}
.tv-footer-link:hover { color: var(--tv-sea-mist); }

.tv-footer-fine {
  margin-top: 88px;
  padding-top: 28px;
  border-top: 1px solid rgba(242,237,228,0.12);
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; color: rgba(242,237,228,0.5);
}

/* ---------- PAGE TRANSITIONS ---------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.tv-route {
  animation: fade 420ms var(--ease-out);
}

/* The header overlays the colored hero/page-head visually — give the page wrapper a matching bg so transparent areas don't reveal the body cream behind */
.tv-page--hero { background: var(--tv-steel-water); }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ---------- RESPONSIVE — keep at >= 1100 for the design width ---------- */
@media (max-width: 980px) {
  .tv-header { padding: 20px 28px; }
  .tv-nav { gap: 28px; }
  .tv-section, .tv-hero, .tv-page-head, .tv-footer { padding-left: 28px; padding-right: 28px; }
  .tv-about-strip, .tv-about-grid, .tv-inquiry, .tv-page-head-inner { grid-template-columns: 1fr; gap: 48px; }
  .tv-pillars { grid-template-columns: repeat(2, 1fr); }
  .tv-pillars-full { grid-template-columns: 1fr; }
  .tv-footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .tv-service-row { grid-template-columns: 50px 1fr 60px; }
  .tv-service-body, .tv-service-summary { grid-column: 2 / -1; }
  .tv-service-meta { grid-column: 1 / -1; align-items: flex-start; text-align: left; padding-top: 0; }
}

/* ---------- MOBILE — 600px and below ---------- */
@media (max-width: 600px) {
  /* Header & Nav */
  .tv-header { padding: 16px 20px; }
  .tv-nav { gap: 18px; }
  .tv-nav-link { font-size: 11px; letter-spacing: 0.18em; }

  /* Sections */
  .tv-section,
  .tv-hero,
  .tv-page-head,
  .tv-footer { padding-left: 20px; padding-right: 20px; }

  /* Hero */
  .tv-hero { padding: 32px 20px 80px; min-height: unset; }
  .tv-hero-headline { font-size: clamp(28px, 8vw, 42px); }
  .tv-hero-sub { font-size: 15px; margin: 24px 0 36px; }
  .tv-eyebrow-row { margin-bottom: 32px; }

  /* Buttons */
  .tv-btn { padding: 14px 20px; font-size: 12px; gap: 16px; }
  .tv-hero-cta-row { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

  /* Section headings */
  .tv-h2 { font-size: clamp(26px, 7vw, 40px); }
  .tv-section { padding-top: 60px; padding-bottom: 60px; }

  /* About */
  .tv-about-strip,
  .tv-about-grid,
  .tv-about-body { grid-template-columns: 1fr; gap: 32px; }
  .tv-about-hook,
  .tv-about-prose,
  .tv-about-location { grid-column: 1; }
  .tv-about-lede { font-size: clamp(20px, 5.5vw, 26px); margin-bottom: 40px; }
  .tv-about-credit { text-align: left; }
  .tv-about-portrait,
  .tv-about-portrait--beach { max-width: 100%; height: auto; }
  .tv-about-portrait img { height: auto; object-fit: contain; }

  /* Pillars */
  .tv-pillars { grid-template-columns: 1fr; }
  .tv-pillars-full { grid-template-columns: 1fr; }
  .tv-pillar { padding: 36px 28px; }
  .tv-pillar-full { padding: 40px 28px; grid-template-columns: 40px 1fr; gap: 6px 20px; }
  .tv-pillar-full-title { font-size: clamp(26px, 7vw, 36px); }

  /* Services */
  .tv-service-row {
    grid-template-columns: 36px 1fr;
    gap: 12px 16px;
    padding: 32px 0;
  }
  .tv-service-body,
  .tv-service-summary { grid-column: 2 / -1; }
  .tv-service-meta { grid-column: 1 / -1; align-items: flex-start; text-align: left; padding-top: 0; }
  .tv-service-toggle { grid-column: 2; justify-self: end; }

  /* Page band */
  .tv-page-band { padding: 20px; flex-wrap: wrap; gap: 12px; text-align: center; justify-content: center; }

  /* Form */
  .tv-form-row { grid-template-columns: 1fr; gap: 0; }
  .tv-inquiry { grid-template-columns: 1fr; gap: 40px; }
  .tv-form-checkboxes { grid-template-columns: 1fr; }

  /* Footer */
  .tv-footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .tv-footer { padding-top: 48px; padding-bottom: 48px; }
  .tv-footer-fine { flex-direction: column; gap: 8px; text-align: center; }
}

/* ---------- HAMBURGER MENU ---------- */
.tv-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}
.tv-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--tv-sea-linen);
  transition: transform 250ms ease, opacity 250ms ease;
  transform-origin: center;
}
.tv-hamburger.is-open span:nth-child(1) { transform: translateY(8.25px) rotate(45deg); }
.tv-hamburger.is-open span:nth-child(2) { opacity: 0; }
.tv-hamburger.is-open span:nth-child(3) { transform: translateY(-8.25px) rotate(-45deg); }

@media (max-width: 600px) {
  .tv-hamburger { display: flex; }

  .tv-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 20px 20px;
    background: var(--tv-deep-tide);
    z-index: 100;
  }
  .tv-nav.is-open { display: flex; }
  .tv-nav-link {
    font-size: 13px;
    letter-spacing: 0.22em;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid rgba(242,237,228,0.12);
  }
  .tv-nav-link:last-child { border-bottom: none; }

  .tv-header { position: relative; }
}

/* ---------- MOBILE OVERFLOW FIX ---------- */
@media (max-width: 600px) {
  html, body { overflow-x: hidden; }
  .tv-page-head-inner { grid-template-columns: 1fr !important; gap: 24px; }
  .tv-form-actions { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* Submit button — force full width, allow text to wrap */
  .tv-btn {
    white-space: normal !important;
    word-break: break-word;
  }
  .tv-inquiry-section .tv-btn--solid {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Services page — collapse the 4-column grid fully */
  .tv-service-row {
    grid-template-columns: 1fr !important;
    gap: 10px 14px !important;
    overflow: hidden;
  }
  .tv-service-title { grid-column: 1; grid-row: auto; }
  .tv-service-summary,
  .tv-service-body { grid-column: 1; grid-row: auto; }
  .tv-service-meta { grid-column: 1; grid-row: auto; align-items: flex-start; text-align: left; padding-top: 0; }
  .tv-service-toggle { position: absolute; top: 32px; right: 0; }
  .tv-page-head { padding: 48px 20px 64px; }
}

.tv-distinction-bottom-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 96px;
  align-items: end;
}
@media (max-width: 600px) {
  .tv-distinction-bottom-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.tv-two-col-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 96px;
  align-items: start;
}
@media (max-width: 600px) {
  .tv-two-col-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .tv-pillar-num,
  .tv-pillar-full-num { visibility: hidden; }
}
