:root {
  color-scheme: light;
  --ink: #171614;
  --muted: #625f58;
  --paper: #f5f3ee;
  --panel: #ffffff;
  --line: #ddd7cc;
  --green: #1d6a4f;
  --green-soft: #e4efe8;
  --amber: #c66b22;
  --amber-bright: #f27618;
  --dark: #10100f;
  --dark-2: #171512;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f8f6f1 0, var(--paper) 420px),
    var(--paper);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 76px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16, 16, 15, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #fff7ef;
  background:
    linear-gradient(135deg, rgba(242, 118, 24, 0.28), rgba(255, 255, 255, 0)),
    #151310;
  border: 1px solid rgba(242, 118, 24, 0.45);
  border-radius: 8px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: #a8a098;
}

.brand strong {
  color: #fffaf3;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

nav a {
  padding: 10px 12px;
  color: #c6beb4;
  border: 1px solid transparent;
}

nav a:hover {
  color: #fffaf3;
  border-color: rgba(242, 118, 24, 0.32);
  background: rgba(255, 255, 255, 0.05);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: end;
  min-height: min(820px, 88vh);
  padding: clamp(68px, 8vw, 108px) clamp(20px, 5vw, 76px) clamp(24px, 4vw, 42px);
  color: #fffaf3;
  overflow: hidden;
  border-bottom: 1px solid #211f1b;
  background: #100f0d;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 16, 15, 0.96) 0%, rgba(16, 16, 15, 0.9) 48%, rgba(16, 16, 15, 0.72) 100%),
    #100f0d;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 118, 24, 0.7), transparent);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--amber-bright);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(2.65rem, 6.2vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px 0 0;
  color: #d2cbc1;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.72;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 800;
}

.button.primary {
  color: #190b02;
  background: var(--amber-bright);
  border-color: #ff9c4f;
}

.button.secondary {
  color: #fffaf3;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.button.level-one {
  color: #0f1c15;
  background: #e6efe8;
  border-color: rgba(29, 106, 79, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.74);
}

.button.contact-cta {
  color: #fffaf3;
  background: #171614;
  border-color: rgba(242, 118, 24, 0.62);
}

.button.ghost {
  color: #d2cbc1;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.14);
}

.hero-showcase {
  position: relative;
  min-height: clamp(330px, 43vw, 560px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #171512;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
}

.hero-showcase img {
  width: 100%;
  height: 100%;
  min-height: clamp(330px, 43vw, 560px);
  display: block;
  object-fit: cover;
  object-position: center center;
}

.photo-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 14px;
  color: #fffaf3;
  background: rgba(16, 16, 15, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  backdrop-filter: blur(12px);
}

.photo-caption span,
.evaluator-credit span {
  display: block;
  color: var(--amber-bright);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.photo-caption strong {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
}

.hero-console {
  grid-column: 2;
  padding: 18px;
  color: #fffaf3;
  background: rgba(16, 16, 15, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(16px);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.3);
}

.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.console-head span,
.hero-proof span,
.hero-console dt {
  color: #a8a098;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.console-head strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fffaf3;
  font-size: 0.86rem;
}

.console-head strong::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #f27618;
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(242, 118, 24, 0.15);
}

.hero-console dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.hero-console div:not(.console-head) {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-console div:last-child {
  border-bottom: 0;
}

.hero-console dd {
  margin: 6px 0 0;
  color: #fffaf3;
  font-weight: 800;
  line-height: 1.35;
}

.evaluator-credit {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(190px, 0.35fr) minmax(260px, 0.65fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px;
  color: #fffaf3;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(242, 118, 24, 0.26);
  border-radius: 8px;
}

.evaluator-credit strong {
  font-size: 1rem;
  line-height: 1.35;
}

.evaluator-credit p {
  margin: 0;
  color: #cfc8bd;
  line-height: 1.55;
}

.hero-proof {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(24px, 5vw, 52px);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-proof span {
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 14px;
  color: #e5ded5;
  background: rgba(16, 16, 15, 0.72);
}

.band {
  padding: clamp(52px, 7vw, 88px) clamp(20px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
}

.project-band,
.levels-band,
.vision-band {
  background: #fff;
}

.work-band,
.pipeline-band,
.philosophy-band {
  background: #ece9e1;
}

.quote-block {
  max-width: 980px;
}

.quote-block blockquote {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 3.1rem);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
}

.quote-block p:last-child {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-head {
  max-width: 860px;
  margin-bottom: 30px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.scope-grid,
.level-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.scope-grid article,
.level-panel {
  min-height: 250px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 55px rgba(34, 29, 22, 0.05);
}

.index,
.level-kicker {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--green);
  font-weight: 900;
}

.scope-grid h3,
.level-panel h3 {
  margin: 0 0 12px;
  font-size: 1.26rem;
}

.scope-grid p,
.level-panel p,
.work-copy p,
.work-copy li,
.pipeline li {
  color: var(--muted);
  line-height: 1.68;
}

.vision-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(26px, 5vw, 62px);
  align-items: center;
}

.vision-photo {
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e6ece6;
}

.vision-photo img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  display: block;
  object-fit: cover;
}

.vision-copy h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.3vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.vision-copy p {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.vision-copy blockquote {
  margin: 24px 0 0;
  padding-left: 18px;
  color: var(--green);
  border-left: 4px solid var(--green);
  font-size: 1.22rem;
  line-height: 1.45;
  font-weight: 900;
}

.work-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 30px;
  align-items: start;
}

.work-copy {
  max-width: 900px;
}

.work-copy p {
  margin-top: 0;
  font-size: 1.05rem;
}

.work-copy ul {
  margin: 22px 0 0;
  padding-left: 20px;
}

.work-copy li + li {
  margin-top: 10px;
}

.metrics {
  display: grid;
  gap: 12px;
}

.metrics div {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metrics strong {
  display: block;
  color: var(--green);
  font-size: 2.4rem;
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.level-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.level-panel p:not(.level-kicker) {
  flex: 1;
}

.level-panel.featured {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(242, 118, 24, 0.18), rgba(255, 255, 255, 0)),
    var(--dark);
  border-color: var(--dark);
}

.level-panel.featured p,
.level-panel.featured .level-kicker {
  color: #d7cfc4;
}

.level-panel.muted {
  background: #f5f7f2;
}

.pipeline {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pipeline li {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pipeline span {
  color: var(--amber);
  font-weight: 900;
}

.contact-hero {
  padding: clamp(72px, 8vw, 118px) clamp(20px, 5vw, 76px);
  color: #fffaf3;
  background:
    linear-gradient(90deg, rgba(16, 16, 15, 0.96), rgba(16, 16, 15, 0.72)),
    url("gfis-dipex.jpeg") center / cover;
  border-bottom: 1px solid #211f1b;
}

.contact-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.contact-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px 0 0;
  color: #d8d0c5;
  font-size: 1.08rem;
  line-height: 1.7;
}

.contact-grid-band {
  background: #f7f4ed;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: start;
}

.contact-form,
.contact-directory {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 55px rgba(34, 29, 22, 0.05);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 5px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.full-span {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.contact-directory h2 {
  margin: 0 0 18px;
  font-size: 1.65rem;
}

.contact-directory dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.contact-directory div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-directory dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-directory dd {
  margin: 6px 0 0;
  color: var(--green);
  font-weight: 800;
}

.contact-directory blockquote {
  margin: 22px 0 0;
  padding-left: 16px;
  color: var(--green);
  border-left: 4px solid var(--green);
  line-height: 1.55;
  font-weight: 900;
}

.corporate-footer {
  padding: 54px clamp(20px, 5vw, 76px) 28px;
  color: #dce5df;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%) 0 0 / 34px 34px,
    var(--dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
}

.footer-title {
  margin: 0 0 16px;
  color: #fff;
  font-weight: 900;
}

.footer-copy {
  margin: 0;
  color: #b9c4bd;
  line-height: 1.75;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #dce5df;
}

.footer-links a:hover {
  color: #bde6cb;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 22px;
  color: #98a49d;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .work-layout,
  .footer-grid,
  .vision-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .site-header {
    display: grid;
  }

  .hero {
    min-height: auto;
  }

  .scope-grid,
  .level-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero-console,
  .evaluator-credit {
    grid-column: 1;
  }

  .evaluator-credit {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  nav a,
  .button {
    width: 100%;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .pipeline li,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }
}
