:root {
  --ink: #00152b;
  --ink-soft: #0b2135;
  --blue: #173f65;
  --blue-light: #315e87;
  --orange: #ff671d;
  --paper: #f4f2ec;
  --paper-alt: #eae7df;
  --muted: #607384;
  --line: rgba(0, 21, 43, 0.16);
  --max: 1440px;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --header-height: 86px;
  --header-compact-height: 69px;
  --radius-control: 12px;
  --radius-panel: 24px;
}

* { box-sizing: border-box; }
html { width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body {
  width: 100%; min-width: 0; margin: 0; overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: 1rem; padding: .7rem 1rem; background: var(--ink); color: white; transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header {
  position: fixed; z-index: 30; inset: 0 0 auto;
  height: var(--header-height); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--pad); background: rgba(0, 21, 43, .76); color: white;
  border-bottom: 1px solid rgba(255,255,255,.12); transition: height .3s ease, background .3s, border-color .3s, box-shadow .3s;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.site-header.is-scrolled {
  height: var(--header-compact-height);
  background: rgba(0, 21, 43, .86);
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 10px 32px rgba(0,21,43,.12);
}
.brand { display: inline-flex; align-items: center; width: fit-content; }
.brand-logo { display: block; width: clamp(138px, 13vw, 180px); height: auto; }
.desktop-nav { display: flex; gap: clamp(1.5rem, 3vw, 3.2rem); color: #b8c6d2; font-size: .95rem; }
.desktop-nav a, .footer-links a { transition: color .2s; }
.desktop-nav a:hover, .footer-links a:hover { color: white; }
.desktop-nav a { position: relative; padding-block: .5rem; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.desktop-nav a[aria-current="location"] { color: white; }
.desktop-nav a[aria-current="location"]::after { transform: scaleX(1); }
.mobile-menu > a[aria-current="location"] { color: var(--orange); }
.header-cta { justify-self: end; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 1rem; }
.language-picker { position: relative; display: inline-flex; align-items: center; }
.language-trigger { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .4rem .5rem; border: 0; background: transparent; color: white; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; }
.language-trigger::after { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; transition: transform .2s ease; }
.language-trigger[aria-expanded="true"]::after { transform: rotate(180deg); }
.language-trigger:focus-visible { outline: none; text-decoration: underline; text-underline-offset: .3em; }
.language-options { position: absolute; top: 100%; right: 0; min-width: 154px; padding: .45rem; border-radius: 10px; background: var(--ink); box-shadow: 0 10px 30px #00182733; z-index: 10; }
.language-options[hidden] { display: none; }
.language-options button { display: block; width: 100%; min-height: 44px; padding: .75rem 1rem; border: 0; border-radius: 6px; background: transparent; color: white; font: inherit; font-size: .85rem; text-align: left; cursor: pointer; }
.language-options button:hover, .language-options button:focus-visible { background: #ffffff18; outline: none; }
.language-options button[aria-current="true"] { background: #ffffff10; }

.studio-contact { scroll-margin-top: var(--header-height); }
.menu-toggle, .mobile-menu { display: none; }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: .9rem 1.35rem;
  background: var(--orange); color: white; border: 1px solid var(--orange); font-weight: 720;
  transition: transform .2s, background .2s, border-color .2s;
}
.button:hover { transform: translateY(-2px); background: #ff7b3a; border-color: #ff7b3a; }
.button-small { min-height: 46px; padding: .65rem 1.05rem; font-size: .9rem; }
.header-actions .button-small { white-space: nowrap; flex-shrink: 0; }
.button, .project-open, .slider-arrows button, .menu-toggle { border-radius: var(--radius-control); }
.hero-slider, .project-art, .project-media-link { border-radius: var(--radius-panel); }
.slider-dots button { border-radius: 999px; }
.skip-link { border-radius: var(--radius-control); }

.arrow-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: square;
  stroke-linejoin: miter;
  transition: transform .22s ease;
}
.button:hover .arrow-icon,
.text-link:hover .arrow-icon,
.project-open:hover .arrow-icon,
.service-row:hover .arrow-icon { transform: translate(.16rem, -.16rem); }

.hero { position: relative; min-height: 100svh; overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; padding: 140px var(--pad) 90px; }
.hero-grid { position: absolute; inset: var(--header-height) 0 0; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(0,21,43,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(0,21,43,.09) 1px,transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom,transparent,black 22%,transparent 90%); }
.hero-copy { position: relative; z-index: 2; max-width: 760px; }
.eyebrow { margin: 0 0 1.5rem; color: var(--orange); font: 600 .77rem/1.2 "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-stretch: normal;
  font-variation-settings: normal;
}
h1 { margin-bottom: 2rem; font-size: clamp(4.2rem, 7.3vw, 8.5rem); line-height: .9; letter-spacing: -.025em; font-weight: 700; max-width: 9.5ch; }
h1 em, h2 em { color: var(--orange); font-style: normal; }
.hero-intro { max-width: 650px; color: var(--muted); font-size: clamp(1.08rem, 1.5vw, 1.35rem); }
.hero-actions { margin-top: 2.4rem; display: flex; align-items: center; gap: 2rem; }
.text-link { font-weight: 680; border-bottom: 1px solid var(--line); padding: .8rem 0; }
.text-link .arrow-icon { color: var(--orange); margin-left: .5rem; vertical-align: -.12em; }
.hero-slider {
  position: relative; min-height: min(45vw, 680px); overflow: hidden;
  border: 1px solid var(--line); background: var(--ink-soft); isolation: isolate;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .25);
}
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(0,21,43,.06) 40%,rgba(0,21,43,.82) 100%); }
.hero-slide img { width: 100%; height: 100%; display: block; object-fit: cover; transform: scale(1.045); transition: transform 6s ease; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide.is-active img { transform: scale(1); }
.hero-slide video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.slide-project-link { display: inline-flex; align-items: center; gap: .65rem; color: white; }
.slide-project-link .arrow-icon { width: 1.1rem; height: 1.1rem; }
.slide-project-link:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.slide-project-link:focus-visible { outline: 2px solid var(--orange); outline-offset: 6px; border-radius: 4px; }
.slide-caption {
  position: absolute; z-index: 2; left: 1.5rem; bottom: 5.5rem; display: grid; gap: .45rem;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.slide-caption span { color: #d8e2e9; font: 500 .66rem "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; }
.slide-caption strong { color: white; font-family: "Poppins", system-ui, sans-serif; font-size: clamp(1.35rem, 2vw, 2.1rem); letter-spacing: -.015em; }
.slider-controls {
  position: absolute; z-index: 4; inset: auto 1.5rem 1.35rem; display: grid;
  grid-template-columns: auto 1fr auto; gap: 1.3rem; align-items: center;
}
.slider-arrows { display: flex; gap: .45rem; }
.slider-arrows button {
  width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,21,43,.52); color: white; cursor: pointer; backdrop-filter: blur(8px);
  display: grid; place-items: center;
  transition: background .2s, border-color .2s;
}
.slider-arrows button:hover { background: var(--orange); border-color: var(--orange); }
.slider-arrows button:hover .arrow-icon { transform: translateX(.12rem); }
.slider-arrows button:first-child:hover .arrow-icon { transform: translateX(-.12rem); }
.slider-dots { display: flex; align-items: center; gap: .55rem; }
.slider-dots button { width: 100%; max-width: 52px; height: 2px; padding: 0; border: 0; background: rgba(255,255,255,.35); cursor: pointer; }
.slider-dots button.is-active { background: var(--orange); }
.slider-count { color: #d8e2e9; font: 500 .68rem "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .12em; }
.slider-count b { color: white; font-weight: 600; }
.slider-controls { grid-template-columns: auto 1fr auto auto; }
.slider-pause { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid #ffffff59; border-radius: var(--radius-control); background: #00152b85; color: white; cursor: pointer; }
.slider-pause svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.slider-pause .play-symbol { display: none; }
.slider-pause[aria-pressed="true"] .pause-symbol { display: none; }
.slider-pause[aria-pressed="true"] .play-symbol { display: block; }
.hero-foot { position: absolute; inset: auto var(--pad) 1.8rem; z-index: 2; padding-top: 1.2rem; border-top: 1px solid var(--line); display: flex; gap: 2.4rem; color: var(--muted); font: 500 .68rem "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace; text-transform: uppercase; letter-spacing: .15em; }

.section { padding: clamp(6rem, 10vw, 10rem) var(--pad); }
.studio-intro { padding: clamp(3.5rem, 6vw, 6rem) var(--pad); background: var(--paper); }
.studio-intro-inner { max-width: var(--max); margin: auto; }
.studio-intro .eyebrow { margin-bottom: 2rem; }
.studio-intro-copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); }
.studio-intro-copy p { margin: 0; max-width: 58ch; font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.8; color: var(--muted); }
.studio-intro-copy p:first-child { color: var(--ink); }
@media (max-width: 620px) {
  .studio-intro-copy { grid-template-columns: 1fr; gap: 1.5rem; }
}
.section-heading { max-width: var(--max); margin: 0 auto 4rem; display: grid; grid-template-columns: 1.3fr .7fr; gap: 4rem; align-items: end; }
h2 { margin-bottom: 0; font-size: clamp(3rem, 6vw, 6.7rem); line-height: 1; letter-spacing: -.025em; max-width: 12ch; }
.section-heading > p { color: var(--muted); font-size: 1.12rem; max-width: 43ch; margin-bottom: .5rem; }
.work { background: var(--paper-alt); color: var(--ink); }
.work .section-heading .eyebrow { color: #d94f10; }
.project-grid { max-width: var(--max); margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.project-large { grid-column: 1 / -1; }
.project-card { border-top: 1px solid rgba(7,24,39,.2); padding-top: 1rem; }
.project-art { position: relative; overflow: hidden; min-height: 430px; background: #0a2136; }
.project-large .project-art { min-height: min(64vw, 760px); }
.project-art-image::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0,21,43,.62)); pointer-events: none; }
.project-art-image img { display: block; width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .7s ease; }
.project-card:hover .project-art-image img { transform: scale(1.015); }
.project-media-link { position: absolute; inset: 0; display: block; }
.project-media-link:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.project-meta { padding: 1.4rem 0 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.project-meta .eyebrow { margin-bottom: .8rem; color: #d94f10; }
.project-meta h3 { font-size: clamp(1.7rem, 3vw, 2.8rem); letter-spacing: -.015em; margin: 0; }
.project-meta > p, .project-copy > p { color: #52616d; max-width: 34ch; }
.project-copy > p { margin-bottom: 1.15rem; }
.project-title-link h3 { transition: color .2s; }
.project-title-link:hover h3, .project-title-link:focus-visible h3 { color: var(--orange); }
.project-open {
  display: inline-flex; align-items: center; gap: .65rem; padding: .7rem .85rem;
  border: 1px solid rgba(0,21,43,.28); color: var(--ink);
  font: 600 .7rem/1.2 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: .08em; text-transform: uppercase;
  transition: color .2s, border-color .2s, background .2s;
}
.project-open .arrow-icon { width: .95rem; height: .95rem; }
.project-open:hover, .project-open:focus-visible { color: white; background: var(--orange); border-color: var(--orange); }
.art-caption { position: absolute; z-index: 2; left: 1.2rem; bottom: 1.1rem; color: #eef3f6; font: 500 .65rem "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.art-configurator { background: radial-gradient(circle at 65% 45%,#214e75 0 16%,transparent 44%),linear-gradient(145deg,#0b2135,#173b5f); }
.building { position: absolute; width: 34%; aspect-ratio: 1.35; border: 1px solid rgba(255,255,255,.2); background: linear-gradient(135deg,rgba(255,255,255,.05),rgba(255,103,29,.18)); clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); transform: rotate(-4deg); }
.building-one { left: 25%; top: 25%; }.building-two { left: 46%; top: 21%; transform: scale(.72) rotate(4deg); opacity: .55; }
.config-panel { position: absolute; right: 4%; top: 8%; width: 23%; padding: 1rem; border: 1px solid rgba(255,255,255,.18); background: rgba(7,24,39,.48); backdrop-filter: blur(12px); }
.config-panel i { display: block; height: 34px; margin: .65rem; border: 1px solid rgba(255,255,255,.16); }
.config-panel i:first-child { background: var(--orange); border-color: var(--orange); }
.art-masterplan { background: linear-gradient(150deg,#143d62,#091d30); }
.map-lines { position: absolute; inset: -10%; transform: rotate(-13deg); background-image: linear-gradient(rgba(108,155,196,.25) 1px,transparent 1px),linear-gradient(90deg,rgba(108,155,196,.25) 1px,transparent 1px); background-size: 56px 56px; clip-path: polygon(5% 15%,70% 0,100% 30%,86% 85%,22% 100%,0 64%); }
.map-pin { position: absolute; left: 54%; top: 45%; width: 36px; height: 36px; background: var(--orange); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 0 0 18px rgba(255,103,29,.12); }
.art-ai { display: grid; place-items: center; background: radial-gradient(circle,#234d72,#0a1f33 64%); }
.ai-sphere { width: 34%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 25%,#ff9b65,#ff671d 32%,#843514 76%); box-shadow: 0 0 80px rgba(255,103,29,.28); }
.ai-ring { position: absolute; width: 58%; height: 20%; border: 1px solid rgba(255,255,255,.36); border-radius: 50%; transform: rotate(-14deg); }
.ring-b { transform: rotate(68deg); width: 50%; }

.services { background: #f8f9fa; color: var(--ink); }
.services-title { position: relative; isolation: isolate; max-width: var(--max); margin: 0 auto 5rem; padding-block: 2rem; }
.services-title::before { content: ""; position: absolute; z-index: -1; inset: -2rem 0 -2rem 32%; border-radius: var(--radius-panel); background: linear-gradient(90deg, #f8f9fa 0%, #f8f9fa99 45%, #f8f9fa40 100%), url("assets/hero-slides/marina-arc.jpg") center / cover; opacity: .65; pointer-events: none; }
.services-title::after { content: ""; position: absolute; z-index: -1; inset: -2rem 0 -2rem 32%; border-radius: var(--radius-panel); background: linear-gradient(0deg, #f8f9fa, transparent 30%, transparent 75%, #f8f9fa); pointer-events: none; }
.services-title h2 { max-width: 13ch; }
.process-flow { max-width: var(--max); margin: 0 auto 4rem; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; }
.process-step { position: relative; min-width: 0; }
.process-step:not(:last-child)::after { content: ""; position: absolute; top: 36px; left: 88px; right: -1rem; height: 1px; background: linear-gradient(90deg, var(--orange), var(--line)); }
.process-symbol { position: relative; display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 1.5rem; border: 1px solid var(--line); border-radius: 20px; background: white; }
.process-symbol svg { width: 35px; height: 35px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.process-symbol span { position: absolute; right: -6px; bottom: -6px; padding: .2rem .35rem; border-radius: 5px; background: var(--orange); color: white; font: 500 .65rem "IBM Plex Mono", monospace; }
.process-step h3 { margin: 0 0 .6rem; font-size: 1.05rem; }
.process-step p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.65; }
@media (max-width: 900px) {
  .process-flow { grid-template-columns: 1fr; gap: 1.5rem; }
  .process-step { display: grid; grid-template-columns: 72px 1fr; column-gap: 1.5rem; }
  .process-symbol { grid-row: 1 / 3; margin: 0; }
  .process-step h3 { align-self: end; }
  .process-step:not(:last-child)::after { top: 84px; bottom: -12px; left: 36px; right: auto; width: 1px; height: auto; background: var(--line); }
}
.service-list { max-width: var(--max); margin: auto; border-top: 1px solid var(--line); }
.service-row { position: relative; isolation: isolate; overflow: hidden; min-height: 170px; padding: 2rem 0; display: grid; grid-template-columns: .2fr .8fr 1fr auto; gap: 2rem; align-items: center; border-bottom: 1px solid var(--line); transition: color .25s, padding .25s; }
.service-row:nth-child(1) { --service-image: url("assets/projects/tiles-configurator.jpg"); }
.service-row:nth-child(2) { --service-image: url("assets/projects/kitchen-configurator.jpg"); }
.service-row:nth-child(3) { --service-image: url("assets/projects/casa-onda.jpg"); }
.service-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(90deg, #f8f9fa 5%, #f8f9facf 45%, #f8f9fae8 100%), var(--service-image, none); background-position: center, 45% center; background-size: cover; opacity: .7; transition: opacity .3s ease; pointer-events: none; }
.service-row:hover::before { opacity: 1; }
@media (max-width: 620px) {
  .services-title::before, .services-title::after { left: 0; }
  .services-title::before { opacity: .3; }
  .service-row::before { background-image: linear-gradient(90deg, #f8f9faed, #f8f9facf), var(--service-image, none); }
}
.service-row:hover { color: var(--orange); padding-left: 1rem; }
.service-row > span { color: var(--orange); font: 500 .75rem "IBM Plex Mono", ui-monospace, monospace; }
.service-row h3 { margin: 0; font-size: clamp(1.8rem, 3vw, 3rem); letter-spacing: -.015em; }
.service-row p { margin: 0; color: var(--muted); max-width: 50ch; }
.service-row .arrow-icon { width: 1.45rem; height: 1.45rem; color: var(--orange); }

.about { position: relative; max-width: var(--max); margin: auto; display: grid; grid-template-columns: .55fr 2fr; gap: 4rem; align-items: start; }
.about-mark { width: min(100%, 220px); padding: 1rem 0; }
.about-logo { display: block; width: min(100%, 210px); height: auto; }
.about-copy h2 { font-size: clamp(2.6rem, 4.4vw, 5rem); max-width: 15ch; }
.about-copy > p:last-child { margin: 2.5rem 0 0; color: var(--muted); font-size: 1.15rem; max-width: 63ch; }
.about-description { margin-top: 2rem; max-width: 70ch; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.8; }
.about-description p { margin: 0 0 1.25rem; }
.about-description p:last-child { margin-bottom: 0; }

.contact { position: relative; min-height: 325px; padding-block: clamp(2rem, 4vw, 4rem); overflow: hidden; display: flex; align-items: center; background: var(--orange); color: #fff; }
.contact-inner { position: relative; z-index: 2; }
.contact .eyebrow { color: var(--ink); }
.contact h2 { font-size: clamp(2.8rem, 5vw, 5rem); max-width: 16ch; margin-bottom: 0; }
.contact h2 em { color: var(--ink); }
.button-light { margin-top: 1.5rem; background: var(--paper); color: var(--ink); border-color: var(--paper); gap: 4rem; }
.button-light:hover { background: white; color: var(--ink); border-color: white; }
.contact-shape { position: absolute; right: -10vw; width: min(60vw,800px); aspect-ratio: 1; border: 1px solid rgba(7,24,39,.3); transform: rotate(45deg); display: grid; place-items: center; }
.contact-shape::before, .contact-shape::after { content: ""; position: absolute; inset: 15%; border: 1px solid rgba(7,24,39,.28); }
.contact-shape, .contact-shape::before, .contact-shape::after, .contact-shape span { border-radius: var(--radius-panel); }
.contact-shape span { width: 30%; aspect-ratio: 1; background: var(--ink); }

.site-footer { padding: 3rem var(--pad); display: grid; grid-template-columns: 1.2fr 1fr auto auto; gap: 3rem; align-items: center; background: var(--ink); color: #9db0c1; }
.site-footer .brand { color: var(--paper); }
.site-footer .brand-logo-full { width: clamp(170px, 18vw, 230px); }
.site-footer p { margin: 0; }.footer-links { display: flex; gap: 1.5rem; }.copyright { font: 500 .75rem "IBM Plex Mono", ui-monospace, monospace; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 900px) {
  :root { --header-height: 74px; --header-compact-height: 59px; }
  .site-header { grid-template-columns: 1fr auto auto; column-gap: .85rem; }
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; place-content: center; gap: 7px; width: 44px; height: 44px; padding: 0; color: white; background: none; border: 1px solid rgba(255,255,255,.2); }
  .menu-toggle span:not(.sr-only) { display: block; width: 20px; height: 1px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-last-child(2) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu {
    position: fixed; z-index: 29; inset: var(--header-height) 0 0;
    min-height: 0; padding: 2rem var(--pad) max(1.25rem, env(safe-area-inset-bottom));
    overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch; touch-action: pan-y;
    background: rgba(0,21,43,.97); color: white; flex-direction: column; gap: 0;
    transition: inset-block-start .3s ease;
  }
  .site-header.is-scrolled + .mobile-menu { inset-block-start: var(--header-compact-height); }
  .mobile-menu:not([hidden]) { display: flex; }
  .mobile-menu > a:not(.button) { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 1.15rem; font-weight: 600; letter-spacing: 0; }
  .mobile-menu .button { margin-top: auto; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 145px; }
  .hero-copy { max-width: none; }
  h1 { font-size: clamp(4rem, 14vw, 7rem); }
  .hero-slider { min-height: 64vw; margin-top: 3rem; }
  .hero-foot { position: relative; inset: auto; grid-column: 1; margin-top: 2rem; flex-wrap: wrap; gap: .8rem 1.5rem; }
  .section-heading { grid-template-columns: 1fr; gap: 2rem; }
  .project-art, .project-large .project-art { min-height: 60vw; }
  .project-meta { grid-template-columns: 1fr; gap: 1rem; }
  .service-row { grid-template-columns: .15fr 1fr auto; }
  .service-row p { grid-column: 2 / -1; }
  .about { grid-template-columns: .35fr 1fr; }
  .about-logo { width: 100%; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-links { justify-self: end; }.copyright { justify-self: end; }
}

@media (max-width: 900px) and (max-height: 600px) and (orientation: landscape) {
  :root { --header-height: 64px; --header-compact-height: 54px; }
  .site-header { padding-inline: max(var(--pad), env(safe-area-inset-left)) max(var(--pad), env(safe-area-inset-right)); }
  .brand-logo { width: 128px; }
  .menu-toggle { width: 40px; height: 40px; }
  .mobile-menu {
    padding: 1rem max(var(--pad), env(safe-area-inset-left)) max(1rem, env(safe-area-inset-bottom)) max(var(--pad), env(safe-area-inset-right));
  }
  .mobile-menu:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    column-gap: clamp(1.25rem, 6vw, 4rem);
  }
  .mobile-menu > a:not(.button) { padding: .7rem 0; font-size: 1rem; }
  .mobile-menu .button { grid-column: 1 / -1; min-height: 44px; margin-top: .85rem; padding-block: .65rem; }
}

@media (max-width: 620px) {
  :root { --pad: 1.25rem; }
  .brand-logo { width: 138px; }
  .site-header,
  .mobile-menu,
  .hero,
  .section,
  .site-footer {
    padding-left: max(var(--pad), env(safe-area-inset-left));
    padding-right: max(var(--pad), env(safe-area-inset-right));
  }
  main, .hero, .hero-copy, .hero-slider, .section { width: 100%; min-width: 0; max-width: 100%; }
  .hero { padding-bottom: 3rem; }
  .hero-grid { background-size: 40px 40px; }
  h1 { max-width: 100%; font-size: clamp(3.35rem, 15vw, 4.85rem); }
  .hero-intro { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: .6rem; }
  .text-link { text-align: center; }
  .hero-slider { min-height: 105vw; margin: 2.5rem 0 0; }
  .hero-slide img { object-position: center center; }
  .slide-caption { left: 1rem; right: 1rem; bottom: 5.25rem; }
  .slider-controls { left: 1rem; right: 1rem; bottom: 1rem; gap: .8rem; }
  .slider-arrows button { width: 38px; height: 38px; }
  .hero-foot span { width: calc(50% - 1rem); }
  .section { padding-top: 5rem; padding-bottom: 5rem; }
  h2 { font-size: clamp(2.9rem, 14vw, 4.5rem); }
  .project-grid { grid-template-columns: 1fr; gap: 1rem; }
  .project-large { grid-column: auto; }
  .project-art, .project-large .project-art { min-height: 92vw; }
  .project-meta { padding-bottom: 2rem; }
  .config-panel { width: 32%; }.building { width: 53%; }.building-one { left: 12%; top: 28%; }.building-two { left: 41%; }
  .services-title { margin-bottom: 3rem; }
  .service-row { min-height: 0; grid-template-columns: 36px 1fr auto; gap: 1rem; padding: 1.7rem 0; }
  .service-row h3 { font-size: 1.65rem; }.service-row p { font-size: .95rem; }
  .about { display: block; }
  .about-mark { width: 180px; margin-bottom: 3rem; }
  .about-copy h2 { font-size: 2.8rem; }
  .contact { min-height: 280px; padding-block: 2rem; }
  .contact-inner { width: 100%; }
  .button-light { width: 100%; justify-content: space-between; gap: 1rem; }
  .contact-shape { opacity: .5; width: 95vw; right: -50vw; }
  .site-footer { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-links, .copyright { justify-self: start; }
}

.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; border-top: 0; }
.service-row { min-width: 0; min-height: 270px; padding: 2rem; grid-template-columns: 1fr auto; gap: 1rem; align-content: start; align-items: start; border: 1px solid var(--line); border-radius: var(--radius-panel); }
.service-row > span { grid-column: 1; grid-row: 1; }
.service-row .arrow-icon { grid-column: 2; grid-row: 1; }
.service-row h3 { grid-column: 1 / -1; font-size: clamp(1.6rem, 2.5vw, 2.5rem); }
.service-row p { grid-column: 1 / -1; }
.service-row:hover { padding-left: 2rem; }
@media (max-width: 620px) {
  .service-list { grid-template-columns: 1fr; gap: 1rem; }
  .service-row { min-height: 0; padding: 1.5rem; }
  .service-row:hover { padding-left: 1.5rem; }
}

.contact-with-form { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-block: clamp(3rem, 6vw, 6rem); }
.contact-with-form .contact-inner { min-width: 0; }
.contact-with-form .button-light { font-size: clamp(.8rem, 1.25vw, 1.1rem); gap: 1rem; max-width: 100%; overflow-wrap: anywhere; }
.contact-form { position: relative; z-index: 2; min-width: 0; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius-panel); background: var(--paper); color: var(--ink); }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.contact-fields label { display: grid; gap: .5rem; min-width: 0; font-size: .85rem; font-weight: 500; }
.contact-fields .field-wide { grid-column: 1 / -1; }
.contact-fields input, .contact-fields textarea { width: 100%; min-width: 0; border: 1px solid #00152b40; border-radius: 10px; background: white; padding: .8rem .9rem; color: var(--ink); font: inherit; font-size: 1rem; }
.contact-fields textarea { resize: vertical; min-height: 120px; }
.contact-fields input:focus-visible, .contact-fields textarea:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-note { margin: 1rem 0; color: var(--muted); font-size: .75rem; line-height: 1.6; }
.form-note a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.contact-form .button { gap: .8rem; }
.contact-form .button:disabled { opacity: .65; cursor: wait; }
.form-status { margin: 1rem 0 0; font-size: .85rem; line-height: 1.6; }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: #a32c1b; }
.form-status[data-state="success"] { color: #226044; }
.form-success-dialog { width: min(500px, calc(100% - 2rem)); margin: auto; padding: clamp(1.75rem, 4vw, 2.75rem); border: 0; border-radius: var(--radius-panel); background: var(--paper); color: var(--ink); box-shadow: 0 30px 90px #00172b59; text-align: center; overflow: visible; }
.form-success-dialog::backdrop { background: #00172bc7; backdrop-filter: blur(7px); }
.form-success-dialog[open] { animation: form-success-in .28s ease-out both; }
.form-success-dialog .eyebrow { margin: 1.25rem 0 .6rem; color: #26734d; }
.form-success-dialog h2 { max-width: none; margin: 0; font-size: clamp(2.2rem, 7vw, 3.5rem); line-height: 1.05; color: var(--ink); }
.form-success-dialog > p:last-of-type { max-width: 39ch; margin: 1rem auto 1.6rem; color: var(--muted); line-height: 1.7; }
.form-success-dialog .button { min-width: 150px; justify-content: center; }
.form-success-icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; background: #dff4e8; color: #26734d; box-shadow: 0 0 0 10px #dff4e866; }
.form-success-icon svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.form-success-close { position: absolute; top: .8rem; right: .8rem; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); font: inherit; font-size: 1.6rem; cursor: pointer; }
.form-success-close:hover, .form-success-close:focus-visible { border-color: var(--orange); color: var(--ink); outline: none; }
@keyframes form-success-in { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .contact-with-form { grid-template-columns: 1fr; }
  .contact-with-form .contact-inner { max-width: 650px; }
}
@media (max-width: 620px) {
  .contact-fields { grid-template-columns: 1fr; }
}

/* Full-width project backdrop, with a quiet left edge for the introduction. */
.hero { display: flex; align-items: center; min-height: max(800px, 100svh); padding: 150px var(--pad) 180px; background: var(--ink); color: white; }
.hero-grid { display: none; }
.hero-copy { width: min(54%, 720px); max-width: 720px; pointer-events: none; }
.hero-copy a { pointer-events: auto; }
.hero h1 { font-size: clamp(4rem, 6.6vw, 7.5rem); }
.hero-intro { max-width: 560px; color: #d8e2e9; }
.hero .text-link { border-color: #ffffff40; }
.hero-slider.reveal { position: absolute; inset: 0; width: 100%; max-width: none; min-height: 0; margin: 0; border: 0; border-radius: 0; box-shadow: none; opacity: 1; transform: none; }
.hero-slide::after { background: linear-gradient(90deg, rgba(0,15,31,.96) 0%, rgba(0,15,31,.88) 28%, rgba(0,15,31,.58) 49%, rgba(0,15,31,.12) 78%), linear-gradient(0deg, rgba(0,15,31,.88), transparent 38%); }
.hero-slide img { object-position: 65% center; }
.hero .slide-caption { left: auto; right: var(--pad); bottom: 7.5rem; text-align: right; }
.hero .slider-controls { left: auto; right: var(--pad); bottom: 3rem; width: min(420px, 42%); }
.hero-foot { inset: auto auto 3rem var(--pad); max-width: 50%; color: #c2cfda; border-color: #ffffff30; flex-wrap: wrap; gap: .8rem 1.8rem; }
@media (max-width: 900px) {
  .hero { min-height: max(780px, 100svh); padding-top: 135px; padding-bottom: 220px; }
  .hero-copy { width: 75%; }
  .hero h1 { font-size: clamp(3.6rem, 8.5vw, 6rem); }
  .hero-foot { display: none; }
  .hero .slider-controls { width: min(420px, calc(100% - 2 * var(--pad))); }
}
@media (max-width: 620px) {
  .hero { min-height: max(850px, 100svh); padding-top: calc(var(--header-height) + 3rem); padding-bottom: 220px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(3rem, 12.5vw, 4.6rem); max-width: 10ch; line-height: 1; margin-bottom: 1.5rem; }
  .hero-intro { max-width: 34ch; }
  .hero-actions { margin-top: 1.75rem; align-items: flex-start; gap: .75rem; }
  .hero-actions .button { width: auto; max-width: 100%; }
  .hero .text-link { text-align: left; }
  .hero-slide::after { background: linear-gradient(90deg, rgba(0,15,31,.88), rgba(0,15,31,.44)), linear-gradient(0deg, rgba(0,15,31,.92), transparent 35%, rgba(0,15,31,.45)); }
  .hero .slide-caption { bottom: 6rem; text-align: left; left: var(--pad); }
  .hero .slider-controls { left: var(--pad); bottom: 2rem; }
}

@media (min-width: 901px) {
  :root { --max: 1267.2px; --desktop-content-pad: calc(6vw + var(--pad) * .88); }
  .section { padding-inline: var(--desktop-content-pad); }
  .site-header { padding-inline: max(var(--desktop-content-pad), calc((100vw - var(--max)) / 2)); grid-template-columns: auto 1fr auto; column-gap: clamp(1rem, 2vw, 2rem); }
  .desktop-nav { justify-self: center; gap: clamp(1rem, 2vw, 2rem); font-size: clamp(.8rem, 1.15vw, .95rem); white-space: nowrap; }
  .about { max-width: none; }
  .site-footer { padding-inline: var(--desktop-content-pad); grid-template-columns: 1fr 1fr; gap: 2rem; }
  .site-footer .footer-links, .site-footer .copyright { justify-self: end; }
  .site-footer .footer-links { grid-column: 2; grid-row: 1; }
  .site-footer > p:not(.copyright) { grid-column: 1; grid-row: 2; }
  .section-heading { gap: 2.5rem; }
  .work .section-heading { grid-template-columns: minmax(0, 1.55fr) minmax(260px, .7fr); }
  .work .section-heading h2 { max-width: none; font-size: clamp(1.75rem, 2.3vw, 2.5rem); white-space: nowrap; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .site-header .brand-logo { width: 138px; }
}

/* Shared layouts for the bilingual, static multipage site. */
.desktop-nav a[aria-current="page"] { color: white; }
.desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }
.mobile-menu > a[aria-current="page"] { color: var(--orange); }
.language-options a { display: block; min-height: 44px; padding: .75rem 1rem; border-radius: 6px; color: white; font-size: .875rem; }
.language-options a:hover, .language-options a:focus-visible { background: #ffffff12; color: white; outline: none; }
.language-options a[aria-current="true"] { background: #ffffff10; }
.page-container { width: 100%; max-width: var(--max); margin-inline: auto; min-width: 0; }
.page-lead { padding-top: calc(var(--header-height) + clamp(1.25rem, 2.5vw, 2.5rem)); padding-bottom: clamp(2.5rem, 5vw, 5rem); }
.page-lead h1 { font-size: clamp(2.8rem, 5.5vw, 6rem); line-height: 1.08; max-width: 20ch; margin: 0 0 1.5rem; overflow-wrap: anywhere; }
.page-lead .eyebrow { margin-top: 2.5rem; font-size: .875rem; }
.page-summary { max-width: 65ch; margin-bottom: 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.8; }
.breadcrumbs { display: flex; gap: .65rem; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: .875rem; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: .2em; }
.breadcrumbs a:hover { color: var(--ink); }
.section-title { font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.15; max-width: 22ch; margin-bottom: 2.5rem; }
.section-end { text-align: center; margin-top: 2.5rem; }
body[data-page="home"] main > .section { padding-block: clamp(3rem, 5vw, 5rem); }
.catalogue-section, .project-detail, .service-detail { padding-top: 1rem; }
.catalogue-grid { align-items: start; gap: 3rem 2rem; }
.catalogue-grid .project-card { border: 0; padding: 0; min-width: 0; }
.catalogue-grid .project-card[hidden] { display: none; }
.catalogue-image { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-panel); background: var(--ink-soft); }
.catalogue-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.catalogue-image:hover img { transform: scale(1.025); }
.project-kind { position: absolute; left: 1rem; bottom: 1rem; padding: .45rem .7rem; border-radius: 8px; background: #00152be8; color: white; font-size: .875rem; }
.catalogue-copy { padding-block: 1.5rem; }
.catalogue-copy .eyebrow { font-size: .875rem; line-height: 1.5; margin-bottom: .65rem; }
.catalogue-copy h3 { margin: 0 0 1rem; font-size: clamp(1.5rem, 2.4vw, 2.4rem); line-height: 1.25; }
.catalogue-copy h3 a:hover { color: #c34308; }
.catalogue-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1rem; line-height: 1.75; }
.catalogue-copy .project-open { font-family: inherit; font-size: .875rem; text-transform: none; letter-spacing: 0; }
.project-filters { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 1.5rem; }
.project-filters button { padding: .7rem 1rem; min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius-control); background: transparent; color: var(--ink); font: inherit; font-size: .875rem; cursor: pointer; }
.project-filters button[aria-pressed="true"] { background: var(--ink); color: white; border-color: var(--ink); }
.filter-count { color: var(--muted); font-size: .875rem; margin-bottom: 2rem; }
.expertise-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.expertise-grid article { display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid #00152b33; border-radius: var(--radius-panel); box-shadow: 0 16px 34px #00152b0d; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.expertise-grid h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.3; margin-bottom: 1rem; }
.expertise-grid h3 a { transition: color .2s ease; }
.expertise-grid p { font-size: 1rem; line-height: 1.8; color: var(--muted); }
.expertise-grid .project-open { font: inherit; font-size: .875rem; letter-spacing: 0; text-transform: none; }
.project-toolbar { display: flex; gap: 1.5rem; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 2rem; }
.type-badge { display: inline-block; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 8px; font-size: .875rem; }
.detail-cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-panel); background: var(--ink); }
.film-player { object-fit: contain; }
.detail-columns { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 5rem); margin-block: 4rem; }
.detail-columns h2, .detail-block > h2 { font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1.15; max-width: 24ch; margin-bottom: 1.5rem; }
.detail-columns p, .scope-note p, .detail-list li { color: var(--muted); font-size: 1rem; line-height: 1.85; }
.detail-columns aside { padding: 2rem; border-radius: var(--radius-panel); background: var(--paper-alt); }
.detail-columns aside h3 { font-size: 1.15rem; margin-bottom: .8rem; }
.detail-columns aside p { margin-bottom: 1.5rem; }
.detail-columns aside p:last-child { margin-bottom: 0; }
.detail-block { margin-block: 4rem; }
.feature-grid { padding: 0; margin: 2rem 0 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature-grid li { padding: 1.5rem; border-top: 3px solid var(--orange); background: white; border-radius: 0 0 12px 12px; font-size: 1rem; line-height: 1.8; }
.detail-list { padding-left: 1.2rem; max-width: 75ch; }
.detail-list li { padding-left: .4rem; margin-bottom: .8rem; }
.detail-list li::marker { color: #d94f10; }
.scope-note { padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 12px; }
.scope-note h3 { margin-bottom: .75rem; font-size: 1.25rem; }
.scope-note p { margin: 0; }
.service-tags { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; margin-top: 2rem; }
.service-tags > span { width: 100%; font-weight: 500; }
.related-section { background: var(--paper-alt); }
.studio-brand { display: block; width: min(330px, 100%); height: auto; margin-bottom: 3rem; }
.studio-page { padding-top: 1rem; }
.studio-description { columns: 2; column-gap: 3rem; color: var(--muted); font-size: 1.1rem; line-height: 1.9; }
.studio-description p { margin: 0 0 1.5rem; break-inside: avoid; }
.page-cta { background: var(--orange); color: var(--ink); }
.page-cta .page-container { display: flex; gap: 2rem; justify-content: space-between; align-items: center; }
.page-cta .eyebrow { color: var(--ink); font-size: .875rem; }
.page-cta h2 { font-size: clamp(2.2rem, 4vw, 4rem); max-width: 17ch; line-height: 1.15; }
.page-cta .button { background: var(--ink); border-color: var(--ink); flex-shrink: 0; }
.contact-page { padding-top: var(--header-height); }
.contact-page .contact-with-form { min-height: calc(100svh - var(--header-height)); }
.contact-page h1 { font-size: clamp(3rem, 5vw, 5rem); max-width: 12ch; line-height: 1.1; }
.contact-page h1 em { color: var(--ink); }
.site-footer .footer-links { flex-wrap: wrap; }
@media (max-width: 1100px) {
  .feature-grid { grid-template-columns: 1fr; }
  .detail-columns { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 900px) {
  .page-lead { padding-top: calc(var(--header-height) + 1.25rem); }
  .page-cta .page-container { align-items: flex-start; flex-direction: column; }
  .page-cta .button { flex-shrink: 1; }
  .studio-description { columns: 1; }
}
@media (max-width: 620px) {
  .expertise-grid, .catalogue-grid { grid-template-columns: 1fr; }
  .page-lead h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .catalogue-section, .project-detail, .service-detail, .studio-page { padding-top: 1rem; }
  .project-toolbar { align-items: flex-start; flex-direction: column; }
  .project-kind { font-size: .8rem; }
  .detail-columns { margin-block: 2.5rem; }
  .contact-page h1 { font-size: 3rem; }
}

.team-section { background: var(--paper-alt); }
.team-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; margin-block: 3rem; }
.team-stats > div { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.team-stats strong { display: block; font-size: clamp(3rem, 6vw, 5rem); line-height: 1.2; color: #d94f10; }
.team-stats span { display: block; max-width: 35ch; margin-top: .65rem; font-size: 1rem; color: var(--muted); }
.team-description { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.team-description p, .team-locations p { font-size: 1rem; line-height: 1.85; color: var(--muted); }
.team-locations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; margin-top: 2rem; }
.team-locations article { padding: 1.5rem; background: var(--paper); border-radius: var(--radius-panel); }
.team-locations h3 { font-size: 1.15rem; margin-bottom: .75rem; }
.team-locations p { margin: 0; }
@media (max-width: 620px) {
  .team-description, .team-locations { grid-template-columns: 1fr; gap: 1rem; }
}

.site-header .header-cta { display: inline-flex; }
@media (max-width: 620px) {
  .site-header { column-gap: .5rem; }
  .site-header .brand-logo { width: 138px; }
  .header-actions { gap: .4rem; }
  .header-actions .button-small { min-height: 44px; padding: .6rem .7rem; font-size: .875rem; }
  .language-trigger { padding-inline: .25rem; gap: .3rem; }
  .menu-toggle { width: 36px; height: 44px; }
}
@media (max-width: 380px) {
  .site-header { padding-inline: max(.75rem, env(safe-area-inset-left)) max(.75rem, env(safe-area-inset-right)); column-gap: .4rem; }
  .site-header .brand-logo { width: 112px; }
  .header-actions .button-small { padding-inline: .45rem; }
  .language-trigger { font-size: .75rem; gap: .2rem; }
}

.solutions-dropdown { position: relative; display: flex; align-items: center; }
.solutions-trigger { display: inline-flex; align-items: center; gap: .4rem; }
.solutions-trigger::before { content: ""; order: 1; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.solutions-trigger[aria-expanded="true"]::before { transform: rotate(225deg); }
.solutions-categories { display: none; position: absolute; top: 100%; left: -1rem; min-width: 265px; max-width: min(340px, 80vw); padding: .65rem; border: 1px solid #ffffff20; border-radius: 12px; background: #061c31; box-shadow: 0 18px 40px #00152b40; }
.solutions-dropdown.is-open .solutions-categories { display: grid; }
.desktop-nav .solutions-categories a { padding: .8rem .9rem; border-radius: 7px; white-space: normal; font-size: .875rem; line-height: 1.5; }
.desktop-nav .solutions-categories a::after { display: none; }
.desktop-nav .solutions-categories a:hover, .desktop-nav .solutions-categories a:focus-visible { background: #ffffff12; color: white; }
.footer-solutions, .footer-expertise { display: grid; gap: 1rem; }
.footer-categories { display: grid; gap: .75rem; max-width: 24ch; font-size: .875rem; line-height: 1.5; }
.footer-categories a { color: #9db0c1; }
.footer-links > a, .footer-solutions > a, .footer-expertise > a { color: #fff; font-size: 1rem; font-weight: 600; line-height: 1.5; }
.footer-categories a { font-weight: 400; }
.footer-links > a:hover, .footer-solutions > a:hover, .footer-expertise > a:hover { color: var(--orange); }
.site-footer .footer-links { display: grid; grid-template-columns: 2fr 2fr 1fr 1fr; gap: 2rem; align-items: start; width: 100%; grid-column: 1 / -1; grid-row: 2; justify-self: stretch; }
.site-footer > p:not(.copyright) { grid-row: 3; }
.site-footer .copyright { grid-row: 3; }
.site-footer .copyright a { color: inherit; text-decoration: underline; text-underline-offset: .25em; }
.site-footer .copyright a:hover { color: white; }
@media (max-width: 620px) {
  .site-footer .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
  .site-footer .copyright { grid-row: 4; }
}

.privacy-page { padding-top: clamp(8rem, 14vw, 12rem); background: var(--paper); color: var(--ink); }
.privacy-page h1 { max-width: 13ch; margin: .5rem 0 1rem; font-size: clamp(2.75rem, 7vw, 6rem); line-height: .98; }
.privacy-updated { margin: 0 0 clamp(3rem, 7vw, 6rem); color: var(--muted); font: 500 .78rem/1.5 "IBM Plex Mono", ui-monospace, monospace; text-transform: uppercase; letter-spacing: .08em; }
.privacy-content { display: grid; max-width: 860px; margin-left: auto; }
.privacy-content section { padding: 2rem 0; border-top: 1px solid #00152b24; }
.privacy-content h2 { margin: 0 0 .8rem; font-size: clamp(1.25rem, 2.4vw, 1.8rem); }
.privacy-content p { margin: 0; color: var(--muted); line-height: 1.8; }
.privacy-content a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }

.mobile-nav-group { border-bottom: 1px solid #ffffff29; min-width: 0; }
.mobile-nav-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mobile-nav-heading > a { flex: 1; padding-block: 1rem; font-size: 1.15rem; font-weight: 600; }
.mobile-nav-heading > a[aria-current="page"] { color: var(--orange); }
.mobile-submenu-toggle { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff29; border-radius: 10px; color: white; background: transparent; cursor: pointer; }
.mobile-submenu-toggle span { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease; }
.mobile-submenu-toggle[aria-expanded="true"] span { transform: rotate(225deg) translate(-1px, -1px); }
.mobile-submenu { padding: 0 0 .8rem 1rem; border-left: 2px solid var(--orange); margin-bottom: .8rem; }
.mobile-submenu[hidden] { display: none; }
.mobile-submenu a { display: block; padding: .7rem .25rem; min-height: 44px; font-size: .9375rem; line-height: 1.5; color: #b8c6d2; }
.mobile-submenu a:hover, .mobile-submenu a:focus-visible { color: white; }
.mobile-menu > .button { margin-top: 1.5rem; flex-shrink: 0; }
@media (max-width: 900px) {
  .mobile-menu { background: var(--ink); }
}
@media (max-width: 900px) and (max-height: 600px) and (orientation: landscape) {
  .mobile-nav-heading > a { padding-block: .7rem; font-size: 1rem; }
  .mobile-nav-group { align-self: start; }
}

.site-header { --header-logo-width: clamp(138px, 13vw, 180px); }
.site-header .brand-logo { width: var(--header-logo-width); }
.header-actions .header-cta { position: relative; height: calc(var(--header-logo-width) * 207.9 / 942); min-height: 0; padding-block: 0; line-height: 1; border-radius: 7px; font-size: .8rem; }
.header-actions .header-cta::before { content: ""; position: absolute; inset-inline: 0; top: 50%; height: max(44px, 100%); transform: translateY(-50%); }
@media (max-width: 1100px) {
  .site-header { --header-logo-width: 138px; }
}
@media (max-width: 380px) {
  .site-header { --header-logo-width: 112px; }
  .header-actions .header-cta { font-size: .75rem; }
}

.site-header .menu-toggle { position: relative; width: calc(var(--header-logo-width) * 189 / 942 + 2px); height: calc(var(--header-logo-width) * 189 / 942 + 2px); min-width: 0; min-height: 0; aspect-ratio: 1; padding: 0; border-radius: 7px; gap: 5px; }
.site-header .menu-toggle span:not(.sr-only) { width: 14px; }
.site-header .menu-toggle[aria-expanded="true"] span:nth-last-child(2) { transform: translateY(3px) rotate(45deg); }
.site-header .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.site-header .menu-toggle::before { content: ""; position: absolute; width: max(44px, 100%); height: max(44px, 100%); left: 50%; top: 50%; transform: translate(-50%, -50%); }

.contact-page .contact-with-form { align-content: center; gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(1.5rem, 3vw, 3rem); }
.contact-page .contact-inner { width: 100%; max-width: none; }
.contact-page h1 { width: 100%; max-width: none; margin-bottom: 0; font-size: clamp(1.65rem, 6.5vw, 6rem); line-height: 1.15; }
.contact-page .contact-form { width: 100%; padding: clamp(1.25rem, 2vw, 1.75rem); }
.contact-page .contact-fields { gap: .85rem 1rem; }
.contact-page .contact-fields label { gap: .4rem; }
.contact-page .contact-fields input,
.contact-page .contact-fields textarea { padding: .65rem .8rem; }
.contact-page .contact-fields textarea { min-height: 96px; }
.contact-page .form-note { margin: .75rem 0; }
@media (min-width: 901px) {
  .contact-page .contact-with-form { grid-template-columns: minmax(280px, .75fr) minmax(520px, 1.25fr); }
  .contact-page .contact-form { max-width: 760px; justify-self: end; }
  .contact-page h1 { max-width: 8ch; font-size: clamp(3rem, 4.5vw, 5.25rem); }
}

.device-block > p { max-width: 75ch; color: var(--muted); line-height: 1.85; font-size: 1rem; }
.device-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.device-grid li { padding: 1.2rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-control); background: white; font-size: 1rem; font-weight: 500; }
@media (max-width: 620px) {
  .device-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .device-grid li { padding: 1rem; }
}

.service-overview { max-width: 78ch; margin-top: 1.5rem; }
.service-overview p, .editorial-block p { color: var(--muted); font-size: 1rem; line-height: 1.75; }
.service-overview p:last-child, .editorial-block p:last-child { margin-bottom: 0; }
.editorial-block { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; max-width: none; padding-block: clamp(1.25rem, 2.5vw, 2.5rem); }
.editorial-block:nth-of-type(even) { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.editorial-block:nth-of-type(even) .editorial-copy { order: 2; }
.editorial-block:nth-of-type(even) figure { order: 1; }
.editorial-block .eyebrow { margin-bottom: .75rem; color: #c34308; }
.editorial-block h2 { max-width: 24ch; margin-bottom: 1rem; font-size: clamp(1.6rem, 2.25vw, 2.35rem); line-height: 1.18; }
.editorial-block figure { margin: 0; overflow: hidden; border-radius: var(--radius-panel); background: var(--ink-soft); }
.editorial-block img { display: block; width: 100%; height: auto; object-fit: contain; }
@media (max-width: 800px) {
  .editorial-block, .editorial-block:nth-of-type(even) { grid-template-columns: 1fr; gap: 1.25rem; }
  .editorial-block:nth-of-type(even) .editorial-copy, .editorial-block:nth-of-type(even) figure { order: initial; }
}

.device-showcase li { padding: 0; overflow: hidden; background: var(--paper); }
.device-showcase img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.device-showcase span { display: block; padding: 1rem 1.25rem; }
@media (max-width: 900px) {
  .device-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .device-showcase { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .device-showcase li { padding: 0; }
  .device-showcase span { padding: .8rem; font-size: .875rem; }
}

.masterplan-page .page-lead { padding-bottom: 1.5rem; }
.masterplan-page .detail-block, .masterplan-page .detail-columns { margin-block: 2rem; }
.masterplan-page .device-block { margin-top: 0; }
.masterplan-page .detail-block > h2, .masterplan-page .detail-columns h2 { margin-bottom: 1rem; }
.masterplan-page .service-detail { padding-bottom: 3rem; }
.masterplan-page .related-section, .masterplan-page .page-cta { padding-block: 3rem; }

.expertise-grid article { position: relative; isolation: isolate; overflow: hidden; }
.expertise-grid article[data-expertise="3d-configurators"] { --expertise-image: url("assets/projects/kitchen-configurator.jpg"); }
.expertise-grid article[data-expertise="interactive-masterplans"] { --expertise-image: url("assets/hero-slides/marina-arc.jpg"); }
.expertise-grid article[data-expertise="spatial-experiences"] { --expertise-image: url("assets/projects/vr-mesh-apartment.jpg"); }
.expertise-grid article[data-expertise="gis-mapping"] { --expertise-image: url("assets/projects/gis-3d-assets.jpg"); }
.expertise-grid article[data-expertise="custom-software"] { --expertise-image: url("assets/projects/tiles-configurator.jpg"); }
.expertise-grid article[data-expertise="animation-motion"] { --expertise-image: url("assets/hero-slides/coastline-masterplan.jpg"); }
/* A visual workflow reference, without presenting this demo as an AI case study. */
.expertise-grid article[data-expertise="ai-integrations"] { --expertise-image: url("assets/projects/industrial-gis.jpg"); }
.expertise-grid article::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(110deg, #f4f2ecf2 8%, #f4f2ecd4 48%, #f4f2ec4d 100%), var(--expertise-image); background-position: center; background-size: cover; filter: saturate(1.08) contrast(1.04); transition: transform .4s ease; }
.expertise-grid article:hover { transform: translateY(-3px); border-color: #ff671d70; box-shadow: 0 22px 44px #00152b1a; }
.expertise-grid article:hover::before { transform: scale(1.035); }
.expertise-grid article:hover h3 a, .expertise-grid article:focus-within h3 a { color: var(--orange); }
.expertise-grid article p { align-self: flex-start; padding: .55rem .7rem; margin-left: -.7rem; border-radius: 8px; background: #f4f2ecb8; color: #243b53; font-weight: 500; line-height: 1.7; box-shadow: 0 6px 18px #f4f2ec52; backdrop-filter: blur(4px); }
.expertise-grid .project-open { align-self: flex-start; margin-top: auto; background: var(--ink); border-color: var(--ink); color: white; box-shadow: 0 8px 20px #00152b24; }
.expertise-grid .project-open:hover, .expertise-grid .project-open:focus-visible { background: var(--orange); border-color: var(--orange); color: white; }

.expertise-intro .page-summary { max-width: none; }
.expertise-intro-description { max-width: 80ch; margin: 1.25rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.85; }
@media (min-width: 901px) {
  .expertise-intro .page-summary { white-space: nowrap; font-size: clamp(1rem, 1.3vw, 1.25rem); }
}

.technology-section { background: var(--ink); color: white; }
.technology-intro { max-width: 70ch; color: #b8c6d2; font-size: 1.1rem; line-height: 1.8; margin-bottom: 3rem; }
.technology-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.technology-grid article { display: flex; flex-direction: column; min-width: 0; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid #ffffff26; border-radius: var(--radius-panel); background: #ffffff05; }
.technology-grid h3 { margin-bottom: .8rem; font-size: clamp(1.2rem, 2vw, 1.6rem); }
.technology-grid p { margin-bottom: 1.5rem; color: #b8c6d2; font-size: 1rem; line-height: 1.8; }
.technology-tags { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: auto 0 0; list-style: none; }
.technology-tags li { padding: .45rem .7rem; border: 1px solid #ff671d66; border-radius: 8px; color: #ffe1cf; font-size: .875rem; line-height: 1.5; }
@media (max-width: 620px) {
  .technology-grid { grid-template-columns: 1fr; gap: 1rem; }
}

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

/* Compact spacing between Expertise overview sections. */
.expertise-intro { padding-bottom: clamp(1.5rem, 2.5vw, 2.5rem); }
.expertise-catalogue { padding-bottom: clamp(2.5rem, 5vw, 5rem); }
.expertise-catalogue .detail-block { margin-top: 2.5rem; margin-bottom: 0; }
.technology-section { padding-block: clamp(3rem, 5vw, 5rem); }

/* Complete footer columns with studio and contact information. */
.footer-group { display: grid; gap: 1rem; min-width: 0; }
.footer-group > a { color: white; font-size: 1rem; font-weight: 600; line-height: 1.5; }
.footer-group > a:hover { color: var(--orange); }
.footer-categories span { color: #9db0c1; }
.footer-categories strong { display: block; font-weight: 500; color: #c7d3dd; }
.site-footer .footer-links { grid-template-columns: 1.25fr 1.4fr 1fr 1fr; }
#approach { scroll-margin-top: calc(var(--header-height) + 1.5rem); }
@media (max-width: 620px) {
  .site-footer .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

body.demo-open { overflow: hidden; }
.demo-dialog { width: min(680px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); margin: auto; padding: 0; border: 0; border-radius: var(--radius-panel); background: var(--paper); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.demo-dialog::backdrop { background: #00172bba; backdrop-filter: blur(5px); }
.demo-dialog-heading { position: relative; padding: 1.5rem 4rem 0 1.5rem; }
.demo-dialog-heading h2 { font-size: 1.8rem; margin-bottom: .5rem; }
.demo-dialog-heading p { color: var(--muted); margin: 0; }
.demo-close { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--ink); font-size: 1.8rem; cursor: pointer; }
.demo-dialog .contact-form { padding: 1.5rem; }

.demo-dialog select { width: 100%; min-width: 0; border: 1px solid #00152b40; border-radius: 10px; padding: .8rem .9rem; background: white; color: var(--ink); font: inherit; font-size: 1rem; }
.demo-dialog select:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.demo-schedule { min-width: 0; margin: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; }
.demo-schedule[hidden] { display: none; }
.demo-schedule legend { padding-inline: .35rem; font-size: .85rem; font-weight: 500; }
.demo-schedule-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.demo-schedule .form-note { margin-bottom: 0; }
.demo-dialog-heading h2 { max-width: none; width: auto; }

.demo-format-options { min-width: 0; margin: 0; padding: 0; border: 0; }
.demo-format-options legend { margin-bottom: .75rem; font-size: .85rem; font-weight: 500; }
.demo-format-options label { display: flex; align-items: center; gap: .75rem; min-height: 48px; padding: .65rem .85rem; margin-top: .5rem; border: 1px solid var(--line); border-radius: 10px; background: white; cursor: pointer; }
.demo-format-options label:has(input:checked) { border-color: var(--orange); background: #ff671d0a; }
.demo-format-options input[type="checkbox"] { flex: 0 0 20px; width: 20px; height: 20px; margin: 0; padding: 0; accent-color: var(--orange); }

.demo-dialog select[name="time_zone"] { appearance: none; -webkit-appearance: none; padding-right: 3rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12' viewBox='0 0 16 12'%3E%3Cpath d='M2 3l6 6 6-6' fill='none' stroke='%2300172b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px 12px; }
