:root {
  color-scheme: light;
  --bg: #f3f7fa;
  --bg-2: #e7edf2;
  --ink: #0f1319;
  --muted: #5d6876;
  --line: rgba(17, 24, 34, 0.12);
  --glass: rgba(255, 255, 255, 0.66);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --accent: #5b88ad;
  --accent-2: #6f927c;
  --shadow: 0 24px 80px rgba(21, 31, 43, 0.14);
  --radius: 28px;
  --max: 1200px;
  --logo-filter: brightness(0);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #080b10;
  --bg-2: #121821;
  --ink: #f4f7fa;
  --muted: #a7b2bf;
  --line: rgba(255, 255, 255, 0.16);
  --glass: rgba(24, 31, 41, 0.58);
  --glass-strong: rgba(28, 36, 48, 0.78);
  --accent: #8bb9df;
  --accent-2: #9ac4a9;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.44);
  --logo-filter: brightness(0) invert(1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 2%, rgba(91, 136, 173, 0.22), transparent 30%),
    radial-gradient(circle at 84% 12%, rgba(111, 146, 124, 0.13), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--ink);
  font-family: "Space Grotesk", "IBM Plex Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

img, iframe, video {
  display: block;
  width: 100%;
}

img, video {
  height: 100%;
  object-fit: cover;
}

button, input { font: inherit; }
a { color: inherit; text-decoration: none; }

.glass {
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px) saturate(150%);
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 18px;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  width: min(calc(100% - 32px), var(--max));
  min-height: 66px;
  padding: 10px 12px 10px 18px;
  border-radius: 999px;
  transform: translateX(-50%);
}

.brand-logo {
  display: grid;
  width: 124px;
  height: 40px;
  align-items: center;
}

.brand-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0);
}

[data-theme="dark"] .brand-logo img { filter: none; }

.site-nav, .site-nav a, .header-actions, .hero-actions, .showreel-head, .site-footer {
  display: flex;
  align-items: center;
}

.site-nav {
  justify-content: center;
  gap: 4px;
}

.site-nav a, .site-nav button, .header-cta {
  border: 0;
  border-radius: 999px;
  padding: 12px 14px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
  cursor: pointer;
}

.site-nav svg {
  display: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav a:hover { background: rgba(255, 255, 255, 0.3); color: var(--ink); }

.nav-book-visit {
  display: none;
}

.header-actions { gap: 8px; justify-content: end; }

.header-cta, .button.primary {
  background: var(--ink);
  color: var(--bg);
}

.theme-toggle {
  position: relative;
  width: 54px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass-strong);
  cursor: pointer;
}

.theme-toggle span {
  position: absolute;
  top: 7px;
  left: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 0.18s ease;
}

[data-theme="dark"] .theme-toggle span { transform: translateX(15px); }

.menu-button { display: none; }

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  width: min(calc(100% - 40px), var(--max));
  min-height: 100svh;
  margin: 0 auto;
  padding: 118px 0 48px;
}

.section-label {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 14px;
  font-size: clamp(66px, 10.5vw, 148px);
  font-weight: 760;
  line-height: 0.86;
}

h2 {
  max-width: 840px;
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 66px);
  font-weight: 730;
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 25px;
  line-height: 1.08;
}

.hero-kicker {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 710;
  line-height: 1.08;
}

.hero-text, .section-copy p, .contact-section p, .project-card p, .tech-grid p, .accordion p, .modal p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.52;
}

.hero-after {
  max-width: 900px;
  margin: 0;
}

.showreel {
  overflow: hidden;
  border-color: transparent;
  border-radius: calc(var(--radius) + 10px);
}

.showreel-head {
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 760;
}

.showreel-head a {
  color: var(--accent);
  font-size: 13px;
}

.showreel iframe {
  aspect-ratio: 16 / 8.6;
  height: auto;
  border: 0;
  background: #000;
}

.logo-cloud, .section, .contact-section, .site-footer {
  width: min(calc(100% - 40px), var(--max));
  margin-right: auto;
  margin-left: auto;
}

.section,
.contact-section,
.logo-cloud {
  scroll-margin-top: 110px;
}

.logo-cloud {
  padding: 24px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(22px);
}

.logo-track {
  display: grid;
  grid-template-columns: repeat(8, minmax(110px, 1fr));
  gap: 10px;
  align-items: center;
}

.logo-item {
  display: grid;
  min-height: 54px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--glass-strong) 86%, transparent);
  padding: 13px 18px;
}

.logo-item img {
  width: auto;
  max-width: 100%;
  height: 38px;
  object-fit: contain;
  filter: var(--logo-filter);
}

.logo-item img[alt="BBC Storyworks"],
.logo-item img[alt="Audi"],
.logo-item img[alt="EXEED"],
.logo-item img[alt="OMNIYAT"] {
  height: 30px;
}

.logo-item img[alt="Emirates"],
.logo-item img[alt="Partizan"],
.logo-item img[alt="Chevrolet"],
.logo-item img[alt="Grey Sea"] {
  height: 46px;
}

.logo-item img[alt="PureHealth"],
.logo-item img[alt="Huda Beauty"] {
  height: 28px;
}

.logo-item img[alt="Partizan"] {
  filter: none;
}

.section {
  padding-top: 112px;
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  justify-items: center;
  margin-bottom: 42px;
  text-align: center;
}

.text-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 780;
}

.section-head .section-label {
  order: 2;
  margin: 0;
  font-size: clamp(18px, 2.4vw, 34px);
  letter-spacing: 0.08em;
}

.section-head h2 {
  order: 1;
  max-width: 1100px;
}

.section-head .text-link {
  order: 3;
}

.featured-projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.seo-project-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.seo-project-list article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--glass);
}

.seo-project-list h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.seo-project-list p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.service-seo-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  border-radius: var(--radius);
}

.service-seo-links a {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--ink);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.2;
}

.service-page {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 128px 0 64px;
}

.service-hero,
.service-content,
.service-cta {
  margin-bottom: 18px;
  padding: clamp(28px, 5vw, 58px);
  border-radius: calc(var(--radius) + 10px);
}

.service-hero h1 {
  max-width: 920px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 92px);
}

.service-hero p,
.service-content p,
.service-cta p {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 23px);
  font-weight: 520;
  line-height: 1.45;
}

.service-content {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(18px, 4vw, 48px);
}

.service-content h2,
.service-cta h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 54px);
}

.service-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li,
.service-link-grid a {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--ink);
  font-weight: 690;
}

.service-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.seo-faq {
  margin-bottom: 18px;
  padding: clamp(28px, 5vw, 58px);
  border-radius: calc(var(--radius) + 10px);
}

.seo-faq h2 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(30px, 4vw, 54px);
}

.seo-faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.seo-faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.seo-faq summary {
  cursor: pointer;
  color: var(--ink);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 780;
}

.seo-faq p {
  max-width: 820px;
  margin-top: 12px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 520;
  line-height: 1.45;
}

.case-video {
  margin-bottom: 18px;
  padding: clamp(12px, 2vw, 18px);
  border-radius: calc(var(--radius) + 10px);
}

.case-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: calc(var(--radius) - 4px);
  background: #070b10;
}

.case-stills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.case-stills .image-button {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 6px);
}

.case-stills img {
  aspect-ratio: 16 / 10;
}

.case-story-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
  padding: clamp(16px, 2vw, 22px);
  border-radius: var(--radius);
}

.case-story-links a {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.2;
}

.service-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.service-cta .button {
  flex: 0 0 auto;
}

.portfolio-actions {
  display: none;
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
  justify-content: center;
  justify-items: center;
  margin-top: 28px;
}

.portfolio-toggle,
.portfolio-collapse {
  --portfolio-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23101720' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 17 5-5-5-5'/%3E%3Cpath d='m13 17 5-5-5-5'/%3E%3C/svg%3E");
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 24px);
  width: min(92%, 720px);
  min-height: clamp(96px, 16vw, 132px);
  padding: 0 clamp(26px, 5vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(95, 141, 216, 0.58);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(226, 238, 249, 0.5)),
    var(--glass-strong);
  box-shadow: 0 24px 70px rgba(62, 92, 130, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  color: var(--ink);
  cursor: pointer;
  font-size: clamp(16px, 3.7vw, 28px);
  font-weight: 820;
  line-height: 1;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.portfolio-toggle::after,
.portfolio-collapse::after {
  content: "";
  display: grid;
  width: clamp(44px, 8vw, 58px);
  height: clamp(44px, 8vw, 58px);
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(95, 141, 216, 0.54);
  border-radius: 50%;
  background:
    var(--portfolio-icon) center / 24px 24px no-repeat,
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(220, 235, 249, 0.48)),
    rgba(255, 255, 255, 0.36);
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(62, 92, 130, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  font-size: clamp(20px, 4vw, 30px);
  line-height: 1;
  letter-spacing: 0;
}

.portfolio-collapse::after {
  --portfolio-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23101720' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m11 17-5-5 5-5'/%3E%3Cpath d='m18 17-5-5 5-5'/%3E%3C/svg%3E");
}

[data-theme="dark"] .portfolio-toggle,
[data-theme="dark"] .portfolio-collapse {
  --portfolio-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f7f9fb' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 17 5-5-5-5'/%3E%3Cpath d='m13 17 5-5-5-5'/%3E%3C/svg%3E");
  border-color: rgba(127, 167, 231, 0.52);
  background:
    linear-gradient(135deg, rgba(40, 52, 68, 0.76), rgba(14, 21, 31, 0.72)),
    var(--glass-strong);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .portfolio-collapse {
  --portfolio-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f7f9fb' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m11 17-5-5 5-5'/%3E%3Cpath d='m18 17-5-5 5-5'/%3E%3C/svg%3E");
}

[data-theme="dark"] .portfolio-toggle::after,
[data-theme="dark"] .portfolio-collapse::after {
  border-color: rgba(150, 186, 241, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(127, 167, 231, 0.2)),
    rgba(255, 255, 255, 0.08);
  color: #f7f9fb;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.portfolio-collapse[hidden],
.portfolio-toggle[hidden] {
  display: none;
}

.vimeo-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(95, 141, 216, 0.64);
  border-radius: var(--radius);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(223, 237, 249, 0.58)),
    rgba(255, 255, 255, 0.34);
  box-shadow: 0 30px 86px rgba(62, 92, 130, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.vimeo-cta strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1;
}

.vimeo-cta small {
  display: block;
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 640;
  line-height: 1.35;
}

.vimeo-cta b {
  flex: 0 0 auto;
  min-width: 154px;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #f7f9fb;
  font-size: 14px;
  font-weight: 820;
  text-align: center;
}

[data-theme="dark"] .vimeo-cta {
  border-color: rgba(126, 170, 235, 0.36);
  background:
    linear-gradient(135deg, rgba(39, 51, 66, 0.72), rgba(12, 17, 24, 0.48)),
    rgba(15, 22, 30, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .vimeo-cta b {
  background: #f7f9fb;
  color: #080c12;
}

.project-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--radius);
  cursor: pointer;
}

.project-card button, .image-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.project-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #101318;
}

.featured-projects .project-media { aspect-ratio: 16 / 9; }

.project-media img {
  transition: transform 0.25s ease;
}

.project-card:hover .project-media img { transform: scale(1.025); }

.play-chip {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #101318;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(18px);
}

.project-body {
  padding: 22px;
}

.project-logo {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.split, .studio, .contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.split .section-copy {
  min-height: 430px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(145%);
}

.about-bento {
  align-items: stretch;
}

.about-bento .section-copy,
.about-bento .about-gallery {
  min-height: clamp(430px, 34vw, 560px);
}

.about-bento .about-gallery {
  height: clamp(430px, 34vw, 560px);
}

.about-bento .section-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(54px, 3.8vw, 72px) clamp(42px, 3.6vw, 64px) clamp(38px, 3vw, 56px);
}

.about-bento .section-copy h2 {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: clamp(40px, 3.35vw, 64px);
  line-height: 1.04;
}

.about-bento .section-copy p:not(.section-label) {
  max-width: 760px;
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.45;
}

@media (min-width: 981px) {
  .about-bento {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .about-bento .section-copy,
  .about-bento .about-gallery {
    height: clamp(560px, 30vw, 660px);
    min-height: 0;
  }

  .about-bento .about-gallery {
    align-self: stretch;
  }

  .about-slide {
    --about-left: 46%;
  }
}

.carousel {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  border-radius: var(--radius);
  align-self: start;
}

.about-gallery {
  --about-gap: clamp(22px, 2vw, 30px);
  --about-left: 45%;
  padding: clamp(18px, 2.2vw, 28px);
}

.carousel-strip {
  display: grid;
  grid-auto-columns: minmax(280px, 68%);
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 14px;
  scrollbar-width: none;
}

.about-gallery .carousel-strip {
  position: relative;
  height: 100%;
  display: block;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}

.about-slide {
  position: absolute;
  inset: 0;
  display: block;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transform: translateX(16px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.about-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.about-slide img {
  display: block;
  position: absolute;
  box-sizing: border-box;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  align-self: stretch;
  justify-self: stretch;
  border-radius: 20px;
  cursor: zoom-in;
}

.about-slide img:first-child {
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--about-left);
  height: 100%;
  object-position: center;
}

.about-slide img:nth-child(2) {
  top: 0;
  right: 0;
  width: calc(100% - var(--about-left) - var(--about-gap));
  height: calc((100% - var(--about-gap)) / 2);
  object-position: center;
}

.about-slide img:nth-child(3) {
  right: 0;
  bottom: 0;
  width: calc(100% - var(--about-left) - var(--about-gap));
  height: calc((100% - var(--about-gap)) / 2);
  object-position: center;
}

.carousel-strip::-webkit-scrollbar { display: none; }

.carousel-strip img {
  aspect-ratio: 4 / 3;
  height: auto;
  border-radius: 20px;
  scroll-snap-align: start;
  cursor: zoom-in;
}

.carousel-btn {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: var(--glass-strong);
  color: var(--ink);
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

.accordion {
  display: grid;
  gap: 12px;
}

details {
  border-radius: var(--radius);
  padding: 0 24px;
}

summary {
  display: flex;
  gap: 18px;
  align-items: center;
  min-height: 78px;
  cursor: pointer;
  font-size: 24px;
  font-weight: 760;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }

summary span {
  color: var(--accent);
  font-size: 14px;
}

details p { max-width: 820px; padding: 0 0 24px 38px; }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tech-grid article {
  overflow: hidden;
  min-height: 260px;
  padding: 12px 12px 24px;
  border-radius: var(--radius);
}

.tech-grid img {
  aspect-ratio: 16 / 10;
  height: auto;
  margin-bottom: 18px;
  border-radius: 20px;
  cursor: zoom-in;
}

.tech-grid h3,
.tech-grid p {
  padding-right: 12px;
  padding-left: 12px;
}

.studio {
  display: block;
  width: min(calc(100% - 40px), 1880px);
  scroll-margin-top: 0;
  padding-top: 120px;
}

.studio-characteristics {
  position: relative;
  display: grid;
  grid-template-columns: minmax(380px, 0.98fr) minmax(430px, 1.12fr);
  gap: clamp(32px, 4vw, 62px);
  overflow: hidden;
  min-height: 560px;
  padding: clamp(36px, 5vw, 64px);
  border: 1px solid rgba(126, 169, 225, 0.3);
  border-radius: 28px;
  background:
    linear-gradient(118deg, rgba(145, 177, 214, 0.16) 0%, transparent 34%),
    linear-gradient(154deg, rgba(255, 255, 255, 0.86) 0%, rgba(237, 244, 250, 0.86) 48%, rgba(218, 230, 240, 0.78) 100%);
  box-shadow: 0 34px 100px rgba(49, 72, 98, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  color: var(--ink);
  isolation: isolate;
  backdrop-filter: blur(26px) saturate(140%);
}

.studio-characteristics::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  background:
    linear-gradient(122deg, transparent 0%, rgba(255, 255, 255, 0.56) 34%, transparent 35%),
    linear-gradient(28deg, rgba(104, 151, 205, 0.18), transparent 42%);
  opacity: 0.58;
  pointer-events: none;
}

[data-theme="dark"] .studio-characteristics {
  border-color: rgba(126, 169, 225, 0.3);
  background:
    linear-gradient(118deg, rgba(128, 170, 220, 0.12) 0%, transparent 34%),
    linear-gradient(154deg, rgba(29, 42, 58, 0.98) 0%, rgba(9, 15, 24, 0.98) 48%, rgba(3, 7, 12, 0.98) 100%);
  box-shadow: 0 34px 100px rgba(3, 8, 14, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: #f6f9fc;
}

[data-theme="dark"] .studio-characteristics::before {
  background:
    linear-gradient(122deg, transparent 0%, rgba(255, 255, 255, 0.06) 34%, transparent 35%),
    linear-gradient(28deg, rgba(104, 151, 205, 0.12), transparent 42%);
  opacity: 0.72;
}

.studio-copy {
  display: grid;
  align-content: start;
  min-width: 0;
}

.studio-copy h2 {
  max-width: none;
  margin-bottom: clamp(38px, 4.5vw, 64px);
  color: #f7f9fb;
  font-size: clamp(42px, 4.35vw, 70px);
  font-weight: 780;
  line-height: 0.96;
  text-transform: uppercase;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 38px;
  max-width: 600px;
  margin-bottom: clamp(32px, 4.4vw, 52px);
}

.facility-item {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
  color: var(--ink);
  font-size: clamp(20px, 1.75vw, 30px);
  font-weight: 430;
  line-height: 1.08;
}

[data-theme="dark"] .facility-item {
  color: rgba(246, 249, 252, 0.88);
}

.facility-icon {
  display: block;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  overflow: visible;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.facility-icon::before,
.facility-icon::after {
  display: none;
}

.wardrobe::before {
  inset: 4px 14px 2px 8px;
  border-radius: 9px 9px 3px 3px;
}

.wardrobe::after {
  top: 10px;
  right: 8px;
  width: 14px;
  height: 8px;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.kitchen::before {
  left: 7px;
  right: 7px;
  bottom: 12px;
  height: 12px;
  border-top: 0;
  transform: skewX(-24deg);
}

.kitchen::after {
  top: 10px;
  left: 14px;
  width: 28px;
  height: 16px;
  border-top: 0;
  border-radius: 0 0 14px 14px;
}

.makeup::before {
  top: 4px;
  left: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.makeup::after {
  right: 5px;
  bottom: 5px;
  left: 5px;
  height: 18px;
  border-radius: 3px;
}

.washroom::before {
  top: 8px;
  left: 9px;
  width: 36px;
  height: 30px;
  border-radius: 4px;
}

.washroom::after {
  right: 12px;
  bottom: 8px;
  left: 12px;
  height: 8px;
  border-top: 0;
  border-radius: 0 0 5px 5px;
}

.support::before {
  inset: 8px 4px 6px;
  border-radius: 50%;
}

.support::after {
  top: 16px;
  left: 23px;
  width: 8px;
  height: 18px;
  border-top: 0;
  border-bottom: 0;
  transform: rotate(28deg);
}

.shower::before {
  top: 9px;
  left: 12px;
  width: 28px;
  height: 16px;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.shower::after {
  right: 11px;
  bottom: 3px;
  width: 18px;
  height: 28px;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
}

.studio-copy p {
  max-width: 640px;
  margin: 0;
  color: rgba(246, 249, 252, 0.82);
  font-size: clamp(21px, 1.62vw, 31px);
  font-weight: 360;
  line-height: 1.45;
}

.studio-plan {
  position: relative;
  display: grid;
  align-content: center;
  min-width: 0;
  padding-top: 44px;
}

.studio-area-mark {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 14px;
  width: fit-content;
  margin: 0 0 22px;
  padding: 14px 18px;
  border: 1px solid rgba(95, 141, 216, 0.28);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 18px 46px rgba(62, 92, 130, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  backdrop-filter: blur(18px) saturate(140%);
}

[data-theme="dark"] .studio-area-mark {
  border-color: rgba(126, 169, 225, 0.28);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.studio-area-mark strong {
  color: var(--ink);
  font-size: clamp(44px, 4.8vw, 72px);
  font-weight: 820;
  letter-spacing: -0.02em;
  line-height: 0.9;
}

[data-theme="dark"] .studio-area-mark strong {
  color: #f7f9fb;
}

.studio-area-mark span {
  max-width: 118px;
  padding-bottom: 6px;
  color: var(--muted);
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 820;
  letter-spacing: 0.08em;
  line-height: 1.08;
}

[data-theme="dark"] .studio-area-mark span {
  color: rgba(246, 249, 252, 0.92);
}

.plan-card {
  overflow: hidden;
  min-height: 300px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 48% 8%, rgba(255, 255, 255, 0.09), transparent 30%),
    linear-gradient(180deg, rgba(3, 8, 13, 0.92), rgba(3, 7, 12, 0.98));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.floorplan-svg {
  width: 100%;
  height: auto;
  min-height: 300px;
}

.plan-arrow {
  position: absolute;
  z-index: 2;
  top: 48%;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 2px solid rgba(246, 249, 252, 0.72);
  border-radius: 50%;
  background: rgba(8, 16, 25, 0.52);
  color: #f7f9fb;
  font-size: 48px;
  line-height: 1;
}

.plan-arrow.prev { left: 18px; }
.plan-arrow.next { right: 18px; }

.plan-dots {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 48px;
}

.plan-dots span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(246, 249, 252, 0.28);
}

.plan-dots .active {
  background: #5f8dd8;
}

.studio-characteristics {
  display: block;
  min-height: 0;
  padding: clamp(34px, 4.2vw, 72px);
}

.studio-eyebrow {
  margin-bottom: 22px;
  color: var(--accent);
}

.studio-characteristics > h2 {
  max-width: 980px;
  margin: 0 0 clamp(34px, 4vw, 58px);
  color: var(--ink);
  font-size: clamp(38px, 4.2vw, 76px);
  font-weight: 820;
  line-height: 1.06;
  text-transform: uppercase;
}

[data-theme="dark"] .studio-characteristics > h2 {
  color: #f7f9fb;
}

.studio-amenities {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  margin-bottom: clamp(36px, 5vw, 72px);
  padding: clamp(28px, 3.8vw, 52px);
  border: 1px solid rgba(95, 141, 216, 0.38);
  border-radius: 0 0 24px 24px;
  background: rgba(255, 255, 255, 0.36);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(24px) saturate(140%);
}

[data-theme="dark"] .studio-amenities {
  border-color: rgba(108, 157, 229, 0.72);
  background: rgba(8, 14, 22, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.studio-amenities .facility-grid {
  max-width: none;
  margin: 0;
  gap: clamp(24px, 2.5vw, 40px) clamp(30px, 4vw, 72px);
}

.studio-amenities p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.3vw, 24px);
  line-height: 1.48;
}

[data-theme="dark"] .studio-amenities p {
  color: rgba(246, 249, 252, 0.78);
}

.studio-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: clamp(32px, 5vw, 82px);
  row-gap: 24px;
  align-items: start;
}

.studio-layout .studio-plan {
  display: contents;
}

.studio-layout .studio-area-mark {
  grid-column: 1;
  grid-row: 1;
  margin: 0 0 24px;
}

.studio-layout .plan-card {
  grid-column: 1;
  grid-row: 2;
  overflow: hidden;
  aspect-ratio: 16 / 9.4;
  min-height: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.studio-layout .plan-card img {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
  filter: drop-shadow(0 22px 44px rgba(0, 0, 0, 0.34));
  object-fit: cover;
  object-position: center;
}

.studio-gallery {
  grid-column: 2;
  grid-row: 2;
  min-height: 0;
  margin-top: 0;
  padding: 0;
  border: 1px solid rgba(95, 141, 216, 0.42);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 24px 70px rgba(62, 92, 130, 0.18);
}

[data-theme="dark"] .studio-gallery {
  border-color: rgba(108, 157, 229, 0.58);
  background: rgba(6, 11, 18, 0.42);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.studio-gallery .carousel-strip {
  grid-auto-columns: 100%;
  gap: 0;
  padding: 0;
}

.studio-gallery .carousel-strip img {
  width: 100%;
  aspect-ratio: 16 / 9.4;
  height: auto;
  border-radius: 0;
  object-fit: cover;
}

.studio-gallery .carousel-btn {
  background: rgba(7, 12, 18, 0.58);
  color: #f7f9fb;
}

.studio-characteristics > h2 {
  max-width: 900px;
  font-size: clamp(36px, 3.7vw, 64px);
}

.studio-characteristics .facility-item {
  min-width: 0;
}

.studio-characteristics .facility-item span {
  line-height: 1.08;
}

.contact-section {
  margin-top: 112px;
  padding: 42px;
  border-radius: calc(var(--radius) + 10px);
}

.contact-section h2 {
  margin-bottom: 26px;
}

.contact-section p {
  margin-bottom: 16px;
}

.contact-gap {
  margin-top: 24px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.social-links a {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass-strong);
  color: var(--ink);
  font-size: 13px;
  font-weight: 780;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-booking {
  display: grid;
  gap: 18px;
}

.contact-offers {
  display: grid;
  gap: 14px;
}

.contact-offers .section-label {
  margin: 0;
}

.contact-offers .promo-offers {
  grid-template-columns: 1fr;
  gap: 10px;
}

.contact-offers .promo-offers a {
  min-height: 0;
  padding: 18px;
}

.contact-offers .promo-offers span {
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
}

.contact-offers .promo-offers h3 {
  font-size: clamp(24px, 2.4vw, 32px);
}

.contact-offers .promo-offers p {
  font-size: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.contact-form input {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--glass-strong);
  color: var(--ink);
  padding: 0 16px;
  outline: 0;
}

.map-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 8px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  font-weight: 780;
}

.button {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 15px 21px;
  cursor: pointer;
  font-weight: 780;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 44px 0 34px;
  color: var(--muted);
  font-size: 14px;
}

.modal, .lightbox, .visit-promo {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: none;
  background: rgba(3, 6, 10, 0.72);
  backdrop-filter: blur(18px);
}

.modal.is-open, .lightbox.is-open, .visit-promo.is-open {
  display: grid;
  place-items: center;
}

.visit-promo {
  z-index: 90;
  padding: 18px;
}

.visit-promo-shell {
  position: relative;
  width: min(calc(100% - 28px), 860px);
  padding: clamp(28px, 4vw, 54px);
  border-radius: 34px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(232, 241, 249, 0.58)),
    var(--glass-strong);
}

[data-theme="dark"] .visit-promo-shell {
  background:
    linear-gradient(135deg, rgba(42, 55, 72, 0.86), rgba(10, 15, 22, 0.78)),
    var(--glass-strong);
}

.visit-promo-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  cursor: pointer;
  font-size: 28px;
}

.visit-promo h2 {
  max-width: 720px;
  margin: 12px 0 26px;
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: 0.98;
}

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

.promo-offers a {
  display: block;
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.promo-offers a:hover {
  border-color: rgba(95, 141, 216, 0.72);
  background: rgba(255, 255, 255, 0.58);
  transform: translateY(-3px);
}

[data-theme="dark"] .promo-offers a {
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .promo-offers a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.promo-offers span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  font-weight: 820;
}

.promo-offers h3 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.promo-offers p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.35;
}

.promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.promo-actions .button.primary {
  padding: 16px 20px;
  border-radius: 999px;
  font-weight: 820;
}

.modal-shell {
  width: min(calc(100% - 28px), 1040px);
  max-height: calc(100svh - 32px);
  overflow: auto;
  border-radius: 30px;
  background: var(--glass-strong);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.modal-top {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  background: var(--glass-strong);
  backdrop-filter: blur(22px);
}

.modal-close, .lightbox button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  cursor: pointer;
  font-size: 24px;
}

.modal-content {
  display: grid;
  gap: 24px;
  padding: 0 24px 24px;
}

.modal-hero img {
  aspect-ratio: 16 / 8;
  border-radius: 22px;
  cursor: zoom-in;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.modal-grid img {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  cursor: zoom-in;
}

.modal iframe {
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 22px;
}

.lightbox {
  padding: 24px;
}

.lightbox img {
  width: auto;
  max-width: 96vw;
  height: auto;
  max-height: 92svh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  z-index: 2;
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-nav {
  top: 50%;
  display: none;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 44px;
  transform: translateY(-50%);
  backdrop-filter: blur(18px);
}

.lightbox.has-gallery .lightbox-nav {
  display: grid;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

@media (max-width: 720px) {
  .lightbox-nav {
    width: 46px;
    height: 46px;
    font-size: 36px;
  }

  .lightbox-prev {
    left: 12px;
  }

  .lightbox-next {
    right: 12px;
  }
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: auto 1fr auto auto; }
  .site-nav, .header-cta { display: none; }
  .header-actions { grid-column: 3; grid-row: 1; }
  .menu-button {
    grid-column: 4;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--glass-strong);
    cursor: pointer;
  }
  .menu-button span {
    width: 19px;
    height: 1.8px;
    border-radius: 999px;
    background: var(--ink);
    transition: transform 160ms ease, opacity 160ms ease;
  }
  .site-header.nav-open .menu-button span:first-child {
    transform: translateY(4.8px) rotate(45deg);
  }
  .site-header.nav-open .menu-button span:nth-child(2) {
    opacity: 0;
  }
  .site-header.nav-open .menu-button span:last-child {
    transform: translateY(-4.8px) rotate(-45deg);
  }
  .site-header.nav-open .site-nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 14px;
    border-radius: 26px;
    background: var(--glass-strong);
    box-shadow: var(--shadow);
  }
  .site-header.nav-open .site-nav a {
    display: flex;
    justify-content: center;
    padding: 14px 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.18);
  }
  .site-header.nav-open .nav-book-visit {
    display: block;
    grid-column: 1 / -1;
    background: var(--ink);
    color: var(--bg);
    text-align: center;
  }
  .hero, .split, .studio, .contact-section { grid-template-columns: 1fr; }
  .studio-heading { grid-column: auto; }
  .featured-projects, .project-grid, .tech-grid, .service-seo-links, .service-link-grid, .case-story-links { grid-template-columns: repeat(2, 1fr); }
  .case-stills { grid-template-columns: 1fr; }
  .service-content,
  .service-cta {
    grid-template-columns: 1fr;
  }
  .service-content {
    display: grid;
  }
  .service-cta {
    display: grid;
  }
  .logo-track { grid-template-columns: repeat(4, 1fr); }
  .studio-characteristics {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .studio-characteristics > h2 {
    max-width: 760px;
  }
  .studio-amenities,
  .studio-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .studio-amenities {
    gap: 28px;
  }
  .studio-layout .studio-plan {
    display: block;
  }
  .studio-layout .studio-area-mark,
  .studio-layout .plan-card,
  .studio-gallery {
    grid-column: auto;
    grid-row: auto;
  }
  .studio-gallery {
    margin-top: 0;
  }
  .studio-gallery .carousel-strip img {
    aspect-ratio: 16 / 10;
  }
  .studio-plan {
    padding-top: 0;
  }
  .studio-area-mark {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .logo-cloud, .section, .contact-section, .site-footer, .hero {
    width: min(calc(100% - 24px), var(--max));
  }
  .site-header {
    width: calc(100% - 24px);
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 6px;
    min-height: 58px;
    padding: 8px;
  }
  .brand-logo { width: 92px; height: 34px; }
  .site-nav {
    display: none;
  }
  .site-nav a svg { display: none; }
  .site-nav a span { display: inline; }
  .menu-button { display: flex; }
  .theme-toggle { width: 44px; height: 36px; }
  .theme-toggle span { top: 6px; left: 7px; }
  .header-actions { gap: 6px; }
  .hero {
    min-height: auto;
    padding-top: 112px;
  }
  h1 { font-size: 44px; }
  h2 { font-size: 36px; }
  .hero-text, .section-copy p, .contact-section p { font-size: 16px; }
  .section { padding-top: 78px; }
  .studio { width: min(calc(100% - 24px), var(--max)); }
  .section-head, .featured-projects, .project-grid, .tech-grid, .logo-track, .modal-grid {
    grid-template-columns: 1fr;
  }
  .service-seo-links,
  .service-link-grid,
  .case-story-links,
  .case-stills {
    grid-template-columns: 1fr;
  }
  .service-page {
    width: min(calc(100% - 24px), var(--max));
    padding-top: 108px;
  }
  .portfolio-actions {
    display: grid;
    margin-top: 24px;
    margin-bottom: 20px;
  }
  .portfolio-is-collapsed .vimeo-cta {
    margin-top: 20px;
  }
  .vimeo-cta {
    display: grid;
    gap: 18px;
  }
  .vimeo-cta b {
    justify-self: start;
  }
  .promo-offers {
    grid-template-columns: 1fr;
  }
  .visit-promo-shell {
    width: 100%;
    padding: 28px 18px 22px;
    border-radius: 26px;
  }
  .visit-promo h2 {
    padding-right: 42px;
    font-size: 40px;
  }
  .promo-offers a {
    min-height: 0;
  }
  .logo-item { min-height: 48px; }
  .carousel-strip { grid-auto-columns: 86%; }
  .about-gallery .carousel-strip {
    display: block;
    height: 100%;
    overflow: hidden;
    aspect-ratio: auto;
  }
  .about-slide {
    --about-gap: 14px;
    --about-left: 47%;
  }
  .about-slide img:first-child {
    display: block;
  }
  .facility-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .studio-characteristics {
    padding: 28px 20px;
    border-radius: 24px;
  }
  .studio-characteristics > h2 {
    margin-bottom: 28px;
    font-size: clamp(34px, 10vw, 48px);
  }
  .studio-eyebrow {
    margin-bottom: 16px;
  }
  .studio-amenities {
    padding: 20px;
    border-radius: 0 0 20px 20px;
  }
  .studio-amenities .facility-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .studio-amenities p {
    font-size: 17px;
  }
  .studio-layout {
    gap: 28px;
  }
  .studio-layout .studio-area-mark {
    align-items: end;
  }
  .studio-layout .studio-area-mark strong {
    font-size: 42px;
  }
  .studio-layout .studio-area-mark span {
    font-size: 12px;
  }
  .studio-gallery .carousel-strip img {
    aspect-ratio: 4 / 3;
  }
  .studio-gallery .plan-dots {
    right: 18px;
    bottom: 14px;
  }
  .studio-copy h2 {
    font-size: 34px;
  }
  .studio-copy p {
    font-size: 18px;
  }
  .studio-area-mark {
    display: grid;
    gap: 8px;
  }
  .plan-arrow {
    width: 44px;
    height: 44px;
    font-size: 38px;
  }
  .plan-card,
  .floorplan-svg {
    min-height: 220px;
  }
  .plan-dots {
    margin-top: 28px;
  }
  .site-footer { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.legal-page {
  min-height: 100vh;
  padding: clamp(24px, 6vw, 72px);
}

.legal-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 72px);
  border-radius: 36px;
}

.legal-brand {
  position: static;
  width: max-content;
  margin-bottom: clamp(36px, 6vw, 72px);
  transform: none;
}

.legal-shell h1 {
  max-width: 900px;
  margin: 0 0 30px;
  font-size: clamp(52px, 9vw, 112px);
  line-height: 0.94;
  letter-spacing: 0;
}

.legal-copy {
  display: grid;
  gap: 16px;
  max-width: 860px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.legal-copy p {
  margin: 0;
}

.legal-copy a {
  color: var(--accent);
  overflow-wrap: anywhere;
}
