:root {
  --bg: #f5f1eb;
  --bg-soft: #fcfaf6;
  --text: #121212;
  --muted: #5d5a56;
  --line: rgba(18, 18, 18, 0.08);
  --accent: #d8674f;
  --accent-soft: rgba(216, 103, 79, 0.14);
  --card: #ffffff;
  --dark: #151515;
  --shadow: 0 26px 80px rgba(18, 18, 18, 0.08);
  --radius-xl: 42px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: 1240px;
  --font-body: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
  --font-display: "Gill Sans", "Trebuchet MS", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(216, 103, 79, 0.12), transparent 20%),
    linear-gradient(180deg, #fbf8f4 0%, var(--bg) 100%);
}

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

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

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 20px;
  position: relative;
}

.brand img {
  width: 134px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 1rem;
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: var(--shadow);
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav a {
  position: relative;
  color: rgba(16, 16, 16, 0.85);
  font-weight: 500;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-radius: 999px;
  padding: 0 28px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.nav-cta,
.button-primary {
  background: #060606;
  color: #fff8f3;
  box-shadow: 0 18px 40px rgba(6, 6, 6, 0.16);
}

.nav-cta:hover,
.button-primary:hover,
.nav-cta:focus-visible,
.button-primary:focus-visible {
  transform: translateY(-2px);
  background: var(--accent);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(216, 103, 79, 0.4);
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 56px;
  align-items: center;
  min-height: auto;
  padding: 40px 0 28px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.cta-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 7.2vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.012em;
}

.hero-text,
.section-heading,
.service-card p,
.industry-card p,
.process-grid p,
.cta-copy p,
.contact-lines p,
.footer p,
.hero-card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.06rem;
}

.hero-text {
  max-width: 620px;
  margin: 28px 0 32px;
  font-size: 1.14rem;
}

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

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

.hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.hero-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.hero-visual {
  position: relative;
  min-height: 760px;
}

.hero-arch {
  position: absolute;
  inset: 28px 0 0 54px;
  border: 1.5px solid rgba(216, 103, 79, 0.9);
  border-bottom: none;
  border-radius: 360px 360px 0 0;
  opacity: 0.92;
}

.hero-card {
  position: absolute;
  background: var(--card);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.hero-card-main {
  left: 94px;
  right: 34px;
  top: 90px;
  bottom: 132px;
  padding: 0;
  overflow: hidden;
  background: #e9e2d8;
}

.hero-card-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.card-kicker,
.hero-card-float span {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.hero-stats {
  position: absolute;
  left: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 710px);
}

.hero-stats article,
.service-card,
.industry-card,
.process-grid article,
.contact-card,
.logo-card,
.quote-box,
.profile-photo {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(16, 16, 16, 0.06);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-stats article {
  border-radius: 24px;
  padding: 22px 20px;
}

.hero-stats strong,
.service-card h3,
.industry-card h3,
.process-grid h3 {
  display: block;
  margin-bottom: 10px;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

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

.problem-strip p {
  margin: 0;
  padding: 24px 26px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(216, 103, 79, 0.08), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(216, 103, 79, 0.12);
  font-weight: 700;
}

.section {
  padding: 82px 0;
}

.section-dark {
  position: relative;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 24px -24px;
  z-index: -1;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.03), rgba(18, 18, 18, 0.01));
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin-bottom: 36px;
}

.section-heading h2,
.cta-copy h2 {
  font-size: clamp(2.3rem, 4vw, 4rem);
  max-width: 18ch;
}

.hero-copy {
  max-width: 680px;
}

.legal-title {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.05em;
  line-height: 0.95;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
}

.service-grid,
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: center;
}

.profile-copy {
  display: grid;
  gap: 18px;
  max-width: 620px;
}

.profile-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.08rem;
}

.profile-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  align-items: end;
}

.profile-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
}

.profile-photo-large {
  min-height: 560px;
}

.profile-photo-small {
  min-height: 360px;
  transform: translateY(40px);
}

.profile-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-photo-large img {
  object-position: center 24%;
}

.profile-photo-small img {
  object-position: center 18%;
}

.service-card,
.industry-card,
.contact-card,
.legal-card {
  border-radius: 28px;
  padding: 30px;
}

.legal-page {
  max-width: 840px;
}

.legal-card + .legal-card {
  margin-top: 18px;
}

.legal-card p {
  margin: 6px 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.04rem;
}

.legal-card strong {
  color: var(--text);
}

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

.process-grid article {
  border-radius: 28px;
  padding: 28px;
}

.process-grid span {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin-bottom: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

.accent-section {
  position: relative;
}

.accent-section::after {
  content: "";
  position: absolute;
  right: -40px;
  top: 42px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 103, 79, 0.12), rgba(216, 103, 79, 0));
  z-index: -1;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.logo-card {
  border-radius: 24px;
  min-height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.logo-card img {
  max-height: 58px;
  max-width: 100%;
  object-fit: contain;
}

.logo-card-text span {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.quote-section {
  padding-top: 10px;
}

.quote-box {
  border-radius: 32px;
  padding: 38px;
  background:
    linear-gradient(135deg, rgba(216, 103, 79, 0.11), rgba(255, 255, 255, 0.95)),
    #fff;
}

.quote-box p {
  margin: 0 0 16px;
  max-width: 34ch;
  font-size: clamp(1.5rem, 3vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 28px;
  align-items: start;
}

.button-full {
  width: 100%;
}

.contact-lines {
  margin-top: 24px;
}

.contact-lines p {
  margin: 8px 0;
}

.contact-lines a:hover,
.contact-lines a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

.footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 52px;
}

.footer img {
  width: 110px;
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-weight: 700;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(16, 16, 16, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 60px rgba(16, 16, 16, 0.12);
  backdrop-filter: blur(18px);
}

.cookie-banner p,
.cookie-banner strong {
  margin: 0;
}

.cookie-banner p {
  margin-top: 4px;
  color: var(--muted);
}

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

@media (max-width: 1120px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 24px;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero-visual {
    min-height: 640px;
  }

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

  .profile-layout,
  .cta-section {
    grid-template-columns: 1fr;
  }

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

  .profile-photo-small {
    transform: none;
  }
}

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

  .topbar,
  .hero-actions,
  .cookie-banner,
  .footer {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar {
    gap: 14px;
  }

  .menu-toggle {
    display: inline-flex;
    position: absolute;
    top: 28px;
    right: 0;
  }

  .nav {
    display: none;
    gap: 14px;
    text-align: left;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav.nav-open {
    display: flex;
    flex-direction: column;
  }

  .nav a {
    padding: 6px 0;
  }

  .nav-cta {
    display: none;
  }

  .nav-cta,
  .button {
    width: 100%;
  }

  .hero {
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 16vw, 4.8rem);
  }

  .hero-visual {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .hero-arch {
    inset: 14px 0 0 12px;
  }

  .hero-card {
    position: relative;
  }

  .hero-card-main {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    min-height: 420px;
  }

  .hero-card-main img {
    object-position: center 4%;
  }

  .hero-stats {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 0;
    z-index: 0;
  }

  .hero-stats article {
    border-radius: 22px;
    padding: 20px 20px 18px;
  }

  .hero-stats,
  .problem-strip,
  .profile-gallery,
  .service-grid,
  .industry-grid,
  .process-grid,
  .logo-grid {
    grid-template-columns: 1fr;
  }

  .profile-photo-large,
  .profile-photo-small {
    min-height: 320px;
  }

  .profile-photo-large img {
    object-position: center 58%;
  }

  .profile-photo-small img {
    object-position: 72% 52%;
  }

  .section {
    padding: 58px 0;
  }

  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
}
