:root {
  --orange: #C86F1C;
  --orange-dark: #A85A12;
  --orange-soft: #F6E9DC;
  --grey: #6E6E6E;
  --ink: #1F2328;
  --ink-2: #4A5058;
  --line: #E4E1DC;
  --bg: #FFFFFF;
  --bg-alt: #F7F5F2;
  --dark: #23272C;
  --dark-2: #2E3339;
  --radius: 14px;
  --wrap: 1160px;
  --head-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: "Manrope", "Inter", sans-serif; line-height: 1.2; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.015em; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--orange); }
.muted { color: var(--grey); }

.eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 0.9rem;
}
.eyebrow.light { color: #E9A15F; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.header-inner { height: var(--head-h); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-mark { height: 40px; width: auto; }
.brand-word { height: 22px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--ink-2); white-space: nowrap;
  transition: color .15s;
}
.nav a:hover { color: var(--orange); }
.nav .nav-cta {
  color: #fff; background: var(--ink); padding: 9px 18px; border-radius: 999px;
}
.nav .nav-cta:hover { background: var(--orange); color: #fff; }

.lang { display: flex; gap: 8px; }
.flag {
  padding: 0; border: 0; background: none; cursor: pointer;
  width: 30px; height: 20px; border-radius: 3px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.12);
  opacity: 0.45; filter: grayscale(0.4);
  transition: opacity .15s, filter .15s, transform .15s, box-shadow .15s;
}
.flag svg { width: 100%; height: 100%; }
.flag:hover { opacity: 0.85; filter: none; transform: translateY(-1px); }
.flag.active { opacity: 1; filter: none; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--orange); }
.flag:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  padding: 72px 0 88px;
  background:
    radial-gradient(900px 400px at 85% 10%, var(--orange-soft), transparent 70%),
    linear-gradient(180deg, #fff, var(--bg-alt));
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero .lead { font-size: 1.15rem; color: var(--ink-2); margin: 1.4rem 0 2rem; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { justify-self: center; width: 100%; max-width: 460px; }

.section-drawing { width: 100%; height: auto; }
.d-struct rect { fill: var(--grey); }
.d-struct .d-raft { fill: #8A8A8A; }
.d-brace { stroke: var(--grey); stroke-width: 2; fill: none; }
.d-ground { stroke: var(--ink); stroke-width: 2; }
.d-l1 { fill: #EED9C2; }
.d-l2 { fill: #E3BF98; }
.d-l3 { fill: #D19A63; }
.d-pile rect { fill: var(--orange); }
.d-water { stroke: #3C7FB1; stroke-width: 1.4; stroke-dasharray: 6 5; fill: none; }
.d-water-sym { fill: #3C7FB1; }
.d-arrow path { stroke: var(--orange); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.d-quake { stroke: var(--ink-2); stroke-width: 2; fill: none; stroke-linejoin: round; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { color: var(--ink-2); font-size: 1.08rem; max-width: 46em; margin-bottom: 2rem; }
.two-col { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.prose p { color: var(--ink-2); }
blockquote {
  margin: 1.8rem 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--orange);
  font-family: "Manrope", sans-serif; font-size: 1.25rem; font-weight: 600; color: var(--ink); line-height: 1.45;
}

/* services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 2.4rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,0.07); }
.card h3 { margin: 18px 0 10px; font-size: 1.25rem; }
.card > p { color: var(--ink-2); font-size: 0.97rem; }
.card ul { list-style: none; padding: 0; margin: 0.4rem 0 0; border-top: 1px solid var(--line); padding-top: 14px; }
.card li { position: relative; padding-left: 20px; margin: 8px 0; font-size: 0.95rem; color: var(--ink); line-height: 1.5; }
.card li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; background: var(--orange); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.card-icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; }
.card-icon svg { width: 30px; height: 30px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card-icon.geo { background: var(--orange-soft); }
.card-icon.geo svg { stroke: var(--orange); }
.card-icon .thick { stroke-width: 3.2; }
.card-icon .thin { stroke-width: 1.3; }
.card-icon.sta { background: #ECECEC; }
.card-icon.sta svg { stroke: var(--grey); }
.card-icon.eq { background: linear-gradient(135deg, var(--orange-soft) 50%, #ECECEC 50%); }
.card-icon.eq svg { stroke: var(--ink); }

/* investors */
.section-dark { background: var(--dark); color: #E8E6E3; }
.section-dark h2 { color: #fff; }
.lead-dark { color: #C5C2BD; font-size: 1.05rem; }
.questions { list-style: none; counter-reset: q; margin: 0; padding: 0; display: grid; gap: 12px; }
.questions li {
  counter-increment: q; position: relative;
  background: var(--dark-2); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px;
  padding: 16px 20px 16px 64px; font-weight: 500; color: #F2F0ED; line-height: 1.5;
}
.questions li::before {
  content: counter(q, decimal-leading-zero); position: absolute; left: 20px; top: 16px;
  font-family: "Manrope", sans-serif; font-weight: 800; color: #E9A15F;
}

/* sectors */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chips li {
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; font-weight: 500; font-size: 0.97rem;
  background: #fff;
}

/* steps */
.steps { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.steps li { padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.step-n { display: block; font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--orange); margin-bottom: 10px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 0.95rem; margin: 0; }

/* why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 2.4rem; }
.why > div { border-top: 3px solid var(--ink); padding-top: 20px; }
.why > div:nth-child(odd) { border-top-color: var(--orange); }
.why > div:nth-child(even) { border-top-color: var(--grey); }
.why h3 { margin-bottom: 10px; }
.why p { color: var(--ink-2); font-size: 0.97rem; margin: 0; }

/* experience gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.gallery .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { padding: 20px 22px 22px; border-top: 3px solid var(--orange); }
.gallery figure:nth-child(2) figcaption { border-top-color: var(--grey); }
.gallery h3 { font-size: 1.05rem; margin-bottom: 6px; }
.gallery p { margin: 0; font-size: 0.93rem; color: var(--ink-2); }

/* contact */
.contact { background: linear-gradient(135deg, #fff 0%, var(--orange-soft) 100%); }
.contact-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; box-shadow: 0 14px 40px rgba(0,0,0,0.06); }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 18px 20px; text-decoration: none; border-radius: 10px; font-weight: 600; font-size: 1.05rem; transition: background .15s; overflow-wrap: anywhere; }
.contact-line:hover { background: var(--bg-alt); color: var(--orange); }
.contact-line + .contact-line { border-top: 1px solid var(--line); }
.contact-line svg { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linejoin: round; }

/* footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 48px 0 40px; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.footer-logo { width: 120px; height: auto; margin-bottom: 16px; }
.site-footer p { margin: 0; font-size: 0.92rem; color: var(--ink-2); }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .why { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .menu-btn { display: block; order: 3; }
  .lang { margin-left: auto; }
  .nav {
    position: absolute; top: var(--head-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,0.06);
    padding: 8px 16px 16px; margin: 0;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { margin-top: 12px; text-align: center; border-bottom: 0; }
  .hero-grid, .two-col, .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { max-width: 380px; }
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .header-inner { gap: 14px; }
  .brand-mark { height: 34px; }
  .brand-word { height: 17px; }
  .hero { padding: 44px 0 56px; }
  .section { padding: 64px 0; }
  .steps, .why, .gallery { grid-template-columns: 1fr; }
  .card { padding: 26px 22px; }
  .questions li { padding-left: 56px; }
}
