/* ===========================================================
   Arias Work — STRUCTURE + TOKEN CONTRACT
   All colour, type and shape come from CSS variables defined
   in a theme file (themes/option-*.css). Swap the theme link
   in index.html to change the entire look. This file only
   describes layout & components — never hard-codes a colour.
   Fallback :root below keeps it readable if no theme loads.
   =========================================================== */

:root {
  --font-display: Georgia, serif;
  --font-body: system-ui, sans-serif;
  --bg:#fff; --surface:#fff; --surface-2:#f3f4f5; --panel:#eceef0;
  --ink:#1a1d22; --ink-soft:#41454d; --ink-mute:#5f646e; --ink-faint:#8b909a;
  --line:#e4e6e9; --line-2:#cbcfd4;
  --primary:#1f4e46; --primary-deep:#143630; --primary-tint:#e7efed;
  --accent:#cf7a40; --accent-soft:#f3e6da;
  --radius-card:14px; --radius-btn:6px; --radius-tag:999px;
  --display-weight:600; --eyebrow-spacing:0.14em;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; background:var(--bg); color:var(--ink); font-family:var(--font-body); font-weight:400; font-size:17px; line-height:1.65; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
img { max-width:100%; display:block; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

.wrap { max-width:1120px; margin:0 auto; padding:0 48px; }
.eyebrow { font-size:13px; letter-spacing:var(--eyebrow-spacing); text-transform:uppercase; color:var(--accent); font-weight:500; margin:0 0 22px; }
.eyebrow.mute { color:var(--ink-faint); }
.accent-rule { width:32px; height:3px; background:var(--accent); border-radius:2px; margin:0 0 18px; }
h1,h2,h3 { font-family:var(--font-display); font-weight:var(--display-weight); color:var(--ink); margin:0; letter-spacing:-0.01em; line-height:1.1; }

/* Nav */
.nav { position:sticky; top:0; z-index:50; background:color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter:saturate(180%) blur(10px); border-bottom:1px solid var(--line); }
.nav .wrap { display:flex; align-items:center; justify-content:space-between; padding:20px 48px; }
.logo { font-family:var(--font-display); font-size:24px; font-weight:var(--display-weight); }
.logo small { font-family:var(--font-body); font-size:14px; color:var(--ink-mute); font-weight:400; }
.nav-links { display:flex; align-items:center; gap:30px; }
.nav-links a { font-size:15px; color:var(--ink-soft); }
.nav-links a:hover { color:var(--primary); }
.nav-cta { background:var(--primary); color:#fff !important; padding:10px 20px; border-radius:var(--radius-btn); font-weight:500; }
.nav-cta:hover { background:var(--primary-deep); }

/* Buttons */
.btn { display:inline-flex; align-items:center; gap:8px; font-size:15px; font-weight:500; border-radius:var(--radius-btn); padding:14px 26px; transition:.15s; cursor:pointer; }
.btn-primary { background:var(--primary); color:#fff; }
.btn-primary:hover { background:var(--primary-deep); }
.btn-ghost { color:var(--primary); font-weight:500; }
.btn-light { background:#fff; color:var(--primary-deep); }
.btn-light:hover { background:var(--primary-tint); }

/* Hero */
.hero { padding:104px 0 88px; border-bottom:1px solid var(--line); }
.hero h1 { font-size:clamp(44px,6.4vw,68px); line-height:1.04; max-width:13ch; margin-bottom:26px; }
.hero .sub { font-size:20px; color:var(--ink-soft); line-height:1.6; max-width:52ch; margin:0 0 14px; }
.hero .sub.indent { text-indent:1.6em; margin-bottom:38px; }
.hero .ctas { display:flex; flex-wrap:wrap; gap:16px; align-items:center; margin:24px 0 52px; }
.hero .attr { font-size:14px; letter-spacing:0.05em; color:var(--ink-mute); }
.hero .attr span { color:var(--line-2); margin:0 10px; }
.hero-grid { display:grid; grid-template-columns:1.08fr 0.92fr; gap:50px; align-items:center; }
.hero-media { margin:0; background:var(--panel); border-radius:var(--radius-card); aspect-ratio:4/5; overflow:hidden; }
.hero-media img { width:100%; height:100%; object-fit:cover; display:block; }

/* Sections */
section { padding:80px 0; border-bottom:1px solid var(--line); }
.section-eyebrow { font-size:13px; letter-spacing:var(--eyebrow-spacing); text-transform:uppercase; color:var(--ink-faint); font-weight:500; margin-bottom:34px; }

/* Problem */
.problem-tagline { font-family:var(--font-display); font-weight:var(--display-weight); font-size:clamp(28px,3.8vw,40px); line-height:1.18; max-width:20ch; margin-bottom:48px; }
.cols-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:40px; }
.col h3 { font-size:23px; line-height:1.28; margin-bottom:14px; }
.col p { font-size:16px; color:var(--ink-mute); line-height:1.65; margin:0; }

/* Services */
.services-head { display:flex; align-items:baseline; justify-content:space-between; gap:28px; margin-bottom:40px; flex-wrap:wrap; }
.services-head h2 { font-size:clamp(32px,4.4vw,40px); }
.services-head .note { font-size:16px; color:var(--ink-mute); max-width:32ch; text-align:right; }
.cards { display:grid; grid-template-columns:1.5fr 1fr; gap:22px; align-items:stretch; }
.card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-card); padding:36px; display:flex; flex-direction:column; }
.card.primary { border:1.5px solid var(--primary); }
.card .tag { display:inline-block; font-size:12px; letter-spacing:0.08em; text-transform:uppercase; font-weight:500; padding:5px 11px; border-radius:var(--radius-tag); margin-bottom:16px; }
.card.primary .tag { background:var(--primary-tint); color:var(--primary-deep); }
.card:not(.primary) .tag { background:var(--surface-2); color:var(--ink-mute); }
.card h3 { font-size:26px; line-height:1.16; margin-bottom:16px; }
.card.primary h3 { font-size:30px; }
.card p { font-size:16px; color:var(--ink-soft); line-height:1.62; margin:0 0 16px; }
.svc-list { margin:18px 0 0; }
.svc-row { display:flex; justify-content:space-between; align-items:baseline; gap:16px; padding:12px 0; border-top:1px solid var(--line); }
.svc-row .label { font-size:14.5px; font-weight:500; color:var(--ink); white-space:nowrap; }
.svc-row .desc { font-size:13.5px; color:var(--ink-mute); text-align:right; }
.svc-output { margin-top:18px; background:var(--accent-soft); border-radius:var(--radius-btn); padding:13px 15px; font-size:14px; color:var(--ink-soft); line-height:1.5; }
.svc-output b { color:var(--ink); font-weight:500; }
.svc-cta { display:inline-flex; gap:6px; margin-top:auto; padding-top:18px; font-size:15px; font-weight:500; color:var(--primary); align-self:flex-start; }
.svc-cta:hover { color:var(--primary-deep); }

/* Proof */
.proof { background:var(--surface-2); }
.proof blockquote { margin:0; font-family:var(--font-display); font-weight:var(--display-weight); font-size:clamp(24px,3.2vw,32px); line-height:1.36; color:var(--ink); max-width:34ch; }
.proof .src { margin-top:22px; font-size:15px; font-weight:500; color:var(--primary); display:inline-flex; gap:6px; }

/* About */
.about-grid { display:grid; grid-template-columns:1fr 1.45fr; gap:60px; align-items:start; }
.about h2 { font-size:clamp(28px,3.6vw,34px); line-height:1.16; margin-bottom:6px; }
.about .who { font-size:14px; color:var(--accent); font-weight:500; margin-bottom:26px; }
.pillars { display:grid; grid-template-columns:1fr 1fr; gap:16px; list-style:none; padding:0; margin:0; }
.pillar { background:var(--surface-2); border-radius:var(--radius-btn); padding:20px; }
.pillar h4 { margin:0 0 6px; font-family:var(--font-body); font-size:15px; font-weight:500; color:var(--ink); }
.pillar p { margin:0; font-size:14px; color:var(--ink-mute); line-height:1.55; }
.about .story p { font-size:17px; color:var(--ink-soft); line-height:1.7; margin:0 0 20px; }
.about .creds { font-size:14px; color:var(--ink-mute); line-height:1.9; }
.about .creds b { color:var(--ink-soft); font-weight:500; }
.about .linkedin { margin-top:20px; font-size:15px; font-weight:500; color:var(--primary); display:inline-flex; gap:6px; }
.about-top { display:grid; grid-template-columns:1.5fr 1fr; gap:52px; align-items:start; margin-bottom:44px; }
.about-lede { font-size:19px; color:var(--ink-soft); line-height:1.6; margin:18px 0 0; }
.about-figure { margin:0; }
.about-photo { background:var(--panel); border-radius:var(--radius-card); aspect-ratio:4/5; overflow:hidden; }
.about-photo img { width:100%; height:100%; object-fit:cover; object-position:center top; display:block; }
.about-figure--side { float:right; width:300px; margin:6px 0 24px 40px; }
.about-cap { margin-top:12px; font-size:14px; color:var(--ink-mute); }
.about-cap a { color:var(--primary); font-weight:500; }
.about-prose { max-width:70ch; }
.about-prose p { font-size:17px; color:var(--ink-soft); line-height:1.78; margin:0 0 20px; }
.about-sub { font-family:var(--font-display); font-weight:var(--display-weight); font-size:clamp(22px,3vw,28px); color:var(--ink); margin:36px 0 16px; line-height:1.1; }
.about-bring { margin-top:44px; clear:both; }
.about-bring .creds { margin-top:24px; font-size:14px; color:var(--ink-mute); line-height:1.9; }
.about-bring .creds b { color:var(--ink-soft); font-weight:500; }

/* CTA band — contained colour block */
.cta-band { background:transparent; border-bottom:1px solid var(--line); text-align:center; padding:48px 0; }
.cta-inner { background:var(--primary-deep); border-radius:var(--radius-card); padding:58px 40px; }
.cta-band h2 { color:#fff; font-size:clamp(30px,4.4vw,42px); margin-bottom:16px; }
.cta-band p { color:color-mix(in srgb,#fff 82%,var(--primary)); font-size:18px; max-width:46ch; margin:0 auto 30px; }

/* Contact */
.contact { text-align:center; }
.contact h2 { font-size:clamp(34px,5vw,46px); margin-bottom:16px; }
.contact .lede { font-size:18px; color:var(--ink-soft); max-width:46ch; margin:0 auto 8px; }
.contact .diff { font-size:17px; color:var(--ink); font-weight:500; margin:22px auto 6px; }
.contact .avail { font-size:15px; color:var(--ink-mute); margin:0 auto 34px; }
.form { max-width:480px; margin:0 auto; text-align:left; display:grid; gap:14px; }
.form input,.form textarea { font-family:var(--font-body); font-size:16px; color:var(--ink); background:var(--surface); border:1px solid var(--line-2); border-radius:var(--radius-btn); padding:14px 16px; width:100%; }
.form textarea { min-height:110px; resize:vertical; }
.form input:focus,.form textarea:focus { outline:none; border-color:var(--primary); box-shadow:0 0 0 3px var(--primary-tint); }
.form button { width:100%; justify-content:center; border:none; }
.contact .fallback { margin-top:26px; font-size:15px; color:var(--ink-mute); }
.contact .fallback a { color:var(--primary); font-weight:500; }

/* Footer */
.footer { border-bottom:none; padding:60px 0 28px; background:var(--ink); }
.footer-top { display:grid; grid-template-columns:1.7fr 1fr 1fr; gap:40px; }
.f-brand .f-logo { font-family:var(--font-display); font-size:27px; font-weight:var(--display-weight); color:#fff; margin-bottom:16px; }
.f-brand p { font-size:15px; color:rgba(255,255,255,0.66); line-height:1.62; max-width:34ch; margin:0; }
.f-col h5 { font-family:var(--font-body); font-size:12px; letter-spacing:0.16em; text-transform:uppercase; color:var(--accent); font-weight:500; margin:0 0 18px; }
.f-col a { display:block; font-size:15px; color:rgba(255,255,255,0.82); margin-bottom:14px; }
.f-col a:last-child { margin-bottom:0; }
.f-col a:hover { color:#fff; }
.f-divider { height:1px; background:rgba(255,255,255,0.13); margin:46px 0 22px; }
.f-bottom { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:13.5px; color:rgba(255,255,255,0.5); }

@media (max-width:860px) {
  .wrap,.nav .wrap { padding-left:26px; padding-right:26px; }
  .nav-links a:not(.nav-cta) { display:none; }
  .cols-3,.cards,.about-grid,.about-top,.hero-grid { grid-template-columns:1fr; gap:32px; }
  .hero-media { aspect-ratio:16/10; }
  .about-figure--side { float:none; width:100%; margin:0 0 24px; }
  .footer-top { grid-template-columns:1fr 1fr; gap:30px; }
  .f-brand { grid-column:1 / -1; }
  .services-head .note { text-align:left; }
  section { padding:60px 0; }
  .hero { padding:72px 0 64px; }
  .hero .sub { font-size:18px; }
}
