/* ===========================================================
   Smiling Human — shared styles
   Warm, human, editorial. No build step required.
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,500&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg:        #f7f1e8;
  --bg-alt:    #efe5d6;
  --card:      #fffaf2;
  --ink:       #2a2320;
  --ink-soft:  #5d544c;
  --accent:    #d9542b;   /* terracotta */
  --accent-2:  #2f6f5e;   /* deep balancing green */
  --line:      rgba(42, 35, 32, 0.12);
  --shadow:    0 24px 60px -28px rgba(42, 35, 32, 0.35);
  --radius:    18px;
  --maxw:      1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* faint grain / atmosphere */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  background-image: radial-gradient(rgba(42,35,32,0.035) 1px, transparent 1px);
  background-size: 4px 4px;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; }
.display { font-size: clamp(2.8rem, 7vw, 5.4rem); font-weight: 500; }
.display em { font-style: italic; color: var(--accent); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { color: var(--ink-soft); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 56ch; }

/* ---------- Nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(247, 241, 232, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: #fff; font-size: 13px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { background: var(--ink); color: var(--bg) !important; padding: 9px 18px; border-radius: 999px; }
.nav-cta:hover { background: var(--accent); }
@media (max-width: 720px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; transition: transform .2s, background .2s; cursor: pointer; border: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); background: #c4441f; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 11vh, 130px) 0 clamp(56px, 9vh, 100px); position: relative; }
.hero .eyebrow { display: inline-block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 22px; }
.hero p.lead { margin-top: 26px; }
.hero-actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-orbs { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(8px); opacity: 0.5; }
.orb.a { width: 320px; height: 320px; background: radial-gradient(circle at 30% 30%, #f2b07f, transparent 70%); top: -60px; right: -40px; }
.orb.b { width: 240px; height: 240px; background: radial-gradient(circle at 30% 30%, #9fd0c2, transparent 70%); bottom: -70px; left: -50px; }

/* ---------- Sections ---------- */
section { padding: clamp(56px, 9vh, 96px) 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.kicker { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }

/* ---------- Feature grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
@media (max-width: 820px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(217,84,43,0.12); color: var(--accent); display: grid; place-items: center; font-size: 22px; margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; color: var(--ink); }
.card p { font-size: 0.97rem; }

/* ---------- Split / About ---------- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split p { margin-top: 18px; }
.stat-row { display: flex; gap: 40px; margin-top: 34px; flex-wrap: wrap; }
.stat .n { font-family: 'Fraunces', serif; font-size: 2.4rem; color: var(--accent); line-height: 1; }
.stat .l { font-size: 0.9rem; color: var(--ink-soft); margin-top: 6px; }
.portrait {
  background: linear-gradient(135deg, #f2b07f 0%, #e0613f 60%, #2f6f5e 130%);
  border-radius: var(--radius); aspect-ratio: 4/5; display: grid; place-items: center;
  color: #fff; font-family: 'Fraunces', serif; font-size: 4rem; box-shadow: var(--shadow);
}

/* ---------- Contact ---------- */
.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px; margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
@media (max-width: 720px) { .contact-card { grid-template-columns: 1fr; } }
.contact-card .label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-2); font-weight: 600; margin-bottom: 8px; }
.contact-card a, .contact-card address { color: var(--ink); font-style: normal; text-decoration: none; font-weight: 500; }
.contact-card a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: #d8cfc4; padding: 56px 0 36px; position: relative; z-index: 2; }
footer a { color: #d8cfc4; text-decoration: none; }
footer a:hover { color: #fff; }
.foot-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.foot-brand { font-family: 'Fraunces', serif; font-size: 1.5rem; color: #fff; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.foot-legal { margin-top: 26px; font-size: 0.85rem; color: #9c9087; line-height: 1.7; }

/* ---------- Content pages (privacy / support) ---------- */
.doc { padding: clamp(56px, 9vh, 96px) 0; max-width: 760px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 10px; }
.doc .updated { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 40px; }
.doc h2 { font-size: 1.4rem; margin: 38px 0 12px; color: var(--ink); }
.doc p { margin-bottom: 14px; }
.doc ul { margin: 0 0 16px 22px; color: var(--ink-soft); }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--accent); }

/* ---------- Load animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .15s; }
.d3 { animation-delay: .25s; } .d4 { animation-delay: .35s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; opacity: 1; transform: none; } }
