/* ============================================================
   HANDLED :: personal assistant services
   Palette: cream + near-black + deep red  |  Mood: confident, personal, elevated
   ============================================================ */

:root {
  --cream: #f5f2ed;
  --cream-2: #faf8f4;
  --paper: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #3a3a3a;
  --red: #9b1b2e;
  --red-bright: #b9223a;
  --gray: #6b6b6b;
  --line: #e4ded3;

  --shadow-sm: 0 2px 10px rgba(26,26,26,.06);
  --shadow-md: 0 16px 40px rgba(26,26,26,.10);
  --shadow-lg: 0 30px 70px rgba(26,26,26,.16);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;

  --font-head: "Archivo", system-ui, sans-serif;
  --font-script: "Yellowtail", cursive;
  --font-body: "Inter", system-ui, sans-serif;

  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body); color: var(--ink); background: var(--cream);
  line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.05; letter-spacing: -.01em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: .76rem; letter-spacing: .26em;
  text-transform: uppercase; color: var(--red); display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); display: inline-block; }
.script { font-family: var(--font-script); color: var(--ink); font-weight: 400; }
.dot-red { color: var(--red); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-head);
  font-weight: 600; font-size: .92rem; letter-spacing: .02em;
  padding: .9rem 1.7rem; border-radius: 8px; cursor: pointer; border: 2px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease; will-change: transform;
}
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(155,27,46,.28); }
.btn-red:hover { background: var(--red-bright); transform: translateY(-3px); box-shadow: 0 16px 32px rgba(155,27,46,.36); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); background: #000; }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(26,26,26,.2); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--red); color: var(--red); }

/* HEADER */
header.site {
  position: sticky; top: 0; z-index: 50; background: rgba(245,242,237,.85);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .3s ease;
}
header.site.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { height: 46px; width: auto; border-radius: 6px; }
.brand .bt { font-family: var(--font-script); font-size: 1.7rem; color: var(--ink); line-height: 1; }
.nav-links { display: flex; gap: 1.8rem; }
.nav-links a { font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--ink-soft); position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav-links a:hover { color: var(--ink); } .nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: .9rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }

/* HERO */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem,8vw,6.5rem); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 480px at 78% -5%, rgba(155,27,46,.07), transparent 60%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 3rem; align-items: center; }
.hero .script-big { font-family: var(--font-script); font-size: clamp(3.6rem, 9vw, 6.6rem); color: var(--ink); line-height: .9; position: relative; display: inline-block; }
.hero .script-big .pt { color: var(--red); }
.hero .script-big::after { content: ""; position: absolute; left: 2%; right: 20%; bottom: 4px; height: 5px; background: var(--red); border-radius: 4px; transform: scaleX(0); transform-origin: left; animation: underline 1s ease forwards .5s; }
@keyframes underline { to { transform: scaleX(1); } }
.hero h1.sub { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem,3vw,2rem); letter-spacing: .12em; text-transform: uppercase; margin-top: 1rem; color: var(--ink); }
.hero .lead { font-size: 1.15rem; color: var(--ink-soft); margin-top: 1.2rem; max-width: 36ch; }
.hero .tag { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; margin-top: 1.6rem; letter-spacing: .02em; }
.hero .tag .red { color: var(--red); }
.hero .cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* hero visual */
.hero-visual { position: relative; }
.hero-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 1.3rem; position: relative; z-index: 2; }
.hero-card .photo { height: 360px; border-radius: var(--r-md); }
.badge-float { position: absolute; z-index: 3; background: var(--ink); color: #fff; border-radius: 14px; padding: .9rem 1.1rem; box-shadow: var(--shadow-md); font-family: var(--font-head); font-weight: 700; display: flex; align-items: center; gap: .6rem; }
.badge-float svg { width: 20px; height: 20px; color: var(--red-bright); }
.badge-float.b1 { top: -18px; left: -18px; } .badge-float.b2 { bottom: 24px; right: -22px; background: var(--red); }
.badge-float.b2 svg { color: #fff; }
.float-anim { animation: floaty 6s ease-in-out infinite; } .float-anim.delay { animation-delay: -3s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* photo frames */
.photo {
  position: relative; overflow: hidden;
  background:
    linear-gradient(135deg, rgba(155,27,46,.05), rgba(26,26,26,.03)),
    #efece5;
}
.photo img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.16,1,.3,1);
}

/* PILLARS strip */
.pillars { background: var(--ink); color: var(--cream); }
.pillars .prow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.pillar { text-align: center; padding: 1.4rem; }
.pillar .ic { width: 46px; height: 46px; margin: 0 auto .8rem; color: var(--red-bright); transition: transform .3s ease; }
.pillar:hover .ic { transform: translateY(-4px); }
.pillar .ic svg { width: 100%; height: 100%; }
.pillar h3 { font-size: 1.1rem; letter-spacing: .14em; text-transform: uppercase; }
.pillar h3 .dot-red { color: var(--red-bright); }
.pillar p { color: rgba(245,242,237,.62); font-size: .88rem; margin-top: .3rem; }

/* SECTION */
section.block { padding: clamp(3.8rem, 7vw, 6rem) 0; }
.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3rem); color: var(--ink); margin-top: .7rem; }
.section-head h2 .script { font-family: var(--font-script); font-weight: 400; color: var(--red); }
.section-head p { color: var(--gray); margin-top: 1rem; }

/* services list */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.svc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.7rem; transition: transform .3s ease, box-shadow .3s ease; position: relative; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.svc .ic { width: 50px; height: 50px; border-radius: 12px; background: var(--cream); color: var(--red); display: grid; place-items: center; margin-bottom: 1rem; transition: transform .3s ease, background 0.15s ease, color 0.15s ease; }
.svc:hover .ic { transform: scale(1.08); background: var(--red); color: #fff; }
.svc .ic svg { width: 24px; height: 24px; }
.svc h3 { font-size: 1.2rem; color: var(--ink); margin-bottom: .4rem; }
.svc p { color: var(--gray); font-size: .94rem; }

/* about / personal */
.about { background: var(--cream-2); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.about .photo { height: 420px; border-radius: var(--r-lg); border: 1px solid var(--line); }
.about h2 { font-size: clamp(2rem,4vw,2.8rem); margin: .7rem 0 1rem; }
.about h2 .script { font-family: var(--font-script); font-weight: 400; color: var(--red); }
.about p { color: var(--ink-soft); margin-bottom: 1rem; }
.about .sign { font-family: var(--font-script); font-size: 2rem; color: var(--ink); margin-top: .4rem; }

/* family */
.fam-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.fam { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem; transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column; gap: .8rem; }
.fam:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.fam .mark { background: #fff; border: 1px solid var(--line); border-radius: 10px; height: 116px; display: flex; align-items: center; justify-content: center; padding: 1rem; overflow: hidden; }
.fam .mark img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.fam h3 { font-size: 1.15rem; color: var(--ink); }
.fam p { color: var(--gray); font-size: .92rem; }
.fam .go { font-family: var(--font-head); font-weight: 600; color: var(--red); font-size: .9rem; margin-top: auto; display: inline-flex; align-items: center; gap: .45rem; }
.fam .go svg { width: 16px; height: 16px; transition: transform .3s ease; }
.fam:hover .go svg { transform: translateX(4px); }

/* CTA */
.cta { background: var(--ink); color: var(--cream); text-align: center; border-radius: var(--r-lg); padding: clamp(2.6rem,5vw,4.4rem); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 320px at 50% 0%, rgba(155,27,46,.25), transparent 60%); }
.cta > * { position: relative; }
.cta h2 { font-size: clamp(2rem,4.4vw,3rem); }
.cta h2 .script { font-family: var(--font-script); font-weight: 400; color: var(--red-bright); }
.cta p { color: rgba(245,242,237,.72); margin: 1rem auto 2rem; max-width: 46ch; }
.cta .cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* footer */
footer.site { background: #111; color: #b8b2a6; padding: 3.2rem 0 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
footer .brand .bt { color: #fff; }
footer h4 { font-family: var(--font-head); letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; color: var(--red-bright); margin-bottom: 1rem; }
footer a, footer li { color: #9b958a; font-size: .92rem; line-height: 1.95; list-style: none; }
footer a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 2.2rem; padding-top: 1.4rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; font-size: .82rem; color: #6b6258; }

/* ─── Motion: "The Decisive Reach" ─── */
.reveal {
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* Hero visual — scale in from slight shrink */
.hero-visual.reveal:not(.in) { transform: scale(0.97) translateX(0); transition-duration: 0.65s; }

/* Service cards — rise from below and scale (like picking something up) */
.svc.reveal:not(.in) { transform: translateY(14px) scale(0.98); transition-duration: 0.38s; }
.svc.reveal.in { transform: none; }

/* Pillar items on the ink strip — fade up from zero */
.pillar.reveal:not(.in) { transform: translateY(16px); }

/* Section headings — just fade, no movement */
.section-head.reveal:not(.in) { transform: none; transition-duration: 0.5s; }

/* About photo — scale reveal (personal, not mechanical) */
.about .photo.reveal:not(.in) { transform: scale(0.97); transition: opacity 0.55s ease-out, transform 0.55s ease-out; }
.about .photo.reveal.in { transform: scale(1); }
.about .photo:hover img { transform: scale(1.04); }

/* Stagger — tighter gaps than generic (decisive, no dawdling) */
.d1 { transition-delay: 55ms; }
.d2 { transition-delay: 110ms; }
.d3 { transition-delay: 165ms; }
.d4 { transition-delay: 220ms; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; } .hero-visual { order: -1; }
  .services, .fam-grid { grid-template-columns: 1fr 1fr; }
  .pillars .prow { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; } .about .photo { height: 300px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav-links { display: none; } .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 1.2rem 26px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(26,26,26,.08);
    gap: 1rem;
    z-index: 49;
  }
  .services, .fam-grid, .pillars .prow { grid-template-columns: 1fr; } .nav-cta .btn-ghost { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; } .hero .script-big::after { transform: scaleX(1); } html { scroll-behavior: auto; }
}

/* ============================================================
   INTERIOR PAGES (services / about / contact)
   ============================================================ */
.page-hero {
  position: relative; overflow: hidden; text-align: center;
  background: radial-gradient(900px 460px at 50% -10%, rgba(155,27,46,.08), transparent 60%), var(--cream-2);
  padding: clamp(3.2rem, 6vw, 5rem) 0 clamp(2.8rem, 5vw, 4.4rem);
}
.crumbs { font-family: var(--font-head); font-weight: 500; letter-spacing: .04em; font-size: .8rem; color: var(--gray); margin-bottom: 1rem; }
.crumbs a { color: var(--red); } .crumbs a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--ink); }
.page-hero h1 .script { font-family: var(--font-script); font-weight: 400; color: var(--red); }
.page-hero p { color: var(--gray); max-width: 56ch; margin: 1.1rem auto 0; }

.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--ink); margin: 2rem 0 .8rem; }
.prose p { color: var(--ink-soft); margin-bottom: 1rem; }

/* detailed service rows */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; padding: clamp(2rem,4vw,3rem) 0; border-bottom: 1px solid var(--line); }
.svc-row:nth-child(even) .svc-row-media { order: 2; }
.svc-row .photo { height: 340px; border-radius: var(--r-md); border: 1px solid var(--line); }
.svc-row h3 { font-size: 1.7rem; color: var(--ink); margin: .5rem 0 .5rem; }
.svc-row p { color: var(--gray); }
.svc-row ul { list-style: none; margin-top: 1.1rem; }
.svc-row li { display: flex; gap: .6rem; align-items: flex-start; color: var(--gray); padding: .35rem 0; }
.svc-row li svg { width: 18px; height: 18px; color: var(--red); flex: none; margin-top: 5px; }

/* about split */
.about-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.about-split .photo { height: 440px; border-radius: var(--r-lg); border: 1px solid var(--line); }
.about-split h2 { font-size: clamp(2rem,4vw,2.8rem); margin: .6rem 0 1rem; }
.about-split h2 .script { font-family: var(--font-script); font-weight: 400; color: var(--red); }
.about-split p { color: var(--ink-soft); margin-bottom: 1rem; }
.about-split .sign { font-family: var(--font-script); font-size: 2rem; color: var(--ink); margin-top: .4rem; }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.3rem; margin-top: 1rem; }
.value { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.value .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--cream); color: var(--red); display: grid; place-items: center; margin-bottom: .8rem; }
.value .ic svg { width: 24px; height: 24px; }
.value h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: .3rem; }
.value p { color: var(--gray); font-size: .94rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.8rem; align-items: start; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2.2rem; box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--ink); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .82rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--cream-2);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(155,27,46,.13); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.contact-aside { display: flex; flex-direction: column; gap: 1rem; }
.info-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem; }
.info-card h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: .5rem; display: flex; gap: .5rem; align-items: center; }
.info-card h3 svg { width: 20px; height: 20px; color: var(--red); }
.info-card a { color: var(--red); font-weight: 600; }
.info-card p { color: var(--gray); font-size: .95rem; }
.note { font-size: .82rem; color: var(--gray); margin-top: .8rem; }

@media (max-width: 920px) {
  .svc-row, .about-split, .contact-grid { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) .svc-row-media { order: 0; }
  .svc-row .photo, .about-split .photo { height: 280px; }
  .values { grid-template-columns: 1fr; }
}

/* ---- Brand Strip (footer) ---- */
.brand-strip {
  display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap;
  padding: 1.6rem 0 2rem; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 2.4rem;
}
.brand-strip-label {
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  white-space: nowrap; color: rgba(255,255,255,.4);
}
.brand-strip-logos { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.brand-chip {
  display: flex; align-items: center; justify-content: center;
  width: 88px; height: 60px; border-radius: 8px; overflow: hidden;
  transition: opacity .25s ease, transform .25s ease;
}
.brand-chip:hover { opacity: .8; transform: translateY(-2px); }
.brand-chip img { width: 100%; height: 100%; object-fit: contain; }
.brand-chip.fam-jj { background: #143a6b; }
.brand-chip.fam-gathered { background: #0c0b0a; border: 1px solid rgba(201,162,75,.3); }
.brand-chip.fam-vowvine { background: #2c2a26; }

/* ---- Services note ---- */
.services-note {
  text-align: center; margin-top: 1.6rem;
  font-size: .95rem;
}
.services-note a { font-weight: 600; }
.services-note a:hover { text-decoration: underline; }

/* ---- Interior page hover & reveal parity ---- */

/* Value cards (about page) — same decisive lift as service cards */
.value { transition: transform .3s ease, box-shadow .3s ease; }
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value .ic { transition: transform .3s ease; }
.value:hover .ic { transform: scale(1.08); }
.value.reveal:not(.in) { transform: translateY(14px) scale(0.98); transition-duration: 0.38s; }
.value.reveal.in { transform: none; }

/* About photo — scale reveal + hover */
.about-split .photo:hover img { transform: scale(1.04); }
.about-split .photo.reveal:not(.in) { transform: scale(0.97); transition: opacity 0.55s ease-out, transform 0.55s ease-out; }
.about-split .photo.reveal.in { transform: scale(1); }

/* Service row photos — scale reveal + row hover */
.svc-row-media { overflow: hidden; border-radius: var(--r-md); }
.svc-row:hover .photo img { transform: scale(1.04); }
.svc-row-media.reveal:not(.in) { transform: scale(0.97); transition: opacity 0.55s ease-out, transform 0.55s ease-out; }
.svc-row-media.reveal.in { transform: scale(1); }

/* Info cards (contact page) — red border lift */
.info-card { transition: transform .25s ease, border-color .25s ease; }
.info-card:hover { transform: translateY(-3px); border-color: var(--red); }
