:root {
  --ink: #191716;
  --muted: #69635f;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #e7e1dc;
  --red: #bf231f;
  --red-dark: #8d1715;
  --teal: #1f7771;
  --gold: #c4953b;
  --charcoal: #23201f;
  --shadow: 0 22px 70px rgba(34, 28, 24, 0.14);
  --radius: 8px;
  --content-max: 1180px;
  --page-pad: max(28px, calc((100vw - var(--content-max)) / 2));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 var(--page-pad);
  color: #ffffff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 250, 247, 0.94);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1rem;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 7px;
  padding: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 24px);
  font-size: 0.88rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.88;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  color: #ffffff;
  background: var(--red);
  border-radius: var(--radius);
  opacity: 1;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 690px;
  height: 92vh;
  max-height: 760px;
  overflow: hidden;
  color: #ffffff;
  background: var(--charcoal);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-notes-collage.jpg");
  background-size: cover;
  background-position: 58% center;
  filter: blur(2px) saturate(1.04) contrast(1.04);
  transform: scale(1.035);
  animation: hero-drift 22s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(20, 17, 15, 0.9) 0%, rgba(20, 17, 15, 0.73) 34%, rgba(20, 17, 15, 0.2) 78%, rgba(20, 17, 15, 0.42) 100%),
    linear-gradient(0deg, rgba(20, 17, 15, 0.46), rgba(20, 17, 15, 0.02) 52%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(820px, calc(100% - 40px));
  padding-top: clamp(112px, 16vh, 148px);
  margin-left: var(--page-pad);
  padding-bottom: 48px;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.eyebrow,
.section-kicker,
.case-label {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-bottom: 0;
  color: #ffd07c;
}

.hero-badge-row span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(4rem, 10vw, 8.6rem);
  line-height: 0.82;
  font-weight: 900;
}

.hero-title {
  display: grid;
  gap: 4px;
  max-width: 780px;
}

.hero-title span {
  display: block;
}

.hero-title span:first-child {
  color: #ffffff;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
}

.hero-title span:last-child {
  color: rgba(255, 255, 255, 0.14);
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.92);
  text-shadow: none;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1;
  font-weight: 900;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.16;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-copy {
  width: min(600px, 100%);
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-signal-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-signal-grid span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 850;
  backdrop-filter: blur(12px);
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 1px var(--page-pad);
  background: var(--line);
}

.proof-item {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px clamp(20px, 4vw, 44px);
  background: var(--surface);
}

.proof-item strong {
  color: var(--red);
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: 0.96;
  font-weight: 900;
}

.proof-item span {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 750;
}

.section {
  padding: clamp(76px, 10vw, 132px) var(--page-pad);
}

.intro-grid,
.section-heading,
.visual-split,
.brand-wall,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
}

.intro-copy {
  max-width: 720px;
}

.milestone-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 56px;
}

.milestone-strip::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 27px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--teal));
}

.milestone-strip article {
  position: relative;
  min-height: 190px;
  padding: 54px 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(31, 26, 22, 0.05);
}

.milestone-strip article::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 22px;
  width: 17px;
  height: 17px;
  border: 4px solid #ffffff;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 1px var(--red);
}

.milestone-strip span {
  display: block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 1.65rem;
  font-weight: 900;
}

.milestone-strip strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.35;
}

.milestone-strip p {
  margin: 12px 0 0;
  line-height: 1.55;
  font-size: 0.92rem;
}

.section-heading {
  margin-bottom: 44px;
}

.method .section-heading {
  grid-template-columns: minmax(500px, 1.08fr) minmax(0, 0.92fr);
}

.content-types .section-heading {
  grid-template-columns: minmax(560px, 1.08fr) minmax(0, 0.92fr);
}

.section-heading > p {
  max-width: 560px;
  font-size: 1.05rem;
}

.heading-panel {
  display: grid;
  gap: 18px;
  align-self: stretch;
}

.heading-panel p {
  max-width: 620px;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.panel-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.panel-metrics span {
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink);
  font-weight: 850;
}

.direction-chip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.direction-chip-grid a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 850;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.direction-chip-grid a:hover,
.direction-chip-grid a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(191, 24, 24, 0.28);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(31, 26, 22, 0.1);
}

.service-heading-panel {
  gap: 16px;
}

.service-map {
  display: grid;
  gap: 10px;
}

.service-map article {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 62px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8f5f1;
}

.service-map span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-map strong {
  line-height: 1.36;
}

.services {
  background: #ffffff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 330px;
  padding: 30px;
  background: #ffffff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 34px;
  border-radius: var(--radius);
  object-fit: contain;
}

.service-number {
  display: block;
  margin-bottom: 34px;
  color: var(--teal);
  font-weight: 900;
}

.service-card p {
  margin-bottom: 0;
}

.visual-split {
  position: relative;
  overflow: hidden;
  align-items: stretch;
  padding: clamp(76px, 10vw, 128px) var(--page-pad);
  background: #242120;
  color: #ffffff;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
}

.visual-split::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 22%, rgba(191, 35, 31, 0.24), transparent 32%),
    radial-gradient(circle at 36% 78%, rgba(196, 149, 59, 0.16), transparent 34%);
  filter: blur(20px);
  opacity: 0.72;
}

.visual-split > * {
  position: relative;
  z-index: 1;
}

.visual-split p {
  color: rgba(255, 255, 255, 0.72);
}

.visual-copy {
  max-width: 660px;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.mini-stats div {
  min-width: 0;
  padding: 16px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.mini-stats dt {
  color: #ffd07c;
  font-size: clamp(1.35rem, 1.75vw, 1.68rem);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.mini-stats dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
}

.creator-matrix-visual {
  display: grid;
  grid-template-rows: minmax(460px, 1fr) auto;
  align-self: stretch;
  margin: 0;
}

.creator-matrix-scroll {
  width: 100%;
  min-height: clamp(430px, 42vw, 620px);
  max-height: clamp(430px, 42vw, 620px);
  overflow: auto;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  cursor: grab;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  mask-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.7), #000 8%, #000 92%, rgba(0, 0, 0, 0.76)),
    linear-gradient(180deg, #000 86%, rgba(0, 0, 0, 0.72));
}

.creator-matrix-scroll:active,
.creator-matrix-scroll.is-dragging {
  cursor: grabbing;
}

.creator-matrix-scroll img {
  width: 100%;
  min-width: 1320px;
  max-width: none;
  height: auto;
  border-radius: var(--radius);
  transition: filter 260ms ease;
  user-select: none;
  -webkit-user-drag: none;
}

.creator-matrix-scroll:hover img {
  filter: saturate(1.06);
}

.creator-matrix-visual figcaption {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
}

.method {
  position: relative;
  overflow: hidden;
}

.method::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: 18%;
  border-radius: 999px;
  background: rgba(196, 149, 59, 0.12);
  filter: blur(54px);
}

.method > * {
  position: relative;
  z-index: 1;
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 1.02fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: stretch;
}

.method-image {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-self: stretch;
}

.method-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.method-image > img {
  aspect-ratio: 1.52;
  object-fit: cover;
  object-position: center;
  mask-image: linear-gradient(180deg, #000 78%, rgba(0, 0, 0, 0.72));
}

.method-image-fill {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.method-image-fill article {
  min-height: 126px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.method-image-fill span {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.method-image-fill strong {
  line-height: 1.42;
}

.method-sync-note {
  display: grid;
  align-content: end;
  margin-top: 16px;
  min-height: 118px;
  padding: 20px;
  border-radius: var(--radius);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(25, 23, 22, 0.94), rgba(48, 42, 36, 0.86)),
    url("assets/account-direction-map.jpg?v=20260629c") center / cover;
  overflow: hidden;
}

.method-sync-note span {
  color: #ffd07c;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.method-sync-note p {
  max-width: 720px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.method-steps {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.method-steps article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.method-steps article:hover {
  transform: translateY(-3px);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(31, 26, 22, 0.08);
}

.method-note {
  grid-column: 1 / -1;
  background: #fff4e7;
}

.method-steps span {
  color: var(--gold);
  font-weight: 900;
}

.method-steps p {
  margin-bottom: 0;
}

.content-types {
  background: #ffffff;
}

.content-direction-list {
  display: grid;
  gap: 14px;
}

.direction-row {
  display: grid;
  grid-template-columns: minmax(380px, 0.72fr) minmax(0, 0.28fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  min-height: 206px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff 0%, #fbf7f1 100%);
  box-shadow: 0 12px 36px rgba(31, 26, 22, 0.055);
  transition: transform 180ms ease, box-shadow 180ms ease;
  scroll-margin-top: 94px;
}

.direction-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(31, 26, 22, 0.09);
}

.direction-row.is-direction-highlight {
  animation: direction-focus-pulse 1.65s ease both;
}

.direction-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8f4ee;
}

.direction-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}

.direction-item {
  display: block;
  min-width: 0;
  padding: 0;
  border: 1px solid rgba(31, 26, 22, 0.08);
  border-radius: calc(var(--radius) - 2px);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(31, 26, 22, 0.08);
  cursor: zoom-in;
  overflow: hidden;
}

.direction-item img {
  width: 100%;
  aspect-ratio: 0.76;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
  user-select: none;
  -webkit-user-drag: none;
}

.direction-item:hover img {
  transform: scale(1.025);
  filter: saturate(1.06);
}

.direction-copy span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold);
  font-weight: 900;
}

.direction-copy h3 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
}

.direction-copy p {
  margin-bottom: 0;
  line-height: 1.62;
}

.cases {
  background: #f6f1eb;
}

.case-heading-panel {
  display: grid;
  gap: 18px;
}

.case-heading-panel p {
  max-width: 620px;
  margin: 0;
}

.case-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.case-proof-grid span {
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(191, 35, 31, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 244, 231, 0.86));
  color: var(--muted);
  line-height: 1.48;
}

.case-proof-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--red-dark);
  text-transform: uppercase;
  font-size: 0.78rem;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.case-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-content: start;
  min-height: 0;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(61, 48, 39, 0.08);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(61, 48, 39, 0.12);
}

.case-media-scroll {
  width: 100%;
  border-radius: var(--radius);
  min-height: clamp(300px, 29vw, 380px);
  max-height: clamp(300px, 29vw, 380px);
  overflow: hidden;
  background: #f8f6f2;
  cursor: grab;
  overscroll-behavior: contain;
  scrollbar-width: none;
  user-select: none;
}

.case-media-scroll::-webkit-scrollbar {
  display: none;
}

.case-media-scroll:active,
.case-media-scroll.is-dragging {
  cursor: grabbing;
}

.case-image-strip {
  display: flex;
  width: max-content;
  gap: 14px;
  align-items: center;
  padding: 18px;
}

.case-image-card {
  flex: 0 0 auto;
  display: block;
  width: clamp(190px, 15vw, 240px);
  padding: 0;
  border: 1px solid rgba(31, 26, 22, 0.08);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(31, 26, 22, 0.08);
  cursor: zoom-in;
  overflow: hidden;
}

.case-image-card img {
  width: 100%;
  height: clamp(260px, 24vw, 330px);
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 220ms ease, filter 220ms ease;
}

.case-image-card:hover img {
  transform: scale(1.025);
  filter: saturate(1.05);
}

.case-carousel {
  position: relative;
}

.featured-case {
  grid-column: 1 / -1;
}

.case-card h3 {
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
}

.case-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.case-card li,
.case-card strong {
  display: flex;
  min-height: 52px;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: var(--red-dark);
  background: #fff4e7;
  font-weight: 850;
}

.case-card li:nth-last-child(1):nth-child(odd) {
  grid-column: 1 / -1;
}

.brand-wall {
  align-items: start;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.4vw, 34px);
  padding: clamp(76px, 10vw, 120px) var(--page-pad);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
  overflow: hidden;
}

.brand-wall-copy {
  max-width: 920px;
  margin-bottom: 0;
}

.brand-wall-copy p {
  max-width: 720px;
}

.logo-showcase {
  display: grid;
  gap: 14px;
  overflow: hidden;
  padding: 4px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-row {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: logo-marquee 42s linear infinite;
}

.logo-row-alt {
  animation-direction: reverse;
  animation-duration: 50s;
}

.logo-row-slow {
  animation-duration: 58s;
}

.logo-row-fast {
  animation-duration: 38s;
}

.logo-showcase:hover .logo-row {
  animation-play-state: paused;
}

.logo-row span {
  flex: 0 0 168px;
  display: grid;
  min-height: 84px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.logo-row span:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(31, 26, 22, 0.08);
}

.logo-row img {
  width: 100%;
  height: 78px;
  object-fit: contain;
}

.reveal-ready {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

.media-lightbox {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 44px);
  background: rgba(20, 17, 15, 0.76);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.media-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.media-lightbox figure {
  position: relative;
  width: min(1180px, 100%);
  max-height: 90vh;
  margin: 0;
  display: grid;
  justify-items: center;
  transform: translateY(16px) scale(0.98);
  transition: transform 240ms ease;
}

.media-lightbox.is-open figure {
  transform: translateY(0) scale(1);
}

.media-lightbox img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  cursor: zoom-out;
}

.media-lightbox figcaption {
  display: none;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

body.lightbox-open {
  overflow: hidden;
}

.success-page {
  min-height: 100vh;
  background:
    linear-gradient(110deg, rgba(25, 23, 22, 0.78) 0%, rgba(33, 27, 24, 0.7) 48%, rgba(25, 23, 22, 0.82) 100%),
    url("assets/contact-beauty-bg.jpg") center / cover;
  color: #ffffff;
}

.success-screen {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 34px;
  padding: clamp(28px, 7vw, 90px);
}

.success-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: #ffffff;
  font-weight: 900;
}

.success-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 7px;
  background: #ffffff;
  padding: 3px;
}

.success-panel {
  max-width: 760px;
}

.success-panel h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.98;
  font-weight: 900;
}

.success-panel p:not(.section-kicker) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.success-link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 0 24px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--red);
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(191, 24, 24, 0.28);
}

@keyframes hero-drift {
  from {
    transform: scale(1.035) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.075) translate3d(-12px, 6px, 0);
  }
}

@keyframes direction-focus-pulse {
  0% {
    transform: translateY(0);
    border-color: rgba(191, 24, 24, 0.2);
    box-shadow: 0 12px 36px rgba(31, 26, 22, 0.055), 0 0 0 rgba(191, 24, 24, 0);
  }

  30% {
    transform: translateY(-4px);
    border-color: rgba(191, 24, 24, 0.52);
    box-shadow: 0 22px 54px rgba(31, 26, 22, 0.16), 0 0 0 8px rgba(191, 24, 24, 0.08);
  }

  62% {
    transform: translateY(-2px);
    border-color: rgba(191, 24, 24, 0.36);
    box-shadow: 0 18px 44px rgba(31, 26, 22, 0.12), 0 0 0 3px rgba(191, 24, 24, 0.05);
  }

  100% {
    transform: translateY(0);
    border-color: var(--line);
    box-shadow: 0 12px 36px rgba(31, 26, 22, 0.055), 0 0 0 rgba(191, 24, 24, 0);
  }
}

@keyframes logo-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }

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

.contact {
  align-items: start;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
  background:
    linear-gradient(110deg, rgba(25, 23, 22, 0.78) 0%, rgba(33, 27, 24, 0.68) 46%, rgba(25, 23, 22, 0.82) 100%),
    url("assets/contact-beauty-bg.jpg") center / cover;
  color: #ffffff;
}

.contact p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.hidden-field {
  display: none;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  padding: 14px 14px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.24);
  font: inherit;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ffd07c;
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
  border-color: #ffd07c;
  box-shadow: 0 0 0 3px rgba(255, 208, 124, 0.16);
}

.contact-form button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--red);
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(191, 24, 24, 0.28);
  transition: transform 170ms ease, background 170ms ease, box-shadow 170ms ease;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  transform: translateY(-2px);
  background: var(--red-dark);
  box-shadow: 0 20px 42px rgba(191, 24, 24, 0.36);
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #ffd07c;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 72px);
  padding: 34px clamp(20px, 6vw, 82px);
  background: var(--ink);
  color: #ffffff;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.site-footer img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 7px;
  background: #ffffff;
  padding: 3px;
}

.footer-contact {
  display: grid;
  justify-items: end;
  gap: 6px;
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-contact strong,
.footer-contact span {
  color: #ffffff;
  font-weight: 900;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 160ms ease;
}

.footer-contact a:hover {
  color: #ffd07c;
}

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

  .method-layout,
  .case-card,
  .featured-case {
    grid-template-columns: 1fr;
  }

  .brand-wall {
    grid-template-columns: 1fr;
  }

  .case-media-scroll {
    max-height: 440px;
  }
}

@media (max-width: 820px) {
  .reveal-ready {
    opacity: 1;
    transform: none;
  }

  .site-header {
    height: 64px;
    padding: 0 18px;
  }

  .menu-toggle {
    display: inline-grid;
    gap: 6px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 0;
    border-radius: var(--radius);
    color: inherit;
    background: rgba(255, 255, 255, 0.12);
  }

  .menu-toggle span {
    width: 22px;
    height: 2px;
    background: currentColor;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 12px 18px 18px;
    color: var(--ink);
    background: rgba(251, 250, 247, 0.98);
    box-shadow: 0 18px 36px rgba(31, 26, 22, 0.12);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 15px 0;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 10px;
  }

  .hero {
    min-height: 740px;
    height: auto;
    max-height: none;
  }

  .hero-media {
    background-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(20, 17, 15, 0.9) 0%, rgba(20, 17, 15, 0.76) 56%, rgba(20, 17, 15, 0.38) 100%),
      linear-gradient(0deg, rgba(20, 17, 15, 0.62), rgba(20, 17, 15, 0.12));
  }

  .hero-content {
    width: calc(100% - 36px);
    margin-left: 18px;
    padding-top: 128px;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5.6rem);
  }

  .proof-band,
  .intro-grid,
  .section-heading,
  .visual-split,
  .brand-wall,
  .contact {
    grid-template-columns: 1fr;
  }

  .method .section-heading,
  .content-types .section-heading {
    grid-template-columns: 1fr;
  }

  .proof-band {
    grid-template-columns: repeat(2, 1fr);
    padding-left: 18px;
    padding-right: 18px;
  }

  .milestone-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .direction-chip-grid,
  .direction-row,
  .case-grid,
  .case-card ul,
  .case-proof-grid,
  .mini-stats,
  .panel-metrics,
  .method-steps,
  .method-image-fill {
    grid-template-columns: 1fr;
  }

  .direction-row {
    min-height: auto;
  }

  .direction-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .creator-matrix-visual {
    grid-template-rows: auto auto;
  }

  .creator-matrix-scroll {
    min-height: 360px;
    max-height: 460px;
  }

  .creator-matrix-scroll img {
    min-width: 940px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-contact {
    justify-items: start;
  }
}

@media (max-width: 520px) {
  .brand span {
    display: none;
  }

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

  .service-grid {
    grid-template-columns: 1fr;
  }

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

  .service-number {
    margin-bottom: 26px;
  }

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

  .logo-row span {
    flex-basis: 148px;
    min-height: 76px;
  }

  .logo-row img {
    height: 68px;
  }

  .milestone-strip::before {
    display: none;
  }

  .case-card {
    padding: 16px;
  }

  .case-media-scroll {
    min-height: 260px;
    max-height: 360px;
  }

  .case-image-card {
    width: 178px;
  }

  .case-image-card img {
    height: 252px;
  }

  .contact-form {
    padding: 18px;
  }
}
