:root {
  --midnight: #f7f3ea;
  --navy: #dde6ec;
  --charcoal: #2f3438;
  --ink: #1b1c1b;
  --cream: #fff8ea;
  --paper: #fffaf0;
  --muted: #a7ada7;
  --muted-dark: #5f665f;
  --line: rgba(47, 52, 56, 0.16);
  --line-dark: rgba(16, 24, 32, 0.14);
  --gold: #c9a043;
  --rust: #b66555;
  --blue: #1f5f93;
  --teal: #2f8f94;
  --soft-grey: #e8e7e1;
  --mist: #eef3f3;
  --sunwash: #f9e7b0;
  --max: 1240px;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--midnight);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--midnight);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 800;
}

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

:focus-visible {
  outline: 3px solid rgba(181, 143, 74, 0.82);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1rem, 4vw, 3rem);
  color: var(--ink);
  background: linear-gradient(180deg, rgba(247, 243, 234, 0.92), rgba(247, 243, 234, 0));
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled,
body.menu-open .site-header {
  background: rgba(247, 243, 234, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.wordmark,
.footer-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  min-height: 44px;
  font-weight: 800;
}

.wordmark-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  aspect-ratio: 1;
  border: 1px solid rgba(47, 52, 56, 0.22);
  border-radius: 8px;
  color: var(--gold);
  font-size: 0.82rem;
}

.wordmark-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-actions {
  flex-shrink: 0;
  margin-left: auto;
}

.start-link,
.menu-button,
.menu-close {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(47, 52, 56, 0.2);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.78);
  padding: 0.7rem 1rem;
  cursor: pointer;
}

.start-link {
  color: rgba(27, 28, 27, 0.78);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  visibility: hidden;
}

.menu-overlay[aria-hidden="false"] {
  pointer-events: auto;
  visibility: visible;
}

.menu-scrim {
  position: absolute;
  inset: 0;
  background: rgba(47, 52, 56, 0.3);
  opacity: 0;
  transition: opacity 260ms ease;
}

.menu-overlay[aria-hidden="false"] .menu-scrim {
  opacity: 1;
}

.menu-panel {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: space-between;
  padding: clamp(1.2rem, 4vw, 3rem);
  background: var(--paper);
  transform: translateY(-100%);
  transition: transform 520ms cubic-bezier(0.76, 0, 0.24, 1);
}

.menu-overlay[aria-hidden="false"] .menu-panel {
  transform: translateY(0);
}

.menu-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(27, 28, 27, 0.66);
}

.menu-list {
  display: grid;
  gap: clamp(0.8rem, 1.5vw, 1.2rem);
  width: min(100%, 1100px);
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.menu-list a {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(220px, 0.5fr);
  align-items: baseline;
  gap: 2rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(47, 52, 56, 0.12);
}

.menu-list span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 8vw, 7rem);
  line-height: 0.92;
}

.menu-list small {
  color: rgba(27, 28, 27, 0.58);
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
}

.menu-list a:hover span,
.menu-list a:focus-visible span {
  color: var(--gold);
  transform: translateX(0.4rem);
}

.section-full {
  position: relative;
  min-height: 100vh;
  padding: clamp(5rem, 10vw, 8rem) clamp(1rem, 5vw, 4rem);
}

.section-cream {
  background:
    radial-gradient(circle at top left, rgba(47, 143, 148, 0.14), transparent 32rem),
    linear-gradient(135deg, rgba(249, 231, 176, 0.34), transparent 45%),
    var(--cream);
  color: var(--ink);
}

.hero {
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  opacity: 0.34;
  filter: grayscale(0.08) contrast(0.92) saturate(0.86);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(247, 243, 234, 0.98), rgba(247, 243, 234, 0.82) 48%, rgba(247, 243, 234, 0.5)),
    linear-gradient(0deg, rgba(247, 243, 234, 0.92), rgba(247, 243, 234, 0.42)),
    radial-gradient(circle at 80% 20%, rgba(31, 95, 147, 0.16), transparent 28rem);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
  padding-bottom: clamp(2rem, 8vw, 5rem);
  opacity: 1;
  transform: none;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 0.98;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 940px;
  margin-bottom: 1.25rem;
  color: var(--ink);
  font-size: clamp(2rem, 5.6vw, 7rem);
  letter-spacing: 0;
  text-shadow: none;
  overflow-wrap: break-word;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 7vw, 7rem);
  letter-spacing: 0;
}

h3 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 5.2rem);
  font-weight: 600;
}

p {
  color: currentColor;
  opacity: 0.72;
}

.hero-content p:not(.eyebrow),
.editorial-block p,
.portfolio-intro p,
.reviews-heading p,
.cta-text p {
  max-width: 720px;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.hero-content p:not(.eyebrow) {
  color: rgba(27, 28, 27, 0.84);
  opacity: 1;
}

.hero-tagline {
  margin-top: 1rem;
  color: var(--gold) !important;
  font-size: clamp(0.92rem, 1.4vw, 1.1rem) !important;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.button,
.text-link {
  min-height: 44px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.82rem 1.2rem;
  font-weight: 900;
}

.button-primary {
  background: var(--charcoal);
  color: var(--paper);
}

.button-outline {
  border-color: rgba(47, 52, 56, 0.24);
  color: var(--ink);
  background: rgba(255, 250, 240, 0.68);
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: inherit;
  font-weight: 900;
}

.text-link::after {
  content: "";
  width: 2.7rem;
  height: 1px;
  margin-left: 0.8rem;
  background: currentColor;
  transition: width 180ms ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  width: 4rem;
}

.hero-collage {
  position: absolute;
  right: clamp(1rem, 7vw, 7rem);
  top: 20vh;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.collage-card {
  display: grid;
  place-items: center;
  width: clamp(7rem, 12vw, 11rem);
  aspect-ratio: 1.4;
  border: 1px solid rgba(47, 52, 56, 0.16);
  background: rgba(255, 250, 240, 0.72);
  color: rgba(27, 28, 27, 0.72);
  backdrop-filter: blur(10px);
}

.card-two {
  transform: translateX(-3rem);
}

.card-three {
  transform: translateX(1.5rem);
}

.scroll-cue {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: 2rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(27, 28, 27, 0.58);
  font-size: 0.9rem;
}

.scroll-cue span {
  display: block;
  width: 1px;
  height: 3rem;
  background: rgba(27, 28, 27, 0.34);
}

.intro-statement {
  display: grid;
  align-items: center;
}

.editorial-block {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2rem, 5vw, 4rem);
}

.trust-strip article {
  border-top: 1px solid var(--line-dark);
  padding-top: 1rem;
}

.trust-strip span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--rust);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1;
}

.trust-strip p {
  max-width: 24rem;
  margin: 0;
  color: var(--muted-dark);
  opacity: 1;
}

.service-showcase {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(5rem, 9vw, 7rem) 0 0;
}

.section-kicker,
.portfolio-intro,
.process-heading,
.reviews-heading {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto clamp(2rem, 5vw, 4rem);
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.4rem, 4vw, 5rem);
  align-items: center;
  min-height: 92vh;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.service-panel:nth-child(even) {
  background: var(--mist);
}

.service-panel.is-reversed {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.service-panel.is-reversed .service-copy {
  order: 2;
}

.service-panel.is-reversed .service-visual {
  order: 1;
}

.service-copy {
  max-width: 620px;
}

.service-copy p {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.service-phrase {
  color: var(--ink);
  opacity: 1;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem) !important;
}

.service-visual,
.about-image,
.project-image {
  overflow: hidden;
  border: 1px solid rgba(47, 52, 56, 0.14);
  background: var(--soft-grey);
}

.service-visual {
  min-height: 58vh;
}

.service-visual img,
.about-image img,
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 700ms ease;
}

.service-panel:hover img,
.project-card:hover img {
  transform: scale(1.055);
}

.portfolio-section {
  background: var(--navy);
  color: var(--ink);
}

.portfolio-gallery {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  grid-column: span 2;
  display: grid;
  min-height: 520px;
  background: rgba(255, 250, 240, 0.74);
  border: 1px solid var(--line);
}

.project-card.is-featured {
  grid-column: span 4;
}

.project-image {
  min-height: 280px;
}

.project-copy {
  padding: 1.25rem;
}

.project-copy h3 {
  font-size: clamp(1.4rem, 2.4vw, 2.4rem);
}

.project-type {
  color: var(--gold);
  opacity: 1;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.25rem;
  padding: 0;
  list-style: none;
}

.project-copy li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  color: rgba(27, 28, 27, 0.68);
  font-size: 0.82rem;
}

.process-section {
  display: grid;
  align-content: center;
}

.process-steps {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.process-step {
  display: grid;
  grid-template-columns: minmax(5rem, 0.25fr) minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 4rem);
  padding: clamp(1.2rem, 3vw, 2.4rem) 0;
  border-top: 1px solid var(--line-dark);
}

.process-step span {
  color: var(--rust);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 1;
}

.process-step h3 {
  font-size: clamp(1.7rem, 4vw, 4rem);
}

.process-step p {
  max-width: 760px;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.reviews-section {
  background: #eef0ec;
  color: var(--ink);
}

.review-list {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.review-card {
  display: grid;
  align-content: space-between;
  min-height: 330px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.76);
}

.review-card.is-featured {
  grid-column: span 2;
}

.review-stars {
  color: var(--gold);
  opacity: 1;
  font-weight: 900;
}

blockquote {
  margin-bottom: 2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.4vw, 2.4rem);
  line-height: 1.1;
}

.review-card footer {
  display: grid;
  gap: 0.25rem;
  color: rgba(27, 28, 27, 0.62);
}

.review-card strong {
  color: var(--ink);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 5vw, 5rem);
  align-items: center;
}

.about-image {
  min-height: 62vh;
  border-color: var(--line-dark);
}

.about-copy p {
  max-width: 700px;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
}

.founder-note {
  display: grid;
  gap: 0.35rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
}

.founder-note span {
  color: var(--muted-dark);
}

.closing-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.45fr);
  gap: clamp(1.4rem, 5vw, 5rem);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(201, 160, 67, 0.18), transparent 40%),
    var(--mist);
  color: var(--ink);
}

.project-form,
.contact-panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.74);
}

.contact-panel h3 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4rem);
}

.contact-panel p {
  margin-bottom: 0;
}

.panel-label {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1rem 0;
}

.project-starters {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.project-starters div {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.project-starters dt {
  color: var(--gold);
  font-weight: 900;
}

.project-starters dd {
  margin: 0.25rem 0 0;
  color: rgba(27, 28, 27, 0.68);
}

label {
  display: grid;
  gap: 0.42rem;
  color: rgba(27, 28, 27, 0.78);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(47, 52, 56, 0.18);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.72);
  padding: 0.85rem;
}

textarea {
  resize: vertical;
}

.form-status {
  margin: 0;
  font-size: 0.92rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  background: #3a3f43;
  color: var(--paper);
}

.site-footer p {
  max-width: 440px;
}

.footer-contact,
.footer-nav {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.footer-contact p {
  margin: 0;
}

.footer-contact span,
.footer-nav span {
  color: rgba(244, 239, 227, 0.5);
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  color: rgba(244, 239, 227, 0.55);
}

.simple-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(201, 160, 67, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(7, 31, 73, 0.42), transparent 58%),
    var(--midnight);
}

.simple-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 5vw, 4rem);
}

.legal-layout {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(2rem, 7vw, 5rem) clamp(1rem, 4vw, 2rem) clamp(4rem, 8vw, 7rem);
}

.legal-hero {
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.legal-hero h1 {
  max-width: 780px;
}

.legal-hero p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(244, 239, 227, 0.78);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.legal-body {
  display: grid;
  gap: 1.15rem;
  border: 1px solid var(--line);
  background: rgba(244, 239, 227, 0.07);
  padding: clamp(1.2rem, 4vw, 2.4rem);
}

.legal-body h2 {
  margin: 1rem 0 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 900;
}

.legal-body p {
  max-width: 780px;
  margin: 0;
  color: rgba(244, 239, 227, 0.78);
  opacity: 1;
}

.legal-body a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: rgba(201, 160, 67, 0.72);
  text-underline-offset: 0.24em;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

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

@media (max-width: 1040px) {
  .service-panel,
  .service-panel.is-reversed,
  .about-section,
  .closing-cta,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-panel.is-reversed .service-copy,
  .service-panel.is-reversed .service-visual {
    order: initial;
  }

  .portfolio-gallery,
  .review-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card,
  .project-card.is-featured,
  .review-card,
  .review-card.is-featured {
    grid-column: span 1;
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 0.75rem;
    padding: 0.85rem 1rem;
  }

  .wordmark span:last-child {
    max-width: 8.5rem;
    line-height: 1.1;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .start-link {
    display: none;
  }

  .menu-button {
    padding-inline: 0.85rem;
  }

  .menu-list a {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .menu-list span {
    font-size: clamp(2.4rem, 15vw, 4.5rem);
  }

  .section-full {
    min-height: auto;
    padding: 5.5rem 1rem;
  }

  .hero {
    min-height: 100vh;
  }

  h1 {
    max-width: calc(100vw - 2rem);
    font-size: clamp(2.2rem, 10.4vw, 3.5rem);
    line-height: 1.03;
  }

  .hero-content {
    max-width: 21rem;
    width: 84vw;
    min-width: 0;
    overflow: hidden;
  }

  .hero-content h1,
  .hero-content h1 span,
  .hero .eyebrow,
  .hero-tagline,
  .hero-content p:not(.eyebrow) {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero .eyebrow,
  .hero-tagline {
    font-size: 0.72rem !important;
    line-height: 1.45;
  }

  .hero-collage {
    display: none;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-panel {
    min-height: auto;
    padding: 4rem 1rem;
  }

  .service-visual,
  .about-image {
    min-height: 330px;
  }

  .portfolio-gallery,
  .review-list,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .process-step {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 2rem 1rem;
  }

  .simple-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .wordmark {
    gap: 0.6rem;
  }

  .wordmark span:last-child {
    max-width: 7.2rem;
  }

  h1 {
    font-size: 2rem !important;
  }

  .hero-content p:not(.eyebrow) {
    font-size: 0.98rem;
  }
}

/* Reference-aligned editorial system for the Creative Desk rebuild. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.reference-home,
.reference-subpage {
  background: #1f2020;
  color: #f5f0e5;
}

.reference-home::before,
.reference-subpage::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background: #f5f0e5;
  transform: translateY(-100%);
  animation: page-wipe 1100ms cubic-bezier(0.76, 0, 0.24, 1) both;
}

.reference-home::after,
.reference-subpage::after {
  content: "001  LOADING";
  position: fixed;
  left: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 1000;
  color: #1f2020;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  animation: loader-label 1150ms cubic-bezier(0.76, 0, 0.24, 1) both;
}

.reference-header {
  color: #f5f0e5;
  background: linear-gradient(180deg, rgba(31, 32, 32, 0.62), transparent);
  mix-blend-mode: normal;
}

.reference-header.is-scrolled,
body.menu-open .reference-header {
  background: rgba(31, 32, 32, 0.84);
  border-bottom-color: rgba(245, 240, 229, 0.14);
}

.header-word,
.header-center {
  min-height: 44px;
  color: inherit;
  font-weight: 850;
}

.header-center {
  position: absolute;
  left: 50%;
  top: 1rem;
  display: grid;
  justify-items: center;
  transform: translateX(-50%);
  line-height: 1.05;
  text-align: center;
}

.header-center small {
  color: rgba(245, 240, 229, 0.56);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reference-header .start-link,
.reference-header .menu-button {
  border-color: rgba(245, 240, 229, 0.22);
  color: #f5f0e5;
  background: rgba(31, 32, 32, 0.32);
}

.reference-menu {
  background: #d9d4c7;
  color: #1f2020;
}

.reference-menu .menu-list {
  width: 100%;
  gap: 0;
}

.reference-menu .menu-list a {
  position: relative;
  grid-template-columns: 5rem minmax(0, 1fr) minmax(230px, 0.42fr);
  align-items: center;
  min-height: clamp(4.6rem, 11vh, 8rem);
  padding: 0.2rem clamp(0rem, 2vw, 2rem);
  overflow: hidden;
}

.reference-menu .menu-list a::before {
  content: "0" counter(menu-item);
  counter-increment: menu-item;
  color: rgba(31, 32, 32, 0.42);
  font-size: 0.76rem;
  font-weight: 900;
}

.reference-menu .menu-list {
  counter-reset: menu-item;
}

.reference-menu .menu-list span {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.8rem, 7vw, 7.4rem);
  font-weight: 520;
  letter-spacing: -0.03em;
}

.reference-menu .menu-list a:hover span,
.reference-menu .menu-list a:focus-visible span {
  color: #1f2020;
  transform: translateX(1.2rem);
}

.reference-menu .menu-list a:hover small,
.reference-menu .menu-list a:focus-visible small {
  color: rgba(31, 32, 32, 0.88);
}

.reference-stage {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: clamp(5rem, 9vw, 7rem) clamp(1rem, 5vw, 4rem);
}

.stage-count {
  position: absolute;
  left: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 4;
  color: rgba(245, 240, 229, 0.72);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.stage-brand {
  position: absolute;
  top: clamp(5rem, 10vw, 8rem);
  z-index: 1;
  color: rgba(245, 240, 229, 0.035);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(7rem, 20vw, 22rem);
  line-height: 0.8;
  pointer-events: none;
}

.cinema-card,
.subpage-frame {
  position: relative;
  overflow: hidden;
  width: min(82vw, 1040px);
  margin: 0;
  border: 1px solid rgba(245, 240, 229, 0.18);
  border-radius: 12px;
  background: #d9d4c7;
  box-shadow: 0 2rem 8rem rgba(0, 0, 0, 0.34);
  transform-origin: center;
}

.cinema-card {
  aspect-ratio: 1.9 / 1;
  animation: card-float-in 1100ms 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.cinema-card::after,
.subpage-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(31, 32, 32, 0.54), rgba(31, 32, 32, 0.1));
}

.cinema-card img,
.subpage-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.95);
  transform: scale(1.08);
  animation: image-settle 1500ms 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.cinema-card figcaption {
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 2;
  display: grid;
  gap: 0.3rem;
  color: rgba(245, 240, 229, 0.86);
  max-width: 16rem;
  text-align: right;
}

.cinema-card figcaption span {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cinema-card figcaption strong {
  font-size: clamp(1rem, 2vw, 1.4rem);
}

.stage-copy {
  position: absolute;
  left: clamp(1rem, 6vw, 5.5rem);
  bottom: clamp(4.4rem, 10vh, 7rem);
  z-index: 3;
  max-width: min(680px, calc(100vw - 2rem));
}

.stage-copy h1,
.subpage-title h1,
.reference-intro h2,
.reference-closing h2 {
  color: #fffaf0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(3rem, 6.25vw, 6.8rem);
  font-weight: 520;
  letter-spacing: -0.05em;
  line-height: 0.92;
}

.stage-copy h1 em,
.subpage-title h1 em,
.reference-intro h2 em,
.reference-closing h2 em,
.index-row em {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.stage-copy p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(245, 240, 229, 0.76);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.side-rail {
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  top: 50%;
  z-index: 4;
  display: grid;
  gap: clamp(2rem, 8vh, 5rem);
  transform: translateY(-50%);
}

.side-rail a {
  color: rgba(245, 240, 229, 0.7);
  font-size: 0.78rem;
  font-weight: 900;
  writing-mode: vertical-rl;
}

.reference-stage .scroll-cue {
  color: rgba(245, 240, 229, 0.58);
}

.reference-stage .scroll-cue span {
  background: rgba(245, 240, 229, 0.4);
}

.reference-intro,
.reference-closing {
  display: grid;
  min-height: 74vh;
  align-content: center;
  gap: 1.5rem;
  padding: clamp(5rem, 10vw, 9rem) clamp(1rem, 6vw, 5rem);
  background: #d9d4c7;
  color: #1f2020;
}

.reference-intro h2,
.reference-closing h2 {
  max-width: 1180px;
  color: #1f2020;
}

.reference-intro > p:not(.eyebrow),
.reference-closing > p {
  max-width: 720px;
  color: rgba(31, 32, 32, 0.68);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  opacity: 1;
}

.section-index {
  background: #1f2020;
  color: #f5f0e5;
}

.index-row {
  position: relative;
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) minmax(240px, 0.42fr);
  align-items: center;
  gap: 2rem;
  min-height: clamp(7rem, 15vh, 10rem);
  padding: 0 clamp(1rem, 5vw, 4rem);
  border-top: 1px solid rgba(245, 240, 229, 0.15);
  overflow: hidden;
}

.index-row::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #d9d4c7;
  transform: translateY(100%);
  transition: transform 520ms cubic-bezier(0.76, 0, 0.24, 1);
}

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

.index-row span {
  color: rgba(245, 240, 229, 0.5);
  font-size: 0.8rem;
  font-weight: 900;
}

.index-row strong {
  color: #f5f0e5;
  font-size: clamp(2.8rem, 7vw, 7.2rem);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.index-row small {
  color: rgba(245, 240, 229, 0.58);
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
}

.index-row:hover::after,
.index-row:focus-visible::after {
  transform: translateY(0);
}

.index-row:hover span,
.index-row:hover strong,
.index-row:hover small,
.index-row:focus-visible span,
.index-row:focus-visible strong,
.index-row:focus-visible small {
  color: #1f2020;
}

.reference-closing {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  background: #c3c6b8;
}

.reference-footer {
  background: #1f2020;
}

.page-topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: clamp(1rem, 2.2vw, 1.7rem) clamp(1rem, 4vw, 3rem);
  color: #f5f0e5;
  font-size: 0.86rem;
  font-weight: 850;
}

.page-topbar a:last-child {
  justify-self: end;
}

.page-logo {
  justify-self: center;
}

.subpage-hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  align-items: center;
  padding: clamp(5rem, 10vw, 8rem) clamp(1rem, 5vw, 4rem);
}

.service-page .subpage-hero {
  background: radial-gradient(circle at 78% 28%, rgba(201, 160, 67, 0.11), transparent 22rem), #1f2020;
}

.portfolio-page .subpage-hero {
  background: radial-gradient(circle at 18% 34%, rgba(47, 143, 148, 0.12), transparent 24rem), #1d2124;
}

.process-page .subpage-hero {
  background: radial-gradient(circle at 78% 28%, rgba(182, 101, 85, 0.12), transparent 24rem), #20211f;
}

.reviews-page .subpage-hero {
  background: radial-gradient(circle at 18% 34%, rgba(201, 160, 67, 0.13), transparent 24rem), #20201d;
}

.about-page .subpage-hero,
.contact-page .subpage-hero {
  background: radial-gradient(circle at 78% 28%, rgba(245, 240, 229, 0.1), transparent 24rem), #1f2020;
}

.subpage-frame {
  width: min(74vw, 920px);
  aspect-ratio: 1.65 / 1;
}

.portfolio-page .subpage-frame,
.reviews-page .subpage-frame {
  margin-left: auto;
}

.portrait-frame {
  aspect-ratio: 0.92 / 1;
  width: min(58vw, 620px);
}

.subpage-title {
  position: absolute;
  left: clamp(1rem, 6vw, 5rem);
  bottom: clamp(5rem, 13vh, 8rem);
  z-index: 4;
  width: min(800px, calc(100vw - 2rem));
}

.subpage-title h1 {
  max-width: 800px;
}

.subpage-title p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(245, 240, 229, 0.74);
  opacity: 1;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.subpage-index,
.subpage-grid,
.subpage-copy,
.contact-board {
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 5vw, 4rem);
  background: #d9d4c7;
  color: #1f2020;
}

.subpage-index .service-panel {
  min-height: auto;
  grid-template-columns: 0.9fr 1.1fr;
  padding-inline: 0;
}

.subpage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.subpage-grid .project-card,
.subpage-grid .review-card,
.subpage-grid .review-card.is-featured {
  grid-column: span 1;
  background: rgba(255, 250, 240, 0.64);
}

.subpage-copy,
.contact-board {
  display: grid;
  gap: 1.5rem;
}

.subpage-copy p,
.contact-board p,
.contact-board a {
  max-width: 820px;
  color: #1f2020;
  font-size: clamp(1.4rem, 3vw, 3rem);
  line-height: 1.08;
  opacity: 1;
}

.contact-board a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.contact-board article span {
  color: #8d6d25;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes page-wipe {
  0% {
    transform: translateY(0);
  }
  55% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
  }
}

@keyframes loader-label {
  0%,
  58% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-1rem);
    visibility: hidden;
  }
}

@keyframes card-float-in {
  from {
    opacity: 0;
    transform: translateY(14vh) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes image-settle {
  from {
    transform: scale(1.16);
    filter: saturate(0.5) contrast(0.82) blur(6px);
  }
  to {
    transform: scale(1.08);
    filter: saturate(0.82) contrast(0.95) blur(0);
  }
}

.cinema-card:hover img,
.subpage-frame:hover img {
  transform: scale(1.03);
}

.reference-home .reveal,
.reference-subpage .reveal {
  opacity: 0;
  transform: translateY(4rem) skewY(1deg);
  transition:
    opacity 900ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reference-home .reveal.is-visible,
.reference-subpage .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .header-center {
    display: none;
  }

  .reference-header {
    display: flex;
  }

  .reference-header .header-actions {
    position: fixed;
    top: 0.85rem;
    right: 1rem;
    z-index: 60;
  }

  .reference-header .menu-button {
    position: fixed;
    top: 0.85rem;
    right: 1rem;
    z-index: 1001;
    background: rgba(31, 32, 32, 0.78);
    backdrop-filter: blur(12px);
  }

  .reference-header .start-link {
    display: none;
  }

  .reference-menu .menu-list a,
  .index-row {
    grid-template-columns: 3rem 1fr;
  }

  .reference-menu .menu-list small,
  .index-row small,
  .side-rail {
    display: none;
  }

  .cinema-card,
  .subpage-frame,
  .portrait-frame {
    width: min(92vw, 680px);
  }

  .stage-copy,
  .subpage-title {
    left: 1rem;
    bottom: 4.6rem;
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
  }

  .stage-copy h1,
  .subpage-title h1,
  .reference-intro h2,
  .reference-closing h2 {
    max-width: calc(100vw - 2rem);
    font-size: clamp(2.7rem, 11.8vw, 4.1rem);
    line-height: 0.95;
    overflow-wrap: break-word;
  }

  .stage-copy p:not(.eyebrow),
  .subpage-title p:not(.eyebrow) {
    max-width: calc(100vw - 2rem);
    font-size: 1rem;
  }

  .cinema-card figcaption {
    display: none;
  }

  .reference-closing,
  .subpage-grid,
  .subpage-index .service-panel {
    grid-template-columns: 1fr;
  }

  .page-topbar {
    grid-template-columns: 1fr auto;
  }

  .page-logo {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reference-home::before,
  .reference-home::after,
  .reference-subpage::before,
  .reference-subpage::after,
  .cinema-card,
  .cinema-card img,
  .subpage-frame img {
    animation: none !important;
  }

  .index-row::after {
    display: none;
  }
}

/* Clean high-end Creative Desk experience: no overlapping ghost logos. */
.desk-home {
  background: #121513;
  color: #fff8ea;
  overflow-x: hidden;
}

html:has(.desk-home) {
  overflow-x: hidden;
}

.desk-home::before,
.desk-home::after,
.reference-subpage::before,
.reference-subpage::after {
  display: none !important;
}

.desk-header {
  color: #fff8ea;
  background: linear-gradient(180deg, rgba(18, 21, 19, 0.88), rgba(18, 21, 19, 0));
}

.desk-header.is-scrolled,
body.menu-open .desk-header {
  background: rgba(18, 21, 19, 0.9);
  border-bottom-color: rgba(255, 248, 234, 0.14);
}

.desk-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: min(58vw, 32rem);
  min-height: 44px;
  font-weight: 900;
  text-decoration: none;
}

.desk-wordmark span {
  display: grid;
  place-items: center;
  width: 2.25rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 248, 234, 0.28);
  border-radius: 8px;
  color: #c9a043;
}

.desk-header .start-link,
.desk-header .menu-button {
  border-color: rgba(255, 248, 234, 0.22);
  color: #fff8ea;
  background: rgba(255, 248, 234, 0.06);
}

.desk-hero {
  position: relative;
  display: grid;
  min-height: 74svh;
  max-width: 100vw;
  place-items: center;
  overflow: hidden;
  padding: clamp(5rem, 8vw, 7rem) clamp(1rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
  background:
    linear-gradient(135deg, rgba(201, 160, 67, 0.08), transparent 32%),
    #121513;
}

.hero-backdrop {
  display: none;
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(18, 21, 19, 0.88), rgba(18, 21, 19, 0.48)),
    radial-gradient(circle at 50% 35%, rgba(201, 160, 67, 0.22), transparent 26rem);
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.05);
  transform: scale(1.08);
}

.hero-opening {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: min(100%, 1040px);
  max-width: calc(100vw - clamp(2rem, 10vw, 8rem));
  text-align: center;
}

.hero-kicker {
  max-width: 100%;
  margin: 0 0 1rem;
  color: #c9a043;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  line-height: 1.4;
  opacity: 0;
  text-transform: uppercase;
  animation: clean-rise 900ms 180ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-opening h1 {
  width: 100%;
  max-width: 1040px;
  margin: 0;
  color: #fff8ea;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(3.2rem, 9vw, 9rem);
  font-weight: 760;
  letter-spacing: -0.07em;
  line-height: 0.9;
  overflow-wrap: break-word;
  opacity: 0;
  animation: clean-rise 1100ms 380ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-opening h1 em {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.hero-opening p:not(.hero-kicker) {
  width: min(100%, 760px);
  max-width: 100%;
  margin: 1.4rem auto 0;
  color: rgba(255, 248, 234, 0.78);
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  line-height: 1.42;
  overflow-wrap: break-word;
  opacity: 0;
  animation: clean-rise 900ms 720ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.photo-menu {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: clamp(1.2rem, 2.6vw, 2.2rem) clamp(1rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem);
  background:
    linear-gradient(180deg, #121513 0%, #191b19 35%, #0f1110 100%);
  color: #fff8ea;
  overflow: hidden;
}

.photo-menu-heading {
  display: grid;
  gap: 0.35rem;
  width: min(100%, 980px);
  margin: 0 auto;
  text-align: center;
}

.photo-menu-heading h2 {
  max-width: 980px;
  color: #fff8ea;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(3.4rem, 8vw, 7.8rem);
  font-weight: 720;
  letter-spacing: -0.055em;
  line-height: 0.82;
}

.photo-menu-heading p:not(.eyebrow) {
  width: min(100%, 720px);
  margin: 0 auto;
  color: rgba(255, 248, 234, 0.7);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.photo-card-grid {
  position: relative;
  width: min(100%, 1220px);
  height: clamp(24rem, 48vh, 32rem);
  margin: 0 auto;
  perspective: 1600px;
}

.photo-card {
  --deck-depth: 0;
  position: absolute;
  inset: 0;
  z-index: calc(20 - var(--deck-depth));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 234, 0.16);
  border-radius: clamp(18px, 3vw, 42px);
  background: #171917;
  color: #fff8ea;
  text-decoration: none;
  isolation: isolate;
  animation: none;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.32);
  opacity: calc(1 - (var(--deck-depth) * 0.17));
  pointer-events: none;
  transform:
    translateY(calc(var(--deck-depth) * 1rem))
    scale(calc(1 - (var(--deck-depth) * 0.045)))
    rotateX(calc(var(--deck-depth) * -1.35deg));
  transform-origin: 50% 100%;
  transition:
    border-color 420ms ease,
    box-shadow 420ms ease,
    filter 620ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 920ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 920ms cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1) rotateX(0);
}

.photo-card.is-exiting {
  opacity: 0.18;
  transform: translateY(2.6rem) scale(0.88) rotateX(-5deg);
  filter: saturate(0.6) brightness(0.58) blur(1px);
}

.photo-card[aria-hidden="true"] {
  filter: saturate(0.8) brightness(0.7);
}

.photo-card.card-large,
.photo-card.card-wide {
  grid-column: auto;
}

.photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
  transform: scale(1.12);
  filter: saturate(0.82) contrast(0.95);
  transition:
    transform 1000ms cubic-bezier(0.165, 0.84, 0.44, 1),
    opacity 700ms ease,
    filter 700ms ease;
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(0deg, rgba(18, 21, 19, 0.92), rgba(18, 21, 19, 0.2) 64%),
    radial-gradient(circle at 50% 20%, rgba(201, 160, 67, 0.12), transparent 34rem);
}

.photo-card span,
.photo-card strong,
.photo-card small {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100% - 2rem, 820px);
  margin-inline: auto;
  text-align: center;
}

.photo-card span {
  margin-top: auto;
  color: #c9a043;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.photo-card strong {
  margin-top: 0.45rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.82;
}

.photo-card small {
  max-width: 680px;
  margin-top: 0.8rem;
  margin-bottom: clamp(1.5rem, 5vw, 4rem);
  color: rgba(255, 248, 234, 0.72);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.45;
}

.photo-card:hover img,
.photo-card:focus-visible img {
  opacity: 0.9;
  filter: saturate(1) contrast(1);
  transform: scale(1.04);
}

.photo-card:hover,
.photo-card:focus-visible {
  outline: 3px solid rgba(201, 160, 67, 0.78);
  outline-offset: 4px;
  box-shadow: 0 1.4rem 4rem rgba(0, 0, 0, 0.34);
}

.deck-controls {
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
}

.deck-button {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 42%;
  min-height: 44px;
  border: 0;
  color: transparent;
  background: transparent;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
}

.deck-button-prev {
  left: 0;
}

.deck-button-next {
  right: 0;
}

.deck-button::after {
  content: attr(data-control-label);
  position: absolute;
  top: 50%;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 248, 234, 0.28);
  border-radius: 999px;
  color: #fff8ea;
  background: rgba(18, 21, 19, 0.72);
  padding: 0.72rem 1rem;
  opacity: 0;
  transform: translateY(-50%) scale(0.96);
  transition: opacity 260ms ease, transform 260ms ease, background 260ms ease, color 260ms ease;
  backdrop-filter: blur(14px);
}

.deck-button-prev::after {
  left: clamp(0.8rem, 2vw, 1.4rem);
}

.deck-button-next::after {
  right: clamp(0.8rem, 2vw, 1.4rem);
}

.deck-button:hover,
.deck-button:focus-visible {
  outline: none;
}

.deck-button:hover::after,
.deck-button:focus-visible::after {
  color: #121513;
  background: #c9a043;
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.deck-status {
  position: absolute;
  left: 50%;
  bottom: clamp(0.8rem, 2vw, 1.4rem);
  margin: 0;
  color: rgba(255, 248, 234, 0.68);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  opacity: 1;
  pointer-events: none;
  transform: translateX(-50%);
  text-transform: uppercase;
}

.reference-subpage {
  background: #171917;
}

.page-topbar {
  background: rgba(18, 21, 19, 0.88);
  border-bottom: 1px solid rgba(255, 248, 234, 0.12);
  backdrop-filter: blur(16px);
}

.reference-subpage .stage-count,
.reference-subpage .stage-brand {
  display: none !important;
}

.reference-subpage .subpage-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  min-height: 76vh;
  align-items: center;
  padding-top: clamp(7rem, 12vw, 10rem);
}

.reference-subpage .subpage-frame,
.reference-subpage .portrait-frame {
  width: 100%;
  max-width: none;
  aspect-ratio: 1.25 / 1;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
}

.reference-subpage .subpage-frame img,
.reference-subpage .portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reference-subpage .subpage-title {
  position: relative;
  left: auto;
  bottom: auto;
  z-index: 1;
  width: auto;
  max-width: 780px;
}

.reference-subpage .subpage-title h1 {
  color: #fff8ea;
  font-size: clamp(2.6rem, 5.7vw, 6.4rem);
  line-height: 0.95;
}

.reference-subpage .subpage-title p:not(.eyebrow) {
  color: rgba(255, 248, 234, 0.76);
}

.request-form {
  display: grid;
  gap: 1rem;
  max-width: 820px;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(23, 25, 23, 0.16);
  border-radius: 12px;
  background: rgba(255, 248, 234, 0.65);
}

.request-form label {
  display: grid;
  gap: 0.45rem;
  color: #171917;
  font-size: 0.95rem;
  font-weight: 850;
}

.request-form input,
.request-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(47, 52, 56, 0.18);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.86);
  padding: 0.85rem;
  font: inherit;
}

.request-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.request-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(47, 52, 56, 0.18);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.86);
  padding: 0.85rem;
}

.review-offer {
  display: grid;
  gap: 1rem;
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 5vw, 4rem);
  background: #d9d4c7;
  color: #1f2020;
}

.review-offer h2 {
  max-width: 980px;
  margin-bottom: 0;
  color: #1f2020;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 7vw, 7rem);
  line-height: 0.92;
}

.review-offer p:not(.eyebrow) {
  max-width: 820px;
  margin: 0;
  color: rgba(31, 32, 32, 0.78);
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  opacity: 1;
}

.process-step {
  grid-template-columns: minmax(0, 1fr);
}

.process-step > span {
  display: none;
}

@keyframes clean-rise {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes backdrop-fade {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes card-sequence {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .desk-wordmark strong {
    max-width: 11rem;
    line-height: 1.05;
  }

  .desk-header .start-link {
    display: none;
  }

  .desk-header .header-actions {
    position: fixed;
    top: 0.85rem;
    left: min(15rem, calc(100vw - 5.8rem));
    right: auto;
    z-index: 1001;
    display: flex !important;
    margin: 0;
  }

  .desk-header .menu-button {
    min-width: 4.6rem;
    background: rgba(18, 21, 19, 0.82);
  }

  .hero-opening {
    width: min(100%, 31rem);
    max-width: min(calc(100vw - 2rem), 31rem);
  }

  .hero-opening p:not(.hero-kicker) {
    width: min(100%, 24rem);
    max-width: 100%;
  }

  .hero-opening h1 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .reference-subpage .subpage-hero {
    grid-template-columns: 1fr;
  }

  .photo-card,
  .photo-card.card-large,
  .photo-card.card-wide {
    min-height: 0;
  }

  .reference-subpage {
    overflow-x: hidden;
  }

  .reference-subpage .subpage-hero {
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    padding-inline: 1rem;
  }

  .reference-subpage .subpage-frame,
  .reference-subpage .portrait-frame {
    width: min(100%, 34rem);
    max-width: calc(100vw - 2rem);
  }

  .reference-subpage .subpage-title {
    width: min(100%, 34rem);
    max-width: calc(100vw - 2rem);
  }

  .reference-subpage .subpage-title h1 {
    width: min(100%, 28rem);
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .reference-subpage .subpage-title p:not(.eyebrow) {
    width: min(100%, 24rem);
    max-width: 100%;
    overflow-wrap: break-word;
  }
}

@media (max-width: 520px) {
  .desk-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100vw;
    max-width: 100vw;
    overflow: visible;
  }

  .desk-header .header-actions {
    position: fixed;
    top: 0.85rem;
    left: min(15rem, calc(100vw - 5.8rem));
    right: auto;
    z-index: 1001;
    display: flex !important;
    margin: 0;
  }

  .desk-wordmark span {
    width: 2rem;
  }

  .desk-wordmark strong {
    max-width: 8.75rem;
    font-size: 0.88rem;
    line-height: 1.08;
  }

  .desk-header .menu-button {
    position: static;
    min-width: 4.6rem;
    background: rgba(18, 21, 19, 0.82);
  }

  .hero-opening {
    justify-items: start;
    width: min(100%, 21.5rem);
    max-width: min(calc(100vw - 2rem), 21.5rem);
    text-align: left;
  }

  .hero-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .hero-opening p:not(.hero-kicker) {
    width: min(100%, 17.5rem);
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.45;
    overflow-wrap: break-word;
  }

  .hero-opening h1,
  .photo-menu-heading h2,
  .reference-subpage .subpage-title h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.05rem, 9.4vw, 2.65rem) !important;
    letter-spacing: -0.045em;
  }

  .photo-menu {
    padding-inline: 0.75rem;
  }

  .photo-menu-heading {
    text-align: left;
  }

  .photo-card {
    border-radius: 18px;
  }

  .photo-card span,
  .photo-card strong,
  .photo-card small {
    text-align: left;
  }

  .photo-card strong {
    font-size: clamp(2.9rem, 16vw, 4.8rem);
  }

  .photo-card-grid {
    height: min(62vh, 31rem);
  }

  .photo-card small {
    margin-bottom: 5.25rem;
  }

  .deck-controls {
    gap: 0.45rem;
  }

  .deck-button::after {
    opacity: 0.92;
    transform: translateY(-50%) scale(1);
  }

  .deck-button-prev::after {
    left: 0.45rem;
  }

  .deck-button-next::after {
    right: 0.45rem;
  }

  .reference-subpage .subpage-frame,
  .reference-subpage .portrait-frame,
  .reference-subpage .subpage-title {
    width: min(100%, 21.5rem);
    max-width: calc(100vw - 2rem);
  }

  .reference-subpage .subpage-title h1 {
    width: min(100%, 18rem);
  }

  .reference-subpage .subpage-title p:not(.eyebrow) {
    width: min(100%, 17.5rem);
  }

  .review-offer h2,
  .review-offer p:not(.eyebrow) {
    width: min(100%, 18rem);
    max-width: 100%;
    overflow-wrap: break-word;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-backdrop,
  .hero-kicker,
  .hero-opening h1,
  .hero-opening p:not(.hero-kicker),
  .photo-card {
    animation: none !important;
    opacity: 1;
    transform: none !important;
  }

  .photo-card[aria-hidden="true"] {
    display: none;
  }
}
