:root {
  --ink: #16211f;
  --muted: #5f6d69;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #dfe5e1;
  --accent: #0f8b7b;
  --accent-dark: #09685c;
  --coral: #ff745f;
  --sun: #f4c84f;
  --blue: #2f6fdd;
  --shadow: 0 18px 45px rgba(22, 33, 31, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(223, 229, 225, 0.72);
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.hero-stats,
.tags,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-size: 0.86rem;
}

.nav {
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a:hover,
.footer a:hover {
  color: var(--accent-dark);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.button.primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(15, 139, 123, 0.22);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.section,
.section-band {
  padding: clamp(68px, 9vw, 116px) clamp(20px, 5vw, 64px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(34px, 5vw, 78px);
  min-height: min(830px, calc(92vh - 73px));
  padding-top: clamp(42px, 6vw, 66px);
  padding-bottom: clamp(46px, 6vw, 70px);
  background:
    linear-gradient(110deg, rgba(255, 116, 95, 0.11), transparent 34%),
    linear-gradient(300deg, rgba(47, 111, 221, 0.12), transparent 34%),
    var(--paper);
}

.hero-content,
.hero-visual {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

h1 span {
  display: inline;
}

.mobile-title-line {
  display: none;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 680px;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 34px;
}

.hero-stats {
  align-items: stretch;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats div {
  min-width: 150px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  margin-bottom: 4px;
  font-size: 1.25rem;
}

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

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  filter: drop-shadow(0 26px 50px rgba(22, 33, 31, 0.2));
}

.trust-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px clamp(20px, 5vw, 64px);
  border-block: 1px solid var(--line);
  background: #fff;
}

.trust-strip span,
.skill-cloud span,
.tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ink);
  background: #eef5f2;
  font-size: 0.88rem;
  font-weight: 700;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 520px;
  margin-bottom: 0;
}

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

.work-card,
.service-grid article,
.timeline article,
.quote-panel,
.skills-panel,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 32px rgba(22, 33, 31, 0.06);
}

.work-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.work-card.featured {
  grid-column: span 1;
}

.work-preview {
  display: block;
  overflow: hidden;
  background: #e8efeb;
}

.work-card img {
  width: 100%;
  aspect-ratio: 1.38 / 1;
  object-fit: cover;
  background: #e8efeb;
  transition: transform 220ms ease;
}

.work-card:hover img {
  transform: scale(1.025);
}

.work-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.work-type {
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tags {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tags span {
  min-height: 30px;
  background: #f4f1e9;
  font-size: 0.78rem;
}

.text-link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 18px;
  color: var(--accent-dark);
  font-weight: 800;
}

.text-link:hover {
  color: var(--ink);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 62px);
  background: #fff;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(30px, 6vw, 78px);
  background: #fff;
}

.about-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef5f2;
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 54% 34%;
}

.about-content {
  max-width: 820px;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.about-points div {
  min-height: 138px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.about-points strong,
.about-points span {
  display: block;
}

.about-points strong {
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.about-points span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

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

.service-grid article,
.timeline article {
  padding: 24px;
}

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

.timeline span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--coral);
  font-weight: 900;
}

.testimonial-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  background: #fff;
}

.quote-panel,
.skills-panel {
  padding: clamp(26px, 4vw, 42px);
}

.quote {
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.16;
}

.quote-meta {
  margin-bottom: 0;
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  background: var(--ink);
}

.contact h2,
.contact p:not(.eyebrow) {
  color: #fff;
}

.contact .eyebrow {
  color: #83e1d2;
}

.contact-card {
  padding: 22px;
  background: #fff;
}

.button.full {
  width: 100%;
  margin-bottom: 12px;
}

.contact-card p {
  margin: 12px 0 0;
  font-size: 0.88rem;
}

.footer {
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .about-section,
  .testimonial-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    max-width: 760px;
  }

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

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .site-header.menu-active .nav {
    position: fixed;
    inset: 73px 16px auto;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-header.menu-active .nav a {
    padding: 14px 12px;
  }

  .section,
  .section-band {
    padding: 48px 20px;
  }

  .eyebrow {
    font-size: 0.72rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  h1 {
    font-size: clamp(2rem, 8.5vw, 2.35rem);
    line-height: 1.05;
    overflow-wrap: break-word;
  }

  .hero {
    gap: 34px;
    width: 100%;
  }

  .hero-content,
  .hero-visual {
    width: 100%;
    max-width: min(350px, calc(100vw - 40px));
  }

  .hero-content > * {
    max-width: 100%;
  }

  .desktop-title-line {
    display: none;
  }

  h1 span,
  .mobile-title-line {
    display: block;
  }

  .hero-visual {
    width: 100%;
    margin: 0 auto;
  }

  .work-grid,
  .service-grid,
  .about-points,
  .timeline {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .work-grid,
  .about-content,
  .about-photo {
    width: 100%;
    max-width: min(350px, calc(100vw - 40px));
  }

  .work-card.featured {
    grid-column: auto;
  }

  .hero-stats div {
    flex: 1 1 180px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: min(350px, calc(100vw - 40px));
  }

  .hero-stats div {
    min-width: 0;
  }

  .hero-stats div:last-child {
    grid-column: 1 / -1;
  }

  .contact-card {
    width: 100%;
  }

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