:root {
  color-scheme: light;
  --bg: #f6f8f5;
  --surface: #ffffff;
  --ink: #14201f;
  --muted: #5b6661;
  --line: rgba(20, 32, 31, 0.14);
  --accent: #0f766e;
  --accent-strong: #0b4f49;
  --warm: #c45124;
  --shadow: 0 24px 70px rgba(20, 32, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 56px);
  color: #ffffff;
  background: linear-gradient(180deg, rgba(11, 19, 18, 0.74), rgba(11, 19, 18, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  font-size: 14px;
}

.brand-text {
  font-size: 15px;
}

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

.nav-links a {
  border-radius: 8px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 74vh;
  overflow: hidden;
  color: #ffffff;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(9, 20, 18, 0.88), rgba(9, 20, 18, 0.55) 46%, rgba(9, 20, 18, 0.18)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 32%;
  background: linear-gradient(180deg, rgba(246, 248, 245, 0), var(--bg));
  content: "";
}

.hero-content {
  align-self: center;
  width: min(760px, calc(100% - 36px));
  margin: 92px auto 48px;
  padding-right: min(16vw, 180px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--warm);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2b28f;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: 58px;
  line-height: 1.02;
  font-weight: 800;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 22px;
  line-height: 1.45;
}

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

.button,
.copy-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-strong);
  outline: none;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.intro,
.work,
.contact {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 84px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: start;
}

h2 {
  margin-bottom: 0;
  font-size: 36px;
  line-height: 1.15;
}

.intro-copy {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

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

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

.work-card {
  min-height: 236px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(20, 32, 31, 0.06);
}

.card-number {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.work-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.2;
}

.work-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.contact-panel {
  border-left: 4px solid var(--accent);
  padding-left: 28px;
}

.contact-panel p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.email-link {
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  text-decoration-color: rgba(15, 118, 110, 0.5);
  text-underline-offset: 5px;
}

.copy-button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.copy-button:hover,
.copy-button:focus-visible {
  border-color: var(--accent);
  color: var(--accent-strong);
  outline: none;
}

.copy-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 26px 0 34px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  font-weight: 800;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent-strong);
  outline: none;
}

@media (max-width: 820px) {
  .site-header {
    min-height: 64px;
  }

  .brand-text {
    display: none;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    padding: 9px 8px;
    font-size: 13px;
  }

  .hero {
    min-height: 72vh;
  }

  .hero-media {
    background:
      linear-gradient(90deg, rgba(9, 20, 18, 0.9), rgba(9, 20, 18, 0.58)),
      url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1200&q=82") center / cover;
  }

  .hero-content {
    width: min(100% - 36px, 620px);
    margin-top: 96px;
    padding-right: 0;
  }

  h1 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 19px;
  }

  .intro,
  .work,
  .contact {
    padding: 58px 0;
  }

  .intro-grid,
  .contact {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  h2 {
    font-size: 30px;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding-inline: 12px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav-links a {
    font-size: 12px;
  }

  h1 {
    font-size: 34px;
  }

  .hero-lead,
  .intro-copy,
  .contact-panel p {
    font-size: 16px;
  }

  .button,
  .copy-button {
    width: 100%;
  }

  .email-link {
    overflow-wrap: anywhere;
    font-size: 19px;
  }

  .contact-panel {
    padding-left: 18px;
  }

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