/* CE Global — tokens */
:root {
  --ink: #0b0b0c;
  --ink-2: #151413;
  --ivory: #f6f2ea;
  --ivory-2: #ebe5d8;
  --gold: #c9a25e;
  --gold-lt: #e8cf98;
  --gold-dk: #8f6d34;
  --text-dark: #1b1a18;
  --text-light: #efe9dd;
  --muted-dark: #6c665c;
  --muted-light: #a39c8f;
  --line-dark: rgba(27, 26, 24, .16);
  --line-light: rgba(239, 233, 221, .18);

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --script: 'Pinyon Script', 'Cormorant Garamond', cursive;
  --sans: 'Inter', system-ui, sans-serif;
  --cinzel: 'Cinzel', 'Times New Roman', serif;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text-light);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

/* language switching */
html[data-lang="tr"] .de,
html[data-lang="de"] .tr { display: none !important; }

/* ---------- type ---------- */
.caps {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: .95;
  font-size: clamp(2.6rem, 7.4vw, 7.8rem);
}
.script {
  display: block;
  font-family: var(--script);
  font-weight: 400;
  line-height: 1;
  font-size: clamp(2.4rem, 5.6vw, 6rem);
  color: var(--gold);
  margin-bottom: -.28em;
  position: relative;
  z-index: 1;
}
.kicker {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 500;
}
.small { font-size: 13.5px; line-height: 1.7; max-width: 38ch; }
.num {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .2em;
  color: var(--gold);
}

.dark { background: var(--ink); color: var(--text-light); }
.light { background: var(--ivory); color: var(--text-dark); }
.light .script { color: var(--gold-dk); }
.light .small, .light .muted { color: var(--muted-dark); }
.dark .small, .dark .muted { color: var(--muted-light); }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: radial-gradient(ellipse at 50% 45%, #1d1c1a 0%, #111110 55%, #0a0a0a 100%);
  display: grid; place-items: center;
  overflow: hidden;
}
.intro-logo { width: min(820px, 92vw); height: auto; overflow: visible; }
.intro-skip {
  position: absolute; right: var(--gutter); bottom: 28px;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted-light); padding: 10px 4px; opacity: .7;
}
.intro-skip:hover { opacity: 1; color: var(--gold-lt); }
.no-js .loader, .reduced .loader { display: none; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--gutter);
  color: var(--text-light);
  transition: color .5s var(--ease), background-color .5s var(--ease);
}
.site-header.on-light { color: var(--text-dark); }
.site-header.scrolled { background: linear-gradient(to bottom, rgba(11,11,12,.55), rgba(11,11,12,0)); }
.site-header.scrolled.on-light { background: linear-gradient(to bottom, rgba(246,242,234,.8), rgba(246,242,234,0)); }

.menu-btn { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; justify-self: start; }
.menu-btn .lines { width: 22px; height: 8px; position: relative; }
.menu-btn .lines::before, .menu-btn .lines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform .5s var(--ease);
}
.menu-btn .lines::before { top: 0; }
.menu-btn .lines::after { bottom: 0; }
.menu-open .menu-btn .lines::before { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-btn .lines::after { transform: translateY(-3.5px) rotate(-45deg); }

.header-logo svg { width: 74px; height: auto; display: block; }
.lang-switch { justify-self: end; display: flex; gap: 4px; font-size: 12px; letter-spacing: .14em; }
.lang-switch button { padding: 6px 8px; opacity: .5; transition: opacity .3s; }
.lang-switch button[aria-pressed="true"] { opacity: 1; border-bottom: 1px solid currentColor; }
.lang-switch button:hover { opacity: 1; }

/* ---------- menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--ink);
  color: var(--text-light);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--gutter);
  padding: 120px var(--gutter) 48px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .9s var(--ease);
  visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-open .site-header { color: var(--text-light) !important; background: none !important; }
.menu ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu li { counter-increment: m; border-bottom: 1px solid var(--line-light); }
.menu li a {
  display: flex; align-items: baseline; gap: 18px; padding: 10px 0;
  font-family: var(--serif); font-weight: 300; text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2.6rem); line-height: 1.1;
  transition: color .3s, padding .4s var(--ease);
}
.menu li a::before { content: counter(m, decimal-leading-zero); font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--gold); }
.menu li a:hover { color: var(--gold-lt); padding-left: 10px; }
.menu-aside { align-self: end; }
.menu-aside .script { font-size: 3rem; margin-bottom: 8px; }

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100svh; min-height: 560px;
  display: grid; place-items: center; text-align: center;
  overflow: hidden;
}
.hero .bg { position: absolute; inset: 0; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.hero .bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(11,11,12,.25), rgba(11,11,12,.75) 70%),
    linear-gradient(to bottom, rgba(11,11,12,.55), rgba(11,11,12,.1) 35%, rgba(11,11,12,.85));
}
.hero-content { position: relative; z-index: 1; padding: 0 var(--gutter); }
.hero .kicker { color: var(--gold-lt); margin-bottom: 26px; }
.hero h1 { margin: 0; font-weight: 300; }
.hero .script { font-size: clamp(3rem, 7vw, 7.4rem); }
.hero .caps { font-size: clamp(3.2rem, 10vw, 10.5rem); }
.hero .lede { margin: 30px auto 0; max-width: 46ch; font-size: 14.5px; color: var(--text-light); opacity: .85; }
.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted-light);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- statement ---------- */
.statement {
  padding: clamp(110px, 16vw, 220px) var(--gutter);
  display: grid; grid-template-columns: 1fr minmax(0, 2.3fr); gap: var(--gutter);
  align-items: start;
}
.statement .big {
  margin: 0;
  font-family: var(--serif); font-weight: 300; text-transform: uppercase;
  font-size: clamp(1.7rem, 3.7vw, 3.6rem); line-height: 1.08; letter-spacing: .01em;
}
.statement .side { padding-top: 10px; }
.statement .side .kicker { color: var(--gold-dk); display: block; margin-bottom: 18px; }

/* ---------- expand ---------- */
.expand { position: relative; height: 100svh; overflow: hidden; background: var(--ivory); }
.expand-frame {
  position: absolute; inset: 0;
  clip-path: inset(14% 30% 14% 30%);
}
.expand-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.25); }
.expand-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.05), rgba(0,0,0,.45)); }
.expand-text {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-content: center; text-align: center; color: #fff;
  pointer-events: none;
}
.expand-text .script { color: var(--gold-lt); }
.expand-text .caps { font-size: clamp(2.4rem, 6.6vw, 7rem); }
.expand-caption {
  position: absolute; z-index: 2; right: var(--gutter); bottom: 34px; max-width: 34ch;
  color: #fff; font-size: 13px; line-height: 1.6; text-align: right; opacity: .9;
}

/* ---------- services gallery (horizontal) ---------- */
.gallery { position: relative; overflow: hidden; padding: 0; }
.gallery-inner { height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.gallery-head {
  position: absolute; left: 0; right: 0; bottom: 7vh; z-index: 3;
  text-align: center; pointer-events: none;
}
.gallery-head .script { font-size: clamp(3rem, 7vw, 7rem); color: var(--gold-lt); }
.gallery-head .caps { font-size: clamp(1.6rem, 3vw, 2.8rem); letter-spacing: .25em; }
.gallery-head .kicker { display: block; margin-top: 14px; color: var(--muted-light); }

.track {
  display: flex; gap: clamp(28px, 4vw, 70px); align-items: center;
  padding: 0 30vw 0 12vw;
  perspective: 1400px;
  will-change: transform;
}
.card {
  flex: 0 0 auto;
  width: clamp(240px, 30vw, 460px);
  position: relative;
  transform-style: preserve-3d;
}
.card:nth-child(odd) { margin-top: -14vh; }
.card:nth-child(even) { margin-top: 10vh; }
.card .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .ph img { transform: scale(1.06); }
.card .meta { display: flex; gap: 14px; align-items: baseline; margin-top: 14px; }
.card .meta strong { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .04em; line-height: 1.15; }

/* ---------- service detail ---------- */
.service {
  position: relative;
  padding: clamp(100px, 12vw, 180px) var(--gutter);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter);
  align-items: center;
}
.service .copy { grid-column: 1 / span 5; position: relative; z-index: 2; }
.service .media { grid-column: 6 / span 7; position: relative; }
.service.flip .copy { grid-column: 8 / span 5; grid-row: 1; }
.service.flip .media { grid-column: 1 / span 7; grid-row: 1; }
.service .media .frame { overflow: hidden; aspect-ratio: 5 / 4; }
.service .media .frame img { width: 100%; height: 118%; object-fit: cover; }
.service .media .inset {
  position: absolute; width: 38%; aspect-ratio: 1; overflow: hidden;
  right: -4%; bottom: -12%; border: 6px solid currentColor;
}
.service.dark .media .inset { border-color: var(--ink); }
.service.light .media .inset { border-color: var(--ivory); }
.service .media .inset img { width: 100%; height: 100%; object-fit: cover; }
.service .num { display: block; margin-bottom: 26px; }
.service h2 { margin: 0 0 30px; font-weight: 300; }
.service h2 .caps { font-size: clamp(2.2rem, 4.8vw, 5rem); }
.service h2 .script { font-size: clamp(2rem, 4vw, 4.2rem); }
.service .small { margin: 0 0 30px; }
.questions { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.dark .questions { border-color: var(--line-light); }
.questions li {
  padding: 14px 0 14px 30px; position: relative;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--serif); font-size: 1.12rem; line-height: 1.35; font-style: italic;
}
.dark .questions li { border-color: var(--line-light); }
.questions li::before { content: "?"; position: absolute; left: 4px; top: 13px; font-style: normal; color: var(--gold); font-family: var(--serif); font-size: 1.2rem; }
.questions-label { display: block; margin-bottom: 12px; color: var(--gold-dk); }
.dark .questions-label { color: var(--gold); }

/* ---------- process ---------- */
.process { padding: clamp(100px, 12vw, 180px) var(--gutter); }
.process-head { text-align: center; margin-bottom: clamp(50px, 7vw, 100px); }
.process-head h2 { margin: 0; font-weight: 300; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.steps li { border-top: 1px solid var(--line-dark); padding-top: 22px; }
.steps h3 { margin: 14px 0 12px; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; }
.steps p { margin: 0; font-size: 13.5px; color: var(--muted-dark); }

/* ---------- tenets ---------- */
.tenets { position: relative; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.tenets .bg { position: absolute; inset: 0; }
.tenets .bg img { width: 100%; height: 100%; object-fit: cover; }
.tenets .bg::after { content: ""; position: absolute; inset: 0; background: rgba(11,11,12,.35); }
.tenet-card {
  position: relative; z-index: 1;
  width: min(560px, calc(100% - 2 * var(--gutter)));
  background: var(--ivory); color: var(--text-dark);
  padding: clamp(28px, 4vw, 48px);
  text-align: center;
}
.tenet-card h2 { margin: 0; font-family: var(--serif); font-weight: 400; text-transform: uppercase; font-size: clamp(3rem, 7vw, 6.2rem); line-height: .9; letter-spacing: .01em; }
.tenet-card .seal { width: 34%; aspect-ratio: 3 / 4; margin: 26px auto; overflow: hidden; }
.tenet-card .seal img { width: 100%; height: 100%; object-fit: cover; }
.tenet-list { position: relative; min-height: 132px; }
.tenet { position: absolute; inset: 0; }
.tenet h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 500; font-size: 1.45rem; text-transform: uppercase; letter-spacing: .06em; }
.tenet p { margin: 0 auto; font-size: 13.5px; color: var(--muted-dark); max-width: 42ch; }
.tenet .num { display: block; margin-bottom: 6px; color: var(--gold-dk); }
.tenet-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.tenet-dots i { width: 22px; height: 1px; background: var(--line-dark); transition: background .4s; }
.tenet-dots i.on { background: var(--gold-dk); }

/* ---------- network / map ---------- */
.network { position: relative; min-height: 100svh; padding: clamp(100px, 10vw, 140px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--gutter); align-items: center; }
.map-wrap { position: relative; }
.map-title { position: absolute; left: 0; bottom: 2%; z-index: 2; pointer-events: none; }
.map-title h2 { margin: 0; font-weight: 300; }
.map-title .caps { font-size: clamp(2.2rem, 5vw, 5rem); }
.map { width: 100%; height: auto; display: block; }
.map .grid-dot { fill: rgba(239, 233, 221, .13); }
.map .arc { fill: none; stroke: var(--gold); stroke-width: 1.2; opacity: .85; }
.map .city circle { fill: var(--text-light); }
.map .city text { fill: var(--muted-light); font-family: var(--sans); font-size: 13px; letter-spacing: .06em; }
.map .hub .ring { fill: none; stroke: var(--gold); stroke-width: 1.5; }
.map .hub .core { fill: var(--gold); }
.map .hub text { fill: var(--gold-lt); font-size: 15px; font-family: var(--sans); letter-spacing: .1em; }
.map .region { fill: var(--text-light); font-family: var(--serif); font-size: 26px; letter-spacing: .3em; opacity: .55; }
.pulse { animation: pulse 2.6s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }

.panel {
  background: var(--ink-2); border: 1px solid var(--line-light);
  padding: 30px 28px;
}
.panel .caps { font-size: 2.4rem; letter-spacing: .06em; margin: 6px 0 18px; }
.panel .script { font-size: 2.6rem; margin-bottom: -.2em; }
.panel address { font-style: normal; font-size: 13.5px; line-height: 1.7; color: var(--text-light); margin-bottom: 18px; }
.panel p { margin: 0; font-size: 13.5px; color: var(--muted-light); }

/* ---------- contact ---------- */
.contact { position: relative; overflow: hidden; padding: clamp(120px, 14vw, 200px) var(--gutter); text-align: center; }
.contact .bg { position: absolute; inset: 0; }
.contact .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.contact .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--ink), rgba(11,11,12,.6) 40%, var(--ink)); }
.contact-inner { position: relative; z-index: 1; }
.contact h2 { margin: 0 0 30px; font-weight: 300; }
.contact .lede { max-width: 48ch; margin: 0 auto 50px; color: var(--muted-light); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); max-width: 1100px; margin: 0 auto 56px; text-align: left; }
.contact-grid > div { border-top: 1px solid var(--line-light); padding-top: 18px; }
.contact-grid .kicker { color: var(--gold); display: block; margin-bottom: 10px; }
.contact-grid p, .contact-grid address { margin: 0; font-style: normal; font-size: 14px; line-height: 1.7; }
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 34px; border: 1px solid var(--gold); color: var(--gold-lt);
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.btn:hover { background: var(--gold); color: var(--ink); }
.todo { border-bottom: 1px dashed var(--gold); color: var(--gold-lt); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-light); padding: 70px var(--gutter) 40px; }
.footer-top { display: grid; grid-template-columns: auto 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.lockup { width: 280px; }
.lockup svg { width: 100%; height: auto; display: block; }
.disclaimer { font-size: 12.5px; color: var(--muted-light); max-width: 70ch; }
.legal { margin-top: 18px; font-size: 12px; color: var(--muted-light); line-height: 1.8; }
.footer-bottom { margin-top: 50px; display: flex; justify-content: space-between; gap: 20px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
.credits { text-transform: none; letter-spacing: .02em; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .menu { grid-template-columns: 1fr; padding-top: 100px; overflow-y: auto; }
  .menu-aside { display: none; }
  .header-logo svg { width: 52px; }
  .statement { grid-template-columns: 1fr; }
  .expand-frame { clip-path: inset(10% 12% 10% 12%); }
  .expand-caption { left: var(--gutter); text-align: left; }

  .gallery-inner { height: auto; padding: 110px 0 90px; }
  .gallery-head { position: static; margin-bottom: 40px; padding: 0 var(--gutter); }
  .track { overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--gutter) 20px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .track::-webkit-scrollbar { display: none; }
  .card { width: 76vw; scroll-snap-align: center; margin-top: 0 !important; }

  .service { grid-template-columns: minmax(0, 1fr); padding-top: 80px; padding-bottom: 90px; }
  .service h2 .caps { font-size: clamp(1.8rem, 8.6vw, 3rem); hyphens: auto; overflow-wrap: break-word; }
  .service .copy, .service .media, .service.flip .copy, .service.flip .media { grid-column: 1; grid-row: auto; }
  .service .media { order: -1; }
  .service .media .inset { width: 34%; right: 0; bottom: -10%; }

  .steps { grid-template-columns: 1fr 1fr; }
  .tenets { height: auto; padding: 100px 0; }
  .tenet-list { min-height: 0; }
  .tenet { position: static; margin-bottom: 22px; }
  .tenet-dots { display: none; }

  .network { grid-template-columns: 1fr; }
  .map-title { position: static; margin-bottom: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .lang-switch button { padding: 6px 4px; }
  .menu-btn .label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue i, .pulse { animation: none; }
  .expand-frame { clip-path: none; }
  .expand-frame img { transform: none; }
}
