/* ═══════════════════════════════════════════════════════════════════
   JARVICE — styles.css
   Privat Teknologiforvaltning
   ═══════════════════════════════════════════════════════════════════ */

/* ── Reset & base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --obsidian:    #0F0F0E;
  --night:       #1A1A17;
  --surface:     #161613;
  --gold:        #C4A96B;
  --gold-dim:    rgba(196,169,107,0.45);
  --linen:       #E8E4DC;
  --sage:        #7EB89E;
  --text-primary:   rgba(232,228,220,0.88);
  --text-secondary: rgba(232,228,220,0.45);
  --text-tertiary:  rgba(232,228,220,0.22);
  --border:         rgba(232,228,220,0.09);
  --border-gold:    rgba(196,169,107,0.2);
}

html { scroll-behavior: smooth; }

body {
  background: var(--obsidian);
  color: var(--text-primary);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* ── Custom cursor (desktop only) ──────────────────────────────────── */
.cursor {
  position: fixed; width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform .15s ease;
}
.cursor-ring {
  position: fixed; width: 28px; height: 28px;
  border: .5px solid rgba(196,169,107,.4); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: transform .4s cubic-bezier(.16,1,.3,1),
              width .3s ease, height .3s ease, opacity .3s ease;
}

/* ── Navigation ────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 28px 56px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(15,15,14,.92);
  backdrop-filter: blur(16px);
  border-bottom: .5px solid var(--border);
}
.nav-logo {
  font-family: 'Jost', sans-serif; font-weight: 200;
  font-size: 21px; letter-spacing: .34em;
  color: var(--linen); text-decoration: none;
  flex-shrink: 0;
}
.nav-logo em { color: var(--gold); font-style: normal; }
.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-link {
  font-size: 10px; font-weight: 400; letter-spacing: .22em;
  text-transform: uppercase; color: var(--text-secondary);
  text-decoration: none; transition: color .3s ease; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--linen); }
.nav-cta {
  font-size: 10px; font-weight: 400; letter-spacing: .22em;
  text-transform: uppercase; color: var(--obsidian);
  background: var(--gold); padding: 10px 22px;
  text-decoration: none; transition: opacity .3s ease; white-space: nowrap;
}
.nav-cta:hover { opacity: .85; }
.nav-cta.active { outline: 1px solid var(--gold); }

/* ── Mobile hamburger ───────────────────────────────────────────────── */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.nav-hamburger span {
  display: block; width: 22px; height: .5px;
  background: var(--linen); transition: all .3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  display: none; position: fixed; top: 73px; left: 0; right: 0;
  background: rgba(15,15,14,.97); backdrop-filter: blur(20px);
  border-bottom: .5px solid var(--border);
  padding: 32px 28px 40px; z-index: 99;
  flex-direction: column; gap: 0;
}
.nav-drawer.open { display: flex; }
.nav-drawer .nav-link, .nav-drawer .nav-cta {
  display: block; padding: 18px 0;
  border-bottom: .5px solid var(--border);
  font-size: 11px; letter-spacing: .2em;
}
.nav-drawer .nav-cta {
  margin-top: 24px; text-align: center;
  padding: 16px 24px; border-bottom: none;
}

/* ── Shared animations ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollPulse {
  0%,100% { opacity: .3; transform: scaleY(1); }
  50%      { opacity: .7; transform: scaleY(1.2); }
}

.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1),
              transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal.visible  { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn-primary {
  font-size: 10px; font-weight: 400; letter-spacing: .24em;
  text-transform: uppercase; color: var(--obsidian);
  background: var(--gold); padding: 14px 32px;
  text-decoration: none; transition: opacity .3s ease;
  display: inline-block; border: none; cursor: pointer;
}
.btn-primary:hover { opacity: .82; }

.btn-ghost {
  font-size: 10px; font-weight: 400; letter-spacing: .22em;
  text-transform: uppercase; color: var(--text-secondary);
  text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
  transition: color .3s ease;
}
.btn-ghost::after {
  content: ''; display: block; width: 20px; height: .5px;
  background: currentColor; transition: width .3s ease;
}
.btn-ghost:hover { color: var(--linen); }
.btn-ghost:hover::after { width: 32px; }

/* CTA contact box */
.cta-box { display: inline-flex; flex-direction: column; gap: 0; border: .5px solid var(--border); }
.cta-box-label {
  font-size: 9px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--text-tertiary); font-weight: 400; padding: 14px 24px 12px;
}
.cta-box-links { display: flex; gap: 0; }
.cta-box-link {
  font-size: 10px; font-weight: 400; letter-spacing: .2em;
  text-transform: uppercase; text-decoration: none;
  padding: 12px 24px 14px 14px; transition: background .3s ease, color .3s ease; display: block;
}
.cta-box-link.primary { background: var(--gold); color: var(--obsidian); }
.cta-box-link.primary:hover { opacity: .85; }
.cta-box-link.secondary { color: var(--text-secondary); border-left: .5px solid var(--border); }
.cta-box-link.secondary:hover { color: var(--linen); background: rgba(232,228,220,.03); }

/* ── Section primitives ─────────────────────────────────────────────── */
.section     { padding: 140px 56px; }
.section-alt { padding: 140px 56px; background: var(--surface); }
.h-rule      { height: .5px; background: var(--border); margin: 0 56px; }

.section-label {
  font-size: 10px; font-weight: 400; letter-spacing: .28em;
  text-transform: uppercase; color: var(--text-tertiary);
  margin-bottom: 16px; display: flex; align-items: center; gap: 14px;
}
.section-label::before {
  content: ''; display: block; width: 18px; height: .5px;
  background: var(--gold); opacity: .4;
}
.gold-rule { width: 32px; height: .5px; background: var(--gold); opacity: .4; margin-bottom: 32px; }

.sec-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: 43px; line-height: 1.1; color: var(--linen); margin-bottom: 20px;
}
.sec-sub {
  font-size: 17px; font-weight: 300; color: var(--text-secondary);
  line-height: 1.9; letter-spacing: .03em; max-width: 480px;
}

/* Section header (homepage sections) */
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 88px; padding-bottom: 40px; border-bottom: .5px solid var(--border);
}
.section-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: 43px; line-height: 1.1; color: var(--linen);
}
.section-sub-right {
  font-size: 17px; font-weight: 300; letter-spacing: .06em;
  color: var(--text-secondary); max-width: 320px; line-height: 1.8; text-align: right;
}

/* ── Layout grids ───────────────────────────────────────────────────── */
.ed-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.ed-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; border: .5px solid var(--border); }

/* ── Strip ──────────────────────────────────────────────────────────── */
.strip {
  border-top: .5px solid var(--border); border-bottom: .5px solid var(--border);
  padding: 18px 56px; display: flex; overflow: hidden;
}
.strip-item {
  flex: 1; padding: 0 28px; border-right: .5px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.strip-item:first-child { padding-left: 0; }
.strip-item:last-child  { border-right: none; }
.strip-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: .45; flex-shrink: 0; }
.strip-text {
  font-size: 10px; font-weight: 300; letter-spacing: .2em;
  text-transform: uppercase; color: var(--text-secondary);
}

/* ── Footer ─────────────────────────────────────────────────────────── */
footer {
  padding: 48px 56px; border-top: .5px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo {
  font-family: 'Jost', sans-serif; font-weight: 200; font-size: 16px;
  letter-spacing: .3em; color: rgba(232,228,220,.35);
}
.footer-logo em { color: rgba(196,169,107,.4); font-style: normal; }
.footer-mid {
  font-size: 10px; letter-spacing: .18em; color: var(--text-tertiary);
  font-weight: 300; text-align: center; line-height: 1.8;
}
.footer-right {
  font-size: 10px; letter-spacing: .16em; color: var(--text-tertiary);
  font-weight: 300; text-align: right; line-height: 1.7;
}

/* ── Disc box ───────────────────────────────────────────────────────── */
.disc-box { padding: 28px 32px; border: .5px solid var(--border-gold); background: rgba(196,169,107,.025); }
.disc-box-label {
  font-size: 9px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-dim); margin-bottom: 10px; font-weight: 400;
}
.disc-box-text { font-size: 17px; font-weight: 300; color: var(--text-secondary); line-height: 1.85; letter-spacing: .025em; }

/* ── Pull quotes ────────────────────────────────────────────────────── */
.pull-quote {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300;
  font-size: 35px; line-height: 1.42; color: rgba(232,228,220,.65); letter-spacing: .01em;
}
.pull-quote em { color: var(--gold); font-style: normal; }
.pull-quote-sm {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300;
  font-size: 19px; line-height: 1.5; color: rgba(232,228,220,.55); letter-spacing: .01em;
}

/* ── Image placeholders ─────────────────────────────────────────────── */
.img-placeholder { position: relative; overflow: hidden; background: var(--night); }
.img-placeholder::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom,rgba(15,15,14,.15) 0%,rgba(15,15,14,.05) 40%,rgba(15,15,14,.35) 100%);
  pointer-events: none; z-index: 1;
}
.img-placeholder img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: .75; transition: opacity .6s ease; filter: saturate(.85) brightness(.88);
}
.img-placeholder img:hover { opacity: .82; }
.img-placeholder-label {
  position: absolute; bottom: 14px; left: 16px; font-size: 8px;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(196,169,107,.45);
  font-weight: 400; z-index: 2; pointer-events: none;
}
.img-full    { width: 100%; height: 520px; }
.img-half    { width: 100%; height: 440px; }
.img-portrait{ width: 100%; height: 600px; }

/* ── Hero image bg ──────────────────────────────────────────────────── */
.hero-img-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  opacity: .28; display: block; filter: saturate(.7) brightness(.6);
}

/* ═══════════════════════════════════════════════════════════════════
   HOME PAGE
   ═══════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 0 56px 80px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom,rgba(15,15,14,.55) 0%,rgba(15,15,14,.3) 40%,rgba(15,15,14,.75) 100%),
    radial-gradient(ellipse 60% 50% at 70% 40%,rgba(196,169,107,.04) 0%,transparent 70%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .4; pointer-events: none;
}
.hero-line {
  position: absolute; top: 0; left: 56px; width: .5px; height: 100%;
  background: linear-gradient(to bottom,transparent 0%,var(--border-gold) 30%,var(--border-gold) 70%,transparent 100%);
  opacity: .5; z-index: 2;
}
.hero-content { position: relative; z-index: 3; max-width: 780px; animation: fadeUp 1.2s cubic-bezier(.16,1,.3,1) both; }
.hero-eyebrow {
  font-size: 10px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-dim); margin-bottom: 28px; display: flex; align-items: center; gap: 16px;
}
.hero-eyebrow::before { content: ''; display: block; width: 32px; height: .5px; background: var(--gold); opacity: .5; }
.hero-h1 {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(53px,7vw,90px); line-height: 1.04; letter-spacing: -.01em;
  color: var(--linen); margin-bottom: 36px;
  animation: fadeUp 1.2s .15s cubic-bezier(.16,1,.3,1) both;
}
.hero-h1 em { font-style: italic; color: rgba(232,228,220,.55); }
.hero-tagline {
  font-family: 'Jost', sans-serif; font-weight: 200; font-size: 17px;
  letter-spacing: .24em; text-transform: uppercase; color: var(--text-secondary);
  margin-bottom: 48px; animation: fadeUp 1.2s .25s cubic-bezier(.16,1,.3,1) both;
}
.hero-actions {
  display: flex; align-items: center; gap: 32px;
  animation: fadeUp 1.2s .35s cubic-bezier(.16,1,.3,1) both;
}
.hero-scroll {
  position: absolute; right: 56px; bottom: 80px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  animation: fadeIn 2s 1s both; z-index: 3;
}
.hero-scroll-label { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-tertiary); writing-mode: vertical-rl; }
.hero-scroll-line {
  width: .5px; height: 48px;
  background: linear-gradient(to bottom,var(--border-gold),transparent);
  animation: scrollPulse 2s 1.5s ease-in-out infinite;
}

/* Services */
.services { padding: 140px 56px; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border: .5px solid var(--border); }
.service-card {
  padding: 48px 40px; border-right: .5px solid var(--border); border-bottom: .5px solid var(--border);
  position: relative; overflow: hidden; transition: background .4s ease;
}
.service-card:hover { background: rgba(232,228,220,.02); }
.service-card:nth-child(3n)    { border-right: none; }
.service-card:nth-child(n+7)   { border-bottom: none; }
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 0; height: .5px;
  background: var(--gold); transition: width .5s cubic-bezier(.16,1,.3,1);
}
.service-card:hover::before { width: 100%; }
.service-num   { font-size: 10px; letter-spacing: .18em; color: rgba(196,169,107,.35); font-weight: 400; margin-bottom: 24px; }
.service-name  { font-family: 'Cormorant Garamond',serif; font-weight: 300; font-size: 21px; color: var(--linen); margin-bottom: 12px; line-height: 1.2; }
.service-desc  { font-size: 17px; font-weight: 300; color: var(--text-secondary); line-height: 1.8; letter-spacing: .02em; }

/* Philosophy */
.philosophy  { padding: 140px 56px; background: var(--surface); position: relative; overflow: hidden; }
.philosophy-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 50% 70% at 80% 50%,rgba(196,169,107,.03) 0%,transparent 70%); pointer-events: none; }
.philosophy-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 2; }
.philosophy-quote { font-family: 'Cormorant Garamond',serif; font-style: italic; font-weight: 300; font-size: 35px; line-height: 1.38; color: rgba(232,228,220,.72); letter-spacing: .01em; }
.philosophy-quote em { color: var(--gold); font-style: normal; }
.philosophy-text  { display: flex; flex-direction: column; gap: 24px; }
.philosophy-p     { font-size: 17px; font-weight: 300; line-height: 1.9; color: var(--text-secondary); letter-spacing: .03em; }
.philosophy-signature { font-family: 'Cormorant Garamond',serif; font-style: italic; font-size: 17px; color: var(--gold-dim); margin-top: 16px; }

/* Process */
.process { padding: 140px 56px; }
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 72px; border-left: .5px solid var(--border); }
.process-step  { padding: 48px 40px; border-right: .5px solid var(--border); position: relative; }
.process-step::before { content: ''; position: absolute; top: 48px; left: -1px; width: 6px; height: .5px; background: var(--gold); opacity: .5; }
.step-num   { font-size: 10px; letter-spacing: .2em; color: rgba(196,169,107,.3); font-weight: 400; margin-bottom: 32px; }
.step-title { font-family: 'Cormorant Garamond',serif; font-weight: 300; font-size: 23px; color: var(--linen); margin-bottom: 16px; line-height: 1.2; }
.step-desc  { font-size: 17px; font-weight: 300; color: var(--text-secondary); line-height: 1.8; letter-spacing: .02em; }

/* Portal */
.portal       { padding: 140px 56px; background: var(--surface); }
.portal-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-top: 72px; }
.portal-card  { background: var(--obsidian); border: .5px solid var(--border); padding: 36px; }
.portal-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; padding-bottom: 20px; border-bottom: .5px solid var(--border); }
.portal-card-title { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-tertiary); font-weight: 400; }
.portal-badge { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 400; padding: 4px 10px; border: .5px solid rgba(126,184,158,.3); color: #7EB89E; }
.status-list  { display: flex; flex-direction: column; gap: 0; }
.status-row   { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: .5px solid rgba(232,228,220,.05); }
.status-row:last-child { border-bottom: none; }
.status-left  { display: flex; align-items: center; gap: 14px; }
.status-dot   { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.dot-on   { background: #7EB89E; box-shadow: 0 0 6px rgba(126,184,158,.4); }
.dot-off  { background: rgba(232,228,220,.15); }
.dot-sched{ background: var(--gold); opacity: .7; }
.status-name  { font-size: 17px; font-weight: 300; color: rgba(232,228,220,.6); letter-spacing: .04em; }
.status-meta  { font-size: 10px; letter-spacing: .1em; color: var(--text-tertiary); font-weight: 300; }
.form-card    { background: var(--obsidian); border: .5px solid var(--border); padding: 36px; }
.form-intro   { font-family: 'Cormorant Garamond',serif; font-style: italic; font-weight: 300; font-size: 19px; color: rgba(232,228,220,.55); margin-bottom: 32px; line-height: 1.5; }
.form-fields  { display: flex; flex-direction: column; gap: 0; }
.form-field-inline { display: flex; flex-direction: column; gap: 6px; padding: 16px 0; border-bottom: .5px solid rgba(232,228,220,.07); }
.form-field-inline:last-of-type { border-bottom: none; margin-bottom: 28px; }

/* Enquiry */
.enquiry { padding: 140px 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; border-top: .5px solid var(--border); }
.enquiry-title { font-family: 'Cormorant Garamond',serif; font-weight: 300; font-size: 53px; line-height: 1.1; color: var(--linen); margin-bottom: 24px; }
.enquiry-sub   { font-size: 17px; font-weight: 300; color: var(--text-secondary); line-height: 1.9; letter-spacing: .03em; max-width: 420px; margin-bottom: 48px; }
.enquiry-detail { display: flex; flex-direction: column; gap: 14px; padding-top: 40px; border-top: .5px solid var(--border); }
.enquiry-detail-row { display: flex; gap: 16px; align-items: baseline; }
.detail-label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-tertiary); font-weight: 400; min-width: 100px; }
.detail-value { font-size: 17px; font-weight: 300; color: var(--text-secondary); letter-spacing: .04em; }

/* ═══════════════════════════════════════════════════════════════════
   SUBPAGE SHARED LAYOUT
   ═══════════════════════════════════════════════════════════════════ */
.page-hero   { padding: 160px 56px 100px; border-bottom: .5px solid var(--border); position: relative; overflow: hidden; }
.page-hero-bg  { position: absolute; inset: 0; pointer-events: none; }
.page-hero-glow{ position: absolute; inset: 0; background: radial-gradient(ellipse 55% 60% at 75% 50%,rgba(196,169,107,.04) 0%,transparent 70%); }
.page-eyebrow {
  font-size: 10px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-dim); margin-bottom: 28px; display: flex; align-items: center; gap: 16px;
}
.page-eyebrow::before { content: ''; display: block; width: 28px; height: .5px; background: var(--gold); opacity: .5; }
.page-h1    { font-family: 'Cormorant Garamond',serif; font-weight: 300; font-size: clamp(53px,7vw,90px); line-height: 1.04; letter-spacing: -.01em; color: var(--linen); margin-bottom: 32px; }
.page-h1 em { font-style: italic; color: rgba(232,228,220,.55); }
.page-intro { font-size: 17px; font-weight: 300; color: var(--text-secondary); line-height: 1.85; letter-spacing: .03em; max-width: 560px; }
.page-vertical-line {
  position: absolute; top: 0; left: 56px; width: .5px; height: 100%;
  background: linear-gradient(to bottom,transparent,var(--border-gold) 30%,var(--border-gold) 70%,transparent);
  opacity: .4;
}

/* ── Discipline cards ───────────────────────────────────────────────── */
.discipline { padding: 48px 40px; border-right: .5px solid var(--border); border-bottom: .5px solid var(--border); position: relative; overflow: hidden; transition: background .4s ease; }
.discipline:hover { background: rgba(232,228,220,.02); }
.discipline:nth-child(3n) { border-right: none; }
.discipline::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: .5px; background: var(--gold); transition: width .5s cubic-bezier(.16,1,.3,1); }
.discipline:hover::before { width: 100%; }
.discipline-num  { font-size: 10px; letter-spacing: .18em; color: rgba(196,169,107,.35); font-weight: 400; margin-bottom: 24px; }
.discipline-title{ font-family: 'Cormorant Garamond',serif; font-weight: 300; font-size: 21px; color: var(--linen); margin-bottom: 14px; line-height: 1.2; }
.discipline-body { font-size: 17px; font-weight: 300; color: var(--text-secondary); line-height: 1.85; letter-spacing: .025em; }
.discipline-body + .discipline-body { margin-top: 12px; }

/* ── Philosophy blocks ──────────────────────────────────────────────── */
.phil-block { padding: 56px 0; border-bottom: .5px solid var(--border); display: grid; grid-template-columns: 200px 1fr; gap: 60px; align-items: start; }
.phil-block:last-child { border-bottom: none; }
.phil-block-label { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-tertiary); font-weight: 400; padding-top: 6px; }
.phil-block-text  { font-size: 17px; font-weight: 300; color: var(--text-secondary); line-height: 1.9; letter-spacing: .03em; }
.phil-block-title { font-family: 'Cormorant Garamond',serif; font-weight: 300; font-size: 23px; color: var(--linen); margin-bottom: 16px; line-height: 1.2; }

/* ── Care cards ─────────────────────────────────────────────────────── */
.care-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: .5px solid var(--border); margin-top: 72px; }
.care-card { padding: 52px 48px; border-right: .5px solid var(--border); border-bottom: .5px solid var(--border); position: relative; }
.care-card:nth-child(2n) { border-right: none; }
.care-card:nth-last-child(-n+2) { border-bottom: none; }
.care-card.featured { background: rgba(196,169,107,.03); border-color: var(--border-gold); }
.care-card-tag   { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dim); font-weight: 400; margin-bottom: 20px; }
.care-card-title { font-family: 'Cormorant Garamond',serif; font-weight: 300; font-size: 28px; color: var(--linen); margin-bottom: 8px; }
.care-card-price { font-size: 17px; font-weight: 300; color: rgba(232,228,220,.35); letter-spacing: .04em; margin-bottom: 28px; padding-bottom: 28px; border-bottom: .5px solid var(--border); }
.care-item       { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: .5px solid rgba(232,228,220,.05); }
.care-item:last-child { border-bottom: none; }
.care-dot        { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); opacity: .5; flex-shrink: 0; margin-top: 6px; }
.care-item-text  { font-size: 17px; font-weight: 300; color: var(--text-secondary); line-height: 1.7; letter-spacing: .02em; }

/* ── Timeline ───────────────────────────────────────────────────────── */
.timeline { display: flex; flex-direction: column; gap: 0; margin-top: 72px; }
.tl-item  { display: grid; grid-template-columns: 80px 1px 1fr; gap: 0 40px; padding-bottom: 64px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-num   { font-size: 10px; letter-spacing: .2em; color: rgba(196,169,107,.3); font-weight: 400; padding-top: 4px; text-align: right; }
.tl-line  { background: var(--border); position: relative; }
.tl-line::before { content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: .5; }
.tl-title { font-family: 'Cormorant Garamond',serif; font-weight: 300; font-size: 23px; color: var(--linen); margin-bottom: 12px; }
.tl-text  { font-size: 17px; font-weight: 300; color: var(--text-secondary); line-height: 1.9; letter-spacing: .03em; }

/* ── Seasonal cards ─────────────────────────────────────────────────── */
.seasonal-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: .5px solid var(--border); margin-top: 72px; }
.season-card   { padding: 40px 32px; border-right: .5px solid var(--border); }
.season-card:last-child { border-right: none; }
.season-name   { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dim); font-weight: 400; margin-bottom: 20px; }
.season-title  { font-family: 'Cormorant Garamond',serif; font-weight: 300; font-size: 19px; color: var(--linen); margin-bottom: 14px; line-height: 1.2; }
.season-body   { font-size: 17px; font-weight: 300; color: var(--text-secondary); line-height: 1.8; letter-spacing: .02em; }

/* ── Stats row ──────────────────────────────────────────────────────── */
.stat-row  { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border: .5px solid var(--border); margin-top: 72px; }
.stat-cell { padding: 40px; border-right: .5px solid var(--border); }
.stat-cell:last-child { border-right: none; }
.stat-num  { font-family: 'Cormorant Garamond',serif; font-weight: 300; font-size: 48px; color: var(--linen); line-height: 1; margin-bottom: 8px; }
.stat-label{ font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-tertiary); font-weight: 300; }

/* ═══════════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════════ */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 85px); }
.contact-left   { padding: 100px 56px 80px; border-right: .5px solid var(--border); display: flex; flex-direction: column; justify-content: space-between; }
.contact-right  { padding: 100px 64px 80px; background: var(--surface); }
.contact-title  { font-family: 'Cormorant Garamond',serif; font-weight: 300; font-size: 53px; line-height: 1.08; color: var(--linen); margin-bottom: 32px; }
.contact-body   { font-size: 17px; font-weight: 300; color: var(--text-secondary); line-height: 1.9; letter-spacing: .03em; max-width: 420px; margin-bottom: 48px; }
.contact-detail-list { display: flex; flex-direction: column; gap: 0; }
.contact-detail-row  { display: flex; gap: 24px; align-items: baseline; padding: 14px 0; border-bottom: .5px solid var(--border); }
.contact-detail-row:last-child { border-bottom: none; }
.cd-label { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-tertiary); font-weight: 400; min-width: 90px; }
.cd-value { font-size: 17px; font-weight: 300; color: var(--text-secondary); letter-spacing: .04em; }
.contact-quote { font-family: 'Cormorant Garamond',serif; font-style: italic; font-weight: 300; font-size: 19px; color: rgba(232,228,220,.35); line-height: 1.6; letter-spacing: .02em; margin-top: 48px; padding-top: 40px; border-top: .5px solid var(--border); }

/* Forms */
.form-title    { font-family: 'Cormorant Garamond',serif; font-weight: 300; font-size: 28px; color: var(--linen); margin-bottom: 10px; }
.form-subtitle { font-size: 17px; font-weight: 300; color: var(--text-secondary); line-height: 1.8; letter-spacing: .03em; margin-bottom: 48px; }
.form-field    { display: flex; flex-direction: column; gap: 7px; padding: 18px 0; border-bottom: .5px solid rgba(232,228,220,.07); }
.form-field:last-of-type { border-bottom: none; margin-bottom: 32px; }
.form-label    { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--text-tertiary); font-weight: 400; }
.form-input    { background: transparent; border: none; outline: none; color: rgba(232,228,220,.72); font-family: 'Jost',sans-serif; font-size: 17px; font-weight: 300; letter-spacing: .04em; padding: 6px 0; width: 100%; }
.form-input::placeholder { color: rgba(232,228,220,.18); }
.form-textarea { background: transparent; border: none; outline: none; color: rgba(232,228,220,.72); font-family: 'Jost',sans-serif; font-size: 17px; font-weight: 300; letter-spacing: .04em; padding: 6px 0; width: 100%; resize: none; min-height: 80px; line-height: 1.6; }
.form-textarea::placeholder { color: rgba(232,228,220,.18); }

/* Form feedback message */
#form-msg { padding: 20px 24px; margin-bottom: 28px; border: .5px solid; font-size: 14px; font-weight: 300; letter-spacing: .03em; line-height: 1.7; }
/* ═══════════════════════════════════════════════════════════════════
   LANDING PAGE
   jarvice-landing.html
   ═══════════════════════════════════════════════════════════════════ */

/* Reveal animation matching landing page classes */
.lp-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .8s cubic-bezier(.16,1,.3,1),
    transform .8s cubic-bezier(.16,1,.3,1);
}

.lp-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.lp-reveal-d1 { transition-delay: .1s; }
.lp-reveal-d2 { transition-delay: .2s; }
.lp-reveal-d3 { transition-delay: .3s; }

/* LANDINGPAGE Hero */
.lp-hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding: 160px 56px 86px;
  background: var(--obsidian);
}

.lp-hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.lp-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: .58;
  filter: saturate(.78) brightness(.68);
}

.lp-hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(15,15,14,.18) 0%, rgba(15,15,14,.34) 42%, rgba(15,15,14,.88) 100%),
    linear-gradient(to right, rgba(15,15,14,.78) 0%, rgba(15,15,14,.38) 44%, rgba(15,15,14,.2) 100%),
    radial-gradient(ellipse 60% 50% at 70% 38%, rgba(196,169,107,.08) 0%, transparent 70%);
  pointer-events: none;
}

.lp-hero-line {
  position: absolute;
  top: 0;
  left: 56px;
  width: .5px;
  height: 100%;
  z-index: 2;
  background: linear-gradient(to bottom, transparent 0%, var(--border-gold) 30%, var(--border-gold) 70%, transparent 100%);
  opacity: .45;
}

.lp-hero-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
  animation: fadeUp 1.2s cubic-bezier(.16,1,.3,1) both;
}

.lp-hero-eyebrow {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.lp-hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: .5px;
  background: var(--gold);
  opacity: .5;
}

.lp-hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -.01em;
  color: var(--linen);
  margin-bottom: 32px;
}

.lp-hero-h1 em {
  font-style: italic;
  color: rgba(232,228,220,.55);
}

.lp-hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.85;
  letter-spacing: .04em;
  margin-bottom: 42px;
  max-width: 560px;
}

.lp-hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.lp-hero-scroll {
  position: absolute;
  right: 56px;
  bottom: 80px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: fadeIn 2s 1s both;
}

.lp-hero-scroll-label {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  writing-mode: vertical-rl;
}

.lp-hero-scroll-line {
  width: .5px;
  height: 48px;
  background: linear-gradient(to bottom, var(--border-gold), transparent);
  animation: scrollPulse 2s 1.5s ease-in-out infinite;
}

/* Editorial opener */
.lp-opener {
  padding: 140px 56px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
  align-items: start;
  background: var(--obsidian);
}

.lp-opener-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.lp-opener-label::before {
  content: '';
  display: block;
  width: 18px;
  height: .5px;
  background: var(--gold);
  opacity: .4;
}

.lp-opener-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 40px;
  line-height: 1.35;
  color: rgba(232,228,220,.68);
  letter-spacing: .01em;
}

.lp-opener-quote em {
  color: var(--gold);
  font-style: normal;
}

.lp-opener-text {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.lp-opener-text p {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.9;
  letter-spacing: .03em;
}

/* Split sections */
.lp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
  background: var(--surface);
}

.lp-split.reverse .lp-split-img {
  order: 2;
}

.lp-split.reverse .lp-split-content {
  order: 1;
}

.lp-split-img {
  position: relative;
  overflow: hidden;
  background: var(--night);
}

.lp-split-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,15,14,.08), rgba(15,15,14,.35));
  pointer-events: none;
}

.lp-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .78;
  filter: saturate(.85) brightness(.82);
}

.lp-split-content,
.lp-care-content {
  padding: 96px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.lp-split-eyebrow {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.lp-split-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(34px, 3.3vw, 50px);
  line-height: 1.1;
  color: var(--linen);
}

.lp-split-title em {
  font-style: italic;
  color: rgba(232,228,220,.5);
}

.lp-split-body,
.lp-phil-body {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.9;
  letter-spacing: .03em;
}

/* Services */
.lp-services,
.lp-pricing,
.lp-process {
  padding: 140px 56px;
}

.lp-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: .5px solid var(--border);
  margin-top: 72px;
}

.lp-service-item {
  padding: 44px 38px;
  border-right: .5px solid var(--border);
  border-bottom: .5px solid var(--border);
  transition: background .4s ease;
}

.lp-service-item:hover {
  background: rgba(232,228,220,.02);
}

.lp-service-item:nth-child(3n) {
  border-right: none;
}

.lp-service-item:nth-last-child(-n+3) {
  border-bottom: none;
}

.lp-service-icon {
  font-size: 10px;
  letter-spacing: .2em;
  color: rgba(196,169,107,.36);
  margin-bottom: 24px;
}

.lp-service-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 23px;
  color: var(--linen);
  margin-bottom: 14px;
  line-height: 1.2;
}

.lp-service-desc {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  letter-spacing: .025em;
}

/* Cinematic quote */
.lp-cinematic {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 56px;
  overflow: hidden;
  background: var(--obsidian);
}

.lp-cinematic-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 65% at 50% 50%, rgba(196,169,107,.06) 0%, transparent 65%),
    linear-gradient(to bottom, rgba(15,15,14,.4), rgba(15,15,14,.92));
  pointer-events: none;
}

.lp-cinematic-text {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-align: center;
}

.lp-cinematic-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1.25;
  color: rgba(232,228,220,.72);
}

.lp-cinematic-quote em {
  color: var(--gold);
  font-style: normal;
}

.lp-cinematic-attr {
  margin-top: 32px;
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

/* Philosophy */
.lp-philosophy {
  padding: 140px 56px;
  background: var(--surface);
}

.lp-phil-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.lp-phil-img {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: var(--night);
}

.lp-phil-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .76;
  filter: saturate(.85) brightness(.82);
}

.lp-phil-content {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.lp-phil-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 35px;
  line-height: 1.4;
  color: rgba(232,228,220,.68);
}

.lp-phil-quote em {
  color: var(--gold);
  font-style: normal;
}

.lp-phil-sig {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--gold-dim);
}

/* Care */
.lp-care {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--obsidian);
}

.lp-care-img {
  position: relative;
  overflow: hidden;
  background: var(--night);
}

.lp-care-img img {
  width: 100%;
  height: 100%;
  min-height: 680px;
  object-fit: cover;
  opacity: .72;
  filter: saturate(.82) brightness(.78);
}

.lp-care-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lp-care-item {
  padding: 14px 0;
  border-bottom: .5px solid rgba(232,228,220,.07);
  font-size: 17px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  letter-spacing: .025em;
}

.lp-care-item::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 14px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .45;
  vertical-align: middle;
}

/* Pricing */
.lp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: .5px solid var(--border);
  margin-top: 72px;
}

.lp-price-card {
  padding: 44px 38px;
  border-right: .5px solid var(--border);
  position: relative;
  transition: background .4s ease;
}

.lp-price-card:hover {
  background: rgba(232,228,220,.02);
}

.lp-price-card:last-child {
  border-right: none;
}

.lp-price-tag {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 20px;
  font-weight: 400;
}

.lp-price-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 26px;
  color: var(--linen);
  line-height: 1.2;
  margin-bottom: 16px;
}

.lp-price-amount {
  font-size: 17px;
  color: rgba(232,228,220,.55);
  letter-spacing: .04em;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: .5px solid var(--border);
}

.lp-price-note {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-tertiary);
  line-height: 1.75;
  letter-spacing: .03em;
}

.lp-price-item {
  padding: 10px 0;
  border-bottom: .5px solid rgba(232,228,220,.06);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Process */
.lp-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: .5px solid var(--border);
  margin-top: 72px;
}

.lp-process-step {
  padding: 46px 34px;
  border-right: .5px solid var(--border);
  position: relative;
}

.lp-process-step::before {
  content: '';
  position: absolute;
  top: 46px;
  left: -1px;
  width: 6px;
  height: .5px;
  background: var(--gold);
  opacity: .5;
}

.lp-step-num {
  font-size: 10px;
  letter-spacing: .2em;
  color: rgba(196,169,107,.32);
  margin-bottom: 30px;
}

.lp-step-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 23px;
  color: var(--linen);
  line-height: 1.2;
  margin-bottom: 14px;
}

.lp-step-desc {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  letter-spacing: .025em;
}

/* CTA */
.lp-cta {
  padding: 140px 56px;
  background: var(--surface);
  border-top: .5px solid var(--border);
}

.lp-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.lp-cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(42px, 4.5vw, 66px);
  line-height: 1.08;
  color: var(--linen);
  margin-bottom: 28px;
}

.lp-cta-title em {
  font-style: italic;
  color: rgba(232,228,220,.5);
}

.lp-cta-body {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.9;
  letter-spacing: .03em;
  max-width: 520px;
  margin-bottom: 44px;
}

.lp-cta-details {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: .5px solid var(--border);
}

.lp-cta-row {
  display: flex;
  gap: 24px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: .5px solid var(--border);
}

.lp-cta-label {
  min-width: 90px;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: 400;
}

.lp-cta-value {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: .04em;
}

.lp-cta-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.lp-disc-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: .5px solid var(--border);
}

.lp-disc-item {
  padding: 18px 22px;
  border-bottom: .5px solid var(--border);
  font-size: 17px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  letter-spacing: .025em;
}

.lp-disc-item:last-child {
  border-bottom: none;
}

/* Landing responsive */
@media (max-width: 1024px) {
  .lp-hero,
  .lp-opener,
  .lp-services,
  .lp-pricing,
  .lp-process,
  .lp-philosophy,
  .lp-cta {
    padding-left: 32px;
    padding-right: 32px;
  }

  .lp-hero-line {
    left: 32px;
  }

  .lp-opener,
  .lp-phil-inner,
  .lp-cta-inner {
    gap: 48px;
  }

  .lp-split-content,
  .lp-care-content {
    padding: 80px 48px;
  }

  .lp-services-grid,
  .lp-pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lp-service-item:nth-child(3n) {
    border-right: .5px solid var(--border);
  }

  .lp-service-item:nth-child(2n) {
    border-right: none;
  }

  .lp-service-item:nth-last-child(-n+3) {
    border-bottom: .5px solid var(--border);
  }

  .lp-service-item:last-child {
    border-bottom: none;
  }

  .lp-price-card:nth-child(2n) {
    border-right: none;
  }

  .lp-process-grid {
    grid-template-columns: 1fr 1fr;
  }
}


  .lp-hero {
    min-height: 100svh;
    padding: 120px 24px 64px;
  }

  .lp-hero-line,
  .lp-hero-scroll {
    display: none;
  }

  .lp-hero-h1 {
    font-size: clamp(42px, 10vw, 62px);
  }

  .lp-hero-sub {
    font-size: 15px;
  }

  .lp-hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .lp-opener,
  .lp-services,
  .lp-pricing,
  .lp-process,
  .lp-philosophy,
  .lp-cta {
    padding: 80px 24px;
  }

  .lp-opener,
  .lp-split,
  .lp-care,
  .lp-phil-inner,
  .lp-cta-inner {
    grid-template-columns: 1fr;
  }

  .lp-split.reverse .lp-split-img,
  .lp-split.reverse .lp-split-content {
    order: initial;
  }

  .lp-split-img,
  .lp-care-img {
    min-height: 320px;
  }

  .lp-care-img img {
    min-height: 320px;
  }

  .lp-split-content,
  .lp-care-content {
    padding: 64px 24px;
  }

  .lp-opener-quote,
  .lp-phil-quote {
    font-size: 28px;
  }

  .lp-services-grid,
  .lp-pricing-grid,
  .lp-process-grid {
    grid-template-columns: 1fr;
  }

  .lp-service-item,
  .lp-price-card,
  .lp-process-step {
    border-right: none !important;
    border-bottom: .5px solid var(--border);
  }

  .lp-service-item:last-child,
  .lp-price-card:last-child,
  .lp-process-step:last-child {
    border-bottom: none;
  }

  .lp-process-grid {
    border-left: none;
  }

  .lp-process-step::before {
    display: none;
  }

  .lp-cinematic {
    padding: 90px 24px;
    min-height: 420px;
  }

  .lp-phil-img {
    height: 340px;
  }
}

@media (max-width: 420px) {
  .lp-hero {
    padding: 120px 20px 56px;
  }

  .lp-opener,
  .lp-services,
  .lp-pricing,
  .lp-process,
  .lp-philosophy,
  .lp-cta {
    padding: 64px 20px;
  }

  .lp-split-content,
  .lp-care-content {
    padding: 56px 20px;
  }

  .lp-service-item,
  .lp-price-card,
  .lp-process-step {
    padding: 32px 20px;
  }
}
/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET  (max-width: 1024px)
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

  /* Nav */
  nav { padding: 22px 32px; }
  .nav-links { gap: 24px; }
  .nav-link  { font-size: 9px; letter-spacing: .16em; }

  /* Sections */
  .section, .section-alt, .services, .philosophy, .process, .portal, .enquiry { padding: 100px 32px; }
  .h-rule { margin: 0 32px; }
  .strip  { padding: 18px 32px; }
  .strip-item { padding: 0 16px; }
  footer  { padding: 40px 32px; }

  /* Hero */
  .hero { padding: 0 32px 64px; }
  .hero-line { left: 32px; }

  /* Services 2-col on tablet */
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card:nth-child(3n)  { border-right: .5px solid var(--border); }
  .service-card:nth-child(2n)  { border-right: none; }
  .service-card:nth-child(n+7) { border-bottom: .5px solid var(--border); }
  .service-card:nth-child(n+8) { border-bottom: none; }
  /* last child if odd */
  .service-card:last-child     { border-bottom: none; }

  /* Philosophy / enquiry / contact */
  .philosophy-inner { gap: 48px; }
  .ed-grid  { gap: 48px; }
  .enquiry  { gap: 48px; }

  /* Process 2-col */
  .process-steps { grid-template-columns: 1fr 1fr; }

  /* Seasonal 2-col */
  .seasonal-grid { grid-template-columns: 1fr 1fr; }
  .season-card:nth-child(2n) { border-right: none; }
  .season-card:nth-child(-n+2) { border-bottom: .5px solid var(--border); }

  /* Page hero */
  .page-hero { padding: 140px 32px 80px; }
  .page-vertical-line { left: 32px; }

  /* Contact */
  .contact-left  { padding: 80px 32px 60px; }
  .contact-right { padding: 80px 40px 60px; }
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE  (max-width: 768px)
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  body { cursor: auto; }

  /* Hide custom cursor on touch */
  .cursor, .cursor-ring { display: none; }

  /* Nav — show hamburger, hide links */
  nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-logo { font-size: 17px; letter-spacing: .28em; }

  /* Sections */
  .section, .section-alt { padding: 80px 24px; }
  .services     { padding: 80px 24px; }
  .philosophy   { padding: 80px 24px; }
  .process      { padding: 80px 24px; }
  .portal       { padding: 80px 24px; }
  .enquiry      { padding: 80px 24px; }
  .h-rule       { margin: 0 24px; }
  .strip        { padding: 16px 24px; overflow-x: auto; gap: 0; }
  .strip-item   { flex-shrink: 0; padding: 0 20px; min-width: fit-content; }
  footer        { padding: 40px 24px; flex-direction: column; gap: 24px; text-align: center; }
  .footer-right { text-align: center; }

  /* Hero */
  .hero { padding: 0 24px 64px; min-height: 100svh; }
  .hero-line { display: none; }
  .hero-h1   { font-size: clamp(42px,10vw,60px); margin-bottom: 24px; }
  .hero-tagline { font-size: 11px; letter-spacing: .18em; margin-bottom: 36px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-scroll  { display: none; }

  /* Section header stacks */
  .section-header { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 56px; }
  .section-sub-right { text-align: left; max-width: 100%; }

  /* Services 1-col */
  .services-grid { grid-template-columns: 1fr; }
  .service-card  { border-right: none !important; }
  .service-card:nth-child(n) { border-bottom: .5px solid var(--border); }
  .service-card:last-child   { border-bottom: none; }

  /* Philosophy stacks */
  .philosophy-inner { grid-template-columns: 1fr; gap: 40px; }
  .philosophy-quote { font-size: 26px; }

  /* Process stacks */
  .process-steps { grid-template-columns: 1fr; border-left: none; }
  .process-step  { border-right: none; border-bottom: .5px solid var(--border); padding: 40px 0; }
  .process-step:last-child { border-bottom: none; }
  .process-step::before { display: none; }

  /* Portal stacks */
  .portal-inner { grid-template-columns: 1fr; gap: 32px; }

  /* Enquiry stacks */
  .enquiry { grid-template-columns: 1fr; }
  .enquiry > div:last-child { border-left: none !important; padding-left: 0 !important; }

  /* Ed-grid stacks */
  .ed-grid   { grid-template-columns: 1fr; gap: 40px; }
  .ed-grid-3 { grid-template-columns: 1fr; }
  .discipline:nth-child(3n) { border-right: .5px solid var(--border); }
  .discipline { border-right: none; }

  /* Phil-block stacks */
  .phil-block { grid-template-columns: 1fr; gap: 16px; }
  .phil-block-label { padding-top: 0; }

  /* Care cards 1-col */
  .care-grid { grid-template-columns: 1fr; }
  .care-card { border-right: none !important; }

  /* Timeline */
  .tl-item  { grid-template-columns: 40px 1px 1fr; gap: 0 20px; }
  .tl-num   { font-size: 9px; }

  /* Seasonal 1-col */
  .seasonal-grid { grid-template-columns: 1fr; }
  .season-card   { border-right: none; border-bottom: .5px solid var(--border); }
  .season-card:last-child { border-bottom: none; }

  /* Stat row stacks */
  .stat-row  { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; border-bottom: .5px solid var(--border); padding: 32px 24px; }
  .stat-cell:last-child { border-bottom: none; }

  /* Page hero */
  .page-hero { padding: 120px 24px 64px; }
  .page-h1   { font-size: clamp(40px,9vw,60px); }
  .page-intro{ font-size: 15px; }
  .page-vertical-line { display: none; }

  /* Contact stacks */
  .contact-layout { grid-template-columns: 1fr; min-height: auto; }
  .contact-left   { padding: 80px 24px 48px; border-right: none; border-bottom: .5px solid var(--border); }
  .contact-right  { padding: 48px 24px 80px; }
  .contact-title  { font-size: 38px; }

  /* Pull quotes */
  .pull-quote    { font-size: 26px; }
  .pull-quote-sm { font-size: 17px; }

  /* Sec-title */
  .sec-title    { font-size: 32px; }
  .section-title{ font-size: 32px; }

  /* Image heights */
  .img-full    { height: 280px; }
  .img-half    { height: 240px; }
  .img-portrait{ height: 320px; }

  /* CTA box stacks */
  .cta-box       { width: 100%; }
  .cta-box-links { flex-direction: column; }
  .cta-box-link.secondary { border-left: none; border-top: .5px solid var(--border); }

  /* Care/enquiry detail */
  .enquiry-title { font-size: 38px; }
  .enquiry-sub   { max-width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE  (max-width: 420px)
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 420px) {
  nav { padding: 18px 20px; }
  .section, .section-alt, .services, .philosophy, .process, .portal, .enquiry { padding: 64px 20px; }
  .hero         { padding: 0 20px 56px; }
  .page-hero    { padding: 100px 20px 56px; }
  .contact-left { padding: 64px 20px 40px; }
  .contact-right{ padding: 40px 20px 64px; }
  footer        { padding: 36px 20px; }
  .hero-h1      { font-size: 38px; }
  .section-title, .sec-title { font-size: 28px; }
  .enquiry-title, .contact-title { font-size: 32px; }
  .pull-quote   { font-size: 22px; }
  .service-card, .discipline, .process-step { padding: 32px 20px; }
  .care-card    { padding: 36px 24px; }
  .portal-card, .form-card { padding: 24px 20px; }
  .strip        { display: none; } /* too cramped on tiny screens */
  .nav-drawer   { top: 65px; padding: 28px 20px 36px; }
}

/* ── Logo image (nav + footer) ──────────────────────────────────────────── */
/* Replaces text-based JARVICE wordmark with logo_250.png */

.nav-logo-img {
  display: block;
  height: 28px;          /* scales proportionally — 250px wide → ~28px tall */
  width: auto;
  max-width: 180px;      /* cap on very wide screens */
  object-fit: contain;
  opacity: .92;
  transition: opacity .3s ease;
}
.nav-logo:hover .nav-logo-img { opacity: 1; }

/* Remove the old text-based sizing from .nav-logo when it contains an image */
a.nav-logo:has(.nav-logo-img) {
  font-size: 0;          /* suppress any residual font-size */
  letter-spacing: 0;
}

.footer-logo-img {
  display: block;
  height: 22px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: .38;
  transition: opacity .3s ease;
  filter: brightness(1.1);
}
.footer-logo:hover .footer-logo-img { opacity: .55; }

/* Responsive: slightly smaller on mobile */
@media (max-width: 768px) {
  .nav-logo-img  { height: 24px; max-width: 150px; }
  .footer-logo-img { height: 19px; }
}
@media (max-width: 420px) {
  .nav-logo-img  { height: 22px; }
}
