/* Andian Consulting — single page. Tokens from design/tokens.css; fonts self-hosted. */
@font-face { font-family: "Libre Franklin"; src: url("/assets/fonts/libre-franklin-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("/assets/fonts/open-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("/assets/fonts/open-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --andian-orange: #c55a11;
  --andian-grey: #595959;
  --ink: #595959;
  --ink-muted: #6b6b6b;
  --accent-text: #a84d0e;
  --surface: #ffffff;
  --surface-alt: #f2f2f2;
  --accent-fill: #a84d0e;
  --on-accent: #ffffff;
  --focus-ring: #a84d0e;
  --on-grey: #ffffff;
  --on-grey-muted: #e6e6e6;
  --font-display: "Libre Franklin", "Franklin Gothic Medium", Arial, sans-serif;
  --font-sans: "Open Sans", Calibri, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --radius-sm: 2px;
  --rule: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 16px/26px var(--font-sans); }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 500; }
img { display: block; max-width: 100%; }

a { color: var(--accent-text); }
a:hover { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 1.1em; height: 1.1em; margin-right: 0.4em; vertical-align: -0.2em; }
.mail .icon { width: 0.7em; height: 0.7em; margin-right: 0.25em; vertical-align: -0.05em; }

/* Hero */
.hero { position: relative; height: 520px; background: var(--andian-grey); overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 74% 40%; }
.hero-block { position: absolute; left: 20px; right: 20px; bottom: 0; padding: 28px 24px; background: var(--andian-orange); }
.hero h1 { font-size: 32px; line-height: 1.08; letter-spacing: -0.02em; color: #fff; }

/* Intro row */
.intro { padding: 36px var(--gutter) 64px; }
.intro-row { display: flex; flex-direction: column; gap: 28px; }
.logo { width: 180px; height: auto; }
.intro-text { font-size: 18px; line-height: 29px; max-width: 560px; }
.contact-col { display: flex; flex-direction: column; gap: 6px; }
.contact-col a.email { font-weight: 600; }
.btn { display: flex; justify-content: center; align-items: center; min-height: 52px; margin-top: 18px; padding: 0 24px; background: var(--accent-fill); color: var(--on-accent); border-radius: var(--radius-sm); font-size: 16px; font-weight: 600; text-decoration: none; }
.btn:hover { background: var(--andian-grey); color: #fff; }

/* Grey band */
.band { background: var(--andian-grey); color: var(--on-grey); padding: clamp(64px, 8vw, 120px) var(--gutter); }
.eyebrow { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-muted); }
.band .eyebrow { color: var(--on-grey-muted); }
.band h2 { margin-top: 28px; max-width: 24ch; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.14; letter-spacing: -0.015em; color: #fff; }
.points { display: flex; flex-wrap: wrap; gap: 40px 48px; margin-top: clamp(48px, 6vw, 80px); }
.point { flex: 1 1 240px; min-width: 0; border-top: var(--rule) solid var(--andian-orange); padding-top: 22px; }
.point h3 { font-size: 21px; line-height: 28px; }
.point p { margin-top: 8px; color: var(--on-grey-muted); }

/* Contact */
.contact { padding: clamp(72px, 9vw, 136px) var(--gutter) clamp(56px, 7vw, 96px); }
.mail { display: inline-block; margin-top: 20px; font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 6vw, 96px); line-height: 1.05; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.mail:hover { color: var(--andian-orange); }
.rule { height: var(--rule); background: var(--andian-orange); margin-top: 24px; }

/* Footer */
footer { background: var(--andian-grey); padding: 24px var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 32px; font-size: 13px; line-height: 20px; color: var(--on-grey); }
.footer-end { display: flex; align-items: center; gap: 20px; }
.li-link { display: inline-block; line-height: 0; }
.li-link img { width: auto; height: 26px; }
footer a:focus-visible { outline-color: var(--on-grey); }

/* 404 */
.notfound { min-height: 60vh; padding: clamp(72px, 9vw, 136px) var(--gutter); }
.notfound h1 { margin-top: 20px; font-size: clamp(34px, 6vw, 96px); line-height: 1.05; letter-spacing: -0.03em; }
.notfound p.lead { margin-top: 24px; font-size: 19px; line-height: 31px; }

@media (min-width: 760px) {
  .hero { height: clamp(440px, 64vh, 680px); }
  .hero img { object-position: 62% 40%; }
  .hero-block { left: var(--gutter); right: auto; width: min(640px, calc(100% - 40px)); padding: clamp(28px, 3.4vw, 48px); }
  .hero h1 { font-size: clamp(32px, 4.2vw, 58px); line-height: 1.04; }
  .intro { padding: clamp(40px, 4vw, 56px) var(--gutter) clamp(72px, 8vw, 112px); }
  .intro-row { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 40px clamp(40px, 5vw, 72px); }
  .logo { width: 220px; flex: 0 0 auto; }
  .intro-text { flex: 1 1 380px; margin-top: 4px; font-size: 19px; line-height: 31px; }
  .contact-col { flex: 0 1 260px; padding-top: 4px; }
  .btn { align-self: flex-start; display: inline-flex; min-height: 48px; font-size: 15px; }
}
