:root {
  --ink: #55383c;
  --ink-soft: #745056;
  --cream: #fff8f7;
  --cream-deep: #f3dfdc;
  --paper: #fffdfc;
  --rose: #c47f82;
  --rose-deep: #9f5f66;
  --rose-light: #dca7a5;
  --rose-pale: #f2d7d4;
  --muted: #80676a;
  --line: rgba(85, 56, 60, 0.16);
  --white-line: rgba(255, 253, 252, 0.22);
  --heading: "Cormorant Garamond", Georgia, serif;
  --body: "Montserrat", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 30px 80px rgba(44, 25, 18, 0.13);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }

a { color: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

button { font: inherit; }

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2,
h3 {
  font-family: var(--heading);
  line-height: 1.05;
  font-weight: 600;
}

h1 em,
h2 em {
  color: var(--rose-deep);
  font-weight: 600;
}

.container {
  width: min(1240px, calc(100% - 4rem));
  margin-inline: auto;
}

.section { padding-block: clamp(6rem, 10vw, 10rem); }

.skip-link {
  position: fixed;
  z-index: 999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.8rem 1rem;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--rose-light);
  outline-offset: 4px;
}

.demo-bar {
  min-height: 31px;
  padding: 0.35rem 1rem;
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  color: var(--paper);
  background: var(--rose-deep);
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-header {
  position: absolute;
  z-index: 50;
  top: 31px;
  left: 0;
  right: 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  position: fixed;
  top: 0;
  color: var(--ink);
  background: rgba(255, 248, 247, 0.94);
  box-shadow: 0 12px 35px rgba(85, 56, 60, 0.1);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 94px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2.5rem;
}

.brand { display: inline-flex; text-decoration: none; }

.brand-plate {
  width: 158px;
  height: 57px;
  display: grid;
  place-items: center;
  padding: 0.45rem 0.7rem;
  overflow: hidden;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.09);
}

.brand-plate img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.6rem);
}

.nav a {
  position: relative;
  color: currentColor;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.45rem;
  height: 1px;
  background: currentColor;
  transition: right 0.3s var(--ease);
}

.nav a:hover::after { right: 0; }

.menu-toggle { display: none; }

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--rose-deep);
  border-radius: 999px;
  color: var(--paper);
  background: var(--rose-deep);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease);
}

.button:hover {
  color: var(--paper);
  background: var(--ink-soft);
  border-color: var(--ink-soft);
  transform: translateY(-2px);
}

.button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}

.button:hover svg { transform: translateX(3px); }

.button-small {
  min-height: 43px;
  padding: 0.65rem 1.2rem;
  color: var(--paper);
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  font-size: 0.76rem;
}

.is-scrolled .button-small {
  color: var(--paper);
  background: var(--rose-deep);
  border-color: var(--rose-deep);
}

.button-light {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

.text-link-light { color: var(--paper); }

.hero .eyebrow,
.hero .text-link-light { color: var(--rose-deep); }

.hero .button-light {
  color: var(--paper);
  background: var(--rose-deep);
  border-color: var(--rose-deep);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: var(--rose-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 2.25rem;
  height: 1px;
  background: currentColor;
}

.eyebrow-dark { color: var(--rose-deep); }

.hero {
  min-height: max(770px, calc(100svh - 31px));
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 16%, rgba(255, 255, 255, 0.84), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(220, 167, 165, 0.42), transparent 38%),
    linear-gradient(135deg, #fffaf9 0%, #f7e8e6 52%, #efd2cf 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(480px, 0.86fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  padding-top: 9.5rem;
  padding-bottom: 6rem;
}

.hero-copy { min-width: 0; max-width: 680px; }

.hero h1 {
  max-width: 10.5ch;
  margin-bottom: 1.75rem;
  font-size: clamp(3.5rem, 6.1vw, 6.2rem);
  letter-spacing: -0.045em;
}

.mobile-break { display: none; }

.hero-lead {
  max-width: 53ch;
  margin-bottom: 2.2rem;
  color: rgba(85, 56, 60, 0.78);
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.hero-proof {
  max-width: 540px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.hero-proof > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.7rem;
}

.hero-proof strong {
  font-family: var(--heading);
  font-size: 2rem;
  line-height: 1;
}

.hero-proof span {
  max-width: 7ch;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.35;
}

.hero-visual {
  min-height: 590px;
  position: relative;
}

.hero-image {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--ink-soft);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.35);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-main {
  width: min(94%, 470px);
  height: 590px;
  right: 2%;
  top: 0;
  border-radius: 220px 220px 26px 26px;
}

.hero-image-label {
  position: absolute;
  z-index: 2;
  right: 1.2rem;
  bottom: 1.2rem;
  margin: 0;
  padding: 0.55rem 0.85rem;
  color: var(--ink);
  background: rgba(255, 253, 252, 0.9);
  border: 1px solid rgba(85, 56, 60, 0.13);
  border-radius: 999px;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hero-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(159, 95, 102, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-one { width: 650px; height: 650px; right: -240px; top: -180px; }
.hero-orbit-two { width: 520px; height: 520px; left: -320px; bottom: -380px; }

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 2.2rem;
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: rgba(85, 56, 60, 0.52);
  text-decoration: none;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(-90deg);
  transform-origin: left center;
}

.scroll-cue i { width: 3rem; height: 1px; background: currentColor; }

.section-heading {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.55fr);
  align-items: end;
  gap: 4rem;
}

.section-heading h2,
.team-heading h2 {
  margin: 0;
  font-size: clamp(3rem, 5.6vw, 5.4rem);
  letter-spacing: -0.04em;
}

.section-heading h2 em { color: var(--rose-deep); }
.team-heading h2 em { color: var(--rose-pale); }

.section-heading > p {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.service-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.78fr 0.78fr;
  grid-template-rows: repeat(2, 330px);
  gap: 1rem;
}

.service-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  color: var(--paper);
  border-radius: 22px;
  box-shadow: 0 15px 40px rgba(47, 27, 20, 0.1);
}

.service-card-featured { grid-row: span 2; }

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s ease;
}

.service-card:hover img { transform: scale(1.04); filter: saturate(0.84); }

.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19, 12, 10, 0.82), transparent 62%);
}

.service-number {
  position: absolute;
  top: 1.3rem;
  right: 1.4rem;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(255, 250, 245, 0.55);
  border-radius: 50%;
  font-size: 0.65rem;
}

.service-content {
  position: absolute;
  left: 1.6rem;
  right: 1.6rem;
  bottom: 1.45rem;
}

.service-content p {
  margin-bottom: 0.25rem;
  color: var(--rose-pale);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.service-content h3 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
}

.service-content span {
  color: rgba(255, 250, 245, 0.7);
  font-size: 0.78rem;
}

.services-footer {
  margin-top: 2.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.services-footer p { margin: 0; color: var(--muted); font-size: 0.8rem; }

.experience { background: var(--paper); }

.experience-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(4rem, 8vw, 8.5rem);
}

.experience-photo {
  min-height: 640px;
  position: relative;
  overflow: hidden;
  border-radius: 260px 260px 24px 24px;
  box-shadow: var(--shadow);
}

.experience-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
  border-radius: inherit;
}

.experience-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-photo span {
  position: absolute;
  z-index: 2;
  right: 1.4rem;
  bottom: 1.2rem;
  padding: 0.45rem 0.8rem;
  color: var(--paper);
  background: rgba(23, 17, 15, 0.75);
  border-radius: 999px;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.experience-copy h2 {
  margin-bottom: 1.7rem;
  font-size: clamp(2.6rem, 4.6vw, 4.6rem);
  letter-spacing: -0.04em;
}

.experience-copy > p:not(.eyebrow) {
  max-width: 50ch;
  margin-bottom: 2.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.steps { margin: 0; padding: 0; list-style: none; }

.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.2rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child { border-bottom: 1px solid var(--line); }

.steps > li > span {
  color: var(--rose-deep);
  font-family: var(--heading);
  font-size: 1.2rem;
}

.steps strong { display: block; margin-bottom: 0.15rem; font-family: var(--heading); font-size: 1.08rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.76rem; }

.about {
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 16%, rgba(220, 167, 165, 0.28), transparent 34%),
    linear-gradient(135deg, var(--cream-deep), var(--cream));
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(4rem, 9vw, 9rem);
}

.about-copy h2 {
  margin-bottom: 1.7rem;
  font-size: clamp(3.5rem, 6vw, 6rem);
  letter-spacing: -0.045em;
}

.about-copy > p:not(.eyebrow) {
  max-width: 52ch;
  margin-bottom: 1.15rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.about-copy .text-link { margin-top: 1rem; color: var(--rose-deep); }

.about-portrait {
  width: min(100%, 540px);
  justify-self: end;
  margin: 0;
}

.about-image-shell {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-soft);
  border: 10px solid rgba(255, 253, 252, 0.68);
  border-radius: 260px 260px 28px 28px;
  box-shadow: 0 32px 80px rgba(85, 56, 60, 0.2);
}

.about-image-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 253, 252, 0.32);
  border-radius: inherit;
  pointer-events: none;
}

.about-image-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-portrait figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.1rem 0.5rem 0;
}

.about-portrait strong {
  font-family: var(--heading);
  font-size: 1.45rem;
}

.about-portrait span {
  color: var(--muted);
  text-align: right;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team {
  color: var(--paper);
  background: linear-gradient(135deg, #8d6268 0%, #68474d 100%);
}

.team-heading { margin-bottom: clamp(3rem, 6vw, 5rem); }
.team-heading h2 { max-width: 14ch; }

.team-member {
  display: grid;
  grid-template-columns: 70px 1.15fr 1fr minmax(190px, auto);
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--white-line);
  transition: padding 0.35s var(--ease), background 0.35s ease;
}

.team-member:last-child { border-bottom: 1px solid var(--white-line); }

.team-member:hover {
  padding-left: 1rem;
  padding-right: 1rem;
  background: rgba(255, 255, 255, 0.025);
}

.team-index { color: var(--rose-light); font-family: var(--heading); font-size: 1.15rem; }
.team-member h3 { margin: 0 0 0.3rem; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.team-member p { margin: 0; color: rgba(255, 250, 245, 0.55); font-size: 0.73rem; }
.team-member > div p { color: var(--rose-light); text-transform: uppercase; letter-spacing: 0.1em; }
.team-member a { justify-self: end; color: var(--paper); text-decoration: none; font-size: 0.72rem; }
.team-member a span { color: var(--rose-light); }

.education {
  min-height: 720px;
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: linear-gradient(135deg, #a3636a 0%, #8f515b 100%);
}

.education-art {
  position: absolute;
  inset: 0 50% 0 0;
}

.education-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(85, 56, 60, 0.08), rgba(85, 56, 60, 0.48));
}

.education-art img { width: 100%; height: 100%; object-fit: cover; }

.education-grid {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.education-copy { padding: 5rem 0 5rem clamp(3rem, 7vw, 8rem); }

.education-copy h2 {
  max-width: 9ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 5.3vw, 5rem);
  letter-spacing: -0.04em;
}

.education-copy h2 em { color: var(--rose-pale); }

.education-copy > p:not(.eyebrow) {
  max-width: 46ch;
  margin-bottom: 2rem;
  color: var(--paper);
  font-size: 0.9rem;
}

.education-copy .eyebrow { color: var(--paper); }

.location { background: var(--cream-deep); }

.location-card {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  overflow: hidden;
  background: var(--paper);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.location-copy { padding: clamp(2.5rem, 5vw, 5.5rem); }

.location-copy h2 {
  margin-bottom: 2rem;
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  letter-spacing: -0.04em;
}

.location-copy address {
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.84rem;
  font-style: normal;
}

.location-copy address span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-family: var(--heading);
  font-size: 1.2rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
  margin-bottom: 2rem;
}

.contact-links a { color: var(--rose-deep); font-size: 0.76rem; font-weight: 600; }

.map-wrap { min-height: 560px; filter: saturate(0.65) sepia(0.08); }
.map-wrap iframe { width: 100%; height: 100%; display: block; border: 0; }

.final-cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(7rem, 12vw, 11rem);
  color: var(--paper);
  text-align: center;
  background: linear-gradient(135deg, #8d6268 0%, #634247 100%);
}

.final-cta::before,
.final-cta::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(214, 160, 152, 0.16);
  border-radius: 50%;
}

.final-cta::before { width: 520px; height: 520px; left: -270px; top: -300px; }
.final-cta::after { width: 600px; height: 600px; right: -350px; bottom: -420px; }

.final-cta-inner { position: relative; z-index: 2; }
.final-cta .eyebrow { justify-content: center; }
.final-cta h2 { margin-bottom: 1rem; font-size: clamp(3.4rem, 7vw, 7rem); letter-spacing: -0.045em; }
.final-cta p:not(.eyebrow) { margin-bottom: 2.2rem; color: rgba(255, 250, 245, 0.65); font-size: 0.9rem; }

.footer {
  padding-block: 3rem;
  color: var(--paper);
  background: #5b3b40;
  border-top: 1px solid var(--white-line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand .brand-plate { width: 120px; height: 45px; }
.footer-brand p { margin: 0; color: rgba(255, 250, 245, 0.45); font-size: 0.66rem; }
.footer nav { display: flex; gap: 1.5rem; }
.footer nav a { color: rgba(255, 250, 245, 0.65); text-decoration: none; font-size: 0.68rem; }
.footer-legal { justify-self: end; margin: 0; color: rgba(255, 250, 245, 0.4); text-align: right; font-size: 0.62rem; }

body.instagram-popup-open { overflow: hidden; }

.instagram-popup[hidden] { display: none; }

.instagram-popup {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.instagram-popup.is-open {
  opacity: 1;
  visibility: visible;
}

.instagram-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(85, 56, 60, 0.2);
  backdrop-filter: blur(3px);
}

.instagram-popup__card {
  width: min(100%, 440px);
  position: relative;
  z-index: 1;
  padding: 2.75rem 2.5rem 2.5rem;
  color: var(--ink);
  text-align: center;
  background:
    radial-gradient(circle at 88% 10%, rgba(220, 167, 165, 0.26), transparent 29%),
    var(--paper);
  border: 1px solid rgba(159, 95, 102, 0.13);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(85, 56, 60, 0.24);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.34s var(--ease);
}

.instagram-popup.is-open .instagram-popup__card {
  transform: translateY(0) scale(1);
}

.instagram-popup__close {
  width: 44px;
  height: 44px;
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: rgba(242, 215, 212, 0.52);
  border: 1px solid rgba(85, 56, 60, 0.12);
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease);
}

.instagram-popup__close:hover {
  color: var(--paper);
  background: var(--rose-deep);
  transform: rotate(4deg);
}

.instagram-popup__close svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.instagram-popup__icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.2rem;
  color: var(--rose-deep);
  background: var(--rose-pale);
  border-radius: 50%;
}

.instagram-popup__icon svg {
  width: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.instagram-popup__icon .instagram-popup__icon-dot {
  fill: currentColor;
  stroke: none;
}

.instagram-popup__eyebrow {
  margin-bottom: 0.65rem;
  color: var(--rose-deep);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.instagram-popup__card h2 {
  max-width: 11ch;
  margin: 0 auto 0.9rem;
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  letter-spacing: -0.035em;
}

.instagram-popup__card > p:not(.instagram-popup__eyebrow) {
  max-width: 35ch;
  margin: 0 auto 1.7rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

.instagram-popup__cta {
  width: 100%;
  min-height: 56px;
}

.whatsapp-float {
  width: 60px;
  height: 60px;
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #25d366;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.27), 0 8px 20px rgba(85, 56, 60, 0.16);
  text-decoration: none;
  transition: transform 0.28s var(--ease), box-shadow 0.28s ease, background 0.28s ease;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  display: block;
  fill: currentColor;
}

.whatsapp-float::before {
  content: attr(data-tooltip);
  position: absolute;
  top: 50%;
  right: calc(100% + 12px);
  padding: 0.55rem 0.8rem;
  color: var(--paper);
  background: var(--ink);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(85, 56, 60, 0.18);
  font-size: 0.67rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity 0.24s ease, transform 0.24s var(--ease);
}

.whatsapp-float:hover {
  background: #20bd5a;
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.32), 0 10px 24px rgba(85, 56, 60, 0.18);
  transform: translateY(-2px) scale(1.06);
}

.whatsapp-float:hover::before,
.whatsapp-float:focus-visible::before {
  opacity: 1;
  transform: translate(0, -50%);
}

.whatsapp-float:focus-visible {
  outline: 3px solid var(--rose-deep);
  outline-offset: 4px;
}

.mobile-cta { display: none; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-delay { transition-delay: 0.15s; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .header-inner { grid-template-columns: auto 1fr auto; gap: 1.4rem; }
  .nav { gap: 1.15rem; }
  .nav a { font-size: 0.7rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(380px, 0.75fr); gap: 3rem; }
  .hero-visual { min-height: 530px; }
  .hero-image-main { width: min(94%, 440px); height: 520px; }
  .team-member { grid-template-columns: 55px 1fr 0.8fr minmax(180px, auto); gap: 1.25rem; }
}

@media (max-width: 900px) {
  .container { width: min(100% - 2.5rem, 720px); }

  .site-header,
  .site-header.is-scrolled { position: fixed; top: 0; }

  .site-header { color: var(--ink); background: rgba(255, 248, 247, 0.95); border-color: var(--line); backdrop-filter: blur(16px); }
  .site-header.is-scrolled { color: var(--ink); background: rgba(255, 248, 247, 0.95); border-color: var(--line); }
  .header-inner { min-height: 78px; display: flex; justify-content: space-between; }
  .brand-plate { width: 132px; height: 48px; }
  .header-cta { display: none; }

  .menu-toggle {
    position: relative;
    z-index: 60;
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 7px;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
  }

  .menu-toggle span { width: 18px; height: 1px; display: block; background: currentColor; transition: transform 0.25s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  body.menu-open .site-header,
  body.menu-open .site-header.is-scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.menu-open .whatsapp-float,
  body.menu-open .mobile-cta {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 55;
    width: 100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: clamp(0.3rem, 1.7vh, 1rem);
    padding: max(5.75rem, env(safe-area-inset-top, 0px)) 1.5rem max(1.5rem, env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    color: var(--ink);
    background:
      radial-gradient(circle at 88% 12%, rgba(220, 167, 165, 0.32), transparent 30%),
      linear-gradient(145deg, #fffaf9 0%, #f7e4e2 100%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-1rem);
    transition: opacity 0.3s ease, transform 0.3s var(--ease), visibility 0.3s;
  }

  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a {
    width: min(100%, 340px);
    padding: clamp(0.45rem, 1.2vh, 0.72rem) 0;
    color: var(--ink);
    border-bottom: 1px solid rgba(159, 95, 102, 0.16);
    font-family: var(--heading);
    font-size: clamp(1.65rem, 7vw, 2rem);
    line-height: 1.08;
    text-align: center;
  }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }

  .demo-bar { display: none; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 9.5rem; padding-bottom: 7rem; }
  .hero-copy { max-width: 620px; }
  .hero-visual { min-height: 610px; width: min(100%, 540px); margin-inline: auto; }
  .hero-image-main { width: min(90%, 470px); height: 590px; right: 5%; }
  .scroll-cue { display: none; }

  .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-heading > p { max-width: 48ch; }
  .service-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 480px repeat(2, 300px); }
  .service-card-featured { grid-column: span 2; grid-row: auto; }

  .experience-grid { grid-template-columns: 1fr; }
  .experience-photo { min-height: 530px; }

  .about-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .about-copy { max-width: 620px; }
  .about-portrait { width: min(100%, 520px); justify-self: center; }

  .team-member { grid-template-columns: 45px 1fr auto; }
  .team-services { display: none; }

  .education-art { inset: 0; }
  .education-art::after { background: linear-gradient(90deg, rgba(85, 56, 60, 0.88), rgba(85, 56, 60, 0.68)); }
  .education-grid { grid-template-columns: 1fr; }
  .education-grid > div:first-child { display: none; }
  .education-copy { max-width: 600px; padding: 6rem 0; }
  .education-copy h2 em { color: var(--rose-light); }
  .education-copy .eyebrow { color: var(--rose-light); }

  .location-card { grid-template-columns: 1fr; }
  .map-wrap { min-height: 420px; }

  .footer-inner { grid-template-columns: 1fr auto; }
  .footer nav { display: none; }
}

@media (max-width: 900px) and (max-height: 520px) {
  .nav {
    justify-content: flex-start;
    gap: 0;
    padding-top: max(4.9rem, env(safe-area-inset-top, 0px));
  }

  .nav a {
    padding-block: 0.3rem;
    font-size: 1.35rem;
  }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 5.5rem; }
  body { padding-bottom: 72px; }
  .container { width: calc(100% - 2rem); }
  .section { padding-block: 5.5rem; }

  .header-inner { min-height: 72px; }
  .brand-plate { width: 120px; height: 43px; }

  .hero-grid { gap: 3.5rem; padding-top: 8rem; padding-bottom: 5rem; }
  .hero-copy,
  .hero h1,
  .hero-lead { width: 100%; max-width: calc(100vw - 2rem); }
  .hero h1 { font-size: clamp(2.9rem, 13.2vw, 3.4rem); overflow-wrap: anywhere; }
  .hero-lead { font-size: 0.9rem; overflow-wrap: anywhere; }
  .mobile-break { display: block; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.2rem; margin-bottom: 3rem; }
  .hero-proof { gap: 0.5rem; }
  .hero-proof > div { grid-template-columns: 1fr; gap: 0.3rem; }
  .hero-proof strong { font-size: 1.8rem; }
  .hero-proof span { max-width: none; }
  .hero-visual { min-height: 450px; }
  .hero-image-main { width: 100%; height: 450px; right: 0; }
  .hero-image-label { right: 0.8rem; bottom: 0.8rem; }

  .section-heading h2,
  .team-heading h2 { font-size: clamp(2.7rem, 13vw, 4rem); }

  .service-grid { display: flex; overflow-x: auto; margin-inline: -1rem; padding: 0 1rem 1rem; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .service-grid::-webkit-scrollbar { display: none; }
  .service-card,
  .service-card-featured { min-width: 82vw; height: 490px; scroll-snap-align: center; }
  .services-footer { align-items: flex-start; flex-direction: column; }

  .experience-grid { gap: 3.5rem; }
  .experience-photo { min-height: 450px; border-radius: 190px 190px 20px 20px; }
  .experience-copy h2 { font-size: clamp(2.55rem, 12vw, 3.8rem); }
  .experience-copy > p:not(.eyebrow) { margin-bottom: 2.15rem; }

  .steps {
    display: grid;
    gap: 0.85rem;
  }

  .steps li {
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    gap: 0.95rem;
    padding: 1.2rem 1.1rem 1.25rem;
    background: linear-gradient(135deg, rgba(255, 250, 245, 0.98), rgba(247, 226, 224, 0.72));
    border: 1px solid rgba(159, 95, 102, 0.14);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(85, 56, 60, 0.07);
  }

  .steps li:last-child { border-bottom: 1px solid rgba(159, 95, 102, 0.14); }

  .steps > li > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--paper);
    background: var(--rose-deep);
    border-radius: 50%;
    font-size: 1rem;
    line-height: 1;
  }

  .steps li > div { min-width: 0; padding-top: 0.05rem; }
  .steps strong {
    margin-bottom: 0.4rem;
    font-size: clamp(1.12rem, 5vw, 1.24rem);
    line-height: 1.18;
  }
  .steps p {
    max-width: 30ch;
    font-size: 0.82rem;
    line-height: 1.65;
  }

  .about-copy h2 { font-size: clamp(3.2rem, 15vw, 4.5rem); }
  .about-image-shell { border-width: 7px; border-radius: 200px 200px 22px 22px; }
  .about-portrait figcaption { align-items: flex-start; flex-direction: column; gap: 0.2rem; }
  .about-portrait span { text-align: left; }

  .team-member { grid-template-columns: 38px 1fr; gap: 1rem; }
  .team-member a { grid-column: 2; justify-self: start; }
  .team-member:hover { padding-left: 0; padding-right: 0; }

  .education,
  .education-grid { min-height: 640px; }
  .education-copy { padding: 5rem 0; }
  .education-copy h2 { font-size: clamp(2.9rem, 14vw, 4.4rem); }

  .location-card { margin-inline: -0.35rem; }
  .location-copy { padding: 2.2rem 1.5rem 2.5rem; }
  .location-copy h2 { font-size: 2.75rem; }
  .map-wrap { min-height: 330px; }

  .final-cta h2 { font-size: 3.6rem; }

  .footer { padding-block: 2.2rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { align-items: flex-start; flex-direction: column; }
  .footer-legal { justify-self: start; text-align: left; }

  .instagram-popup { padding: 1rem; }
  .instagram-popup__card {
    width: 90vw;
    max-height: calc(100svh - 2rem);
    overflow-y: auto;
    padding: 2.4rem 1.35rem 1.5rem;
    border-radius: 24px;
  }
  .instagram-popup__close { top: 0.75rem; right: 0.75rem; }
  .instagram-popup__icon { width: 58px; height: 58px; margin-bottom: 1rem; }
  .instagram-popup__card h2 { font-size: clamp(2rem, 10vw, 2.55rem); }
  .instagram-popup__cta { min-height: 54px; }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    right: 1rem;
    bottom: calc(0.7rem + 52px + 0.85rem + env(safe-area-inset-bottom, 0px));
  }
  .whatsapp-float svg { width: 28px; height: 28px; }
  .whatsapp-float::before { display: none; }

  .mobile-cta {
    position: fixed;
    z-index: 70;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.7rem;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--paper);
    background: var(--rose-deep);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    box-shadow: 0 15px 45px rgba(23, 17, 15, 0.35);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
