/* ===== ROOT VARIABLES ===== */
:root {
  --navy: #0a1628;
  --deep-navy: #06101e;
  --abyss: #030c14;
  --teal: #1a4a5a;
  --muted-teal: #2a6070;
  --pale-teal: #4a9aaa;
  --seafoam: #6bbccc;
  --sky: #c8dde6;
  --horizon: #a8c8d8;
  --gold: #c9a96e;
  --gold-pale: #e8d5a3;
  --white: #f0f4f6;
  --white-dim: rgba(240,244,246,0.7);
  --white-faint: rgba(240,244,246,0.3);
  --line: rgba(168, 200, 216, 0.25);
  --line-bright: rgba(168,200,216,0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(to bottom, var(--deep-navy) 10%, var(--navy) 45%, var(--muted-teal) 60%, var(--abyss) 90%);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
  min-height: 100vh;
}

/* ===== CUSTOM CURSOR ===== */
#cursor {
  width: 6px;
  height: 6px;
  background: var(--seafoam);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: screen;
}

#cursor-ring {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(107,188,204,0.5);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

/* ===== BUBBLE CANVAS ===== */
#bubble-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9990;
}

/* ===== DEPTH NAV SIDEBAR (desktop) ===== */
#depth-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}

/* The vertical line track */
.depth-nav-track {
  position: absolute;
  right: 0;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
}
.depth-nav-fill {
  position: absolute;
  right: 0;
  top: 0;
  width: 1px;
  height: 0%;
  background: linear-gradient(to bottom, var(--seafoam), var(--pale-teal));
  transition: height 0.15s ease;
}

/* Each depth marker */
.depth-stop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  cursor: none;
  padding: 14px 0;
}

/* The tick mark on the line */
.depth-tick {
  position: relative;
  z-index: 2;
  width: 6px;
  height: 1px;
  background: var(--pale-teal);
  margin-left: 0;
  transition: width 0.3s ease, background 0.3s ease;
  flex-shrink: 0;
}
.depth-stop:hover .depth-tick,
.depth-stop.active .depth-tick {
  width: 14px;
  background: var(--seafoam);
}

/* The depth reading label — shown by default */
.depth-reading {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--pale-teal);
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  white-space: nowrap;
  text-align: right;
  padding-right: 14px;
  transition: opacity 0.3s ease, color 0.3s ease;
  position: absolute;
  right: 6px;
  cursor: none;
}
.depth-stop.active .depth-reading { color: var(--seafoam); }

/* The nav label — hidden, slides in on hover */
.depth-nav-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--seafoam);
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  white-space: nowrap;
  text-decoration: none;
  position: absolute;
  right: 16px;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: none;
}
.depth-stop:hover .depth-nav-label {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.depth-stop:hover .depth-reading {
  opacity: 0;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 200;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.5s;
}
nav.scrolled {
  background: rgba(6,16,30,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-image {
  height: 40px;
  width: auto;
  margin-right: 10px;
}
.logo-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--seafoam), transparent);
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-dim);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--seafoam); }

/* ===== MOBILE NAV ===== */
/* Mobile hamburger menu */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 201;
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--seafoam);
  margin: 6px 0;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6,16,30,0.98);
  backdrop-filter: blur(12px);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  display: flex;
  opacity: 1;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  gap: 32px;
}

.mobile-menu-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.mobile-menu-link:hover {
  color: var(--seafoam);
}

/* ===== HERO — WATERLINE ===== */
#hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* Sky portion */
.hero-sky {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 42%;
  background: linear-gradient(
    to bottom,
    #0d1f35 0%,
    #112a40 40%,
    #1a4050 80%,
    #1d4a5a 100%
  );
}

/* Stars */
.star-field {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle var(--dur, 3s) ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: var(--min-op, 0.2); }
  50% { opacity: var(--max-op, 0.8); }
}

/* Horizon / Waterline */
.waterline {
  position: absolute;
  top: 42%;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent 0%, var(--horizon) 20%, var(--seafoam) 50%, var(--horizon) 80%, transparent 100%);
  z-index: 5;
}
.waterline::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, transparent, rgba(107,188,204,0.3), transparent);
  filter: blur(3px);
}

/* Ocean */
.hero-ocean {
  position: absolute;
  top: 42%; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    to bottom,
    #1a4050 0%,
    #0f2d3d 15%,
    #0a1f2e 35%,
    #061520 60%,
    #030c14 100%
  );
}

/* Caustic light rays */
.light-rays {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40%;
  overflow: hidden;
  opacity: 0.15;
}
.ray {
  position: absolute;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, rgba(107,188,204,0.8), transparent);
  transform-origin: top center;
  animation: sway var(--s, 6s) ease-in-out infinite alternate;
}
@keyframes sway {
  from { transform: skewX(var(--from, -5deg)) scaleX(1); }
  to   { transform: skewX(var(--to, 5deg)) scaleX(1.5); }
}

/* Sounding line */
.sounding-line {
  position: absolute;
  left: 50%;
  top: 5%;
  transform: translateX(-50%);
  width: 1px;
  height: 80vh;
  z-index: 10;
  margin: 0 auto;
}
.sounding-line-shaft {
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(168,200,216,0.6) 10%,
    rgba(107,188,204,0.8) 42%,
    rgba(74,154,170,0.9) 60%,
    rgba(42,96,112,0.7) 80%,
    transparent 100%
  );
  animation: soundingPulse 4s ease-in-out infinite;
}
@keyframes soundingPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
.sounding-weight {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 10px;
  background: var(--seafoam);
  clip-path: polygon(50% 0%, 100% 40%, 50% 100%, 0% 40%);
  opacity: 0.8;
  animation: weightDrop 4s ease-in-out infinite;
}
@keyframes weightDrop {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.8; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* Depth rings (sonar) */
.depth-rings {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  z-index: 4;
}
.depth-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(107,188,204,0.15);
  transform: translate(-50%, -50%);
  animation: ringExpand var(--dur, 8s) ease-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes ringExpand {
  0% { width: 0; height: 0; opacity: 0.6; }
  100% { width: 200vw; height: 80px; opacity: 0; }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 95px 24px 40px;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--pale-teal);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.5s;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 10vw, 100px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.7s;
}
.hero-title em {
  font-style: italic;
  color: var(--seafoam);
}

.title-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--seafoam), transparent);
  margin: 12px auto;
  opacity: 0.7;
}

.hero-tagline {
  font-size: clamp(13px, 2vw, 16px);
  font-weight: 200;
  letter-spacing: 0.18em;
  color: var(--sky);
  margin: 20px 0 36px;
  max-width: 560px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.9s;
}

.psalm-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  font-weight: 300;
  color: var(--white-faint);
  letter-spacing: 0.06em;
  margin-bottom: 56px;
  opacity: 0;
  animation: fadeUp 1s ease forwards 1.1s;
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp 1s ease forwards 1.3s;
}

.btn-primary {
  padding: 14px 20px;
  border: 1px solid var(--seafoam);
  background: transparent;
  color: var(--seafoam);
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: none;
  transition: background 0.3s, color 0.3s;
  width: 200px;
  text-align: center;
  box-sizing: border-box;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-primary:hover {
  background: var(--seafoam);
  color: var(--deep-navy);
}

.btn-ghost {
  padding: 14px 20px;
  border: 1px solid var(--line-bright);
  background: transparent;
  color: var(--white-dim);
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: none;
  transition: background 0.3s, color 0.3s;
  width: 200px;
  text-align: center;
  box-sizing: border-box;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-ghost:hover { background: var(--seafoam); color: var(--deep-navy); }

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 200px;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 20;
  opacity: 0;
  animation: fadeUp 1s ease forwards 1.8s;
}
.scroll-hint span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pale-teal);
  margin-bottom: 12px;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--pale-teal), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Wave transition */
.wave-divider {
  position: relative;
  height: 80px;
  overflow: hidden;
}
.wave-divider svg { display: block; }

/* ===== SECTION UNIVERSAL ===== */
section {
  position: relative;
  padding: 100px 48px;
}

.section-label {
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--pale-teal);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-label::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--pale-teal);
  opacity: 0.5;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 24px;
}

.section-body {
  font-size: 15px;
  line-height: 1.9;
  color: var(--white-dim);
  max-width: 600px;
}

/* ===== ABOUT / DEPTH SECTION ===== */
#about {
  background: linear-gradient(to bottom, rgba(26,96,112,0.1) 0%, rgba(6,16,30,0.3) 100%);
  max-width: 1200px;
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 64px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.about-divider {
  position: relative;
  align-self: stretch;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(168,200,216,0.6) 10%,
    rgba(107,188,204,0.8) 50%,
    rgba(74,154,170,0.9) 70%,
    rgba(42,96,112,0.7) 90%,
    transparent 100%
  );
}
.about-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 6px;
  background: var(--seafoam);
  clip-path: polygon(50% 0%, 100% 40%, 50% 100%, 0% 40%);
  opacity: 0.8;
}
.about-divider::after {
  content: '';
  position: absolute;
  bottom: 0%;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 5px;
  background: var(--seafoam);
  clip-path: polygon(50% 0%, 100% 40%, 50% 100%, 0% 40%);
  opacity: 0.7;
}

.depth-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.depth-values-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.portrait-container {
  text-align: center;
  margin-bottom: 40px;
}

.portrait-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.depth-value {
  padding: 24px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}
.depth-value:hover { border-color: rgba(107,188,204,0.4); }
.depth-value::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 30px;
  background: var(--seafoam);
}

.depth-value-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--seafoam);
  margin-bottom: 8px;
}
.depth-value p {
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.7;
}

.section-label.center {
  justify-content: center;
}
.section-title.center {
  text-align: center;
}
.section-body.center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* ===== PORTFOLIO ===== */
.portfolio-scroller {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 40px 0;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.portfolio-scroller::-webkit-scrollbar {
  height: 4px;
}

.portfolio-scroller::-webkit-scrollbar-track {
  background: transparent;
}

.portfolio-scroller::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 2px;
}

.portfolio-scroller:active {
  cursor: grabbing;
}

.portfolio-track {
  display: flex;
  gap: 2px;
  animation: scrollPortfolio 45s linear infinite;
  width: fit-content;
  transition: animation-play-state 0.3s;
}

.portfolio-track:hover {
  animation-play-state: paused;
}

.portfolio-track.manual-scroll {
  animation: none;
}

@keyframes scrollPortfolio {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.portfolio-item {
  position: relative;
  aspect-ratio: 16/10;
  min-width: 320px;
  cursor: pointer;
  background: var(--teal);
  overflow: hidden;
}

.portfolio-thumb {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s ease;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.portfolio-thumb.ph1 { 
  background-image: url('images/project1-thumb.webp'), linear-gradient(135deg, rgba(26,58,74,0.4), rgba(15,37,53,0.6));
}
.portfolio-thumb.ph2 { 
  background-image: url('images/project2-thumb.webp'), linear-gradient(135deg, rgba(15,37,53,0.4), rgba(26,48,64,0.6));
}
.portfolio-thumb.ph3 { 
  background-image: url('images/project3-thumb.webp'), linear-gradient(135deg, rgba(26,37,53,0.4), rgba(15,32,48,0.6));
}
.portfolio-thumb.ph4 { 
  background-image: url('images/project4-thumb.webp'), linear-gradient(135deg, rgba(10,32,48,0.4), rgba(21,37,64,0.6));
}
.portfolio-thumb.ph5 { 
  background-image: url('images/project5-thumb.webp'), linear-gradient(135deg, rgba(21,37,64,0.4), rgba(10,32,48,0.6));
}

.portfolio-item:hover .portfolio-thumb {
  transform: scale(1.04);
}

.portfolio-item:hover .portfolio-thumb.ph1 {
  background-image: url('images/project1-thumb.webp'), linear-gradient(135deg, rgba(26,58,74,0), rgba(15,37,53,0));
}
.portfolio-item:hover .portfolio-thumb.ph2 {
  background-image: url('images/project2-thumb.webp'), linear-gradient(135deg, rgba(15,37,53,0), rgba(26,48,64,0));
}
.portfolio-item:hover .portfolio-thumb.ph3 {
  background-image: url('images/project3-thumb.webp'), linear-gradient(135deg, rgba(26,37,53,0), rgba(15,32,48,0));
}
.portfolio-item:hover .portfolio-thumb.ph4 {
  background-image: url('images/project4-thumb.webp'), linear-gradient(135deg, rgba(10,32,48,0), rgba(21,37,64,0));
}
.portfolio-item:hover .portfolio-thumb.ph5 {
  background-image: url('images/project5-thumb.webp'), linear-gradient(135deg, rgba(21,37,64,0), rgba(10,32,48,0));
}

.portfolio-number {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 300;
  color: var(--seafoam);
  opacity: 0.7;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.portfolio-item:hover .portfolio-number {
  opacity: 0;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3,12,20,0.8);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
  border: 1px solid var(--line);
  padding: 20px;
  text-align: center;
  pointer-events: initial;
  z-index: 2;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
  background: rgba(3,12,20,0.4);
}

.portfolio-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 4px;
}

.portfolio-type {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--seafoam);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.portfolio-action {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--seafoam);
  border: 1px solid var(--seafoam);
  padding: 8px 16px;
  transition: all 0.3s;
  pointer-events: none;
  background: var(--teal);
}

.portfolio-action:hover {
  background: var(--seafoam);
  color: var(--deep-navy);
}

/* Portfolio Modal */
.portfolio-modal {
  position: fixed;
  inset: 10px;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: rgba(3, 12, 20, 0.98);
}

.portfolio-modal.open {
  opacity: 1;
  pointer-events: all;
  cursor: auto;
}

.portfolio-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 12, 20, 0.88);
  backdrop-filter: blur(20px);
  cursor: pointer;
}

.portfolio-container {
  position: absolute;
  inset: 0;
  background: #080f1c;
  border: none;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.4s ease;
  cursor: auto;
}

.portfolio-modal.open .portfolio-container {
  transform: translateY(0);
}

/* Portfolio Header */
.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.portfolio-info {
  flex: 1;
}

.portfolio-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 4px;
}

.portfolio-client {
  font-size: 12px;
  color: var(--pale-teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.portfolio-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.portfolio-link,
.portfolio-rotate,
.portfolio-close {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--white-dim);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 4px;
}

.portfolio-rotate {
  display: none;
}

.portfolio-link:hover,
.portfolio-rotate:hover {
  border-color: var(--seafoam);
  color: var(--seafoam);
}

.portfolio-close:hover {
  border-color: var(--seafoam);
  color: var(--seafoam);
}

.portfolio-link span,
.portfolio-rotate span {
  display: none;
}

/* Portfolio Frames */
.portfolio-frames {
  display: flex;
  flex: 1;
  min-height: 0;
  background: #030a12;
  gap: 20px;
  padding: 20px;
}

.portfolio-frame {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: calc(100vh - 270px);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.portfolio-frame iframe {
  width: 100%;
  height: calc(100vh - 270px);
  border: none;
  background: white;
  border-radius: 6px;
}

.desktop-frame {
  border-right: none;
}

.mobile-frame {
  max-width: 400px;
  margin: 0;
}

/* Portfolio Footer */
.portfolio-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  flex-shrink: 0;
}

.portfolio-description {
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-cta {
  padding: 12px 24px;
  background: transparent;
  border: 1px solid var(--seafoam);
  color: var(--seafoam);
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.portfolio-cta:hover {
  background: var(--seafoam);
  color: var(--deep-navy);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .portfolio-scroller {
    margin: 20px 0;
  }
  
  .portfolio-item {
    min-width: 280px;
  }
  
  .portfolio-header {
    flex-direction: column;
    gap: 16px;
    padding: 16px 20px;
  }
  
  .portfolio-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .portfolio-link span,
  .portfolio-rotate span {
    display: none;
  }
  
  .portfolio-frames {
    flex-direction: column;
  }
  
  .desktop-frame {
    display: none;
  }
  
  .mobile-frame {
    max-width: 100%;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  
  .portfolio-description {
    display: none;
  }
  
  .portfolio-footer {
    padding: 16px 20px;
  }
  
  .portfolio-landscape .desktop-frame {
    display: flex;
  }
  
  .portfolio-landscape .mobile-frame {
    display: none;
  }
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .portfolio-modal.portfolio-landscape .portfolio-frames {
    flex-direction: row;
  }
  
  .portfolio-modal.portfolio-landscape .desktop-frame {
    display: flex;
    border-right: 1px solid var(--line);
  }
  
  .portfolio-modal.portfolio-landscape .mobile-frame {
    display: none;
  }
  
  .portfolio-modal.portfolio-landscape .portfolio-description {
    display: block;
  }
}

/* ===== SERVICES / DEPTH CHART ===== */
#services {
  background: linear-gradient(to bottom, rgba(26,96,112,0.05) 0%, rgba(6,16,30,0.2) 50%, rgba(3,12,20,0.4) 100%);
  padding-bottom: 120px;
}

.services-header {
  max-width: 700px;
  margin: 0 auto 80px;
  text-align: center;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Capability Cards */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin: 48px 0;
}

.capability-card {
  background: rgba(10,22,40,0.8);
  border: 1px solid var(--line);
  padding: 40px 32px;
  border-radius: 12px;
  transition: all 0.4s;
  cursor: none;
  position: relative;
  overflow: hidden;
}

.capability-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--seafoam), var(--pale-teal));
  opacity: 0;
  transition: opacity 0.4s;
}

.capability-card:hover::before {
  opacity: 1;
}

.capability-card:hover {
  border-color: rgba(107,188,204,0.5);
  background: rgba(10,22,40,1);
  transform: translateY(-4px);
}

.capability-icon {
  width: 60px;
  height: 60px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--seafoam);
  background: rgba(107,188,204,0.1);
}

.capability-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 8px;
}

.capability-subtitle {
  font-size: 12px;
  color: var(--pale-teal);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.capability-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.5;
}

.feature-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
  opacity: 0.8;
}

/* Services CTA */
.services-cta {
  text-align: center;
  margin: 64px 0;
  padding: 48px;
  background: rgba(10,22,40,0.6);
  border: 1px solid var(--line);
  border-radius: 12px;
  position: relative;
}

.services-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(107,188,204,0.05), transparent);
  border-radius: 12px;
  pointer-events: none;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-description {
  font-size: 14px;
  color: var(--white-dim);
  line-height: 1.7;
  margin-bottom: 32px;
}

.cta-primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--seafoam);
  color: var(--deep-navy);
  border: none;
  border-radius: 6px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}

.cta-primary-btn:hover {
  background: var(--pale-teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107,188,204,0.3);
}

.cta-text {
  font-weight: 500;
}

/* Package Cards (keeping for compatibility) */
.package-card {
  background: rgba(10,22,40,0.8);
  border: 1px solid var(--line);
  padding: 40px 32px;
  border-radius: 12px;
  transition: border-color 0.4s, background 0.4s;
  cursor: none;
}

.package-card:hover {
  border-color: rgba(107,188,204,0.5);
  background: rgba(10,22,40,1);
}

.package-depth {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pale-teal);
  margin-bottom: 12px;
}

.package-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 8px;
}

.package-price {
  font-size: 32px;
  font-weight: 200;
  color: var(--seafoam);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.package-price span {
  font-size: 14px;
  color: var(--white-dim);
  font-weight: 300;
}

.package-monthly {
  font-size: 13px;
  color: var(--white-dim);
  margin-bottom: 28px;
}

.package-divider {
  width: 40px;
  height: 1px;
  background: var(--line-bright);
  margin-bottom: 24px;
}

.package-features {
  list-style: none;
  margin-bottom: 32px;
}

.package-features li {
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.6;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.package-features li::before {
  content: '—';
  color: var(--pale-teal);
  flex-shrink: 0;
  margin-top: 1px;
}

.package-cta {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid currentColor;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--seafoam);
  cursor: none;
  transition: background 0.3s, color 0.3s;
  width: 100%;
  text-align: center;
}

.package-cta:hover {
  background: var(--seafoam);
  color: var(--deep-navy);
}

.package-cta.featured-cta {
  background: var(--seafoam);
  color: var(--deep-navy);
}

.package-cta.featured-cta:hover {
  background: var(--pale-teal);
}

/* Staff card — special */
.package-card.staff {
  background: linear-gradient(135deg, rgba(10,22,40,0.9), rgba(6,16,26,0.95));
  border-color: rgba(201,169,110,0.3);
}
.package-card.staff:hover { border-color: rgba(201,169,110,0.6); }
.package-card.staff .package-price { color: var(--gold); }
.package-card.staff .package-cta { color: var(--gold); }
.package-card.staff .package-cta:hover { background: var(--gold); color: var(--deep-navy); }
.package-card.staff .popular-badge { background: var(--gold); }
.package-card.staff .package-depth { color: var(--gold-pale); }

/* Email note */
.email-note {
  text-align: center;
  margin-top: 64px;
  padding: 32px;
  border: 1px solid var(--line);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.email-note p {
  font-size: 14px;
  color: var(--white-dim);
  line-height: 1.8;
}
.email-note strong { color: var(--seafoam); font-weight: 400; }

/* ===== QUOTE FORMS ===== */
#quote {
  background: linear-gradient(to bottom, rgba(6,16,30,0.4) 0%, var(--abyss) 100%);
  border-top: 1px solid var(--line);
}

.quote-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.forms-container {
  max-width: 1200px;
  margin: 0 auto;
}

.form-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 2px;
  flex-wrap: wrap;
}
.form-tab {
  padding: 12px 24px;
  background: rgba(10,22,40,0.7);
  border: 1px solid var(--line);
  color: var(--white-dim);
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: none;
  transition: all 0.3s;
  border-bottom: none;
}
.form-tab.active {
  background: rgba(26,64,80,0.4);
  border-color: rgba(107,188,204,0.5);
  color: var(--seafoam);
}

.form-panel {
  display: none;
  background: rgba(10,22,40,0.8);
  border: 1px solid var(--line);
  padding: 48px;
}
.form-panel.active { display: block; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid.single { grid-template-columns: 1fr; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pale-teal);
}

.form-input,
.form-select,
.form-textarea {
  background: rgba(6,16,30,0.8);
  border: 1px solid var(--line);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 300;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(107,188,204,0.6);
}
.form-select option { background: var(--deep-navy); }
.form-textarea { resize: vertical; min-height: 120px; }

.form-submit {
  margin-top: 24px;
  padding: 16px 40px;
  background: transparent;
  border: 1px solid var(--seafoam);
  color: var(--seafoam);
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: none;
  transition: all 0.3s;
}
.form-submit:hover { background: var(--seafoam); color: var(--deep-navy); }
.form-note {
  font-size: 12px;
  color: var(--white-faint);
  margin-top: 16px;
  line-height: 1.7;
}

/* ===== CONTACT ===== */
#contact {
  background: linear-gradient(to bottom, rgba(3,12,20,0.8) 0%, var(--abyss) 100%);
  padding: 80px 48px;
  border-top: 1px solid var(--line);
}

.contact-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 64px;
  align-items: center;
}
.contact-divider { background: var(--line); }
.contact-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 300;
  margin-bottom: 8px;
}
.contact-role {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--pale-teal);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.contact-email {
  font-size: 16px;
  color: var(--seafoam);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.3s;
}
.contact-email:hover { color: var(--white); }

.contact-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  font-weight: 300;
  color: var(--white-dim);
  line-height: 1.7;
}
.contact-quote-attr {
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--pale-teal);
  margin-top: 12px;
}

/* ===== FOOTER ===== */
footer {
  background: #030a12;
  border-top: 1px solid var(--line);
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: gap;
  gap: 16px;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--white-dim);
}
.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.footer-links a {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-faint);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--pale-teal); }
.footer-copy {
  font-size: 12px;
  color: var(--white-faint);
  letter-spacing: 0.05em;
}

/* ===== DEPTH TRANSITION DIVIDERS ===== */
.depth-band {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line-bright), transparent);
  margin: 0;
}
.depth-label {
  text-align: center;
  padding: 16px;
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--pale-teal);
  opacity: 0.80;
}

/* Floating particles (ocean debris) */
.ocean-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(107,188,204,0.08);
  animation: particleDrift var(--pd, 20s) ease-in-out infinite;
  animation-delay: var(--pdelay, 0s);
}
@keyframes particleDrift {
  0% { transform: translate(0,0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.5; }
  100% { transform: translate(var(--dx, 50px), var(--dy, -200px)); opacity: 0; }
}

/* ===== QUOTE MODAL ===== */
#quote-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
#quote-modal.open {
  opacity: 1;
  pointer-events: all;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 12, 20, 0.88);
  backdrop-filter: blur(10px);
  cursor: none;
}
.modal-box {
  position: relative;
  z-index: 1;
  background: #080f1c;
  border: 1px solid var(--line-bright);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px 44px 40px;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}
#quote-modal.open .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 32px; height: 32px;
  background: none;
  border: 1px solid var(--line);
  color: var(--white-dim);
  font-size: 16px;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  line-height: 1;
}
.modal-close:hover { border-color: var(--seafoam); color: var(--seafoam); }

.modal-package-badge {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--pale-teal);
  margin-bottom: 10px;
}
.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 28px;
  line-height: 1.1;
}
.modal-title.staff-title { color: var(--gold); }

.modal-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.modal-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pale-teal);
}
.modal-input,
.modal-textarea {
  background: rgba(6,16,30,0.9);
  border: 1px solid var(--line);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 300;
  padding: 13px 15px;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}
.modal-input:focus, .modal-textarea:focus {
  border-color: rgba(107,188,204,0.55);
}
.modal-textarea {
  resize: vertical;
  min-height: 140px;
}
.modal-name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.modal-submit {
  margin-top: 8px;
  width: 100%;
  padding: 15px;
  background: transparent;
  border: 1px solid var(--seafoam);
  color: var(--seafoam);
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: none;
  transition: all 0.3s;
}
.modal-submit:hover { background: var(--seafoam); color: var(--deep-navy); }
.modal-submit.staff-submit { border-color: var(--gold); color: var(--gold); }
.modal-submit.staff-submit:hover { background: var(--gold); color: var(--deep-navy); }
.modal-footnote {
  font-size: 11px;
  color: var(--white-faint);
  margin-top: 14px;
  line-height: 1.7;
  text-align: center;
}

/* Form help text for accessibility */
.form-help {
  font-size: 11px;
  color: var(--white-faint);
  opacity: 0.7;
  margin-top: 4px;
  line-height: 1.4;
}

.modal-success {
  text-align: center;
  padding: 24px 0;
  display: none;
}
.modal-success.show { display: block; }
.modal-success-icon {
  font-size: 32px;
  margin-bottom: 12px;
  color: var(--seafoam);
}
.modal-success h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 8px;
}
.modal-success p {
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.7;
}

@media (max-width: 768px) {
  nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .mobile-menu-toggle { display: block; }
  .mobile-menu-overlay { display: none; }
  #depth-nav { display: none; }
  section { padding: 60px 24px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-divider { display: none; }
  .depth-values { grid-template-columns: 1fr; }
  .depth-values-row { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-divider { display: none; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .hero-title { font-size: 48px; }
  .hero-cta-group { margin-bottom: 40px; justify-content: center; align-items: center; width: 100%; margin: 0 auto 40px; }
  .hero-sky { height: 35%; }
  .waterline { top: 35%; }
  .hero-ocean { top: 35%; }
  .depth-rings { top: 35%; }
  .sounding-line { top: 2%; height: 75vh; left: 50%; transform: translateX(-50%); margin: 0 auto; }
  .sounding-weight { bottom: 5%; }
  .scroll-hint { bottom: 80px; }
  
  /* Hide custom cursor on mobile */
  #cursor { display: none; }
  #cursor-ring { display: none; }
  body { cursor: auto; }
  
  /* Mobile hero title override */
  .hero-title { 
    font-size: 48px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    line-height: 0.95;
    letter-spacing: 0.04em;
    position: relative;
  }
  .hero-title::before {
    content: "Purpose-Built";
    display: block;
    margin-bottom: 24px;
  }
  .hero-title::after {
    content: "Websites";
    display: block;
    font-style: italic;
    color: var(--seafoam);
    position: relative;
    padding-top: 12px;
    border-top: 1px solid transparent;
    background-image: linear-gradient(to right, transparent, var(--seafoam), transparent);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 80px 1px;
  }
  .hero-title * { display: none !important; }
  .hero-title {
    font-size: 0 !important;
    line-height: 0 !important;
  }
  .hero-title::before,
  .hero-title::after {
    font-size: 48px !important;
    line-height: 0.95 !important;
  }
}