:root {
  --ink: #11110f;
  --graphite: #24231f;
  --steel: #5f6764;
  --paper: #f4efe4;
  --paper-2: #ebe2d1;
  --light: #fffaf0;
  --amber: #f1b434;
  --cyan: #2fd7d1;
  --oxide: #b9472c;
  --line: rgba(17, 17, 15, 0.16);
  --white-line: rgba(255, 250, 240, 0.18);
  --shadow: 0 22px 60px rgba(17, 17, 15, 0.18);
  --radius: 8px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(17, 17, 15, 0.05) 1px, transparent 1px) 0 0 / 38px 38px,
    var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 0 58%, rgba(241, 180, 52, 0.12) 58% 58.7%, transparent 58.7%),
    linear-gradient(68deg, transparent 0 70%, rgba(47, 215, 209, 0.1) 70% 70.5%, transparent 70.5%);
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 239, 228, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-grid;
  grid-template-columns: 46px auto;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink);
  background:
    linear-gradient(135deg, var(--ink) 0 48%, var(--amber) 48% 53%, var(--paper) 53%);
  color: var(--light);
  font-size: 18px;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--steel);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-links a {
  padding: 9px 10px;
  border-radius: 999px;
  color: var(--graphite);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a:hover {
  background: var(--ink);
  color: var(--light);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--light);
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 6px 6px 0 var(--amber);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.nav-cta:hover,
.button:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--amber);
}

.button.alt {
  background: transparent;
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--cyan);
}

.section {
  padding: 72px 0;
}

.section.dark {
  background: var(--ink);
  color: var(--light);
}

.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--oxide);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 0.96;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  font-size: clamp(3.4rem, 14vw, 9.2rem);
  text-transform: uppercase;
}

h2 {
  max-width: 820px;
  font-size: clamp(2.45rem, 8vw, 5.9rem);
  text-transform: uppercase;
}

h3 {
  font-size: clamp(1.35rem, 5vw, 2.1rem);
}

.lead {
  max-width: 720px;
  color: var(--graphite);
  font-size: clamp(1.05rem, 3vw, 1.35rem);
}

.dark .lead {
  color: rgba(255, 250, 240, 0.72);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  padding: 56px 0 34px;
  background:
    linear-gradient(180deg, rgba(244, 239, 228, 0.2), rgba(235, 226, 209, 0.86)),
    radial-gradient(circle at 80% 18%, rgba(47, 215, 209, 0.2), transparent 24%);
}

.hero::after {
  content: "SG";
  position: absolute;
  right: -6vw;
  bottom: -6vw;
  z-index: 0;
  color: rgba(17, 17, 15, 0.045);
  font-family: var(--font-display);
  font-size: clamp(13rem, 42vw, 32rem);
  font-weight: 800;
  line-height: 0.75;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 38px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.stage-visual {
  position: relative;
  min-height: 460px;
  border: 1px solid var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.08) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(180deg, #191815, #2b2821 48%, #11110f);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stage-visual::before,
.stage-visual::after {
  content: "";
  position: absolute;
  inset: -20% auto auto 50%;
  width: 34%;
  height: 130%;
  transform-origin: top;
  background: linear-gradient(180deg, rgba(241, 180, 52, 0.82), rgba(241, 180, 52, 0.05) 64%, transparent);
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  mix-blend-mode: screen;
}

.stage-visual::before {
  transform: rotate(18deg);
}

.stage-visual::after {
  transform: rotate(-24deg);
  background: linear-gradient(180deg, rgba(47, 215, 209, 0.72), rgba(47, 215, 209, 0.04) 62%, transparent);
}

.truss {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 62px;
  border-top: 2px solid var(--light);
  border-bottom: 2px solid var(--light);
  background:
    repeating-linear-gradient(135deg, transparent 0 25px, rgba(255, 250, 240, 0.8) 26px 28px, transparent 29px 52px);
}

.lift {
  position: absolute;
  right: 36px;
  bottom: 34px;
  width: 33%;
  min-width: 170px;
  height: 56%;
  border-left: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
  background: repeating-linear-gradient(0deg, rgba(47, 215, 209, 0.18) 0 12px, transparent 12px 36px);
}

.lift::before {
  content: "";
  position: absolute;
  left: -30px;
  right: -30px;
  bottom: 22%;
  height: 30px;
  border: 2px solid var(--amber);
  background: rgba(17, 17, 15, 0.78);
}

.frame-code {
  position: absolute;
  left: 24px;
  bottom: 22px;
  display: grid;
  gap: 7px;
  color: var(--light);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.frame-code span {
  width: max-content;
  padding: 5px 8px;
  background: rgba(255, 250, 240, 0.08);
}

.split {
  display: grid;
  gap: 30px;
}

.service-grid,
.values-grid,
.team-grid,
.policy-grid {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.service-card,
.value-card,
.team-card,
.policy-card {
  position: relative;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.54);
}

.service-card::before {
  content: attr(data-index);
  display: block;
  margin-bottom: 26px;
  color: var(--oxide);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
}

.service-card h3,
.value-card h3,
.team-card h3,
.policy-card h3 {
  margin-bottom: 14px;
}

.service-card p,
.value-card p,
.team-card p,
.policy-card p,
.muted {
  color: var(--steel);
}

.stats-strip {
  display: grid;
  gap: 1px;
  margin-top: 36px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat {
  min-height: 170px;
  padding: 24px;
  background: var(--paper);
}

.stat strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 12vw, 5.4rem);
  line-height: 1;
}

.stat span {
  display: block;
  max-width: 260px;
  margin-top: 10px;
  color: var(--steel);
  font-weight: 800;
}

.quote-grid {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.quote {
  padding: 28px;
  border-left: 6px solid var(--amber);
  background: rgba(255, 250, 240, 0.08);
}

.quote p {
  margin-bottom: 18px;
  color: rgba(255, 250, 240, 0.86);
  font-size: 1.08rem;
}

.quote cite {
  color: var(--cyan);
  font-style: normal;
  font-weight: 900;
}

.faq {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.56);
}

.faq summary {
  cursor: pointer;
  padding: 20px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
}

.faq p {
  padding: 0 20px 20px;
  color: var(--steel);
}

.page-hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(185, 71, 44, 0.12) 0 12px, transparent 12px 100%),
    linear-gradient(120deg, rgba(47, 215, 209, 0.14), transparent 38%),
    var(--paper-2);
}

.page-hero .lead {
  margin-top: 22px;
}

.content-flow {
  display: grid;
  gap: 28px;
  max-width: 900px;
}

.content-flow h2 {
  font-size: clamp(2rem, 7vw, 4rem);
}

.content-flow ul {
  margin: 0;
  padding-left: 20px;
}

.contact-layout {
  display: grid;
  gap: 24px;
}

.contact-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.58);
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--graphite);
  font-weight: 900;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(17, 17, 15, 0.34);
  border-radius: 0;
  background: var(--light);
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

textarea {
  min-height: 148px;
  resize: vertical;
}

.site-footer {
  background: var(--ink);
  color: var(--light);
}

.footer-inner {
  display: grid;
  gap: 32px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.footer-brand {
  display: grid;
  gap: 12px;
  max-width: 420px;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}

.footer-columns {
  display: grid;
  gap: 24px;
}

.footer-col h3 {
  margin-bottom: 12px;
  color: var(--amber);
  font-size: 1rem;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 250, 240, 0.72);
}

.footer-bottom {
  border-top: 1px solid var(--white-line);
  color: rgba(255, 250, 240, 0.62);
  font-size: 13px;
}

.footer-bottom .section-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
}

@media (min-width: 760px) {
  .hero-grid,
  .split,
  .contact-layout {
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
  }

  .service-grid,
  .values-grid,
  .team-grid,
  .policy-grid,
  .quote-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-inner,
  .footer-columns {
    grid-template-columns: 1.2fr 1.8fr;
  }
}

@media (max-width: 759px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .nav-links {
    width: 100%;
  }

  .nav-cta {
    width: 100%;
  }

  .stage-visual {
    min-height: 360px;
  }

  .section {
    padding: 54px 0;
  }
}
