:root {
  --accent: #F2A93B;
  --on-accent: #0E1A24;
}

[data-theme="light"] {
  --bg: #F7F9FA;
  --fg: #0E1A24;
  --muted: #3F5361;
  --label: #5B6F7D;
  --card: #FFFFFF;
  --border: #D9E1E7;
  --line: #A9BAC6;
  --accent-text: #8C6222;
}

[data-theme="dark"] {
  --bg: #0E1A24;
  --fg: #E8EEF2;
  --muted: #B4C3CE;
  --label: #8FA3B1;
  --card: #13232F;
  --border: #22384A;
  --line: #4A6A80;
  --accent-text: #F2A93B;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  transition: background .2s, color .2s;
}

h1,
h2,
h3,
h4 {
  font-family: 'Space Grotesk', Inter, system-ui, sans-serif;
  margin: 0;
}

p,
ul {
  margin: 0;
}

a {
  color: inherit;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 32px);
  padding-right: clamp(20px, 4vw, 32px);
}

.section {
  border-bottom: 1px solid var(--border);
}

.section>.wrap {
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(64px, 8vw, 104px);
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-text);
}

.h2 {
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: 1.15;
}

.muted {
  color: var(--muted);
}

.intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 6px;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--fg);
}

.btn:hover {
  opacity: .88;
}

/* header */
header {
  border-bottom: 1px solid var(--border);
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .5px;
}

.logo span {
  color: var(--accent-text);
}

.menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 24px;
  font-size: 15px;
}

.menu a.link {
  text-decoration: none;
  padding: 10px 0;
}

.theme-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--fg);
  cursor: pointer;
  padding: 0;
}

.cta-outline {
  text-decoration: none;
  padding: 11px 18px;
  border: 1px solid var(--accent-text);
  border-radius: 6px;
  color: var(--accent-text);
  font-weight: 600;
}

[data-theme="light"] .icon-sun,
[data-theme="dark"] .icon-moon {
  display: none;
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero svg.lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .45;
}

.hero .wrap {
  position: relative;
  padding-top: clamp(64px, 10vw, 120px);
  padding-bottom: clamp(64px, 9vw, 112px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.08;
  font-weight: 700;
  max-width: 880px;
}

.hero .lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  max-width: 720px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

/* stats */
.section>.wrap.stats {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px 32px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.stats>div {
  flex: 1 1 200px;
}

.stat {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--accent-text);
}

.stat-label {
  color: var(--label);
  font-size: 15px;
}

/* services */
.group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.group h3 {
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.group h3::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  flex: 1 1 250px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cards.three .card {
  flex-basis: 300px;
}

.card h4 {
  font-size: 19px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

/* approach */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps .card {
  flex-basis: 220px;
}

.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-text);
}

/* work */
.work {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 24px;
}

.work article {
  flex: 1 1 300px;
  border-top: 2px solid var(--line);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.work article.featured {
  border-top-color: var(--accent);
}

.work .tag {
  font-size: 13px;
  color: var(--label);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.work h3 {
  font-size: 22px;
}

.work p.desc {
  color: var(--muted);
  font-size: 15px;
}

/* about */
.about {
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 32px 56px !important;
}

.about>div:first-child {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about>div:last-child {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--muted);
}

.about ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--fg);
  font-size: 15px;
}

/* contact */
.contact {
  align-items: flex-start;
  gap: 24px !important;
}

.contact h2 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.12;
  max-width: 760px;
}

footer .wrap {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--label);
}
