/* ==========================================================================
   4Wealth Marketing — Homepage
   Fonts: Playfair Display (display) + Jost (everything else)
   ========================================================================== */

:root {
  --navy: #0D1B2A;
  --teal: #00827E;
  --teal-dark: #00706C;
  --teal-bright: #2DBFA8;
  --cream: #F0EFE9;
  --cream-line: #d8d8d0;
  --ink: #121212;
  --white: #FFFFFF;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --gutter: clamp(24px, 4vw, 72px);
  --max: 1680px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.shell {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Eyebrow / small caps label ---------------------------------------------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.eyebrow--light  { color: rgba(255,255,255,0.45); }
.eyebrow--dark   { color: rgba(18,18,18,0.45); }
.eyebrow--teal   { color: var(--teal); }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 0;
  padding: 19px 44px;
  transition: border-color .6s ease, background .6s ease;
}
.btn:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.06);
}
.btn--pill { border-radius: 0; padding: 19px 48px; }
.btn--onteal { border-color: rgba(255,255,255,0.5); padding: 19px 46px; }
.btn--onteal:hover { background: var(--white); color: var(--teal); border-color: var(--white); }
.btn--sm { font-size: 12px; letter-spacing: 0.2em; padding: 16px 34px; }

/* Nav --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--navy);
  height: 88px;
  display: flex;
  align-items: center;
}
.navbar {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(20px, 2.4vw, 40px);
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
}
.navbar__nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 52px);
  min-width: 0;
}
.navlink {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  transition: color .4s ease;
}
.navlink:hover { color: var(--white); }
.navlink--active { color: var(--white); }
.navlink--active::after {
  content: "";
  display: block;
  height: 1px;
  margin-top: 7px;
  background: var(--teal);
}

.wordmark { display: flex; align-items: baseline; gap: 10px; padding: 0 6px; }
.wordmark__name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}
.wordmark__accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--teal-bright);
}

.navbar__cta-wrap { display: flex; justify-content: flex-end; }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  border-radius: 0;
  padding: 11px 22px;
  flex: 0 0 auto;
  transition: background .4s ease;
}
.nav-cta:hover { background: var(--teal-dark); }
.nav-cta__label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}

/* Hero + pinned stage reveal ---------------------------------------------- */
.stage { position: relative; }
.stage__pin {
  position: sticky;
  top: 88px;
  z-index: 0;
  height: calc(100svh - 88px);
  min-height: 420px;
  overflow: hidden;
  background: var(--navy);
}
.stage__over {
  position: relative;
  z-index: 2;
  box-shadow: 0 -30px 70px rgba(18,18,18,0.16);
}

.hero {
  height: 100%;
  display: flex;
  align-items: stretch;
  background: var(--navy);
  will-change: transform, opacity;
}
.hero__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(16px, 2vw, 32px);
}
.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.hero__intro-line {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--white);
}
.hero__intro-line--muted { color: rgba(255,255,255,0.4); }
.hero__mark { margin: auto 0 0; }
.hero__word {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: min(24.2vw, 34svh);
  line-height: 0.78;
  letter-spacing: -0.035em;
  color: var(--white);
  white-space: nowrap;
}
.hero__dot { color: var(--teal-bright); }
.hero__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: clamp(34px, 5.5vw, 86px);
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: clamp(22px, 2.6vw, 38px);
}
.hero__cue {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.hero__cue-line {
  display: block;
  width: 54px;
  height: 1px;
  background: rgba(255,255,255,0.22);
  overflow: hidden;
  position: relative;
}
.hero__cue-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--teal);
  transform: translateX(-100%);
  animation: cueSlide 2.6s ease-in-out infinite;
}
@keyframes cueSlide {
  0%   { transform: translateX(-100%); }
  55%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

.quietlink {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color .5s ease;
}
.quietlink:hover { color: var(--white); }

/* Services page — masthead ---------------------------------------------- */
.mast {
  background: var(--navy);
  height: calc(100svh - 88px);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(18px, 2.2vw, 34px) 0 clamp(18px, 2.2vw, 34px);
  overflow: hidden;
}
.mast__rule {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}
.mast__stage {
  text-align: center;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 0;
}
.mast__eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: clamp(14px, 2.4vw, 36px);
}
.mast__title { margin: 0; display: grid; justify-items: center; }
.mast__title-a {
  font-family: var(--serif);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(30px, 3.6vw, 62px);
  letter-spacing: 0.22em;
  line-height: 1;
  color: rgba(255,255,255,0.9);
  margin-right: -0.22em;
}
.mast__title-b {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: min(clamp(60px, 15vw, 260px), 30svh);
  line-height: 0.9;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-top: clamp(6px, 1vw, 18px);
}
.mast__dot { color: var(--teal-bright); }
.mast__disciplines {
  margin-top: clamp(18px, 2.6vw, 42px);
  padding-top: clamp(14px, 1.8vw, 28px);
  border-top: 1px solid rgba(255,255,255,0.12);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.9;
}
.mast__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
}

/* Services page — statement --------------------------------------------- */
.stmt { background: var(--navy); padding: clamp(96px, 11vw, 180px) 0; }
.stmt__inner { text-align: center; }
.stmt__l1 {
  font-family: var(--serif);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(22px, 2.2vw, 36px);
  color: rgba(255,255,255,0.75);
}
.stmt__l2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(34px, 5vw, 86px);
  line-height: 1.08;
  color: var(--teal-bright);
  max-width: 18ch;
  margin: clamp(14px, 1.6vw, 26px) auto clamp(44px, 5vw, 72px);
  text-wrap: pretty;
}

/* Services page — accordion index ---------------------------------------- */
.acc { background: var(--cream); }
.acc__item { border-top: 1px solid var(--cream-line); }
.acc__item:last-child { border-bottom: 1px solid var(--cream-line); }
.acc__bar {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  padding: clamp(34px, 3.6vw, 56px) var(--gutter);
  display: grid;
  grid-template-columns: 72px minmax(0,1fr) 28px;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}
.acc__num {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--teal);
}
.acc__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 58px);
  line-height: 1.08;
  color: var(--navy);
  text-wrap: pretty;
  transition: color .5s ease, opacity .5s ease;
}
.acc__bar:hover .acc__title { color: var(--teal); }
.acc__sign {
  position: relative;
  width: 22px;
  height: 22px;
  justify-self: end;
  opacity: 0.55;
  transition: transform .6s cubic-bezier(.22,.61,.36,1), opacity .5s ease;
}
.acc__sign::before,
.acc__sign::after {
  content: "";
  position: absolute;
  background: var(--navy);
  transition: opacity .5s ease;
}
.acc__sign::before { top: 50%; left: 0; width: 100%; height: 1px; margin-top: -0.5px; }
.acc__sign::after  { left: 50%; top: 0; height: 100%; width: 1px; margin-left: -0.5px; }
.acc__bar:hover .acc__sign { opacity: 1; }
.acc__bar[aria-expanded="true"] .acc__sign { transform: rotate(135deg); opacity: 1; }
.acc__bar[aria-expanded="true"] .acc__title { color: var(--teal); }

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .6s cubic-bezier(.22,.61,.36,1);
}
.acc__panel > .acc__inner { overflow: hidden; min-height: 0; }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
html:not(.js) .acc__panel { grid-template-rows: 1fr; }

.acc__lead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 1.7vw, 27px);
  line-height: 1.6;
  color: var(--navy);
  max-width: 46ch;
  text-wrap: pretty;
  margin: 0 0 clamp(44px, 4.6vw, 72px);
}
.acc__pad > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.acc__pad {
  padding: clamp(6px, 1vw, 16px) var(--gutter) clamp(52px, 5.5vw, 90px);
}
.sub {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0 clamp(40px, 5vw, 90px);
  border-top: 1px solid var(--cream-line);
}
.sub__item { border-bottom: 1px solid var(--cream-line); padding: 28px 0 30px; }
.sub__name {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
}
.sub__p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(18,18,18,0.65);
  max-width: 46ch;
  margin: 0;
  text-wrap: pretty;
}

/* Services page — case studies band ------------------------------------ */
.band { background: var(--teal); padding: clamp(90px, 10vw, 160px) 0; }
.band__inner { text-align: center; }
.band__head {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.8vw, 62px);
  line-height: 1.12;
  color: var(--white);
  max-width: 20ch;
  margin: 0 auto clamp(44px, 4.6vw, 66px);
  text-wrap: pretty;
}
.band__head em { font-style: italic; font-weight: 400; }

/* Services page — process ----------------------------------------------- */
.process { background: var(--cream); padding: clamp(100px, 11vw, 180px) 0; }
.process__head { margin: 26px 0 clamp(64px, 7vw, 110px); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--cream-line);
  border-left: 1px solid var(--cream-line);
}
.step {
  border-right: 1px solid var(--cream-line);
  border-bottom: 1px solid var(--cream-line);
  padding: clamp(32px, 3.4vw, 52px) clamp(26px, 2.4vw, 42px) clamp(44px, 4.4vw, 68px);
}
.step__num {
  display: block;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--teal);
  margin-bottom: 40px;
}
.step__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.1;
  color: var(--navy);
  margin: 0 0 18px;
}
.step__p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(18,18,18,0.65);
  margin: 0;
  text-wrap: pretty;
}

/* Services page — engagements -------------------------------------------- */
.engage { background: var(--cream); padding: clamp(90px, 10vw, 160px) 0; }
.engage__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(32px, 4vw, 72px);
  margin-top: clamp(44px, 5vw, 76px);
}
.eng { border-top: 1px solid var(--cream-line); padding-top: 30px; }
.eng__name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 38px);
  color: var(--teal);
  margin-bottom: 18px;
}
.eng__p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(18,18,18,0.65);
  max-width: 32ch;
  margin: 0;
  text-wrap: pretty;
}

/* Services page — closing ------------------------------------------------ */
.closing {
  position: relative;
  background: var(--navy);
  padding: clamp(110px, 12vw, 200px) 0;
  overflow: hidden;
}
.closing__ghost {
  position: absolute;
  left: 50%;
  bottom: -6%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(200px, 34vw, 620px);
  line-height: 1;
  color: rgba(255,255,255,0.05);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.closing__inner { position: relative; z-index: 2; }
.closing__l1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 72px);
  line-height: 1.08;
  color: var(--white);
}
.closing__l2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(34px, 4.7vw, 78px);
  line-height: 1.1;
  color: var(--teal);
  margin-bottom: clamp(44px, 5vw, 72px);
}
.closing__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 44px; }

/* Service strip ----------------------------------------------------------- */
.strip {
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 26px 0;
}
.strip__inner { display: flex; flex-wrap: wrap; gap: 14px 64px; }
.strip__item {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}
.strip__item--teal { color: var(--teal); }

/* Ticker — teal scrolling announcement bar under the hero ----------------- */
.ticker {
  background: var(--teal);
  overflow: hidden;
  padding: 20px 0;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: slideL 28s linear infinite;
}
.ticker__group {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
}
.ticker__item {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}
.ticker__sep {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  line-height: 1;
}
.ticker:hover .ticker__track { animation-play-state: paused; }

/* About ------------------------------------------------------------------- */
.about { background: var(--cream); padding: clamp(110px, 13vw, 200px) 0 clamp(100px, 12vw, 180px); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0,180px) minmax(0,1fr);
  gap: 56px;
}
.about__label { padding-top: 14px; }
.about__head {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 62px);
  line-height: 1.12;
  color: var(--navy);
  max-width: 1000px;
  text-wrap: pretty;
  margin: 0 0 72px;
}
.about__head em { font-style: italic; color: var(--teal); }
.about__body {
  max-width: 620px;
  display: grid;
  gap: 26px;
  border-top: 1px solid var(--cream-line);
  padding-top: 48px;
}
.about__lead {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin: 0;
}
.about__p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(18,18,18,0.72);
  margin: 0;
}

/* Section heads ----------------------------------------------------------- */
.sec-head {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 56px);
  line-height: 1.1;
  margin: 0;
}
.sec-head em { font-style: italic; color: var(--teal); }
.sec-head--light { color: var(--white); }
.sec-head--dark  { color: var(--navy); }

/* Services ---------------------------------------------------------------- */
.services { background: var(--navy); padding: clamp(100px, 11vw, 170px) 0 0; }
.services__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 96px;
}
.services__list { border-top: 1px solid rgba(255,255,255,0.12); }
.svc {
  display: block;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: background .6s ease;
}
.svc:hover { background: rgba(0,130,126,0.1); }
.svc__row {
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px var(--gutter);
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  align-items: baseline;
  gap: clamp(16px, 3vw, 40px);
}
.svc__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 50px);
  line-height: 1.12;
  color: var(--white);
}
.svc__note {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.55);
}
.svc__arrow { font-size: 18px; color: rgba(255,255,255,0.4); line-height: 1; }

/* Clients marquee --------------------------------------------------------- */
.clients {
  background: var(--cream);
  padding: clamp(58px, 6vw, 96px) 0 clamp(90px, 10vw, 150px);
  overflow: hidden;
}
/* boundary between Selected work and Clients draws itself open */
.clients::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--cream-line);
  opacity: 1;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1.6s cubic-bezier(.19, 1, .22, 1);
}
.clients.is-open::before { transform: scaleX(1); }
.marquee.reveal {
  opacity: 1;
  transform: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.5s cubic-bezier(.19, 1, .22, 1) .18s;
}
.marquee.reveal.is-in { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  .clients::before { transform: scaleX(1); }
  .marquee.reveal { clip-path: none; }
}
.clients__head { margin-top: 26px; }
.marquee {
  display: flex;
  width: max-content;
  margin-top: 92px;
  animation: slideL 46s linear infinite;
}
.marquee__group { display: flex; gap: 80px; padding-right: 80px; }
.marquee__item {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  white-space: nowrap;
  color: rgba(13,27,42,0.62);
}
@keyframes slideL {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Audit invite ------------------------------------------------------------ */
.invite {
  position: relative;
  background: var(--navy);
  padding: clamp(100px, 10vw, 150px) 0 clamp(110px, 11vw, 170px);
  overflow: hidden;
}
.invite__photo {
  position: absolute;
  object-fit: cover;
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 1.4s ease;
}
.invite.is-lit .invite__photo { opacity: 0.9; }
.invite.is-lit .invite__photo--2 { transition-delay: .18s; }
.invite.is-lit .invite__photo--3 { transition-delay: .36s; }
.invite.is-lit .invite__photo--4 { transition-delay: .54s; }
@media (prefers-reduced-motion: reduce) {
  .invite__photo { opacity: 0.9; transition: none; }
}
.invite__photo--1 { top: 60px;    left: -40px;  width: 290px; aspect-ratio: 3/4; transform: rotate(-7deg); }
.invite__photo--2 { top: 26px;    right: -30px; width: 250px; aspect-ratio: 3/4; transform: rotate(6deg); }
.invite__photo--3 { bottom: 40px; right: 90px;  width: 270px; aspect-ratio: 4/3; transform: rotate(-4deg); }
.invite__photo--4 { bottom: 20px; left: 70px;   width: 250px; aspect-ratio: 4/3; transform: rotate(5deg); }
.invite__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 40px);
  text-align: center;
}
.invite__l1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 3.8vw, 58px);
  line-height: 1.1;
  color: var(--white);
}
.invite__l2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 62px);
  line-height: 1.12;
  color: var(--teal);
}
.invite__p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  margin: 44px 0 54px;
}
.invite__meta {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 38px;
}

/* Contact ----------------------------------------------------------------- */
.contact { background: var(--teal); padding: clamp(110px, 12vw, 190px) 0; }
.contact .shell { text-align: center; }
.contact__eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 44px;
}
.contact__l1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 74px);
  line-height: 1.06;
  color: var(--white);
}
.contact__l2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 4.9vw, 80px);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 56px;
}

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--navy); padding: clamp(90px, 9vw, 130px) 0 56px; }
.site-footer__mark {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 34px;
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 80px;
}
.site-footer__tagline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 50px);
  line-height: 1.1;
  color: var(--white);
}
.site-footer__tagline em { font-style: italic; color: var(--teal); }
.site-footer__start { display: grid; gap: 14px; justify-items: end; }

.site-footer__cols {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  margin-bottom: 80px;
}
.fcol { display: grid; gap: 18px; align-content: start; }
.fcol--contact { justify-items: start; }
.fcol__head {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
}
.fcol__item {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  transition: color .5s ease;
}
a.fcol__item:hover { color: var(--white); }
.fcol__hours {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.4);
}
.fcol__phone {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  color: var(--white);
  transition: color .5s ease;
}
.fcol__phone:hover { color: var(--teal-bright); }

.site-footer__base {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}
.site-footer__logo { display: flex; align-items: center; gap: 14px; }
.site-footer__logo img { width: 34px; height: 34px; border-radius: 50%; display: block; }
.site-footer__logo span {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}
.site-footer__copy {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* Scroll-reveal — fails safe if JS never runs ----------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s cubic-bezier(.22,.61,.36,1), transform .9s cubic-bezier(.22,.61,.36,1);
}
.reveal.is-in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* On-load hero rise ------------------------------------------------------- */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rise { animation: riseIn .9s cubic-bezier(.22,.61,.36,1) both; }
.rise--1 { animation-delay: 0s; }
.rise--2 { animation-delay: .16s; }
.rise--3 { animation-delay: .32s; }
.rise--4 { animation-delay: .48s; }
.rise--5 { animation-delay: .64s; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1100px) {
  .navlink, .navbar__spacer { display: none; }
  .navbar { grid-template-columns: auto 1fr; }
}

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; gap: 28px; }
  .about__label { padding-top: 0; }
  .svc__row { grid-template-columns: minmax(0,1fr) auto; }
  .mast { min-height: 0; }
  .acc__bar { grid-template-columns: 44px minmax(0,1fr) 22px; }
  .svc__note { display: none; }
  .site-footer__start { justify-items: start; }
}

@media (max-width: 1000px) {
  .invite__photo--2, .invite__photo--4 { display: none; }
  .invite__photo--1 { top: 20px; left: -70px; width: 200px; }
  .invite__photo--3 { bottom: 20px; right: -60px; width: 200px; }
}
@media (max-width: 640px) {
  .invite__photo { display: none; }
}

@media (max-width: 820px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 460px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .marquee__item { font-size: 20px; }
  .marquee__group { gap: 48px; padding-right: 48px; }
  .ticker__item { font-size: 11px; letter-spacing: 0.18em; }
  .ticker__group { gap: 28px; padding-right: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { animation: none; }
  .ticker__track { animation: none; }
  .rise { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Hero — small screens ---------------------------------------------------- */
@media (max-width: 720px) {
  .stage__pin { position: static; height: auto; min-height: 0; }
  .hero { min-height: calc(100svh - 88px); }
  .hero__top { flex-direction: column; gap: 18px; }
  .hero__word { font-size: min(25vw, 40svh); }
  .hero__base { flex-direction: column; align-items: flex-start; gap: 20px; }
  .stage__over { box-shadow: none; }
}

/* Selected work gallery --------------------------------------------------- */
.gal {
  background: var(--cream);
  padding: clamp(90px, 10vw, 150px) 0 clamp(66px, 6.5vw, 104px);
  border-top: 1px solid var(--cream-line);
  overflow: hidden;
}
.gal__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 68px);
  line-height: 1.1;
  color: var(--navy);
  max-width: 20ch;
  margin: 26px 0 0;
  text-wrap: pretty;
}
.gal__title em { font-style: italic; color: var(--teal); }
.gal__intro {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.8;
  color: rgba(18,18,18,0.6);
  max-width: 46ch;
  margin: clamp(22px, 2.4vw, 34px) 0 0;
  text-wrap: pretty;
}
.gal__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 2.4vw, 40px);
  row-gap: clamp(56px, 7vw, 120px);
  margin-top: clamp(64px, 7.5vw, 130px);
}
.gal__fig { margin: 0; }
.gal__fig--a { grid-column: 1 / span 8; }
.gal__fig--b { grid-column: 3 / span 5; }
.gal__fig--c { grid-column: 9 / span 4; margin-top: clamp(-160px, -9vw, 0px); }

.gal__frame {
  position: relative;
  overflow: hidden;
  background: #e5e4dd;
  will-change: transform;
}
.gal__fig--a .gal__frame { aspect-ratio: 3 / 2; }
.gal__fig--b .gal__frame,
.gal__fig--c .gal__frame { aspect-ratio: 4 / 5; }
.gal__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.12);
  transition: transform 1.6s cubic-bezier(.19,1,.22,1);
}
.gal__fig.is-in .gal__frame img { transform: scale(1); }
.gal__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cream);
  transform: translateY(0);
  transition: transform 1.25s cubic-bezier(.76,0,.24,1);
}
.gal__fig.is-in .gal__frame::after { transform: translateY(-101%); }
.gal__frame:hover img { transform: scale(1.04); transition-duration: 1.1s; }

.gal__cap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 22px;
  margin-top: 22px;
  border-top: 1px solid var(--cream-line);
  padding-top: 16px;
}
.gal__num {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--teal);
}
.gal__cap-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 1.9vw, 30px);
  color: var(--navy);
}
.gal__cap-note {
  margin-left: auto;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(18,18,18,0.45);
}
.gal__foot {
  margin-top: clamp(40px, 4.4vw, 68px);
  border-top: 1px solid var(--cream-line);
  padding-top: clamp(26px, 3vw, 40px);
  display: flex;
  justify-content: flex-start;
}
.gal__cta {
  font-size: 13px;
  letter-spacing: 0.2em;
  padding: 19px 40px;
}
.gal__cta span { display: inline-block; transition: transform .5s cubic-bezier(.19,1,.22,1); margin-left: 4px; }
.gal__cta:hover span { transform: translateX(6px); }
.btn--navy {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.btn--navy:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }
.quietlink--dark { color: rgba(18,18,18,0.55); }
.quietlink--dark:hover { color: var(--navy); }

@media (max-width: 860px) {
  .gal__fig--a, .gal__fig--b, .gal__fig--c { grid-column: 1 / -1; margin-top: 0; }
  .gal__cap-note { margin-left: 0; width: 100%; }
}

/* Scroll-linked section handoff — content drifts in and out with the scroll */
.pane {
  position: relative;
  z-index: 1;
  filter: brightness(var(--focus, 1));
  transition: filter .45s linear;
}
@media (prefers-reduced-motion: reduce) {
  .pane { filter: none; }
}
.pane__flow {
  transform: translate3d(0, var(--flow-y, 0px), 0);
  opacity: var(--flow-o, 1);
  will-change: transform, opacity;
}
@media (prefers-reduced-motion: reduce) {
  .pane__flow { transform: none; opacity: 1; }
}

/* Services page — pinned masthead + stacking panes ----------------------- */
.page-services .stage__over { background: var(--cream); }
.mast__base {
  margin-top: clamp(16px, 2.4vw, 38px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 44px);
  flex-wrap: wrap;
}
.mast__base .hero__cue { color: rgba(255,255,255,0.45); }
.stmt.pane  { z-index: 3; }
.engage.pane { z-index: 4; }
.band.pane  { z-index: 5; }
.acc.pane-prev { padding-bottom: clamp(20px, 3vw, 40px); }
