/* Base sheet-glass layout and native disclosure; final 0.9 material treatment follows in glass-amplified.css. */
:root {
  --glass-edge: rgba(255, 255, 255, .9);
  --glass-outline: rgba(103, 139, 148, .28);
}

html { scroll-padding-top: 105px; }
body { background: #F5F6F4; }

/* The menu is the clearest frosted-glass interaction. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 249, 248, .96);
  border-bottom-color: rgba(130, 157, 160, .28);
}
.header-inner { grid-template-columns: 1fr auto 1fr; gap: 24px; }
.header-location { text-align: center; }
.site-nav { justify-content: end; gap: 12px; }
.nav-disclosure { position: relative; }
.menu-trigger,
.header-contact {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 18px;
  font: 13px/1.2 var(--semantic-type-body);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 999px;
  cursor: pointer;
}
.menu-trigger {
  list-style: none;
  min-width: 180px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(161, 185, 189, .64);
  box-shadow: inset 1px 1px 0 #fff, 0 7px 18px rgba(49, 78, 83, .06);
}
.menu-trigger::-webkit-details-marker { display: none; }
.menu-trigger:focus-visible,
.header-contact:focus-visible { outline: 2px solid var(--petrol); outline-offset: 3px; }
.nav-disclosure[open] .menu-trigger { background: #DDEBED; border-color: #A6C4C9; }
.menu-glyph { width: 16px; height: 16px; display: grid; align-content: center; gap: 4px; }
.menu-glyph i { display: block; width: 16px; height: 1px; background: #285B64; transition: transform .2s ease; }
.nav-disclosure[open] .menu-glyph i:first-child { transform: translateY(2.5px) rotate(45deg); }
.nav-disclosure[open] .menu-glyph i:last-child { transform: translateY(-2.5px) rotate(-45deg); }
.header-contact {
  color: #1D4D58;
  background: linear-gradient(125deg, rgba(255,255,255,.96), rgba(191,218,224,.8) 62%, rgba(239,246,247,.95));
  border: 1px solid #A9C4C9;
  box-shadow: inset 1px 2px 0 rgba(255,255,255,.9), inset -2px -2px 4px rgba(66,110,120,.12);
}
.header-contact span { font-size: 18px; }
.menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(520px, calc(100vw - 44px));
  max-height: calc(100svh - 100px);
  overflow: auto;
  isolation: isolate;
  padding: 26px;
  border-radius: var(--component-frost-menu-radius);
  border: 1px solid rgba(255, 255, 255, .94);
  background: var(--component-frost-menu-fill);
  box-shadow: 0 32px 80px rgba(28, 51, 57, .2), inset 1px 1px 0 #fff;
  -webkit-backdrop-filter: blur(var(--component-frost-menu-blur)) saturate(.94);
  backdrop-filter: blur(var(--component-frost-menu-blur)) saturate(.94);
}
.menu-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.36), transparent 42%, rgba(187,215,220,.12));
  pointer-events: none;
}
.menu-panel > * { position: relative; z-index: 1; }
.menu-top,
.menu-bottom a { font: 10px/1.45 var(--mono); letter-spacing: .015em; }
.menu-top { display: flex; justify-content: space-between; gap: 12px; color: #41646A; padding-bottom: 22px; }
.menu-links { border-top: 1px solid rgba(94, 125, 130, .24); }
.menu-links a {
  display: grid;
  grid-template-columns: 36px 1fr 22px;
  align-items: baseline;
  gap: 10px;
  min-height: 58px;
  border-bottom: 1px solid rgba(94, 125, 130, .24);
  text-decoration: none;
  padding: 12px 3px;
}
.menu-links a:hover,
.menu-links a:focus-visible { color: #155B68; background: rgba(255,255,255,.28); }
.menu-links a span:first-child { font: 10px/1 var(--mono); color: #527178; }
.menu-links a strong { font: 500 clamp(21px, 2.2vw, 30px)/1.13 var(--semantic-type-display); letter-spacing: -.045em; }
.menu-links a span:last-child { font-size: 18px; line-height: 1; }
.menu-bottom { display: flex; justify-content: space-between; align-items: end; gap: 22px; padding-top: 24px; }
.menu-bottom p { font-size: 13px; line-height: 1.45; max-width: 24ch; }
.menu-bottom a { color: #205D68; max-width: 15ch; }

/* Quiet canvas; the panels read as uninterrupted sheets. */
.hero {
  background: linear-gradient(120deg, #F5F6F4 0, #EDF3F2 55%, #E6F0F0 100%);
}
.hero::before { background: none; }
.hero-shell { gap: 26px; }
.hero-panel,
.hero-object { position: relative; border-radius: 30px; }
.hero-panel {
  isolation: isolate;
  background: linear-gradient(140deg, rgba(255,255,255,.82), rgba(236,245,244,.62));
  border: 1px solid var(--glass-edge);
  box-shadow: 0 22px 55px rgba(64, 98, 104, .09), inset 1px 1px 0 #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.3) 68%, rgba(179,212,217,.08) 100%);
  pointer-events: none;
  z-index: -1;
}
.hero-object {
  background: linear-gradient(150deg, rgba(255,255,255,.78), rgba(239,247,247,.53));
  border: 1px solid rgba(255,255,255,.92);
  box-shadow: 0 25px 60px rgba(51, 86, 96, .13), inset 1px 1px 0 #fff, inset -2px -3px 5px rgba(55, 102, 113, .14);
}
.hero-object::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(124, 160, 169, .22);
}
.hero-object img { mix-blend-mode: normal; }
.hero-strip { border-top: 1px solid rgba(110, 151, 158, .28); padding-top: 19px; }
.text-cta span { color: #286674; }

.manifesto::before {
  inset: 6% 0;
  background: radial-gradient(ellipse at 68% 60%, rgba(201,225,228,.44), transparent 55%);
  -webkit-mask-image: none;
  mask-image: none;
}
.manifesto-copy { position: relative; overflow: hidden; border-color: var(--glass-edge); background: var(--component-glass-soft-frost-fill); -webkit-backdrop-filter: blur(var(--component-glass-soft-frost-blur)); backdrop-filter: blur(var(--component-glass-soft-frost-blur)); }

.services { position: relative; isolation: isolate; background: #EDF3F2; }
.service-card { overflow: hidden; isolation: isolate; background: rgba(250,253,252,.72); border-color: var(--glass-edge); }
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(145deg, rgba(255,255,255,.5), transparent 36%, rgba(172,205,212,.13) 100%);
}
.service-card:nth-child(2)::before {
  background: linear-gradient(130deg, rgba(255,255,255,.46), transparent 52%, rgba(182,213,219,.24));
}
.service-card:nth-child(3) { background: linear-gradient(145deg, rgba(242,250,250,.86), rgba(217,236,239,.74)); }
.service-arrow { border: 1px solid rgba(88,131,141,.38); border-radius: 50%; width: 34px; height: 34px; display: grid; place-items: center; font-size: 17px; background: rgba(255,255,255,.46); }

.studies { background: radial-gradient(ellipse at 95% 0, #274D58, #172C33 46%, #12252C 100%); }
.studies::before { display: none; }
.studies-copy { background: rgba(12, 34, 42, .64); border-color: rgba(222,243,244,.25); }
.study-image { box-shadow: 0 24px 55px rgba(0,0,0,.19); }
.approach-card { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(145deg, rgba(255,255,255,.84), rgba(227,241,241,.54)); }
.approach-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255,255,255,.4), transparent 50%, rgba(179,211,216,.17));
}
.approach-card:nth-child(2)::before { opacity: .8; }
.approach-card:nth-child(3)::before { opacity: .55; }

.studio { background: #F5F6F4; }
.studio-marker { position: relative; isolation: isolate; overflow: hidden; background: rgba(237,245,245,.74); }
.studio-marker::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, rgba(255,255,255,.36), transparent 50%, rgba(174,206,213,.2));
}
.studio-copy { background: linear-gradient(145deg, rgba(255,255,255,.82), rgba(234,245,244,.75)); border-color: var(--glass-edge); }

.contact { background: #E9F1F1; }
.contact-panel { position: relative; isolation: isolate; overflow: hidden; background: rgba(250,253,252,.74); border-color: var(--glass-edge); }
.contact-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, rgba(255,255,255,.28), transparent 54%, rgba(183,214,220,.18));
}
.site-footer { border-top: 7px solid #9DC7CF; }

@media (max-width: 1200px) {
  .header-inner { grid-template-columns: auto 1fr; }
  .site-nav { justify-content: end; }
}
@media (max-width: 780px) {
  html { scroll-padding-top: 90px; }
  .header-inner { grid-template-columns: auto 1fr; align-items: center; }
  .site-nav { flex-wrap: nowrap; }
  .hero-shell { gap: 16px; }
  .menu-panel { right: 0; }
}
@media (max-width: 580px) {
  .site-nav .header-contact { display: none; }
  .menu-trigger { min-width: 0; padding: 0 14px; gap: 12px; font-size: 12px; }
  .menu-panel { right: 0; padding: 20px; max-height: calc(100svh - 90px); background: rgba(238,245,244,.88); -webkit-backdrop-filter: blur(36px) saturate(.9); backdrop-filter: blur(36px) saturate(.9); }
  .menu-links a { min-height: 55px; }
  .menu-bottom { display: block; }
  .menu-bottom a { display: inline-block; max-width: none; margin-top: 16px; }
  .hero-panel::before { opacity: .65; }
  .contact-panel::before { opacity: .55; }
}
@media (max-width: 350px) {
  .menu-trigger span:first-child { max-width: 8ch; white-space: normal; }
  .menu-trigger { min-height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-glyph i { transition: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: #F7F9F8; }
  .menu-panel { background: #EDF4F3; }
}
@media print {
  .site-header { position: static; }
  .hero, .services, .studies, .studio, .contact { background: #fff; }
  .menu-panel { display: none; }
}
