/* ===========================================================
   Arias Work — ariaswork.com
   Design system: editorial off-white, Cormorant Garamond + DM Sans,
   warm clay accent. Senior, calm, premium, human.
   =========================================================== */

:root {
  --bg:        #FAFAF8;
  --surface:   #FFFFFF;
  --ink:       #0F0F0D;
  --ink-soft:  #5A5850;
  --ink-mute:  #6B6860;
  --ink-faint: #A8A59E;
  --line:      #E8E6E0;
  --line-2:    #D4D1CA;
  --panel:     #F4F2EE;
  --accent:    #B5714A;   /* clay. Cooler alt: #2D6B6B teal */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'DM Sans', system-ui, -apple-system, sans-serif;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -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: var(--maxw); margin: 0 auto; padding: 0 40px; }
.eyebrow {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; margin: 0 0 20px;
}
.eyebrow.mute { color: var(--ink-faint); }
.accent-rule { width: 26px; height: 2px; background: var(--accent); margin: 0 0 16px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); margin: 0; letter-spacing: -0.01em; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,250,248,0.88); backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 0.5px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.logo { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.logo small { font-family: var(--sans); font-size: 11px; color: var(--ink-faint); font-weight: 400; letter-spacing: 0.02em; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 13px; color: var(--ink-mute); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { border: 0.5px solid var(--ink); color: var(--ink) !important; padding: 8px 16px; border-radius: 4px; font-weight: 500; }
.nav-cta:hover { background: var(--ink); color: var(--bg) !important; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; border-radius: 4px; padding: 11px 22px; transition: .15s; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { opacity: .88; }
.btn-ghost { color: var(--ink-soft); }
.btn-ghost:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 90px 0 72px; border-bottom: 0.5px solid var(--line); }
.hero h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.05; max-width: 12ch; margin-bottom: 22px; }
.hero .sub { font-size: 16px; color: var(--ink-soft); line-height: 1.75; max-width: 52ch; margin-bottom: 34px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero .attr { font-size: 11px; letter-spacing: 0.06em; color: var(--ink-faint); }
.hero .attr span { color: var(--line-2); margin: 0 8px; }

/* ---------- Section base ---------- */
section { padding: 64px 0; border-bottom: 0.5px solid var(--line); }
.section-eyebrow { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; margin-bottom: 30px; }

/* ---------- Problem ---------- */
.problem-tagline { font-family: var(--serif); font-size: clamp(24px,3.4vw,32px); line-height: 1.2; max-width: 18ch; margin-bottom: 40px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.col h3 { font-size: 19px; line-height: 1.3; margin-bottom: 12px; }
.col p { font-size: 13px; color: var(--ink-mute); line-height: 1.75; margin: 0; }

/* ---------- Services ---------- */
.services-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; }
.services-head h2 { font-size: clamp(28px,4vw,34px); }
.services-head .note { font-size: 13px; color: var(--ink-faint); max-width: 30ch; text-align: right; }
.cards { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; align-items: start; }
.card { background: var(--surface); border: 0.5px solid var(--line); border-radius: 10px; padding: 30px; }
.card.primary { border: 1px solid var(--ink); }
.card .tag { font-size: 10px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 12px; }
.card h3 { font-size: 23px; line-height: 1.15; margin-bottom: 14px; }
.card.primary h3 { font-size: 26px; }
.card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.75; margin: 0 0 18px; }
.card .meta { font-size: 11.5px; color: var(--ink-faint); border-top: 0.5px solid var(--line); padding-top: 14px; }

/* ---------- Proof ---------- */
.proof { background: var(--panel); }
.proof blockquote { margin: 0; font-family: var(--serif); font-size: clamp(20px,3vw,27px); line-height: 1.4; color: var(--ink); max-width: 30ch; }
.proof .src { margin-top: 18px; font-size: 13px; font-weight: 500; color: var(--accent); display: inline-flex; gap: 6px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 52px; align-items: start; }
.about h2 { font-size: clamp(24px,3.4vw,30px); line-height: 1.18; margin-bottom: 6px; }
.about .who { font-size: 12px; color: var(--accent); margin-bottom: 22px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pillar { background: var(--panel); border-radius: 8px; padding: 16px; }
.pillar h4 { margin: 0 0 5px; font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--ink); }
.pillar p { margin: 0; font-size: 11.5px; color: var(--ink-mute); line-height: 1.6; }
.about .story p { font-size: 14px; color: var(--ink-soft); line-height: 1.8; margin: 0 0 18px; }
.about .creds { font-size: 11.5px; color: var(--ink-faint); line-height: 1.9; }
.about .creds b { color: var(--ink-soft); font-weight: 500; }
.about .linkedin { margin-top: 18px; font-size: 13px; font-weight: 500; display: inline-flex; gap: 6px; }
.about .linkedin:hover { color: var(--accent); }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact h2 { font-size: clamp(30px,4.5vw,40px); font-style: italic; font-weight: 400; margin-bottom: 14px; }
.contact .lede { font-size: 15px; color: var(--ink-mute); max-width: 44ch; margin: 0 auto 8px; }
.contact .diff { font-size: 14px; color: var(--ink); font-weight: 500; margin: 18px auto 4px; }
.contact .avail { font-size: 13px; color: var(--ink-faint); margin: 0 auto 30px; }
.form { max-width: 440px; margin: 0 auto; text-align: left; display: grid; gap: 12px; }
.form input, .form textarea {
  font-family: var(--sans); font-size: 14px; color: var(--ink);
  background: var(--surface); border: 0.5px solid var(--line-2); border-radius: 6px;
  padding: 12px 14px; width: 100%;
}
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form button { justify-self: start; cursor: pointer; border: none; }
.contact .fallback { margin-top: 22px; font-size: 13px; color: var(--ink-faint); }
.contact .fallback a { color: var(--accent); font-weight: 500; }

/* ---------- Footer ---------- */
.footer { border-bottom: none; padding: 26px 0; }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer .f-logo { font-family: var(--serif); font-size: 15px; color: var(--ink-faint); }
.footer .f-links { display: flex; gap: 18px; font-size: 11.5px; color: var(--ink-faint); }
.footer .f-links a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .wrap { padding: 0 24px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .cols-3 { grid-template-columns: 1fr; gap: 28px; }
  .cards { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-head .note { text-align: left; }
  section { padding: 52px 0; }
  .hero { padding: 64px 0 56px; }
}

/* ===========================================================
   v2 ADDITIONS — hero art, striking problem, card rows,
   about page, dark footer banner, contact form
   =========================================================== */

/* ---------- Hero (two-column with bespoke art) ---------- */
.hero .wrap { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 14ch; }
.hero-text { min-width: 0; }
.hero-art { position: relative; }
.hero-art .frame {
  position: relative; border: 0.5px solid var(--line-2); border-radius: 14px;
  background: linear-gradient(155deg, var(--surface) 0%, var(--panel) 100%);
  padding: 28px; overflow: hidden; box-shadow: 0 30px 60px -38px rgba(15,15,13,0.22);
}
.hero-art svg { width: 100%; height: auto; display: block; }
/* Photo variant — image fills the frame edge to edge */
.hero-art .frame.photo { padding: 0; background: none; }
.hero-art .frame.photo img { width: 100%; height: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center; display: block; }
.hero-art .art-cap {
  position: absolute; left: 26px; bottom: 18px; font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-faint); font-weight: 500;
}
.hero-art .art-badge {
  position: absolute; right: 24px; top: 22px; font-family: var(--serif); font-style: italic;
  font-size: 15px; color: var(--ink-soft);
}

/* ---------- Problem — striking ---------- */
.problem .cols-3 { gap: 40px; }
.problem .col .idx {
  font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--accent);
  opacity: .55; margin-bottom: 16px; display: block;
}
.problem .col h3 { font-size: 22px; line-height: 1.22; margin-bottom: 14px; max-width: 18ch; }
.problem .col p { font-size: 13px; }

/* ---------- Service card rows + CTA ---------- */
.card .rows { margin: 4px 0 4px; }
.card .row {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: baseline;
  padding: 12px 0; border-top: 0.5px solid var(--line); font-size: 12px;
}
.card .row dt { color: var(--ink); font-weight: 500; white-space: nowrap; }
.card .row dd { margin: 0; color: var(--ink-faint); text-align: right; line-height: 1.4; }
.card .card-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 20px;
  font-size: 13px; font-weight: 500; color: var(--accent);
}
.card .card-link:hover { gap: 11px; }
.card.primary .card-link { color: var(--ink); }

/* ---------- About (landing) link ---------- */
.about .more { margin-top: 16px; font-size: 13px; font-weight: 500; display: inline-flex; gap: 6px; }
.about .more:hover { color: var(--accent); }

/* ---------- About page ---------- */
.page-hero { padding: 78px 0 8px; border-bottom: none; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px,5vw,52px); line-height: 1.06; max-width: 18ch; letter-spacing: -0.01em; }
.page-hero .lede { font-size: 17px; color: var(--ink-soft); line-height: 1.7; max-width: 46ch; margin-top: 22px; }
.about-page { border-bottom: 0.5px solid var(--line); }
.bio-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 56px; align-items: start; }
.portrait {
  position: relative; border-radius: 14px; overflow: hidden; border: 0.5px solid var(--line-2);
  background: linear-gradient(150deg, #C98A63 0%, var(--accent) 55%, #8E5536 100%);
  aspect-ratio: 4/5; box-shadow: 0 34px 64px -40px rgba(15,15,13,0.4);
}
.portrait img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.portrait .fallback {
  position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; color: #fff; padding: 24px;
}
.portrait .fallback .mono { font-family: var(--serif); font-size: 64px; line-height: 1; margin-bottom: 12px; }
.portrait .fallback small { font-family: var(--sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: .85; }
.portrait figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 18px;
  background: linear-gradient(to top, rgba(15,15,13,0.55), transparent);
  color: #fff; font-size: 12px; letter-spacing: 0.02em;
}
.portrait figcaption a { color: #fff; border-bottom: 0.5px solid rgba(255,255,255,0.5); }
.bio-body h2 { font-family: var(--serif); font-size: clamp(24px,3vw,30px); line-height: 1.2; margin: 0 0 18px; }
.bio-body h2:not(:first-child) { margin-top: 36px; }
.bio-body p { font-size: 15px; color: var(--ink-soft); line-height: 1.85; margin: 0 0 18px; }
.bio-body .creds { font-size: 12px; color: var(--ink-faint); line-height: 1.95; margin-top: 26px; }
.bio-body .creds b { color: var(--ink-soft); font-weight: 500; }
.bio-body .linkedin {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 26px; font-size: 14px;
  font-weight: 500; color: var(--ink); border: 0.5px solid var(--line-2); border-radius: 6px; padding: 11px 18px;
}
.bio-body .linkedin:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Contact tweaks ---------- */
.contact h2 { font-style: normal; }

/* ---------- Dark footer banner (title · contact · menu) ---------- */
.footer { background: var(--ink); color: #EDEAE2; border-bottom: none; padding: 56px 0 30px; }
.footer .wrap { display: block; }
.footer-banner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 36px; border-bottom: 0.5px solid rgba(255,255,255,0.12);
}
.footer-banner .fb-title { font-family: var(--serif); font-size: 26px; color: #fff; }
.footer-banner .fb-title small { display: block; font-family: var(--sans); font-size: 12px; color: #9C9890; margin-top: 8px; font-weight: 300; max-width: 26ch; line-height: 1.6; }
.footer-banner h5 { margin: 0 0 16px; font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #8A867E; font-weight: 500; }
.footer-banner .fb-col a, .footer-banner .fb-col span { display: block; font-size: 13.5px; color: #C9C5BD; margin-bottom: 11px; }
.footer-banner .fb-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 11.5px; color: #807C74; }
.footer-bottom a { color: #807C74; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Responsive v2 ---------- */
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 38px; }
  .hero-art { order: 2; max-width: 420px; }
  .bio-grid { grid-template-columns: 1fr; gap: 36px; }
  .portrait { max-width: 360px; }
  .footer-banner { grid-template-columns: 1fr; gap: 30px; }
  .page-hero { padding: 56px 0 4px; }
}

/* ===========================================================
   v3 — LARGER TYPE SCALE (overall text size bump ~12–18%)
   =========================================================== */

/* Global base + small UI text */
body { font-size: 17px; }
.logo { font-size: 23px; }
.nav-links a, .btn { font-size: 14px; }
.eyebrow, .section-eyebrow, .hero .attr { font-size: 12px; }

/* Hero */
.hero h1 { font-size: clamp(44px, 6vw, 68px); }
.hero .sub { font-size: 18px; }

/* Problem — striking */
.problem .col .idx { font-size: 38px; }
.problem .col h3 { font-size: 24px; }
.problem .col p, .col p { font-size: 15px; }

/* Services */
.services-head h2 { font-size: clamp(32px, 4.4vw, 40px); }
.services-head .note { font-size: 14px; }
.card .tag { font-size: 11px; }
.card h3 { font-size: 26px; }
.card.primary h3 { font-size: 30px; }
.card p { font-size: 15px; }
.card .row { font-size: 13px; }
.card .card-link { font-size: 14px; }

/* Proof */
.proof blockquote { font-size: clamp(23px, 3.2vw, 31px); }
.proof .src { font-size: 14px; }

/* About (landing) */
.about h2 { font-size: clamp(27px, 3.6vw, 34px); }
.about .who { font-size: 13px; }
.pillar h4 { font-size: 13px; }
.pillar p { font-size: 13px; }
.about .story p { font-size: 16px; }
.about .creds { font-size: 13px; }
.about .more { font-size: 14px; }

/* About page */
.page-hero h1 { font-size: clamp(40px, 5.4vw, 60px); }
.page-hero .lede { font-size: 19px; }
.bio-body h2 { font-size: clamp(27px, 3.3vw, 34px); }
.bio-body p { font-size: 17px; }
.bio-body .creds { font-size: 13px; }
.bio-body .linkedin { font-size: 15px; }

/* Contact */
.contact h2 { font-size: clamp(34px, 5vw, 46px); }
.contact .lede { font-size: 17px; }
.contact .diff { font-size: 16px; }
.contact .avail { font-size: 14px; }
.form input, .form textarea { font-size: 15px; }
.contact .fallback { font-size: 14px; }

/* Footer banner */
.footer-banner .fb-title { font-size: 28px; }
.footer-banner .fb-title small { font-size: 13px; }
.footer-banner h5 { font-size: 11px; }
.footer-banner .fb-col a, .footer-banner .fb-col span { font-size: 14.5px; }
.footer-bottom { font-size: 12.5px; }
