@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable.css');

:root {
  color-scheme: light;
  --paper: #f8f8f5;
  --surface: #fff;
  --ink: #171914;
  --muted: #72756c;
  --line: #dfe0d8;
  --accent: #c7f36a;
  --accent-ink: #304111;
  --soft: #f0f1e9;
  --header: rgba(248, 248, 245, .88);
  --chart-s0: #979b8f;
  --chart-s1: #5f8f1a;
  --max: 1180px;
  --pad: clamp(24px, 6.4vw, 92px);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #171914;
  --surface: #20221d;
  --ink: #f2f3eb;
  --muted: #a3a69b;
  --line: #3a3d34;
  --accent: #c7f36a;
  --accent-ink: #283312;
  --soft: #252820;
  --header: rgba(23, 25, 20, .9);
  --chart-s0: #6e7266;
  --chart-s1: #b5e35a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); transition: background .25s ease, color .25s ease; }
button, a { color: inherit; font: inherit; }
a { text-decoration: none; }
button { cursor: pointer; }
::selection { color: var(--ink); background: var(--accent); }
[hidden] { display: none !important; }
.section-wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 30; top: 12px; left: 12px; transform: translateY(-160%); padding: 12px 16px; background: var(--accent); color: #171914; }
.skip-link:focus { transform: translateY(0); }
.site-header { height: 76px; padding-inline: var(--pad); position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: var(--header); backdrop-filter: blur(16px); }
.wordmark { width: 34px; height: 34px; display: inline-grid; place-items: center; font-size: 20px; line-height: 1; font-weight: 850; letter-spacing: -1.4px; }
.wordmark span { color: #7aa52e; }
.main-nav { display: flex; gap: clamp(20px, 3.5vw, 48px); align-items: center; }
.main-nav a, .contact-link { font-size: 12px; font-weight: 620; letter-spacing: .015em; transition: opacity .2s ease; }
.main-nav a:hover, .contact-link:hover, .back-top:hover { opacity: .58; }
.header-actions { display: flex; align-items: center; gap: 24px; }
.contact-link span { color: #719a29; font-size: 15px; }
.theme-toggle { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: transparent; transition: background .2s, border-color .2s; }
.theme-toggle:hover { background: var(--soft); }
.theme-icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero { min-height: 680px; padding-top: clamp(72px, 11vw, 144px); padding-bottom: 50px; display: flex; flex-direction: column; }
.hero-topline, .hero-heading-row { display: flex; justify-content: space-between; align-items: flex-start; }
.eyebrow { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; font-weight: 720; letter-spacing: .16em; text-transform: uppercase; }
.hero-years { color: var(--muted); font-size: 11px; font-weight: 560; }
.hero-heading-row { flex: 1; padding-top: clamp(42px, 7vw, 88px); align-items: flex-end; }
.hero-name { margin: 0 0 14px; font-size: clamp(22px, 3vw, 36px); font-weight: 550; letter-spacing: -.055em; }
h1 { margin: 0; max-width: 820px; font-size: clamp(62px, 10.2vw, 132px); font-weight: 720; line-height: .93; letter-spacing: -.088em; }
h1 span { color: var(--muted); font-weight: 480; }
h1.results { max-width: none; font-size: clamp(34px, 7.6vw, 96px); line-height: 1.08; letter-spacing: -.065em; }
h1.results strong { font-weight: 800; background: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 92%, transparent 92%); }
.hero-intro { max-width: 520px; margin: 28px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; letter-spacing: -.02em; }
.hero-scroll { display: flex; flex-direction: column; align-items: flex-end; gap: 19px; padding-bottom: 10px; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.scroll-arrow { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; font-size: 15px; transition: transform .25s ease, background .25s ease; }
.hero-scroll:hover .scroll-arrow { transform: translateY(4px); background: var(--accent); border-color: var(--accent); }
.hero-rule { height: 1px; background: var(--line); margin-top: 60px; }
.hero-rule span { display: block; width: 38px; height: 2px; background: var(--accent); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-card { padding: 26px 24px 0 0; min-height: 124px; }
.stat-card + .stat-card { padding-left: 26px; border-left: 1px solid var(--line); }
.stat-value { display: block; font-size: clamp(28px, 4vw, 48px); font-weight: 650; line-height: 1.1; letter-spacing: -.065em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-label { display: block; margin-top: 12px; color: var(--muted); font-size: 12px; font-weight: 530; letter-spacing: -.02em; word-break: keep-all; }
.section-block { padding-block: clamp(78px, 10vw, 138px); }
.section-heading { display: grid; grid-template-columns: minmax(140px, .44fr) 1fr; align-items: start; margin-bottom: 60px; }
.section-heading h2 { margin: -9px 0 0; font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -.075em; font-weight: 640; }
.about-content { margin-left: min(37%, 430px); padding-top: 2px; }
.proof-badge { width: fit-content; display: flex; align-items: center; gap: 10px; padding: 11px 15px 11px 12px; background: var(--accent); color: #25320f; border-radius: 999px; font-size: 12px; font-weight: 730; letter-spacing: -.025em; }
.badge-mark { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: rgba(37, 50, 15, .11); font-size: 12px; }
.about-copy { max-width: 600px; margin: 28px 0 0; color: var(--muted); font-size: 17px; line-height: 1.85; letter-spacing: -.03em; white-space: pre-line; }
.capability-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.capability-list li { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; }
.projects-section { background: var(--soft); }
.projects-heading { margin-bottom: 46px; }
.section-aside { justify-self: end; margin: 5px 0 0; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.section-aside span { margin-left: 8px; color: #72982c; font-size: 14px; }
.projects-heading .eyebrow + h2 { margin-top: 16px; }
.project-list { display: grid; gap: 44px; }
.project-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 14px; }
.project-group-head h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.04em; }
.project-group-head h3 span { margin-left: 8px; color: var(--muted); font-size: 13px; font-weight: 600; }
.project-group-head p { margin: 0; color: var(--muted); font-size: 12px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.project-card { --b: var(--brand, #5f8a1c); position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 250px; padding: 22px 22px 18px; overflow: hidden; text-align: left; border: 1px solid var(--line); border-top: 4px solid var(--b); background: var(--paper); color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
:root[data-theme="dark"] .project-card { --b: var(--brand-dark, var(--accent)); }
.project-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .08); }
.project-card-top, .project-card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.project-brand { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: -.02em; }
.project-brand i { width: 8px; height: 8px; border-radius: 50%; background: var(--b); }
.project-tag { flex: 0 0 auto; padding: 5px 9px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .015em; }
.project-highlight { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: auto 0 0; padding-top: 22px; }
.project-highlight strong { color: var(--b); font-size: clamp(30px, 3.2vw, 42px); font-weight: 750; line-height: 1; letter-spacing: -.06em; }
.project-highlight span { color: var(--muted); font-size: 11px; font-weight: 560; word-break: keep-all; }
.project-title { margin: 12px 0 20px; font-size: clamp(18px, 1.7vw, 22px); font-weight: 650; line-height: 1.3; letter-spacing: -.05em; word-break: keep-all; overflow-wrap: anywhere; }
.project-card-bottom { padding-top: 13px; border-top: 1px solid var(--line); }
.project-period { font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.project-open { color: var(--b); font-size: 11px; font-weight: 700; }
.project-open b { display: inline-block; transition: transform .2s ease; }
.project-card:hover .project-open b { transform: translateX(3px); }
html.case-open { overflow: hidden; }
.case-backdrop { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 2vh 2vw; background: rgba(15, 16, 13, .55); backdrop-filter: blur(4px); }
.case-panel { --b: var(--brand, #5f8a1c); width: min(1280px, 100%); max-height: 96vh; overflow: auto; padding: 22px 28px 20px; background: var(--paper); color: var(--ink); border-top: 5px solid var(--b); box-shadow: 0 30px 80px rgba(0, 0, 0, .28); }
:root[data-theme="dark"] .case-panel { --b: var(--brand-dark, var(--accent)); }
.case-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.case-eyebrow { margin: 0; color: var(--muted); font-size: 11px; font-weight: 600; }
.case-type { display: inline-block; margin-right: 10px; padding: 3px 9px; border-radius: 99px; background: var(--b); color: var(--paper); font-size: 10px; font-weight: 700; }
.case-head h3 { margin: 8px 0 0; font-size: clamp(22px, 2.3vw, 30px); font-weight: 700; line-height: 1.18; letter-spacing: -.05em; word-break: keep-all; }
.case-goal { margin: 6px 0 0; font-size: 13px; font-weight: 600; line-height: 1.5; }
.case-nav { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.case-nav button { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); font-size: 14px; }
.case-nav button:hover { background: var(--b); border-color: var(--b); color: var(--paper); }
.case-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 26px; padding-top: 14px; }
.case-panel .detail-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; padding-block: 0 8px; }
.case-panel .detail-fact { padding-block: 5px; }
.case-panel .detail-fact dd { font-size: 12px; }
.case-panel .fact-bar i { background: var(--b); }
.case-block { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.case-block h4, .case-creatives h4 { margin: 0 0 8px; color: var(--b); font-size: 12px; font-weight: 800; letter-spacing: -.01em; }
.case-panel .detail-list { gap: 7px; font-size: 12.5px; line-height: 1.6; }
.case-panel .detail-list li::before { top: .8em; }
.case-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.case-kpi { min-width: 0; padding: 11px 12px 10px; border-left: 3px solid var(--b); background: var(--soft); }
.case-kpi strong { display: block; color: var(--b); font-size: clamp(20px, 2vw, 26px); font-weight: 760; line-height: 1.1; letter-spacing: -.05em; white-space: nowrap; }
.case-kpi span { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; line-height: 1.4; word-break: keep-all; }
.case-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.case-charts.count-1 { grid-template-columns: minmax(0, 1fr); }
.case-panel .chart { padding: 12px 14px 10px; }
.case-panel .chart-head { margin-bottom: 9px; }
.case-panel .chart-legend { margin: -3px 0 9px; }
.case-panel .col-plot { height: 118px; }
.case-panel .hbar-rows { gap: 7px; }
.case-panel .hbar-label { margin-bottom: 3px; font-size: 10px; }
.case-panel .hbar { height: 10px; }
.case-panel .s1 { background: var(--b); }
.case-creatives { margin-top: 12px; }
.case-creatives .creative-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.case-creatives .creative figcaption { margin-top: 4px; font-size: 9.5px; }
.case-creatives .creative figcaption strong { font-size: 10px; }
.automation-lead { max-width: 760px; margin: 0 0 30px; font-size: 16px; line-height: 1.8; white-space: pre-line; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tool-card { display: flex; flex-direction: column; min-width: 0; padding: 26px 24px; background: #20241b; color: #f3f3ea; }
.tool-index { margin: 0; color: #bac3a9; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.tool-card h3 { margin: 12px 0 18px; color: var(--accent); font-size: clamp(21px, 2.1vw, 26px); font-weight: 650; line-height: 1.25; letter-spacing: -.05em; word-break: keep-all; }
.tool-figure { margin: 0 0 18px; }
.tool-figure img { display: block; width: 100%; height: 190px; object-fit: cover; object-position: top left; border: 1px solid rgba(255, 255, 255, .12); }
.tool-figure figcaption { margin-top: 7px; color: #a9b19c; font-size: 10px; }
.tool-steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; counter-reset: step; }
.tool-steps li { padding: 7px 10px; border: 1px solid rgba(199, 243, 106, .35); border-radius: 99px; font-size: 11px; }
.tool-steps li + li::before { content: "→ "; color: var(--accent); }
.tool-facts { display: grid; gap: 12px; margin: auto 0 0; }
.tool-facts dt { color: #bac3a9; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.tool-facts dd { margin: 4px 0 0; font-size: 13px; line-height: 1.65; }
.contact-email { overflow-wrap: anywhere; }
.project-detail { margin-top: 15px; padding: clamp(26px, 5vw, 58px); background: var(--paper); border: 1px solid var(--line); }
.detail-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.detail-header h3 { max-width: 760px; margin: 12px 0 0; font-size: clamp(26px, 4vw, 44px); line-height: 1.12; letter-spacing: -.065em; }
.about-copy strong, .detail-copy strong { color: var(--ink); font-weight: 700; }
.automation-lead strong { color: #5f8a1c; font-weight: 700; }
.tool-facts strong { color: var(--accent); font-weight: 700; }
.detail-role { margin: 12px 0 0; color: #5f8a1c; font-size: 13px; font-weight: 600; letter-spacing: -.02em; }
.detail-close { flex: 0 0 auto; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 18px; }
.detail-close:hover { background: var(--accent); border-color: var(--accent); }
.detail-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.detail-block { padding-block: 24px; border-bottom: 1px solid var(--line); }
.detail-block h4 { margin: 0 0 14px; font-size: 11px; color: var(--muted); font-weight: 720; letter-spacing: .12em; }
.detail-copy { min-height: 20px; margin: 0; font-size: 14px; line-height: 1.8; white-space: pre-line; }
.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.metric-card { min-height: 102px; padding: 15px; border: 1px solid var(--line); }
.metric-value { display: block; font-size: 28px; font-weight: 680; line-height: 1.1; letter-spacing: -.06em; }
.metric-label { display: block; margin-top: 11px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.metric-table-wrap { overflow-x: auto; margin-top: 14px; }
.metric-table { width: 100%; border-collapse: collapse; font-size: 11px; text-align: left; }
.metric-table th { padding: 10px 8px; color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: .07em; border-bottom: 1px solid var(--line); }
.metric-table td { padding: 11px 8px; border-bottom: 1px solid var(--line); }
.detail-image { width: 100%; height: auto; display: block; margin-top: 14px; }
.detail-caption { margin: 8px 0 0; color: var(--muted); font-size: 10px; }
.detail-goal { max-width: 760px; margin: 14px 0 0; font-size: 16px; font-weight: 600; line-height: 1.55; letter-spacing: -.03em; }
.detail-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 24px; margin: 0; padding-block: 18px; border-bottom: 1px solid var(--line); }
.detail-fact { padding-block: 8px; }
.detail-fact dt { color: var(--muted); font-size: 10px; font-weight: 720; letter-spacing: .12em; }
.detail-fact dd { margin: 6px 0 0; font-size: 13px; line-height: 1.5; word-break: keep-all; }
.fact-bar { display: block; max-width: 160px; height: 6px; margin-top: 8px; background: var(--line); border-radius: 3px; overflow: hidden; }
.fact-bar i { display: block; height: 100%; background: var(--accent); }
.detail-sections.single { grid-template-columns: minmax(0, 1fr); }
.detail-block.wide { grid-column: 1 / -1; }
.detail-block.wide .metric-grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.detail-block .detail-image { margin-top: 0; }
.detail-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.7; }
.detail-list li { position: relative; padding-left: 16px; }
.detail-list li::before { content: ""; position: absolute; left: 0; top: .85em; width: 7px; height: 1px; background: var(--ink); }
.detail-list strong { color: var(--ink); font-weight: 700; }
.detail-fact.wide { grid-column: 1 / -1; }
.creative-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; }
.creative { margin: 0; }
.creative img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: var(--soft); }
.creative figcaption { margin-top: 6px; line-height: 1.45; }
.creative a:hover img { opacity: .9; }
.chart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; margin-top: 12px; }
.chart { margin: 0; padding: 18px 18px 16px; border: 1px solid var(--line); }
.chart-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 14px; }
.chart-head strong { font-size: 13px; font-weight: 700; letter-spacing: -.02em; }
.chart-head span { color: var(--muted); font-size: 10px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: -4px 0 14px; color: var(--muted); font-size: 10px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.swatch { width: 10px; height: 10px; border-radius: 2px; }
.s0 { background: var(--chart-s0); }
.s1 { background: var(--chart-s1); }
.bar { position: relative; display: block; }
.bar b { position: absolute; color: var(--ink); font-size: 11px; font-weight: 650; white-space: nowrap; }
.bar[data-tip]:hover::after { content: attr(data-tip); position: absolute; z-index: 3; bottom: calc(100% + 24px); left: 50%; transform: translateX(-50%); padding: 5px 8px; border-radius: 4px; background: var(--ink); color: var(--paper); font-size: 11px; white-space: nowrap; pointer-events: none; }
.col-plot { position: relative; height: 170px; display: flex; align-items: flex-end; border-bottom: 1px solid var(--line); }
.col-slot { flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.col { width: 24px; border-radius: 4px 4px 0 0; }
.col b { bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); }
.target-line { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--muted); }
.col-labels { display: flex; padding-top: 8px; }
.col-labels span { flex: 1; color: var(--muted); font-size: 10px; text-align: center; }
.hbar-rows { display: grid; gap: 12px; }
.hbar-label { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; }
.hbar-track { position: relative; display: grid; gap: 2px; }
.hbar { height: 12px; border-radius: 0 4px 4px 0; }
.hbar b { top: 50%; left: calc(100% + 6px); transform: translateY(-50%); }
.hbar[data-tip]:hover::after { bottom: calc(100% + 6px); left: 0; transform: none; }
.target-tick { position: absolute; top: -3px; bottom: -3px; width: 0; border-left: 1px solid var(--muted); }
.timeline { position: relative; margin-left: min(37%, 430px); padding-left: 29px; border-left: 1px solid var(--line); }
.timeline-item { position: relative; padding: 0 0 39px 20px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; top: 4px; left: -35px; width: 11px; height: 11px; border: 2px solid var(--paper); background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 1px #a4c466; }
.timeline-item h3 { margin: 0; font-size: 21px; font-weight: 650; letter-spacing: -.045em; }
.timeline-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; color: var(--muted); font-size: 11px; }
.timeline-period { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.timeline-detail { padding-left: 11px; border-left: 1px solid var(--line); }
.timeline-numbers { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.timeline-number { display: inline-flex; align-items: baseline; gap: 5px; font-size: 12px; }
.timeline-number strong { font-size: 20px; font-weight: 700; letter-spacing: -.04em; }
.automation-section { background: var(--soft); }
.automation-card { position: relative; min-height: 330px; padding: clamp(26px, 5vw, 56px); overflow: hidden; background: #20241b; color: #f3f3ea; }
.automation-index { position: relative; z-index: 1; color: #bfc9ac; font-size: 9px; font-weight: 700; letter-spacing: .17em; }
.automation-main { position: relative; z-index: 1; width: min(540px, 75%); padding-top: 53px; }
.automation-main .eyebrow { color: #bbc3af; }
.automation-main h3 { margin: 14px 0 0; color: var(--accent); font-size: clamp(34px, 5vw, 64px); font-weight: 630; letter-spacing: -.07em; }
.automation-copy { max-width: 520px; margin: 16px 0 0; color: #d3d7ca; font-size: 14px; line-height: 1.75; white-space: pre-line; }
.automation-detail { position: absolute; z-index: 1; top: 56px; right: clamp(26px, 5vw, 56px); width: 220px; display: grid; gap: 27px; }
.automation-detail span { color: #bac3a9; font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.automation-detail p { min-height: 12px; margin: 8px 0 0; color: #f3f3ea; font-size: 12px; line-height: 1.65; white-space: pre-line; }
.automation-orbit { position: absolute; z-index: 0; display: block; border: 1px solid rgba(199, 243, 106, .23); border-radius: 50%; }
.orbit-one { width: 360px; height: 360px; top: 20px; right: 70px; }
.orbit-two { width: 510px; height: 510px; top: -55px; right: -5px; border-color: rgba(199, 243, 106, .12); }
.contact-section { padding-block: clamp(76px, 9vw, 115px); }
.contact-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.contact-inner h2 { margin: 13px 0 0; font-size: clamp(40px, 6vw, 76px); line-height: .95; letter-spacing: -.08em; }
.contact-email { min-height: 24px; font-size: clamp(16px, 2.2vw, 22px); font-weight: 580; letter-spacing: -.04em; }
.contact-email:empty::after { content: ""; display: block; width: min(220px, 48vw); height: 25px; border-bottom: 1px solid var(--accent); }
.contact-email a { padding-bottom: 3px; border-bottom: 1px solid var(--accent); }
.site-footer { min-height: 72px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer .wordmark { color: var(--ink); }
.site-footer > span, .back-top { font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.back-top { transition: opacity .2s ease; }
:focus-visible { outline: 2px solid #739b31; outline-offset: 4px; }
@media (min-width: 1450px) { .hero { min-height: 760px; } }
@media (max-width: 760px) {
  :root { --pad: 25px; }
  .site-header { height: 65px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 10px; }
  .header-actions { gap: 12px; }
  .contact-link { font-size: 10px; }
  .theme-toggle { width: 31px; height: 31px; }
  .hero { min-height: 590px; padding-top: 76px; }
  .hero-heading-row { padding-top: 70px; }
  .hero-scroll { font-size: 8px; }
  .stat-card { min-height: 112px; padding-top: 21px; padding-right: 12px; }
  .stat-card + .stat-card { padding-left: 14px; }
  .stat-value { font-size: clamp(23px, 5.4vw, 36px); }
  .stat-label { max-width: 160px; font-size: 10px; line-height: 1.5; }
  .section-heading { grid-template-columns: 125px 1fr; margin-bottom: 42px; }
  .section-heading h2 { font-size: clamp(34px, 7vw, 48px); }
  .about-content, .timeline { margin-left: 125px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-card:nth-child(3) { padding-left: 0; border-left: 0; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-backdrop { padding: 0; }
  .case-panel { height: 100%; max-height: 100vh; padding: 18px 18px 28px; }
  .case-body { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .case-panel .detail-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-charts { grid-template-columns: minmax(0, 1fr); }
  .case-creatives .creative-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .case-nav span { display: none; }
  .tool-grid { grid-template-columns: minmax(0, 1fr); }
  .automation-detail { right: 25px; width: 175px; }
  .orbit-one { right: 4px; }
  .orbit-two { right: -72px; }
}
@media (max-width: 540px) {
  :root { --pad: 20px; }
  .site-header { padding-inline: 18px; }
  .main-nav { gap: 12px; }
  .main-nav a { font-size: 9px; }
  .main-nav a:nth-child(4) { display: none; }
  .header-actions { gap: 9px; }
  .contact-link { font-size: 9px; }
  .hero { min-height: 540px; padding-top: 57px; padding-bottom: 24px; }
  .hero-topline { align-items: center; }
  .eyebrow { font-size: 8px; }
  .hero-years { font-size: 9px; }
  .hero-heading-row { padding-top: 76px; }
  h1 { font-size: clamp(62px, 16vw, 90px); }
  h1.results { font-size: clamp(30px, 8.2vw, 54px); }
  .chart-grid { grid-template-columns: minmax(0, 1fr); }
  .creative-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-scroll { display: none; }
  .scroll-arrow { width: 30px; height: 30px; }
  .hero-rule { margin-top: 46px; }
  .stats-grid { grid-template-columns: 1fr; padding-top: 7px; }
  .stat-card, .stat-card + .stat-card { min-height: 73px; padding: 14px 0 12px; border-left: 0; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
  .stat-card:last-child { border-bottom: 0; }
  .stat-value { font-size: 30px; }
  .stat-label { margin: 0; text-align: right; }
  .section-block { padding-block: 73px; }
  .section-heading { display: block; margin-bottom: 35px; }
  .section-heading h2 { margin: 14px 0 0; font-size: 39px; }
  .about-content, .timeline { margin-left: 0; }
  .about-copy { font-size: 15px; }
  .projects-heading { display: flex; justify-content: space-between; align-items: end; }
  .projects-heading h2 { margin-bottom: 0; }
  .section-aside { margin: 0 0 3px; font-size: 8px; }
  .project-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .project-card { min-height: 200px; padding: 18px; }
  .project-title { font-size: 20px; margin-bottom: 18px; }
  .project-detail { padding: 22px 19px; }
  .detail-sections { grid-template-columns: 1fr; }
  .detail-header h3 { font-size: 28px; }
  .career-section .section-heading { margin-bottom: 38px; }
  .timeline { margin-left: 7px; }
  .timeline-item h3 { font-size: 19px; }
  .automation-card { min-height: 420px; padding: 24px; }
  .automation-main { width: 100%; padding-top: 51px; }
  .automation-main h3 { font-size: 43px; }
  .automation-detail { position: relative; top: auto; right: auto; width: min(100%, 320px); grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 39px; }
  .orbit-one { width: 245px; height: 245px; top: 96px; right: -95px; }
  .orbit-two { width: 350px; height: 350px; top: 44px; right: -158px; }
  .contact-inner { align-items: flex-start; flex-direction: column; gap: 29px; }
  .contact-email { min-height: 20px; }
  .site-footer { min-height: 65px; }
  .site-footer > span { font-size: 7px; }
  .back-top { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.creative figcaption strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 11px; font-weight: 700; }
.case-nav button:focus-visible { outline: 2px solid var(--b); outline-offset: 2px; }
@media (max-width: 760px) { .case-left { order: 2; } }
