:root {
  --ink: #1b100b;
  --ink-soft: #2f1d14;
  --cocoa: #7a3517;
  --cocoa-dark: #431d10;
  --champagne: #d9a36f;
  --ivory: #efe0cf;
  --paper: #f8efe4;
  --sage: #80644d;
  --line: rgba(67, 29, 16, 0.16);
  --shadow: 0 26px 70px rgba(67, 29, 16, 0.22);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: var(--radius);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: white;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(20, 16, 13, 0.88);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  padding-block: 12px;
}

.brand {
  width: clamp(150px, 18vw, 240px);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.3));
}

.brand img,
.site-footer img {
  width: 100%;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.6vw, 34px);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  opacity: 0.82;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--champagne);
  transition: transform 0.3s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(246, 201, 149, 0.72);
  color: var(--champagne);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 11px;
}

.nav-toggle span {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: white;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 140px clamp(20px, 5vw, 72px) 52px;
  color: white;
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroBreath 14s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 7, 5, 0.92) 0%, rgba(10, 7, 5, 0.68) 35%, rgba(10, 7, 5, 0.12) 100%),
    linear-gradient(0deg, rgba(10, 7, 5, 0.82) 0%, rgba(10, 7, 5, 0) 42%);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
  z-index: 2;
}

.eyebrow,
.section-kicker,
.hero-card span,
.service-feature span,
.gallery-card span,
.team-info span,
.cta-band span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--champagne);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

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

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.7rem, 8vw, 8.4rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 5.2vw, 5.6rem);
}

h3 {
  font-size: 1.04rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.hero-actions,
.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  isolation: isolate;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateX(-105%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transition: transform 0.6s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:hover::after {
  transform: translateX(105%);
}

.btn-primary {
  background: var(--champagne);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(246, 201, 149, 0.24);
}

.btn-secondary,
.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: white;
}

.btn-outline {
  border-color: rgba(20, 16, 13, 0.22);
  color: var(--ink);
}

.btn-light {
  background: var(--paper);
  color: var(--cocoa-dark);
}

.hero-card {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: 52px;
  z-index: 3;
  width: min(340px, calc(100% - 40px));
  padding: 24px;
  border: 1px solid rgba(246, 201, 149, 0.25);
  border-radius: var(--radius);
  background: rgba(20, 16, 13, 0.44);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.15;
}

.hero-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  color: var(--champagne);
}

.quick-strip a {
  min-height: 76px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(246, 201, 149, 0.2);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease;
}

.quick-strip a:hover {
  background: var(--champagne);
  color: var(--ink);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  padding: clamp(78px, 10vw, 140px) 0;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 54px);
  align-items: start;
}

.studio-section .section-title {
  max-width: 1120px;
}

.studio-section .section-title h2 {
  font-size: clamp(3.4rem, 6.8vw, 7rem);
  line-height: 0.96;
}

.studio-copy {
  color: rgba(20, 16, 13, 0.72);
  font-size: 1.05rem;
}

.studio-statement {
  position: relative;
  max-width: 980px;
  padding: clamp(20px, 3vw, 34px) 0 clamp(20px, 3vw, 34px) clamp(22px, 3vw, 38px);
}

.studio-statement::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--champagne), var(--cocoa));
}

.studio-statement p {
  margin-bottom: 26px;
  color: rgba(27, 16, 11, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.28rem, 2vw, 1.72rem);
  line-height: 1.5;
}

.studio-statement p:last-child {
  margin-bottom: 0;
}

.studio-statement strong {
  color: var(--cocoa-dark);
  font-weight: 700;
  box-shadow: inset 0 -0.34em 0 rgba(217, 163, 111, 0.28);
}

.signature-panel {
  margin-top: 70px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #f8efe4 0%, #e6cfb8 100%);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(111, 37, 5, 0.1);
}

.signature-panel img {
  width: 130px;
  opacity: 0.88;
}

.signature-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--sage);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
}

.signature-panel p {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.services-section {
  width: 100%;
  max-width: none;
  padding-inline: clamp(20px, 5vw, 72px);
  background: var(--ivory);
}

.section-heading {
  width: min(var(--max), 100%);
  margin: 0 auto 48px;
}

.section-heading p {
  max-width: 720px;
  color: rgba(20, 16, 13, 0.68);
}

.services-layout {
  width: min(var(--max), 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(440px, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 30px);
}

.service-feature {
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 5vw, 52px);
  color: white;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(20, 16, 13, 0.12), rgba(20, 16, 13, 0.84)),
    url("assets/service-woman-neide-web.jpg") center / cover;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.service-feature h3 {
  margin-bottom: 14px;
  font-family: Georgia, serif;
  font-size: clamp(2.4rem, 4.6vw, 4.6rem);
  font-weight: 500;
}

.service-feature p {
  color: rgba(255, 255, 255, 0.78);
}

.service-feature a {
  margin-top: 18px;
  color: var(--champagne);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-content: start;
  gap: clamp(14px, 2vw, 20px);
}

.service-item,
.team-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 243, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-item {
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 3vw, 30px);
}

.service-item:hover,
.team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(111, 37, 5, 0.24);
  box-shadow: 0 24px 50px rgba(111, 37, 5, 0.12);
}

.service-item span {
  display: block;
  margin-bottom: 24px;
  color: var(--cocoa);
  font-family: Georgia, serif;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.service-item h3 {
  margin-bottom: 0;
  font-size: clamp(1.05rem, 1.55vw, 1.42rem);
}

.service-item p {
  margin-bottom: 0;
  color: rgba(20, 16, 13, 0.64);
}

.results-section {
  overflow: hidden;
  padding-bottom: clamp(52px, 6vw, 78px);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 18px);
}

.gallery-card {
  position: relative;
  min-height: 270px;
  aspect-ratio: 1 / 1.05;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 16px 36px rgba(20, 16, 13, 0.14);
}

.gallery-card-large {
  grid-row: auto;
  min-height: 270px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transition: transform 0.7s ease;
}

.gallery-card:hover img {
  transform: scale(1.055);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 13, 0) 42%, rgba(20, 16, 13, 0.78) 100%);
}

.gallery-card div {
  position: absolute;
  left: clamp(20px, 3vw, 34px);
  right: clamp(20px, 3vw, 34px);
  bottom: clamp(20px, 3vw, 34px);
  z-index: 1;
  color: white;
}

.gallery-card h3 {
  max-width: 520px;
  margin-bottom: 0;
  font-family: Georgia, serif;
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  font-weight: 500;
}

.team-section {
  width: 100%;
  max-width: none;
  padding: clamp(58px, 6vw, 88px) clamp(20px, 5vw, 72px) clamp(92px, 10vw, 140px);
  background: var(--ink);
  color: white;
}

.team-section .section-heading {
  color: white;
}

.team-section .section-heading p {
  color: rgba(255, 255, 255, 0.66);
}

.team-grid {
  width: min(var(--max), 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.team-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
}

.team-photo {
  min-height: 360px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(246, 201, 149, 0.12), rgba(111, 114, 90, 0.22)),
    var(--ink-soft);
}

.team-photo-accent {
  background:
    linear-gradient(145deg, rgba(246, 201, 149, 0.22), rgba(111, 37, 5, 0.34)),
    var(--ink-soft);
}

.team-photo img {
  width: 130px;
  opacity: 0.86;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.4));
}

.team-photo-image {
  min-height: 420px;
  overflow: hidden;
}

.team-photo-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  opacity: 1;
  filter: none;
}

.team-photo-space img {
  object-position: center;
}

.team-photo-team,
.team-photo-team img {
  min-height: 460px;
}

.team-photo-team img {
  object-position: center 42%;
}

.team-info {
  padding: 28px;
}

.team-info h3 {
  margin-bottom: 12px;
  font-family: Georgia, serif;
  font-size: 1.75rem;
  font-weight: 500;
}

.team-info p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
}

.cta-band {
  width: 100%;
  padding: clamp(76px, 12vw, 130px) clamp(20px, 5vw, 72px);
  color: white;
  background:
    linear-gradient(90deg, rgba(68, 21, 3, 0.92), rgba(20, 16, 13, 0.86)),
    url("assets/hero-neide-web.jpg") center / cover fixed;
}

.cta-band-inner {
  width: min(900px, 100%);
}

.cta-band h2 {
  max-width: 850px;
  margin-bottom: 26px;
}

.location-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: stretch;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 32px;
}

.contact-list p {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: rgba(20, 16, 13, 0.7);
}

.contact-list strong,
.hours-block strong {
  display: block;
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hours-block {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(67, 29, 16, 0.12);
  border-radius: var(--radius);
  background: rgba(239, 224, 207, 0.48);
  color: rgba(20, 16, 13, 0.72);
}

.hours-grid span:nth-child(even) {
  color: var(--cocoa-dark);
  font-weight: 800;
  text-align: right;
}

.map-card {
  min-height: 480px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
  box-shadow: 0 24px 70px rgba(111, 37, 5, 0.12);
  overflow: hidden;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 448px;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
}

.map-frame {
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: calc(var(--radius) - 2px);
  background:
    linear-gradient(135deg, rgba(20, 16, 13, 0.9), rgba(68, 21, 3, 0.76)),
    url("assets/hero-neide-web.jpg") center / cover;
  color: white;
}

.map-frame span {
  font-family: Georgia, serif;
  font-size: clamp(4rem, 9vw, 8rem);
  color: var(--champagne);
}

.map-frame p {
  margin: -36px 0 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 360px) auto;
  justify-content: space-between;
  gap: 28px;
  padding: 42px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: white;
}

.site-footer img {
  width: min(260px, 100%);
  margin-bottom: 16px;
}

.site-footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: start;
  justify-content: end;
  color: var(--champagne);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--cocoa);
  color: white;
  box-shadow: 0 18px 40px rgba(67, 29, 16, 0.28);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.25s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-4px);
}

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

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

.reveal:nth-child(2) {
  transition-delay: 0.06s;
}

.reveal:nth-child(3) {
  transition-delay: 0.12s;
}

@keyframes heroBreath {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(-1.4%, 0.8%, 0);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .brand {
    width: 180px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 74px 14px auto 14px;
    display: grid;
    justify-items: start;
    gap: 0;
    padding: 14px;
    border: 1px solid rgba(246, 201, 149, 0.18);
    border-radius: var(--radius);
    background: rgba(20, 16, 13, 0.95);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

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

  .main-nav a {
    width: 100%;
    padding: 14px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 900px;
    align-items: center;
    padding-top: 118px;
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }

  .quick-strip,
  .services-layout,
  .studio-grid,
  .location-section {
    grid-template-columns: 1fr;
  }

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

  .service-feature {
    min-height: 480px;
  }

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

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

  .gallery-card-large {
    grid-row: auto;
    min-height: 270px;
  }

  .team-photo {
    min-height: 300px;
  }

  .team-photo-image,
  .team-photo-image img {
    min-height: 300px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand {
    width: 150px;
  }

  .hero {
    min-height: 820px;
    padding-inline: 18px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.7rem);
  }

  h2 {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }

  .hero-actions,
  .location-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .quick-strip {
    grid-template-columns: 1fr;
  }

  .quick-strip a {
    min-height: 58px;
  }

  .section {
    width: min(100% - 32px, var(--max));
    padding-block: 70px;
  }

  .services-section,
  .team-section {
    padding-inline: 16px;
  }

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

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

  .signature-panel img {
    width: 100px;
  }

  .gallery-card,
  .gallery-card-large {
    min-height: 220px;
  }

  .map-card {
    min-height: 380px;
  }

  .floating-whatsapp {
    left: 16px;
    right: 16px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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

/* === MOBILE OPTIMIZATION === */
@media (max-width: 1023px) {
  /* Viewport, safe area and horizontal overflow control for mobile browsers. */
  html {
    scroll-padding-top: calc(78px + env(safe-area-inset-top));
    -webkit-text-size-adjust: 100%;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    min-width: 0;
    font-size: 16px;
    padding-right: env(safe-area-inset-right);
    padding-left: env(safe-area-inset-left);
  }

  body.is-nav-open {
    overflow: hidden;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  /* Touch targets and tap feedback: every interactive item stays at least 44px. */
  a,
  button,
  .btn,
  .nav-toggle,
  .main-nav a,
  .quick-strip a,
  .floating-whatsapp,
  .service-feature a,
  .site-footer a {
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  button,
  input,
  textarea,
  select {
    font-size: 16px;
  }

  input,
  textarea,
  select {
    min-height: 48px;
  }

  /* Fluid typography tuned for small screens and iOS readability. */
  p,
  li,
  .studio-copy,
  .section-heading p,
  .contact-list p,
  .team-info p,
  .service-item p,
  .hero-copy {
    font-size: clamp(1rem, 3.9vw, 1.08rem);
    line-height: 1.66;
    letter-spacing: 0;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3rem, 14vw, 5.6rem);
    line-height: 0.95;
  }

  h2 {
    font-size: clamp(2.28rem, 10.5vw, 4rem);
    line-height: 1;
  }

  h3 {
    font-size: clamp(1.08rem, 4.5vw, 1.45rem);
    line-height: 1.25;
  }

  .eyebrow,
  .section-kicker,
  .hero-card span,
  .service-feature span,
  .gallery-card span,
  .team-info span,
  .cta-band span {
    font-size: clamp(0.72rem, 3vw, 0.82rem);
    letter-spacing: 0.12em;
  }

  /* Sticky mobile header with notch-safe spacing and reliable menu stacking. */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 12px;
    padding:
      calc(12px + env(safe-area-inset-top))
      max(16px, env(safe-area-inset-right))
      12px
      max(16px, env(safe-area-inset-left));
    background: rgba(20, 16, 13, 0.92);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(14px);
    transform: translateZ(0);
  }

  .site-header.is-scrolled {
    padding:
      calc(12px + env(safe-area-inset-top))
      max(16px, env(safe-area-inset-right))
      12px
      max(16px, env(safe-area-inset-left));
  }

  .brand {
    width: clamp(142px, 44vw, 190px);
    max-width: calc(100vw - 92px);
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    padding: 0;
  }

  .main-nav {
    position: fixed;
    inset: auto max(12px, env(safe-area-inset-right)) auto max(12px, env(safe-area-inset-left));
    top: calc(78px + env(safe-area-inset-top));
    z-index: 100;
    display: grid;
    justify-items: stretch;
    gap: 0;
    max-height: calc(100dvh - 94px - env(safe-area-inset-top));
    padding: 10px;
    overflow-y: auto;
    border: 1px solid rgba(246, 201, 149, 0.18);
    border-radius: var(--radius);
    background: rgba(20, 16, 13, 0.96);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, -12px, 0);
    transition: opacity 0.22s ease, transform 0.22s ease;
    -webkit-overflow-scrolling: touch;
    will-change: opacity, transform;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }

  .main-nav a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    font-size: clamp(0.82rem, 3.4vw, 0.95rem);
    letter-spacing: 0.1em;
  }

  .main-nav a::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  /* Hero: dynamic viewport units, safe spacing and GPU-friendly media motion. */
  .hero {
    min-height: 100dvh;
    align-items: center;
    padding:
      clamp(70px, 18vw, 108px)
      max(18px, env(safe-area-inset-right))
      clamp(32px, 10vw, 58px)
      max(18px, env(safe-area-inset-left));
  }

  .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
    transform: translateZ(0) scale(1.02);
    animation-duration: 18s;
    will-change: transform;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(10, 7, 5, 0.84) 0%, rgba(10, 7, 5, 0.5) 38%, rgba(10, 7, 5, 0.88) 100%),
      linear-gradient(90deg, rgba(10, 7, 5, 0.88) 0%, rgba(10, 7, 5, 0.52) 62%, rgba(10, 7, 5, 0.28) 100%);
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    transform: translateZ(0);
  }

  .hero-copy {
    max-width: 64ch;
    margin-bottom: clamp(22px, 7vw, 32px);
  }

  .hero-actions,
  .location-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }

  .btn {
    width: 100%;
    min-height: 52px;
    padding: 0 clamp(16px, 5vw, 24px);
    font-size: clamp(0.76rem, 3.2vw, 0.86rem);
    letter-spacing: 0.1em;
    transform: translateZ(0);
    will-change: transform;
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    margin-top: clamp(20px, 6vw, 32px);
    padding: clamp(18px, 5vw, 24px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
    transform: translateZ(0);
    will-change: transform;
  }

  /* Mobile layout: side-by-side sections become stacked without fixed widths. */
  .quick-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-strip a {
    min-height: 58px;
    padding: 0 12px;
    font-size: clamp(0.72rem, 3vw, 0.82rem);
    letter-spacing: 0.1em;
    text-align: center;
  }

  .section {
    width: 100%;
    max-width: 100%;
    padding:
      clamp(68px, 16vw, 108px)
      max(18px, env(safe-area-inset-right))
      clamp(68px, 16vw, 108px)
      max(18px, env(safe-area-inset-left));
  }

  .services-section,
  .team-section,
  .cta-band,
  .site-footer {
    padding-right: max(18px, env(safe-area-inset-right));
    padding-left: max(18px, env(safe-area-inset-left));
  }

  .results-section {
    padding-bottom: clamp(46px, 10vw, 68px);
  }

  .team-section {
    padding-top: clamp(48px, 11vw, 78px);
  }

  .studio-grid,
  .services-layout,
  .location-section,
  .team-grid {
    grid-template-columns: 1fr;
    gap: clamp(18px, 5vw, 34px);
  }

  .studio-statement {
    max-width: 100%;
    padding: 18px 0 18px 22px;
  }

  .studio-section .section-title h2 {
    font-size: clamp(2.65rem, 11vw, 4.8rem);
    line-height: 0.98;
  }

  .studio-statement p {
    font-size: clamp(1.12rem, 5vw, 1.42rem);
    line-height: 1.56;
  }

  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: clamp(8px, 2.4vw, 12px);
  }

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

  .section-heading {
    width: 100%;
    margin-bottom: clamp(28px, 8vw, 44px);
  }

  .signature-panel {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: clamp(36px, 10vw, 58px);
    padding: clamp(22px, 6vw, 34px);
    box-shadow: 0 14px 34px rgba(111, 37, 5, 0.1);
  }

  .signature-panel img {
    width: clamp(86px, 28vw, 118px);
  }

  .signature-panel p {
    font-size: clamp(1.35rem, 7vw, 2rem);
  }

  .service-feature {
    min-height: clamp(430px, 96vw, 540px);
    padding: clamp(24px, 7vw, 38px);
    box-shadow: 0 16px 36px rgba(30, 16, 8, 0.18);
  }

  .service-feature h3 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .service-item {
    min-height: auto;
    padding: clamp(22px, 7vw, 34px);
  }

  .service-item span {
    margin-bottom: clamp(28px, 10vw, 44px);
  }

  .gallery-card,
  .gallery-card-large {
    min-height: 0;
    aspect-ratio: 1 / 1;
    box-shadow: 0 16px 36px rgba(20, 16, 13, 0.16);
  }

  .gallery-card-large {
    grid-row: auto;
  }

  .gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .gallery-card img {
    will-change: transform;
  }

  .gallery-card div {
    left: clamp(8px, 2.8vw, 18px);
    right: clamp(8px, 2.8vw, 18px);
    bottom: clamp(8px, 2.8vw, 18px);
  }

  .gallery-card span {
    margin-bottom: 0;
    font-size: clamp(0.5rem, 2.1vw, 0.68rem);
    letter-spacing: 0.08em;
  }

  .team-photo {
    min-height: clamp(220px, 58vw, 310px);
  }

  .team-photo-team,
  .team-photo-team img {
    min-height: clamp(360px, 92vw, 520px);
  }

  .team-info {
    padding: clamp(22px, 6vw, 30px);
  }

  .cta-band {
    padding-top: clamp(70px, 16vw, 112px);
    padding-bottom: clamp(70px, 16vw, 112px);
    background-attachment: scroll;
  }

  .contact-list {
    gap: 10px;
  }

  .hours-grid {
    gap: 9px 14px;
    padding: 13px 14px;
  }

  .map-card {
    min-height: clamp(320px, 88vw, 430px);
    padding: 10px;
    box-shadow: 0 16px 36px rgba(111, 37, 5, 0.12);
  }

  .map-frame p {
    margin-top: -24px;
    font-size: clamp(0.72rem, 3vw, 0.84rem);
    letter-spacing: 0.12em;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-top: 38px;
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .site-footer nav {
    justify-content: start;
  }

  .site-footer a {
    display: inline-flex;
    align-items: center;
  }

  .floating-whatsapp {
    right: max(16px, env(safe-area-inset-right));
    bottom: calc(16px + env(safe-area-inset-bottom));
    left: max(16px, env(safe-area-inset-left));
    z-index: 110;
    min-height: 52px;
    box-shadow: 0 12px 28px rgba(67, 29, 16, 0.24);
    transform: translateZ(0);
    will-change: transform;
  }

  /* Isolated sections and animated elements get safer mobile compositing. */
  .quick-strip,
  .section,
  .cta-band,
  .site-footer {
    contain: layout;
  }

  .reveal {
    transform: translate3d(0, 22px, 0);
    will-change: opacity, transform;
  }

  .reveal.is-visible {
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 1023px) and (hover: none) {
  /* Touch devices use active feedback instead of hover-only desktop effects. */
  .btn:hover,
  .floating-whatsapp:hover,
  .service-item:hover,
  .team-card:hover,
  .hero-card:hover {
    transform: translateZ(0);
  }

  .gallery-card:hover img {
    transform: none;
  }

  .btn:active,
  .floating-whatsapp:active,
  .main-nav a:active,
  .quick-strip a:active,
  .service-feature a:active,
  .site-footer a:active,
  .is-touching {
    transform: translateZ(0) scale(0.98);
  }

  .quick-strip a:active,
  .main-nav a:active {
    background: rgba(246, 201, 149, 0.16);
  }
}

@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
  /* Motion is flattened only on mobile when the user asks for reduced motion. */
  html {
    scroll-behavior: auto;
  }

  .hero-media img {
    animation: none;
    transform: translateZ(0);
  }

  .reveal,
  .reveal.is-visible,
  .main-nav,
  .btn,
  .floating-whatsapp,
  .gallery-card img {
    transition: none;
    transform: none;
    will-change: auto;
  }
}
