:root {
  --bg: #f6efe8;
  --bg-2: #fff8f2;
  --surface: rgba(255, 249, 244, 0.78);
  --surface-strong: #fff9f5;
  --ink: #161211;
  --muted: rgba(22, 18, 17, 0.7);
  --line: rgba(22, 18, 17, 0.12);
  --accent: #ff934f;
  --accent-deep: #ec6c2e;
  --olive: #6b7654;
  --dark: #161311;
  --dark-soft: #231d19;
  --max: 1240px;
  --frame-gutter: max(1.2rem, calc((100vw - var(--max)) / 2 + 1.35rem));
  --shadow: 0 24px 70px rgba(27, 17, 11, 0.12);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 147, 79, 0.16), transparent 25%),
    radial-gradient(circle at 88% 8%, rgba(107, 118, 84, 0.14), transparent 20%),
    linear-gradient(180deg, #fcf6f1 0%, #f6efe8 36%, #f4ede7 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 70%);
  opacity: 0.55;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page-shell {
  position: relative;
  overflow: clip;
}

.back-to-top {
  display: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  width: calc(100% - (var(--frame-gutter) * 2));
  margin: 1.3rem auto 0;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  background: rgba(255, 249, 244, 0.78);
  box-shadow: 0 12px 30px rgba(22, 18, 17, 0.06);
}

.brand-pill,
.topbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
}

.mobile-menu-toggle,
.mobile-menu-panel {
  display: none;
}

.mobile-menu-toggle {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  width: 3rem;
  min-height: 3rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(22, 18, 17, 0.06);
  color: var(--ink);
}

.mobile-menu-toggle span {
  display: block;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.topbar.is-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.topbar.is-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.topbar.is-open .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu-panel {
  width: 100%;
}

.mobile-menu-nav {
  display: grid;
  gap: 0.55rem;
}

.mobile-menu-nav a,
.mobile-menu-linkedin {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(22, 18, 17, 0.06);
  color: rgba(22, 18, 17, 0.8);
  font-weight: 600;
}

.mobile-menu-linkedin {
  margin-top: 0.55rem;
  background: rgba(22, 18, 17, 0.07);
  color: var(--ink);
  font-weight: 800;
}

.brand-pill {
  background: var(--dark);
  color: #fff6f0;
  gap: 0.8rem;
}

.brand-mark {
  width: 2.45rem;
  height: 2.45rem;
  flex: none;
}

.brand-lockup {
  display: grid;
  gap: 0.12rem;
  line-height: 1;
}

.brand-name {
  font-family: "Instrument Serif", serif;
  font-size: 1.16rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a {
  font-size: 0.95rem;
  color: var(--muted);
}

.topbar-cta {
  background: rgba(22, 18, 17, 0.06);
  font-weight: 700;
}

main {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 1.35rem 6rem;
}

.hero {
  display: grid;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  grid-template-areas:
    "copy media"
    "support media";
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: end;
  gap: clamp(2rem, 4.5vw, 5rem);
  min-height: calc(100svh - 98px);
  padding: 1.55rem var(--frame-gutter) 0;
  background:
    radial-gradient(circle at 16% 28%, rgba(255, 170, 113, 0.22), transparent 22%),
    linear-gradient(180deg, #fdf6ef 0%, #f7efe7 100%);
}

.hero-copy,
.hero-support {
  min-width: 0;
  max-width: 29rem;
  justify-self: start;
}

.hero-copy {
  grid-area: copy;
  align-self: end;
}

.hero-copy {
  min-width: 0;
  display: grid;
  gap: 1rem;
}

.hero-support {
  grid-area: support;
  padding: 0 0 4.5rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.section-kicker {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--olive);
}

.section-kicker-light {
  color: rgba(255, 246, 240, 0.72);
}

h1,
h2,
h3 {
  margin: 0;
}

.hero h1,
.section-heading h2,
.proof-copy h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 7.4ch;
  font-size: clamp(4.1rem, 7vw, 6.8rem);
  line-height: 0.9;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
  color: rgba(22, 18, 17, 0.58);
}

.hero-lead,
.section-heading p,
.proof-copy p,
.closing-copy,
.proof-pill p,
.service-card p,
.timeline-body p,
.quote-card span,
.contact-card p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-lead {
  max-width: 24rem;
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.08rem);
}

.hero-actions,
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-actions {
  margin-top: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--dark);
  color: #fff5ed;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.54);
  border-color: rgba(22, 18, 17, 0.1);
}

.proof-pill {
  padding: 1rem 1rem 1.05rem;
  border: 1px solid rgba(22, 18, 17, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.46);
}

.proof-pill strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.05;
}

.proof-pill p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.9rem;
}

.hero-aside {
  max-width: 18rem;
  margin: 0;
  color: rgba(22, 18, 17, 0.6);
  line-height: 1.5;
  font-size: 0.95rem;
}

.hero-media {
  grid-area: media;
  position: relative;
  min-height: calc(100svh - 98px);
  overflow: hidden;
  border-radius: 48px 0 0 0;
  background:
    linear-gradient(180deg, rgba(36, 30, 26, 0.08), rgba(36, 30, 26, 0)),
    linear-gradient(180deg, #f6ebdf 0%, #f2e6d9 100%);
}

.hero-portrait {
  position: relative;
  z-index: 2;
  width: min(100%, 48rem);
  max-height: calc(100svh - 110px);
  object-fit: cover;
  object-position: center top;
  margin: auto auto 0;
}

.hero-orb {
  position: absolute;
  left: 50%;
  bottom: -6%;
  width: min(90%, 42rem);
  aspect-ratio: 1 / 0.95;
  transform: translateX(-50%);
  border-radius: 999px 999px 0 0;
  background:
    radial-gradient(circle at 36% 24%, rgba(255, 205, 156, 0.88), transparent 28%),
    linear-gradient(180deg, #ffb57d 0%, #ff944f 100%);
  filter: saturate(1.04);
}

.badge-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
}

.contact-card strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.05;
}

.proof-ribbon,
.intro-ribbon,
.timeline-section,
.proof-section,
.culture-section,
.quotes-section,
.closing-section {
  padding: 3rem 0;
}

.proof-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.3rem;
}

.culture-list {
  display: grid;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.culture-item {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 1.2rem;
  align-items: start;
  padding: 1.2rem 0 1.35rem;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease;
}

.culture-item:hover,
.culture-item:focus-visible {
  transform: translateX(6px);
}

.culture-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
}

.culture-item strong {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.08;
}

.culture-item strong::after {
  content: "↗";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: rgba(22, 18, 17, 0.05);
  color: var(--accent-deep);
  font-family: "Manrope", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-0.02em);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.culture-item:hover strong::after,
.culture-item:focus-visible strong::after {
  transform: translate(2px, -2px);
  background: rgba(255, 147, 79, 0.16);
}

.culture-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.intro-ribbon {
  display: flex;
  justify-content: center;
}

.intro-ribbon p {
  margin: 0;
  max-width: 58rem;
  padding: 1.35rem 0 0;
  border-top: 1px solid var(--line);
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
  line-height: 1.7;
  color: var(--muted);
}

.services-band {
  margin: 2.5rem 0;
  padding: 3.2rem clamp(1.2rem, 3vw, 2.2rem);
  border-radius: 42px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 147, 79, 0.24), transparent 20%),
    linear-gradient(180deg, #171311 0%, #231c18 100%);
  color: #fff6ef;
}

.section-heading {
  max-width: 42rem;
}

.section-heading h2,
.proof-copy h2 {
  font-size: clamp(2.5rem, 5vw, 4.35rem);
  line-height: 0.95;
}

.section-heading p {
  margin: 1rem 0 0;
}

.services-band .section-kicker {
  color: rgba(255, 246, 240, 0.74);
}

.services-grid,
.quotes-grid {
  display: grid;
  gap: 1.15rem;
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2.2rem;
}

.service-card {
  min-height: 16rem;
  padding: 1.35rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-card span {
  display: inline-flex;
  width: 2.15rem;
  height: 2.15rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 147, 79, 0.16);
  color: #ffb27f;
  font-size: 0.78rem;
  font-weight: 800;
}

.service-card h3 {
  margin-top: 1.4rem;
  font-size: 1.25rem;
  line-height: 1.16;
}

.service-card p {
  margin-top: 0.85rem;
  color: rgba(255, 246, 240, 0.86);
}

.timeline {
  display: grid;
  gap: 1.2rem;
  margin-top: 2.2rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1.4rem;
  align-items: start;
  padding: 1.15rem 0 1.35rem;
  border-top: 1px solid var(--line);
}

.timeline-year {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent-deep);
}

.timeline-body h3 {
  font-size: 1.35rem;
  line-height: 1.15;
}

.timeline-body p {
  margin: 0.55rem 0 0;
  max-width: 42rem;
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 0.94fr);
  gap: clamp(2rem, 4vw, 4.75rem);
  align-items: center;
}

.proof-copy {
  max-width: 36rem;
}

.proof-image-wrap {
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.proof-image-wrap img {
  aspect-ratio: 0.88;
  object-fit: cover;
}

.proof-copy p {
  margin: 1.2rem 0 0;
  max-width: 34rem;
}

.quotes-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 2.2rem;
}

.quote-card {
  padding: 1.3rem;
  border-radius: 28px;
  border: 1px solid rgba(22, 18, 17, 0.08);
  background: rgba(255, 255, 255, 0.38);
  grid-column: span 2;
}

.quote-card-large {
  grid-column: span 3;
  background: linear-gradient(180deg, #171311 0%, #231d19 100%);
  color: #fff7f1;
}

.quote-card p {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.35rem, 2.2vw, 1.95rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.quote-signature {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.15rem;
}

.quote-avatar {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 205, 156, 0.92), transparent 30%),
    linear-gradient(180deg, #ffb57d 0%, #ff934f 100%);
  box-shadow: inset 0 0 0 1px rgba(22, 18, 17, 0.08);
}

.quote-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-person {
  display: grid;
  gap: 0.18rem;
}

.quote-person strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.quote-person span {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.quote-card-large span {
  color: rgba(255, 247, 241, 0.68);
}

.quote-card-large .quote-avatar {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 220, 182, 0.9), transparent 30%),
    linear-gradient(180deg, #ffbf8d 0%, #ff934f 100%);
}

.quote-card-large .quote-person strong {
  color: #fff7f1;
}

.quote-card-large .quote-person span {
  color: rgba(255, 247, 241, 0.72);
}

.closing-section {
  padding-bottom: 1rem;
}

.closing-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  margin-top: 2rem;
  padding: 1.4rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(22, 18, 17, 0.08);
}

.contact-card {
  max-width: 24rem;
}

.contact-card p {
  margin: 0.55rem 0 0;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .topbar {
    width: calc(100% - (var(--frame-gutter) * 2));
    margin-top: 1rem;
    padding: 0.8rem 0.9rem;
    gap: 0.8rem 1rem;
    border-radius: 26px;
  }

  .main-nav {
    gap: 1rem;
  }

  .main-nav a {
    font-size: 0.92rem;
  }

  main {
    padding: 0 1rem 5rem;
  }

  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 1.6rem;
    padding: 1.3rem var(--frame-gutter) 0;
  }

  .hero h1 {
    max-width: 7.8ch;
    font-size: clamp(3.4rem, 6.4vw, 5.3rem);
  }

  .hero-lead {
    max-width: 100%;
  }

  .hero-media {
    min-height: calc(100svh - 150px);
  }

  .hero-portrait {
    width: min(100%, 39rem);
  }

  .services-band {
    padding: 2.6rem 1.3rem;
    border-radius: 32px;
  }

  .service-card {
    min-height: 0;
  }

  .proof-section {
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .hero {
    width: auto;
    margin-left: 0;
    grid-template-areas:
      "copy"
      "media"
      "support";
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 2.2rem;
    padding: 1.9rem 0 0;
    background: transparent;
  }

  .hero-copy,
  .section-heading,
  .proof-copy,
  .proof-copy p {
    max-width: 100%;
  }

  .hero-copy,
  .hero-support {
    max-width: 100%;
    padding-bottom: 0;
  }

  .hero h1 {
    max-width: 8.4ch;
  }

  .hero-copy {
    justify-self: start;
  }

  .hero-media {
    min-height: 31rem;
    border-radius: 34px;
  }

  .hero-portrait {
    width: min(100%, 33rem);
  }

  .proof-ribbon,
  .services-grid,
  .proof-section,
  .closing-panel {
    grid-template-columns: 1fr;
  }

  .proof-section,
  .closing-panel {
    display: grid;
  }

  .culture-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .quotes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-card,
  .quote-card-large {
    grid-column: span 1;
  }
}

@media (max-width: 900px) {
  .topbar {
    position: static;
    border-radius: 28px;
    flex-direction: column;
    align-items: stretch;
    padding: 0.72rem;
    gap: 0.7rem;
  }

  .brand-pill,
  .topbar-cta {
    justify-content: center;
  }

  .brand-lockup {
    text-align: left;
  }

  .main-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    overflow: visible;
    padding: 0;
  }

  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.65rem 0.85rem;
    border-radius: 999px;
    background: rgba(22, 18, 17, 0.05);
    text-align: center;
    line-height: 1.15;
    text-wrap: balance;
  }

  .hero {
    padding-top: 1rem;
  }

  .hero-aside {
    max-width: 100%;
  }

  .quotes-grid,
  .services-grid,
  .proof-ribbon {
    grid-template-columns: 1fr;
  }

  .services-grid {
    margin-top: 1.6rem;
  }

  .culture-list {
    margin-top: 1.5rem;
  }

  .service-card {
    padding: 1.15rem;
  }

  .proof-section {
    grid-template-columns: 1fr;
  }

  .proof-image-wrap img {
    aspect-ratio: 1.08;
  }

  .proof-ribbon {
    padding: 1rem 0 1.4rem;
    margin-top: 0.2rem;
  }

  .closing-panel {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .hero h1 {
    max-width: 8.6ch;
    font-size: clamp(3.1rem, 13vw, 4.8rem);
  }

  .hero {
    gap: 1.4rem;
    min-height: auto;
    padding: 0.75rem 0 1.1rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding: 1rem 0 1.1rem;
  }

  .hero-media {
    min-height: 22.5rem;
    border-radius: 28px;
  }

  .hero-orb {
    width: min(92%, 22rem);
  }

  .hero-portrait {
    width: 100%;
    max-height: 21.5rem;
  }

  .section-heading h2,
  .proof-copy h2 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .quote-card {
    padding: 1.1rem;
    border-radius: 24px;
  }

  .quote-card p {
    font-size: clamp(1.18rem, 6vw, 1.5rem);
  }

  .quote-signature {
    gap: 0.75rem;
  }

  .quote-avatar {
    width: 2.7rem;
    height: 2.7rem;
  }

  .services-band {
    margin: 2rem 0;
    padding: 2rem 1rem;
    border-radius: 28px;
  }

  .intro-ribbon p {
    font-size: 1rem;
  }

  .proof-section {
    gap: 1.35rem;
  }

  .proof-copy {
    order: 1;
  }

  .proof-portrait {
    order: 2;
  }

  .proof-image-wrap {
    border-radius: 26px;
  }

  .proof-image-wrap img {
    aspect-ratio: 1.45;
  }

  .closing-actions {
    width: 100%;
    margin-top: 1.4rem;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  :root {
    --frame-gutter: 0.85rem;
  }

  main {
    padding: 0 0.95rem 4.8rem;
  }

  .back-to-top {
    position: fixed;
    right: 0.95rem;
    bottom: 1rem;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(22, 18, 17, 0.1);
    border-radius: 999px;
    background: rgba(255, 249, 244, 0.78);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 24px rgba(22, 18, 17, 0.08);
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 800;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      background-color 180ms ease,
      border-color 180ms ease;
  }

  .back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .back-to-top:active,
  .back-to-top:focus-visible {
    background: rgba(255, 249, 244, 0.92);
    border-color: rgba(22, 18, 17, 0.16);
  }

  .topbar {
    width: calc(100% - (var(--frame-gutter) * 2));
    margin-top: 0.35rem;
    padding: 0.75rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 26px;
    background: rgba(255, 249, 244, 0.74);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 24px rgba(22, 18, 17, 0.05);
  }

  .brand-pill {
    min-height: 2.7rem;
    padding: 0.45rem 0.85rem;
    width: auto;
    justify-self: start;
    gap: 0.62rem;
  }

  .brand-mark {
    width: 2.1rem;
    height: 2.1rem;
  }

  .brand-name {
    font-size: 1rem;
  }

  .main-nav,
  .topbar-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .mobile-menu-panel {
    display: block;
    grid-column: 1 / -1;
    padding-top: 0.2rem;
  }

  .mobile-menu-panel[hidden] {
    display: none;
  }

  .section-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .section-heading {
    max-width: 100%;
  }

  .section-heading h2,
  .proof-copy h2 {
    font-size: clamp(2.15rem, 10vw, 3.1rem);
    line-height: 0.95;
    max-width: none;
    text-wrap: balance;
  }

  .hero h1 {
    max-width: 8ch;
    font-size: clamp(2.9rem, 12vw, 4.1rem);
    line-height: 0.88;
  }

  .hero-lead {
    max-width: none;
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .hero {
    grid-template-areas:
      "copy"
      "media"
      "support";
    gap: 1rem;
    padding: 0.95rem 0 1.15rem;
  }

  .hero-copy {
    gap: 0.8rem;
  }

  .hero-media {
    width: 100%;
    min-height: 19rem;
    margin-top: 0.3rem;
    padding: 0;
    display: block;
    border-radius: 28px;
  }

  .hero-portrait {
    width: 100%;
    height: auto;
    max-height: 18rem;
    object-fit: cover;
    object-position: center 12%;
  }

  .hero-orb {
    width: min(92%, 18rem);
    bottom: -4%;
  }

  .hero-support {
    gap: 0.95rem;
    margin-top: 0.35rem;
  }

  .hero-actions {
    width: 100%;
    display: grid;
    gap: 0.7rem;
    margin: 0;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .button-secondary {
    width: 100%;
    min-height: 3.35rem;
    padding: 0.85rem 1.3rem;
    justify-self: stretch;
    border: 1px solid rgba(22, 18, 17, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    color: var(--ink);
    font-size: 1rem;
    font-weight: 800;
  }

  .hero-actions .button-secondary:hover,
  .hero-actions .button-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.78);
  }

  .hero-aside {
    max-width: none;
    margin-top: 0.2rem;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .proof-ribbon {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(84vw, 20rem);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    padding: 0.95rem 0 1.5rem;
    margin-top: 0;
    gap: 1rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
    touch-action: pan-x pinch-zoom;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: none;
  }

  .proof-ribbon::-webkit-scrollbar,
  .services-grid::-webkit-scrollbar,
  .timeline::-webkit-scrollbar,
  .culture-list::-webkit-scrollbar,
  .quotes-grid::-webkit-scrollbar {
    display: none;
  }

  .proof-pill,
  .closing-panel {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .proof-pill {
    min-height: 6.2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius: 20px;
    scroll-snap-align: start;
  }

  .intro-ribbon,
  .timeline-section,
  .proof-section,
  .culture-section,
  .quotes-section,
  .closing-section {
    padding: 3.35rem 0;
  }

  .intro-ribbon p {
    padding-top: 1.15rem;
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .services-band {
    margin: 2rem 0;
    padding: 1.9rem 1.1rem 1.75rem;
    border-radius: 24px;
  }

  .services-band .section-heading h2,
  .quotes-section .section-heading h2 {
    font-size: clamp(1.92rem, 8.7vw, 2.55rem);
    max-width: 13.5ch;
    text-wrap: pretty;
  }

  .services-grid {
    --service-gap: 1.05rem;
    --service-peek: clamp(2.75rem, 8vw, 3.4rem);
    display: flex;
    align-items: stretch;
    gap: var(--service-gap);
    margin-top: 1.55rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    padding: 0 0.15rem 0.35rem 0;
    padding-right: var(--service-peek);
    -ms-overflow-style: none;
    scrollbar-width: none;
    touch-action: pan-x pinch-zoom;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: none;
    -webkit-overflow-scrolling: touch;
  }

  .service-card {
    flex: 0 0 min(20.5rem, calc(100% - var(--service-peek) - var(--service-gap)));
    width: min(20.5rem, calc(100% - var(--service-peek) - var(--service-gap)));
    min-width: 0;
    min-height: 0;
    padding: 1.25rem 1.1rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .service-card span {
    width: 1.9rem;
    height: 1.9rem;
  }

  .service-card h3 {
    margin-top: 1rem;
    font-size: 1.18rem;
    max-width: 12.5ch;
    text-wrap: balance;
  }

  .service-card p {
    margin-top: 0.72rem;
    line-height: 1.62;
    max-width: none;
  }

  .timeline {
    --timeline-gap: 1rem;
    --timeline-peek: clamp(2.75rem, 8vw, 3.4rem);
    display: flex;
    align-items: stretch;
    margin-top: 1.55rem;
    gap: var(--timeline-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    padding: 0 0.15rem 0.35rem 0;
    padding-right: var(--timeline-peek);
    -ms-overflow-style: none;
    scrollbar-width: none;
    touch-action: pan-x pinch-zoom;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: none;
  }

  .timeline-item {
    flex: 0 0 min(20.5rem, calc(100% - var(--timeline-peek) - var(--timeline-gap)));
    width: min(20.5rem, calc(100% - var(--timeline-peek) - var(--timeline-gap)));
    min-width: 0;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding: 1.1rem 1rem 1.15rem;
    border-top: 0;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.4);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .timeline-year {
    font-size: 0.98rem;
  }

  .timeline-body p {
    margin-top: 0.38rem;
    line-height: 1.55;
    max-width: none;
  }

  .proof-section {
    gap: 1.8rem;
  }

  .proof-copy p {
    margin-top: 1.05rem;
    line-height: 1.64;
    max-width: none;
  }

  .contact-card strong {
    font-size: 1.22rem;
  }

  .proof-image-wrap {
    border-radius: 24px;
    box-shadow: none;
  }

  .proof-image-wrap img {
    aspect-ratio: 1.42;
  }

  .culture-list {
    --culture-gap: 1rem;
    --culture-peek: clamp(2.75rem, 8vw, 3.4rem);
    display: flex;
    align-items: stretch;
    gap: var(--culture-gap);
    margin-top: 1.55rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    padding: 0 0.15rem 0.35rem 0;
    padding-right: var(--culture-peek);
    border-top: 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
    touch-action: pan-x pinch-zoom;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: none;
    -webkit-overflow-scrolling: touch;
  }

  .culture-item {
    flex: 0 0 min(20.5rem, calc(100% - var(--culture-peek) - var(--culture-gap)));
    width: min(20.5rem, calc(100% - var(--culture-peek) - var(--culture-gap)));
    min-width: 0;
    gap: 0.45rem;
    padding: 1.15rem 1.05rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.38);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .culture-item strong {
    font-size: 1.15rem;
  }

  .culture-item p {
    line-height: 1.55;
  }

  .quotes-grid {
    --quote-gap: 1.05rem;
    --quote-peek: clamp(2.75rem, 8vw, 3.4rem);
    display: flex;
    align-items: stretch;
    margin-top: 1.7rem;
    gap: var(--quote-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    padding: 0 0.15rem 0.35rem 0;
    padding-right: var(--quote-peek);
    -ms-overflow-style: none;
    scrollbar-width: none;
    touch-action: pan-x pinch-zoom;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: none;
    -webkit-overflow-scrolling: touch;
  }

  .quotes-grid .quote-card:nth-child(2),
  .quotes-grid .quote-card:nth-child(4) {
    display: none;
  }

  .quote-card {
    flex: 0 0 min(20.5rem, calc(100% - var(--quote-peek) - var(--quote-gap)));
    width: min(20.5rem, calc(100% - var(--quote-peek) - var(--quote-gap)));
    min-width: 0;
    padding: 1.15rem 1rem;
    border: 1px solid rgba(22, 18, 17, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.42);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .quote-card-large {
    flex-basis: min(21.25rem, calc(100% - var(--quote-peek) - var(--quote-gap)));
    width: min(21.25rem, calc(100% - var(--quote-peek) - var(--quote-gap)));
    padding: 1.2rem 1rem;
    border: 1px solid rgba(22, 18, 17, 0.08);
    border-radius: 24px;
    background: linear-gradient(180deg, #171311 0%, #231d19 100%);
  }

  .quote-card p {
    font-size: clamp(1.14rem, 5.4vw, 1.5rem);
    line-height: 1.1;
    max-width: none;
    text-wrap: balance;
  }

  .quote-card-large p {
    font-size: clamp(1.18rem, 6.5vw, 1.52rem);
  }

  .quote-signature {
    gap: 0.7rem;
    margin-top: auto;
    padding-top: 1rem;
  }

  .quote-avatar {
    width: 2.55rem;
    height: 2.55rem;
  }

  .quote-person strong {
    font-size: 0.94rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .quote-person span {
    font-size: 0.8rem;
    line-height: 1.35;
    max-width: none;
    text-wrap: pretty;
  }

  .quote-signature {
    align-items: flex-start;
  }

  .timeline-body h3,
  .service-card h3 {
    font-size: 1.12rem;
  }

  .closing-section {
    padding-top: 2.35rem;
  }

  .closing-panel {
    margin-top: 1.7rem;
    padding: 1.35rem;
    border-radius: 24px;
  }

  .closing-actions {
    margin-top: 1.15rem;
    gap: 0.8rem;
  }
}

@media (max-width: 900px) and (max-height: 500px) {
  .hero {
    gap: 1rem;
    padding-top: 1rem;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 9vw, 4rem);
  }

  .hero-media {
    min-height: 18rem;
  }

  .hero-portrait {
    max-height: 17rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .reveal,
  .back-to-top {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
