* {
  box-sizing: border-box;
}

:root {
  --black: #141414;
  --ink: #202020;
  --muted: #686868;
  --paper: #f6f4f0;
  --paper-2: #ebe8e2;
  --white: #ffffff;
  --orange: #f28c28;
  --orange-dark: #c7660e;
  --line: rgba(20,20,20,.12);
  --dark-line: rgba(255,255,255,.12);
  --shadow: 0 24px 70px rgba(20,20,20,.12);
  --radius: 22px;
  --max: 1160px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px max(18px, calc((100vw - var(--max)) / 2 + 18px));
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand img {
  width: min(280px, 56vw);
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.site-nav a,
.mobile-nav a {
  padding: 10px 12px;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-radius: 999px;
}

.site-nav a:hover,
.mobile-nav a:hover {
  background: var(--black);
  color: var(--white);
}

.menu-btn {
  display: none;
  border: 0;
  background: var(--black);
  color: var(--white);
  border-radius: 999px;
  padding: 11px 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.mobile-nav {
  display: none;
  position: sticky;
  top: 72px;
  z-index: 19;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 10px 18px;
}

.mobile-nav.is-open {
  display: grid;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(20,20,20,.92), rgba(20,20,20,.76)),
    radial-gradient(circle at 78% 20%, rgba(242,140,40,.36), transparent 30%),
    url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: var(--white);
}

.hero-grid {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 42px;
  align-items: center;
  padding: 84px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  margin: 0 0 14px;
}

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

.eyebrow.dark {
  color: var(--orange-dark);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: .98;
  letter-spacing: -.06em;
}

h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1;
  letter-spacing: -.05em;
}

h3 {
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.lead {
  max-width: 670px;
  margin: 22px 0 30px;
  color: rgba(255,255,255,.8);
  font-size: 19px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 13px;
}

.btn-primary {
  background: var(--orange);
  color: var(--black);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,.35);
  color: var(--white);
}

.hero-panel {
  padding: 26px;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.panel-label {
  display: block;
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
}

.hero-panel strong {
  display: block;
  margin: 12px 0;
  font-size: 46px;
  line-height: 1;
  letter-spacing: -.05em;
}

.hero-panel p {
  color: rgba(255,255,255,.75);
}

.trust-strip {
  background: var(--orange);
  color: var(--black);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0;
}

.strip-grid span {
  padding: 18px;
  font-weight: 900;
  text-align: center;
  border-right: 1px solid rgba(20,20,20,.18);
}

.section {
  padding: 78px 0;
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.split > p {
  color: var(--muted);
  font-size: 18px;
}

.portfolio-section {
  background: var(--paper-2);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.search-box {
  display: grid;
  gap: 8px;
  min-width: min(320px, 100%);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.search-box input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 14px 16px;
  outline: none;
}

.search-box input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(242,140,40,.16);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(20,20,20,.07);
  transition: transform .25s ease, box-shadow .25s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.card-number {
  font-weight: 900;
  color: var(--orange-dark);
}

.status {
  padding: 6px 9px;
  border-radius: 999px;
  background: #e9f8ec;
  color: #137333;
  font-size: 12px;
  font-weight: 900;
}

.portfolio-card p {
  color: var(--muted);
  margin: 12px 0 24px;
}

.portfolio-card a {
  margin-top: auto;
  display: inline-flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-weight: 900;
}

.portfolio-card a:hover {
  background: var(--orange);
  color: var(--black);
}

.add-more-section {
  background: var(--black);
  color: var(--white);
}

.add-more-box {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 34px;
  align-items: start;
}

.add-more-box pre {
  margin: 0;
  overflow: auto;
  padding: 22px;
  border-radius: var(--radius);
  background: #0b0b0b;
  border: 1px solid var(--dark-line);
  color: #f4f4f4;
  font-size: 13px;
}

.site-footer {
  background: #0d0d0d;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .7fr;
  gap: 34px;
  padding: 42px 0;
}

.footer-grid img {
  max-width: 260px;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: rgba(255,255,255,.7);
}

.footer-grid h3 {
  margin: 0 0 12px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
}

.footer-grid a {
  display: block;
  margin: 8px 0;
}

.footer-bottom {
  border-top: 1px solid var(--dark-line);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .hero-grid,
  .split,
  .add-more-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 70px 0;
  }

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

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 580px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand img {
    width: min(220px, 62vw);
  }

  h1 {
    font-size: 40px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .strip-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .strip-grid span {
    text-align: left;
  }

  .section {
    padding: 58px 0;
  }

  .portfolio-card {
    min-height: 230px;
  }
}
