:root {
  --teal: #008080;
  --teal-600: #006e6e;
  --teal-700: #005c5c;
  --teal-800: #004848;
  --teal-900: #003a3a;
  --ink: #062e2e;
  --teal-tint: #cfe6dc;
  --cream: #fffdd0;
  --cream-dark: #fff39a;
  --cream-soft: #fbf8c9;
  --line-dark: rgba(255, 253, 208, 0.16);
  --line-light: rgba(0, 92, 92, 0.18);
  --display: "Syne", "Hanken Grotesk", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ethiopic: "Noto Sans Ethiopic", var(--body);
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1240px;
  --radius: 18px;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--teal-900);
  color: var(--cream);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.04; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--cream-dark);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-light :focus-visible,
.on-light:focus-visible { outline-color: var(--teal-700); }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--cream); color: var(--ink); padding: 10px 16px; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--gutter);
  transition: background-color .4s ease, backdrop-filter .4s ease, padding .4s ease;
}
.site-head.is-solid {
  background: rgba(0, 52, 52, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  padding-top: 10px; padding-bottom: 10px;
}
.wordmark {
  font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em;
  text-decoration: none; display: inline-flex; align-items: baseline; gap: 2px; color: var(--cream);
}
.wordmark .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cream-dark); display: inline-block; margin-left: 2px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px;
  color: rgba(255, 253, 208, 0.82); transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--cream); background: rgba(255, 253, 208, 0.08); }
.nav .nav-cta { background: var(--cream); color: var(--ink); font-weight: 600; margin-left: 8px; }
.nav .nav-cta:hover { background: var(--cream-dark); color: var(--ink); }
@media (max-width: 760px) {
  .nav a:not(.nav-cta) { display: none; }
}

.back-link {
  position: fixed; left: 12px; bottom: 12px; z-index: 45;
  font-size: 12px; font-weight: 500; text-decoration: none;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(6, 46, 46, 0.7); color: rgba(255, 253, 208, 0.85);
  border: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.back-link:hover { color: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
  padding: 16px 24px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .25s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn-cream { background: var(--cream); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(255, 243, 154, .55); }
.btn-cream:hover { background: var(--cream-dark); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 253, 208, 0.45); color: var(--cream); background: transparent; }
.btn-ghost:hover { border-color: var(--cream); background: rgba(255, 253, 208, 0.08); }
.btn-teal { background: var(--teal-700); color: var(--cream); }
.btn-teal:hover { background: var(--teal-800); transform: translateY(-2px); }

/* ---------- Showroom (3D) ---------- */
.showroom { position: relative; background: var(--teal-900); }
.stage {
  position: sticky; top: 0; height: 100vh; width: 100%; overflow: hidden;
  background:
    radial-gradient(120% 80% at 60% 20%, #005656 0%, var(--teal-900) 55%, #002c2c 100%);
}
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
.webgl-ready .stage canvas { opacity: 1; }
.stage-fallback {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-end;
  transition: opacity .8s ease;
}
.stage-fallback svg { width: min(980px, 64%); height: auto; margin: 0 -2% 4% 0; }
@media (max-width: 820px), (max-aspect-ratio: 4/5) {
  .stage-fallback { justify-content: center; }
  .stage-fallback svg { width: 130%; max-width: none; margin: 0 0 2% 0; opacity: .7; }
}
.webgl-ready .stage-fallback { opacity: 0; pointer-events: none; }
.stage::after {
  /* vignette + bottom fade into next section */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(140% 100% at 50% 40%, transparent 55%, rgba(0, 30, 30, .55) 100%),
    linear-gradient(to bottom, rgba(0, 40, 40, .35), transparent 18%);
}

.tour { position: relative; margin-top: -100vh; z-index: 2; }
.stop {
  min-height: 100vh; display: flex; align-items: center;
  padding: 96px var(--gutter) 64px;
  pointer-events: none;
}
.stop > * { pointer-events: auto; }
.stop.right { justify-content: flex-end; }
.stop.center { justify-content: center; text-align: center; }

.hero { min-height: 100vh; align-items: center; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(70% 90% at 0% 55%, rgba(0, 40, 40, .72), rgba(0, 40, 40, .35) 45%, transparent 75%);
}
.hero-copy { max-width: 700px; position: relative; }
.hero h1 {
  font-size: clamp(38px, 4.4vw, 70px); font-weight: 800; letter-spacing: -0.035em;
  line-height: 0.95;
}
.hero h1 .line { display: block; }
.hero h1 em { font-style: normal; color: var(--cream-dark); }
.hero .lede { margin-top: 26px; font-size: clamp(17px, 1.5vw, 20px); max-width: 30em; color: rgba(255, 253, 208, 0.86); }
.amharic { font-family: var(--ethiopic); font-weight: 500; margin-top: 18px; color: var(--cream-dark); font-size: 17px; letter-spacing: 0.01em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  font-size: 13px; color: rgba(255, 253, 208, .65); display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint span.bar { width: 1.5px; height: 38px; background: linear-gradient(var(--cream), transparent); border-radius: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .scroll-hint span.bar { animation: drip 2.2s ease-in-out infinite; transform-origin: top; }
}
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

.card {
  max-width: 440px; width: 100%;
  background: linear-gradient(160deg, rgba(0, 72, 72, .78), rgba(6, 46, 46, .82));
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 30px 30px 28px;
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 253, 208, .08);
}
.card .kicker { font-size: 14px; color: var(--cream-dark); font-weight: 600; margin-bottom: 12px; }
.card h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; }
.card > p { margin-top: 14px; color: rgba(255, 253, 208, .84); }
.card dl { margin: 22px 0 0; display: grid; gap: 14px; }
.card dt { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--cream); display: flex; align-items: center; gap: 10px; }
.card dt::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--cream-dark); transform: rotate(45deg); flex: none; }
.card dd { margin: 4px 0 0 18px; font-size: 15px; color: rgba(255, 253, 208, .75); }
.card .btn { margin-top: 24px; }
.stop.center .card { max-width: 560px; }
.stop.center .card dt { justify-content: center; }

@media (max-width: 820px), (max-aspect-ratio: 4/5) {
  .stop, .stop.right { align-items: flex-end; justify-content: center; padding-bottom: 72px; }
  .card { padding: 18px 18px 20px; max-width: 520px; }
  .card dl { gap: 10px; margin-top: 16px; }
  .card > p { font-size: 15px; margin-top: 10px; }
  .card h2 { font-size: 25px; }
  .card .kicker { margin-bottom: 8px; font-size: 13px; }
  .card dt { font-size: 15.5px; }
  .card dd { font-size: 14px; line-height: 1.45; margin-top: 2px; }
  .card .btn { margin-top: 16px; }
  .hero { align-items: flex-start; padding-top: 104px; }
}

/* ---------- Generic sections ---------- */
section.block { position: relative; z-index: 3; padding: clamp(80px, 11vw, 150px) 0; }
.on-light { background: var(--cream); color: var(--ink); }
.on-light a { color: var(--teal-700); }
.sec-head { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.sec-head h2 { font-size: clamp(36px, 5.2vw, 68px); font-weight: 800; }
.sec-head p { font-size: clamp(17px, 1.4vw, 19px); max-width: 36em; }
.on-light .sec-head h2 { color: var(--teal-700); }
.on-light .sec-head p { color: #234a4a; }

/* Services */
.services { background:
  radial-gradient(60% 50% at 100% 0%, rgba(255, 243, 154, .55), transparent 70%),
  var(--cream); }
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc {
  position: relative; padding: 26px 24px 26px; border-radius: var(--radius);
  background: #fffee6; border: 1px solid var(--line-light);
  transition: transform .35s ease, box-shadow .35s ease, background-color .35s ease;
  overflow: hidden;
}
.svc::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 128, 128, .14), transparent 70%);
  transition: transform .5s ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(0, 72, 72, .55); background: #fffff0; }
.svc:hover::after { transform: scale(1.8); }
.svc-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--teal); color: var(--cream); display: grid; place-items: center; margin-bottom: 18px; }
.svc-icon svg { width: 30px; height: 30px; }
.svc h3 { font-size: 21px; font-weight: 700; color: var(--teal-700); letter-spacing: -0.01em; }
.svc p { margin-top: 8px; font-size: 15.5px; color: #2a4c4c; line-height: 1.55; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

/* Process */
.process { background:
  radial-gradient(70% 60% at 0% 100%, rgba(0, 128, 128, .9), transparent 70%),
  var(--teal-600); color: var(--cream); overflow: hidden; }
.process .sec-head p { color: rgba(255, 253, 208, .86); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 253, 208, .45) 10%, rgba(255, 253, 208, .45) 90%, transparent);
}
.step { position: relative; padding-top: 0; }
.step-num {
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 26px;
  background: var(--cream); color: var(--teal-700); position: relative;
  box-shadow: 0 0 0 8px var(--teal-600), 0 0 0 9px rgba(255, 253, 208, .35);
}
.step h3 { margin-top: 26px; font-size: 22px; font-weight: 700; }
.step p { margin-top: 10px; color: rgba(255, 253, 208, .84); font-size: 16px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 18px; }
  .steps::before { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 68px 1fr; gap: 0 18px; padding-bottom: 32px; }
  .step::before { content: ""; position: absolute; left: 33px; top: 68px; bottom: 0; width: 1.5px; background: rgba(255, 253, 208, .35); }
  .step:last-child::before { display: none; }
  .step h3 { margin-top: 18px; }
  .step p { grid-column: 2; }
}

/* Quote */
.quote { background: var(--cream); }
.quote-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.quote-aside p { color: #234a4a; }
.quote-aside .note { margin-top: 22px; padding: 18px 20px; border-radius: 14px; background: #fff7b8; border: 1px solid rgba(0, 92, 92, .15); font-size: 15px; }
.form {
  background: #fffee8; border: 1px solid var(--line-light); border-radius: 24px;
  padding: clamp(22px, 3vw, 36px);
  box-shadow: 0 40px 80px -50px rgba(0, 72, 72, .6);
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; color: var(--teal-700); }
.field label .opt { font-weight: 400; color: #4b6b6b; }
.field input, .field select, .field textarea {
  font: 16px/1.4 var(--body); color: var(--ink); width: 100%;
  padding: 13px 14px; border-radius: 12px; border: 1.5px solid rgba(0, 92, 92, .28); background: #fffffa;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0, 128, 128, .2);
}
.field [aria-invalid="true"] { border-color: #a33a2a; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
.form-status { font-size: 15px; color: #234a4a; }
.form-status.err { color: #8f2e1f; font-weight: 600; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* Contact */
.contact { background:
  radial-gradient(50% 70% at 90% 30%, rgba(0, 128, 128, .5), transparent 70%),
  var(--teal-800); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-item {
  padding: 28px 26px; border-radius: var(--radius); border: 1px solid var(--line-dark);
  background: rgba(0, 58, 58, .6); text-decoration: none; display: block;
  transition: background-color .3s, transform .3s;
}
a.contact-item:hover { background: rgba(0, 92, 92, .65); transform: translateY(-3px); }
.contact-item .label { font-size: 14px; color: var(--cream-dark); font-weight: 600; }
.contact-item .value { margin-top: 10px; font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2vw, 26px); overflow-wrap: anywhere; }
.contact-item .sub { margin-top: 6px; font-size: 14px; color: rgba(255, 253, 208, .7); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-foot { background: var(--ink); color: rgba(255, 253, 208, .8); padding: 56px 0 72px; position: relative; z-index: 3; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: flex-end; }
.foot-mark { font-family: var(--display); font-weight: 800; font-size: clamp(64px, 12vw, 160px); line-height: .8; letter-spacing: -0.05em; color: var(--cream);
  background: linear-gradient(180deg, var(--cream) 30%, rgba(255, 253, 208, .25)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--cream); text-decoration: underline; }
.foot-small { margin-top: 28px; font-size: 13px; color: rgba(255, 253, 208, .55); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* Reveal (JS adds .js-reveal only when motion is allowed) */
.js-reveal .reveal { opacity: 0; transform: translateY(26px); }

.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; }
