:root {
  --c-alabaster: #F5F5F0;
  --c-pearl: #ECE9E0;
  --c-ivory: #F2EFE7;
  --c-pale-blue: #DDE3EA;
  --c-cobalt: #1D4ED8;
  --c-cobalt-deep: #173EAD;
  --c-graphite: #1F2937;
  --c-graphite-soft: #374151;
  --c-emerald: #047857;
  --c-terracotta: #C4552D;
  --c-line: rgba(31, 41, 55, 0.18);
  --c-shadow: 0 40px 80px -30px rgba(31, 41, 55, 0.25);
  --c-shadow-hover: 0 50px 100px -40px rgba(0, 0, 0, 0.4);
  --f-display: "Inter Tight", "Helvetica Neue", system-ui, sans-serif;
  --f-body: "Inter", "Helvetica Neue", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", "Menlo", monospace;
  --t-cubic: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--c-alabaster);
  color: var(--c-graphite);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 100vw;
}

body {
  background:
    linear-gradient(180deg, var(--c-alabaster) 0%, var(--c-pearl) 100%);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(0deg, transparent 0 99px, rgba(31, 41, 55, 0.04) 99px 100px),
    repeating-linear-gradient(90deg, transparent 0 99px, rgba(31, 41, 55, 0.04) 99px 100px);
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  color: var(--c-graphite);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5.6rem);
  letter-spacing: -0.04em;
  font-weight: 900;
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 3.4rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
}

p, li, span, label, input, textarea, button, a {
  color: var(--c-graphite);
}

strong, b {
  color: inherit;
}

a {
  color: var(--c-cobalt);
  text-decoration: none;
  transition: color 0.25s var(--t-smooth);
}

a:hover {
  color: var(--c-cobalt-deep);
}

.mono-label {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-terracotta);
  display: inline-block;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-terracotta);
  margin-bottom: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.eyebrow::before {
  content: "▍";
  color: var(--c-cobalt);
}

.shell {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

@media (min-width: 768px) {
  .shell { padding: 0 2rem; }
}

.diagonal-clay {
  background: var(--c-alabaster);
  clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%);
  position: relative;
}

.pearl-shift {
  background: var(--c-pearl);
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
  position: relative;
  color: var(--c-graphite);
}

.ivory-shift {
  background: var(--c-ivory);
  clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
  position: relative;
  color: var(--c-graphite);
}

.cobalt-shift {
  background: var(--c-cobalt);
  color: #FFFFFF;
  clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 94%);
  position: relative;
}

.cobalt-shift h1,
.cobalt-shift h2,
.cobalt-shift h3,
.cobalt-shift h4,
.cobalt-shift p,
.cobalt-shift li,
.cobalt-shift span,
.cobalt-shift label,
.cobalt-shift a,
.cobalt-shift .mono-label,
.cobalt-shift .eyebrow {
  color: #FFFFFF;
}

.cobalt-shift .eyebrow::before {
  color: var(--c-terracotta);
}

.cobalt-shift a:hover {
  color: var(--c-pearl);
}

.glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--c-shadow);
  border-radius: 18px;
  position: relative;
  color: var(--c-graphite);
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  border-radius: 18px 18px 0 0;
  pointer-events: none;
}

.glass-cobalt {
  background: rgba(29, 78, 216, 0.18);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border: 1px solid rgba(29, 78, 216, 0.3);
  box-shadow: var(--c-shadow);
  color: #FFFFFF;
  border-radius: 18px;
}

.glass-cobalt h1,
.glass-cobalt h2,
.glass-cobalt h3,
.glass-cobalt h4,
.glass-cobalt p,
.glass-cobalt li,
.glass-cobalt span,
.glass-cobalt a {
  color: #FFFFFF;
}

.top-stripe {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: var(--c-graphite);
  color: #FFFFFF;
  z-index: 999;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  pointer-events: none;
}

.top-stripe > * {
  color: #FFFFFF;
}

.top-stripe .stripe-domain {
  font-weight: 600;
}

.top-stripe .stripe-meta {
  margin-left: auto;
  opacity: 0.7;
}

.site-header {
  position: fixed;
  top: 28px;
  left: 0;
  right: 0;
  height: 76px;
  z-index: 990;
  background: rgba(245, 245, 240, 0.85);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(31, 41, 55, 0.08);
  transition: transform 0.4s var(--t-smooth);
}

.site-header.is-scrolled {
  transform: translateY(-100%);
}

.header-shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--c-graphite);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  background: var(--c-graphite);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
  color: #FFFFFF;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.7), rgba(196, 85, 45, 0.4));
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
  z-index: -1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text small {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--c-terracotta);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--f-body);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--c-graphite);
  position: relative;
  padding: 0.4rem 0;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--c-terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--t-smooth);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.burger {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(31, 41, 55, 0.2);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.burger span {
  position: absolute;
  width: 18px;
  height: 1.5px;
  background: var(--c-graphite);
  transform: rotate(-12deg);
  transition: transform 0.3s var(--t-cubic);
}

.burger span:nth-child(2) {
  transform: rotate(12deg) translateY(2px);
}

.burger.is-open span:nth-child(1) {
  transform: rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  transform: rotate(-45deg) translateY(-2px);
}

@media (min-width: 1024px) {
  .burger { display: none; }
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(245, 245, 240, 0.96);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 6rem 1.6rem 2rem;
  transform: translateY(-100%);
  transition: transform 0.5s var(--t-smooth);
}

.mobile-overlay.is-open {
  transform: translateY(0);
}

.mobile-overlay ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-overlay a {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 7vw, 2.4rem);
  font-weight: 800;
  color: var(--c-graphite);
  letter-spacing: -0.02em;
  display: inline-block;
  padding: 0.4rem 0;
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.5s var(--t-cubic), opacity 0.4s ease;
}

.mobile-overlay.is-open a {
  transform: translateY(0);
  opacity: 1;
}

.mobile-overlay.is-open li:nth-child(1) a { transition-delay: 0.08s; }
.mobile-overlay.is-open li:nth-child(2) a { transition-delay: 0.16s; }
.mobile-overlay.is-open li:nth-child(3) a { transition-delay: 0.24s; }
.mobile-overlay.is-open li:nth-child(4) a { transition-delay: 0.32s; }
.mobile-overlay.is-open li:nth-child(5) a { transition-delay: 0.40s; }
.mobile-overlay.is-open li:nth-child(6) a { transition-delay: 0.48s; }
.mobile-overlay.is-open li:nth-child(7) a { transition-delay: 0.56s; }
.mobile-overlay.is-open li:nth-child(8) a { transition-delay: 0.64s; }

main {
  padding-top: 104px;
  min-height: 60vh;
}

.hero-mosaic {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  min-height: calc(100vh - 104px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  overflow: hidden;
  background: var(--c-alabaster);
  color: var(--c-graphite);
}

@media (min-width: 1024px) {
  .hero-mosaic {
    grid-template-columns: 1.1fr 1fr;
  }
}

.hero-copy {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.2rem 3rem;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-copy { padding: 5rem 2rem 4rem; }
}

.hero-headline {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 9vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--c-graphite);
  margin: 0 0 1.2rem;
}

.hero-headline .cut-bleed {
  display: block;
  background: linear-gradient(120deg, var(--c-cobalt) 30%, rgba(31, 41, 55, 0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 0.5em;
}

.hero-sub {
  max-width: 38ch;
  font-size: 1.05rem;
  color: var(--c-graphite-soft);
  margin: 0 0 1.8rem;
  line-height: 1.7;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1.6rem;
}

.hero-coord {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--c-terracotta);
  text-transform: uppercase;
}

.hero-collage {
  position: relative;
  min-height: 420px;
  background: var(--c-pearl);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  overflow: hidden;
}

.collage-tile {
  position: absolute;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--c-shadow);
  border: 4px solid #FFFFFF;
  background: var(--c-pearl);
  transition: transform 0.5s var(--t-smooth);
  max-width: 100%;
}

.collage-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: 100%;
}

@media (max-width: 767px) {
  .hero-collage {
    min-height: 280px;
    max-width: 100vw;
    overflow: hidden;
  }
  
  .collage-tile.tile-1 {
    top: 5%;
    left: 2%;
    width: 60%;
    height: 60%;
    transform: rotate(-3deg);
    z-index: 3;
  }
  
  .collage-tile.tile-2 {
    top: 15%;
    right: 2%;
    width: 42%;
    height: 38%;
    transform: rotate(6deg);
    z-index: 2;
  }
  
  .collage-tile.tile-3 {
    bottom: 3%;
    right: 4%;
    width: 44%;
    height: 30%;
    transform: rotate(-4deg);
    z-index: 4;
  }
}

@media (min-width: 1024px) {
  .hero-collage {
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  }
}

.hero-collage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 78, 216, 0.08) 0%, transparent 100%);
  z-index: 1;
}



.collage-tile.tile-1 {
  top: 8%;
  left: 4%;
  width: 56%;
  height: 64%;
  transform: rotate(-3deg);
  z-index: 3;
}

.collage-tile.tile-2 {
  top: 18%;
  right: 2%;
  width: 38%;
  height: 40%;
  transform: rotate(6deg);
  z-index: 2;
}

.collage-tile.tile-3 {
  bottom: 4%;
  right: 8%;
  width: 40%;
  height: 32%;
  transform: rotate(-4deg);
  z-index: 4;
  background: var(--c-ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.collage-tile.tile-3 .mono-vertical {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--c-terracotta);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
}

@media (min-width: 1024px) {
  .hero-collage:hover .collage-tile.tile-1 { transform: rotate(-1deg) translate(-6px, -6px); }
  .hero-collage:hover .collage-tile.tile-2 { transform: rotate(2deg) translate(6px, -4px); }
  .hero-collage:hover .collage-tile.tile-3 { transform: rotate(-1deg) translate(4px, -4px); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.3s var(--t-cubic), box-shadow 0.3s var(--t-smooth), background 0.25s ease;
  white-space: nowrap;
  color: var(--c-graphite);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--c-cobalt);
  color: #FFFFFF;
  box-shadow: 0 18px 40px -16px rgba(29, 78, 216, 0.55);
}

.btn-primary:hover {
  background: var(--c-cobalt-deep);
  color: #FFFFFF;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 22px 50px -16px rgba(29, 78, 216, 0.7);
}

.btn-ghost {
  background: transparent;
  border-color: var(--c-graphite);
  color: var(--c-graphite);
}

.btn-ghost:hover {
  background: var(--c-graphite);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-soft {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(31, 41, 55, 0.18);
  color: var(--c-graphite);
}

.btn-soft:hover {
  background: #FFFFFF;
  color: var(--c-graphite);
  transform: translateY(-2px);
}

.btn-arrow {
  font-size: 1.1rem;
  transition: transform 0.3s var(--t-cubic);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.section-block {
  padding: 5rem 0;
  position: relative;
}

@media (min-width: 768px) {
  .section-block { padding: 7rem 0; }
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2.4rem;
  max-width: 720px;
}

.section-head .head-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-head .head-index {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--c-terracotta);
  letter-spacing: 0.22em;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 2.4rem;
  max-width: 100%;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.4rem;
  }
}

.bento-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--c-graphite);
  box-shadow: var(--c-shadow);
  transition: transform 0.45s var(--t-cubic), z-index 0s 0.45s, box-shadow 0.4s ease;
  min-height: 200px;
  z-index: 1;
}

.bento-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--c-shadow-hover);
  z-index: 30;
  transition-delay: 0s;
}

.bento-card .bento-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(29, 78, 216, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-cobalt);
}

.bento-card .bento-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bento-card h3 {
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
  color: var(--c-graphite);
}

.bento-card .bento-text {
  font-size: 0.9rem;
  color: var(--c-graphite-soft);
  line-height: 1.55;
  margin: 0;
}

.bento-card .bento-price {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--c-terracotta);
  text-transform: uppercase;
  margin-top: 0.6rem;
  display: block;
}

.bento-card .bento-arrow {
  position: absolute;
  bottom: 1.2rem;
  right: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-graphite);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform 0.3s var(--t-cubic);
}

.bento-card:hover .bento-arrow {
  background: var(--c-cobalt);
  transform: rotate(-12deg) scale(1.1);
}

.bento-card.large {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.92), rgba(31, 41, 55, 0.88));
  color: #FFFFFF;
}

.bento-card.large h3,
.bento-card.large p,
.bento-card.large span,
.bento-card.large .bento-price {
  color: #FFFFFF;
}

.bento-card.large .bento-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

.bento-card.large .bento-arrow {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

@media (min-width: 768px) {
  .bento-card.b1 { grid-column: span 4; grid-row: span 2; }
  .bento-card.b2 { grid-column: span 2; grid-row: span 2; }
  .bento-card.b3 { grid-column: span 3; grid-row: span 1; }
  .bento-card.b4 { grid-column: span 3; grid-row: span 1; }
  .bento-card.b5 { grid-column: span 2; grid-row: span 1; }
  .bento-card.b6 { grid-column: span 2; grid-row: span 1; }
  .bento-card.b7 { grid-column: span 2; grid-row: span 1; }
}

.node-graph {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: center;
  position: relative;
}

@media (min-width: 900px) {
  .node-graph {
    grid-template-columns: 1.05fr 1fr;
  }
}

.node-portrait {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
  margin: 0 auto;
  background: var(--c-ivory);
  border-radius: 50%;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--c-shadow);
}

.node-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  filter: grayscale(0.1) contrast(1.05);
}

.node-portrait::before {
  content: "ATELIER";
  position: absolute;
  top: -0.6rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-graphite);
  color: #FFFFFF;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  z-index: 2;
}

.node-portrait::after {
  content: "EST. 2012";
  position: absolute;
  bottom: 1rem;
  right: -0.4rem;
  background: var(--c-terracotta);
  color: #FFFFFF;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.node-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.node-timeline li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.35s var(--t-cubic), background 0.3s ease;
  color: var(--c-graphite);
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (max-width: 480px) {
  .node-timeline li {
    grid-template-columns: 60px 1fr;
    gap: 0.6rem;
    padding: 0.8rem;
  }
  
  .node-timeline .node-year {
    font-size: 0.9rem;
  }
  
  .node-timeline .node-text {
    font-size: 0.85rem;
  }
}

.node-timeline li:hover {
  transform: translateX(8px);
  background: rgba(255, 255, 255, 0.92);
}

.node-timeline .node-year {
  font-family: var(--f-mono);
  font-size: 1.1rem;
  color: var(--c-cobalt);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.node-timeline .node-text {
  font-size: 0.92rem;
  color: var(--c-graphite);
  line-height: 1.55;
}

.coverflow-wrap {
  position: relative;
  margin-top: 2rem;
  overflow: hidden;
  padding-left: 1rem;
  padding-right: 1rem;
}

.coverflow-stage {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 2.4rem 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  max-width: 100vw;
}

.coverflow-card {
  flex: 0 0 260px;
  min-height: 320px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  scroll-snap-align: center;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  color: var(--c-graphite);
  box-shadow: var(--c-shadow);
  position: relative;
}

@media (min-width: 1024px) {
  .coverflow-card { flex: 0 0 280px; min-height: 360px; }
}

.coverflow-card .cf-step {
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  color: var(--c-terracotta);
  text-transform: uppercase;
}

.coverflow-card .cf-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(4, 120, 87, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-emerald);
}

.coverflow-card .cf-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.coverflow-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  color: var(--c-graphite);
}

.coverflow-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--c-graphite-soft);
  margin: 0;
}

.coverflow-nav {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1.2rem;
}

.coverflow-nav button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(31, 41, 55, 0.2);
  background: rgba(255, 255, 255, 0.8);
  color: var(--c-graphite);
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.25s ease, transform 0.3s var(--t-cubic);
}

.coverflow-nav button:hover {
  background: var(--c-terracotta);
  color: #FFFFFF;
  transform: scale(1.08);
}

.stack-cards {
  position: relative;
  margin-top: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stack-card {
  position: relative;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  padding: 1.6rem;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.2rem;
  align-items: start;
  transition: transform 0.45s var(--t-cubic), box-shadow 0.4s ease;
  color: var(--c-graphite);
  cursor: pointer;
  z-index: 1;
}

.stack-card:hover,
.stack-card.is-active {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--c-shadow-hover);
  z-index: 10;
}

.stack-card .stack-num {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--c-emerald);
  font-weight: 700;
}

.stack-card .stack-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(4, 120, 87, 0.14);
  color: var(--c-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stack-card .stack-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stack-card h4 {
  margin: 0 0 0.4rem;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--c-graphite);
}

.stack-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--c-graphite-soft);
}

.masonry-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 2.2rem;
}

@media (min-width: 700px) {
  .masonry-rail {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .masonry-rail {
    grid-template-columns: repeat(3, 1fr);
  }
}

.masonry-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-radius: 18px;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--c-graphite);
  position: relative;
  transform: rotate(-1.2deg);
  transition: transform 0.45s var(--t-cubic), box-shadow 0.4s ease;
  box-shadow: var(--c-shadow);
}

.masonry-card:nth-child(2n) { transform: rotate(1.6deg); }
.masonry-card:nth-child(3n) { transform: rotate(-0.6deg); }
.masonry-card:nth-child(5n) { transform: rotate(2.4deg); }

.masonry-card:hover {
  transform: rotate(0) translateY(-8px) scale(1.02);
  box-shadow: var(--c-shadow-hover);
}

.masonry-card .ms-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.masonry-card .ms-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-pearl);
  overflow: hidden;
  border: 2px solid #FFFFFF;
  box-shadow: 0 6px 14px -6px rgba(31, 41, 55, 0.3);
}

.masonry-card .ms-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.masonry-card .ms-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-graphite);
}

.masonry-card .ms-role {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--c-terracotta);
  text-transform: uppercase;
}

.masonry-card .ms-stars {
  color: var(--c-emerald);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.masonry-card .ms-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--c-graphite-soft);
  margin: 0;
}

.stats-rail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .stats-rail { grid-template-columns: repeat(4, 1fr); }
}

.stats-rail li {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.95), rgba(31, 41, 55, 0.9));
  color: #FFFFFF;
  padding: 1.1rem 1rem;
  border-radius: 14px;
  text-align: center;
  transform: rotate(-1deg);
  box-shadow: var(--c-shadow);
}

.stats-rail li:nth-child(2) { transform: rotate(1.5deg); }
.stats-rail li:nth-child(3) { transform: rotate(-0.5deg); }
.stats-rail li:nth-child(4) { transform: rotate(1deg); }

.stats-rail li .stat-num {
  display: block;
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.stats-rail li .stat-label {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.accordion-rail {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  transform: rotate(0.6deg);
  transition: transform 0.45s var(--t-cubic), background 0.3s ease, box-shadow 0.3s ease;
  color: var(--c-graphite);
  cursor: pointer;
}

.accordion-item:nth-child(2n) { transform: rotate(-0.8deg); }
.accordion-item:nth-child(3n) { transform: rotate(1.2deg); }

.accordion-item:hover,
.accordion-item.is-open {
  transform: rotate(0) scale(1.01);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--c-shadow);
}

.accordion-item .acc-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.accordion-item .acc-num {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--c-terracotta);
  font-weight: 700;
}

.accordion-item .acc-q {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-graphite);
  margin: 0;
  line-height: 1.4;
}

.accordion-item .acc-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-graphite);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.25s ease, transform 0.3s var(--t-cubic);
  flex-shrink: 0;
}

.accordion-item.is-open .acc-toggle {
  background: var(--c-cobalt);
  transform: rotate(45deg);
}

.accordion-item .acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--t-smooth), margin-top 0.4s var(--t-smooth);
  font-size: 0.95rem;
  color: var(--c-graphite-soft);
  line-height: 1.65;
}

.accordion-item.is-open .acc-body {
  max-height: 400px;
  margin-top: 0.8rem;
}

.contact-plate {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  padding: 2.2rem 1.4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  box-shadow: var(--c-shadow);
  color: var(--c-graphite);
  position: relative;
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
}

@media (min-width: 900px) {
  .contact-plate {
    grid-template-columns: 1fr 1.2fr;
    padding: 3rem;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.contact-row .ci-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(29, 78, 216, 0.12);
  color: var(--c-cobalt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-row .ci-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-row .ci-text {
  display: flex;
  flex-direction: column;
}

.contact-row .ci-label {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--c-terracotta);
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.contact-row .ci-value {
  color: var(--c-graphite);
  font-size: 0.95rem;
  word-break: break-word;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.form-grid .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-grid label {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-graphite);
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-bottom: 2px solid var(--c-graphite);
  padding: 0.7rem 0.4rem;
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--c-graphite);
  border-radius: 4px 4px 0 0;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
  color: var(--c-graphite-soft);
  opacity: 0.6;
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  outline: none;
  border-bottom-color: var(--c-cobalt);
  background: #FFFFFF;
  box-shadow: 0 8px 20px -10px rgba(29, 78, 216, 0.4);
}

.form-grid textarea {
  resize: vertical;
  min-height: 110px;
}

.form-grid .form-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.form-grid .form-note {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--c-graphite-soft);
  margin-top: 0.4rem;
}

.form-success {
  display: none;
  padding: 1.2rem;
  background: rgba(4, 120, 87, 0.12);
  border: 1px solid rgba(4, 120, 87, 0.4);
  border-radius: 14px;
  color: var(--c-emerald);
  font-weight: 600;
  margin-top: 0.8rem;
}

.form-success.is-visible {
  display: block;
}

.site-footer {
  background: var(--c-graphite);
  color: #FFFFFF;
  padding: 3.5rem 0 1.6rem;
  position: relative;
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%);
  margin-top: 0;
  overflow: hidden;
}

.site-footer * {
  color: #FFFFFF;
}

.site-footer a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-footer a:hover {
  color: var(--c-terracotta);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2.4rem;
  }
}

.footer-col h5 {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-terracotta);
  margin: 0 0 0.8rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 0.6rem;
}

.footer-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  word-break: break-word;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.4rem;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 900;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(31, 41, 55, 0.16);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: var(--c-shadow-hover);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  color: var(--c-graphite);
  max-width: 460px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .cookie-banner {
    left: 2rem;
    right: auto;
    bottom: 2rem;
    max-width: 420px;
  }
}

.cookie-banner h6 {
  font-family: var(--f-display);
  font-size: 1.05rem;
  margin: 0;
  color: var(--c-graphite);
  font-weight: 800;
}

.cookie-banner p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--c-graphite-soft);
  margin: 0;
}

.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-banner .cookie-actions a {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--c-cobalt);
}

.cookie-banner .cb-btn {
  flex: 1;
  min-width: 120px;
  min-height: 42px;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--c-graphite);
  background: var(--c-graphite);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cookie-banner .cb-btn.decline {
  background: transparent;
  color: var(--c-graphite);
}

.cookie-banner .cb-btn:hover {
  background: var(--c-cobalt);
  color: #FFFFFF;
  border-color: var(--c-cobalt);
}

.cookie-banner.is-hidden {
  display: none;
}

.mini-hero {
  position: relative;
  padding: 4.5rem 0 3rem;
  background: var(--c-alabaster);
  overflow: hidden;
}

.mini-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(29, 78, 216, 0.05) 100%);
  z-index: 0;
}

.mini-hero .shell {
  position: relative;
  z-index: 1;
}

.mini-hero h1 {
  margin: 0.4rem 0 0.8rem;
  max-width: 18ch;
}

.mini-hero .lead {
  max-width: 56ch;
  font-size: 1.05rem;
  color: var(--c-graphite-soft);
  line-height: 1.7;
  margin: 0;
}

.coord-pin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--c-graphite);
  color: #FFFFFF;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  margin-top: 1rem;
}

.coord-pin::before {
  content: "◉";
  color: var(--c-terracotta);
}

.prose-block {
  max-width: 760px;
  margin: 0 auto;
  color: var(--c-graphite);
}

.prose-block h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.6rem;
}

.prose-block p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--c-graphite-soft);
  margin: 0 0 1.1rem;
}

.prose-block ul {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.prose-block ul li {
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.7);
  border-left: 3px solid var(--c-cobalt);
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--c-graphite);
  line-height: 1.65;
}

.prose-block .callout {
  background: rgba(29, 78, 216, 0.08);
  border: 1px solid rgba(29, 78, 216, 0.25);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  margin: 1.2rem 0;
  color: var(--c-graphite);
}

.prose-block .callout strong {
  color: var(--c-cobalt);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  margin-top: 2.4rem;
}

@media (min-width: 900px) {
  .service-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-detail-grid .sd-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  color: var(--c-graphite);
}

.service-detail-grid .sd-card h4 {
  font-size: 1.05rem;
  margin: 0;
  color: var(--c-graphite);
  font-weight: 800;
}

.service-detail-grid .sd-card p {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
  color: var(--c-graphite-soft);
}

.gallery-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
}

@media (min-width: 700px) {
  .gallery-rail { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .gallery-rail { grid-template-columns: repeat(3, 1fr); }
}

.gallery-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--c-pearl);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--c-shadow);
  color: var(--c-graphite);
}

.gallery-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--t-smooth);
}

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

.gallery-card .gc-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.2rem;
  background: linear-gradient(0deg, rgba(31, 41, 55, 0.85) 0%, transparent 100%);
  color: #FFFFFF;
}

.gallery-card .gc-meta * {
  color: #FFFFFF;
}

.gallery-card .gc-meta h4 {
  font-size: 1.1rem;
  margin: 0 0 0.2rem;
  color: #FFFFFF;
}

.gallery-card .gc-meta p {
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
}

.thanks-wrap {
  min-height: calc(100vh - 104px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-alabaster);
  padding: 4rem 1.2rem;
}

.thanks-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  padding: 2.6rem 1.8rem;
  text-align: center;
  max-width: 560px;
  color: var(--c-graphite);
  box-shadow: var(--c-shadow);
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

.thanks-card h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 0.6rem;
}

.thanks-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-graphite-soft);
  margin: 0 0 1.4rem;
}

.thanks-card .thanks-cta {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.text-cobalt { color: var(--c-cobalt); }
.text-terracotta { color: var(--c-terracotta); }
.text-emerald { color: var(--c-emerald); }
.text-graphite { color: var(--c-graphite); }

.mt-2 { margin-top: 1.4rem; }
.mt-3 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1.4rem; }
.mb-3 { margin-bottom: 2rem; }

.text-center { text-align: center; }

.hide-on-mobile { display: none; }
@media (min-width: 768px) { .hide-on-mobile { display: initial; } }
.show-on-mobile { display: initial; }
@media (min-width: 768px) { .show-on-mobile { display: none; } }

@media (max-width: 1023px) {
  main { padding-top: 96px; }
  .hero-mosaic { min-height: auto; }
  .hero-collage { min-height: 360px; }
}
