/* ============================================================
   Your Name — Personal Site
   Palette: navy / teal-aqua / warm ivory / gold
   Type: Fraunces (serif headlines) + Inter (sans body)
   ============================================================ */

:root {
  --navy:        #0f2942;
  --navy-deep:   #0a1f33;
  --aqua:        #2fb3ad;
  --aqua-bright: #5fd0c8;
  --ivory:       #f8f2e6;
  --ivory-soft:  #fdfaf3;
  --gold:        #c39b4e;
  --gold-soft:   #e2c98a;
  --ink:         #1c2b38;
  --muted:       #5b6b78;
  --line:        rgba(15, 41, 66, 0.12);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1120px;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory-soft);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; }

a { color: inherit; }

.eyebrow,
.section-eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--navy);
  color: var(--ivory-soft);
  box-shadow: 0 8px 22px rgba(15, 41, 66, 0.22);
}
.btn--primary:hover { background: var(--navy-deep); box-shadow: 0 12px 28px rgba(15,41,66,.3); }
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--ghost:hover { background: var(--navy); color: var(--ivory-soft); }
.btn--ghost-light {
  background: transparent;
  color: var(--ivory-soft);
  border-color: rgba(248,242,230,.55);
}
.btn--ghost-light:hover { background: var(--ivory-soft); color: var(--navy); border-color: var(--ivory-soft); }
.btn--small { padding: 0.6rem 1.1rem; font-size: 0.85rem; background: var(--aqua); color: var(--navy-deep); }
.btn--small:hover { background: var(--aqua-bright); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 250, 243, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.nav__brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 600; }
.nav__monogram {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  background: var(--navy); color: var(--ivory-soft);
  border-radius: 50%;
  font-family: var(--serif); font-size: 1rem;
  letter-spacing: .02em;
}
.nav__name { font-family: var(--serif); font-size: 1.1rem; color: var(--navy); }
.nav__links { display: flex; gap: 1.75rem; margin-left: auto; }
.nav__links a {
  text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--muted);
  position: relative; padding: .25rem 0;
}
.nav__links a:hover { color: var(--navy); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--aqua); transition: width .2s ease;
}
.nav__links a:hover::after { width: 100%; }
.nav__toggle { display: none; }

/* Header CTA: hidden over the hero, fades in once scrolled past it */
.nav .btn--small {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}
.nav.is-scrolled .btn--small {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(95,208,200,0.18), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(195,155,78,0.12), transparent 60%),
    var(--ivory);
  overflow: hidden;
}
.hero__inner {
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}
.hero__header { margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  letter-spacing: -0.015em;
  margin: 0.4rem 0 1.4rem;
  color: var(--navy);
}
.hero__title em { font-style: italic; color: var(--aqua); }
.hero__lede {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: var(--muted);
  max-width: 34ch;
  margin: 0 0 2.2rem;
}
.lede-emph { color: var(--navy); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: flex-start; }
.cta-group { display: inline-flex; flex-direction: column; align-items: center; gap: .45rem; }
.cta-note {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: var(--muted);
}

.hero__photo { display: flex; justify-content: center; }
.hero__photo-frame {
  position: relative;
  width: min(360px, 80vw);
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  box-shadow: 0 30px 60px rgba(15,41,66,.28);
  border: 6px solid #fff;
  display: grid;
  place-items: center;
}
.hero__photo-frame::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 12px; margin: 8px; pointer-events: none;
}
.hero__photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
.hero__photo-placeholder {
  display: none;
  color: rgba(248,242,230,.7);
  text-align: center;
  font-size: .9rem;
  letter-spacing: .04em;
  padding: 1rem;
}
.hero__photo-frame.is-empty .hero__photo-placeholder { display: block; }
.hero__photo-placeholder small { color: rgba(95,208,200,.8); }

/* ---------- Numbers ---------- */
.numbers {
  background: var(--navy);
  color: var(--ivory-soft);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}
.numbers__eyebrow { color: var(--gold-soft); text-align: center; margin-bottom: 2.8rem; }
.numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.4rem 1.5rem;
}
.stat { text-align: center; }
.stat__value {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3rem);
  color: var(--aqua-bright);
  letter-spacing: -0.01em;
  line-height: 1;
}
.stat__arrow { font-size: 0.6em; color: var(--gold-soft); margin-left: .1em; }
.stat__label {
  display: block;
  margin-top: .7rem;
  font-size: .9rem;
  color: rgba(248,242,230,.78);
  max-width: 22ch;
  margin-left: auto; margin-right: auto;
}

/* ---------- Ways to Work Together ---------- */
.services { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.services__eyebrow { text-align: center; }
.services__title {
  text-align: center;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--navy);
  margin: 0 auto 2.8rem;
  max-width: 22ch;
}
.services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }
.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.2rem;
  box-shadow: 0 12px 30px rgba(15,41,66,.06);
}
.service-card--accent {
  background: var(--ivory);
  border-color: rgba(195,155,78,.4);
}
.service-card__tag {
  align-self: flex-start;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: var(--gold);
  background: rgba(195,155,78,.12);
  padding: .35rem .7rem; border-radius: 999px;
  margin-bottom: 1.1rem;
}
.service-card--accent .service-card__tag { color: var(--aqua); background: rgba(47,179,173,.14); }
.service-card__title { font-size: 1.55rem; color: var(--navy); margin: 0 0 .8rem; }
.service-card__desc { color: var(--ink); margin: 0 0 1.3rem; }
.service-card__desc strong { color: var(--navy); }
.service-card__list { list-style: none; margin: 0 0 1.8rem; padding: 0; }
.service-card__list li {
  position: relative; padding-left: 1.4rem; margin-bottom: .65rem; font-size: .98rem; color: var(--ink);
}
.service-card__list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
}
.service-card--accent .service-card__list li::before { background: var(--aqua); }
.service-card .btn { align-self: flex-start; margin-top: auto; }

/* ---------- About ---------- */
.about { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.about__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.about__strip {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--navy);
  line-height: 1.25;
  margin: 0;
}
.about__body p { font-size: 1.06rem; color: var(--ink); margin: 0 0 1.3rem; }
.about__body strong { color: var(--navy); }
.pullquote {
  margin: 2rem 0 0;
  padding: 1.4rem 0 1.4rem 1.6rem;
  border-left: 3px solid var(--aqua);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--navy);
  line-height: 1.4;
}

/* ---------- What I Bring ---------- */
.bring {
  background: var(--ivory);
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.bring .section-eyebrow { text-align: center; margin-bottom: 2.8rem; }
.bring__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.bring__col {
  background: #fff;
  border-radius: 14px;
  padding: 2rem 1.8rem;
  box-shadow: 0 12px 30px rgba(15,41,66,.06);
  border-top: 3px solid var(--aqua);
}
.bring__title { font-size: 1.3rem; color: var(--navy); margin-bottom: 1.2rem; }
.bring__col ul { list-style: none; margin: 0; padding: 0; }
.bring__col li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: .8rem;
  font-size: .98rem;
  color: var(--ink);
}
.bring__col li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
}

/* ---------- Experience ---------- */
.experience { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.experience .section-eyebrow { text-align: center; margin-bottom: 2.5rem; }
.exp {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--ivory-soft);
}
.exp + .exp { margin-top: 1.5rem; }
.exp__company { font-size: 1.7rem; color: var(--navy); }
.exp__role { font-weight: 600; color: var(--aqua); margin: .4rem 0 .2rem; }
.exp__scope { color: var(--muted); font-size: .92rem; margin: 0; }
.exp__points { margin: 0; padding-left: 1.1rem; }
.exp__points li { margin-bottom: 1rem; font-size: 1.02rem; }
.exp__points li:last-child { margin-bottom: 0; }
.exp__points strong { color: var(--navy); }

.exp__intro { margin: 0 0 1.6rem; color: var(--muted); font-style: italic; }
.engagement + .engagement {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.engagement__head { margin-bottom: .9rem; }
.engagement__client { font-family: var(--serif); font-size: 1.25rem; color: var(--navy); margin: 0; }
.engagement__role { font-weight: 600; color: var(--aqua); font-size: .95rem; margin: .2rem 0 .1rem; }
.engagement__dates { color: var(--muted); font-size: .85rem; margin: 0; }

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(47,179,173,0.25), transparent 60%),
    var(--navy-deep);
  color: var(--ivory-soft);
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  text-align: center;
}
.contact__eyebrow { color: var(--gold-soft); }
.contact__title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  max-width: 18ch;
  margin: 0 auto 1.2rem;
}
.contact__lede { color: rgba(248,242,230,.8); max-width: 46ch; margin: 0 auto 2.2rem; font-size: 1.08rem; }
.contact__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.contact__links { font-size: .98rem; }
.contact__links a { color: var(--aqua-bright); text-decoration: none; font-weight: 500; }
.contact__links a:hover { color: #fff; }
.contact__links .dot { margin: 0 .7rem; color: rgba(248,242,230,.4); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(248,242,230,.65); padding: 1.6rem 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; }
.footer__top { text-decoration: none; color: var(--aqua-bright); }
.footer__top:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav__links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--ivory-soft);
    border-bottom: 1px solid var(--line);
    padding: .5rem var(--pad) 1rem;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn--small { margin-left: auto; }
  .nav__toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: .4rem;
  }
  .nav__toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .2s; }

  .hero__inner { text-align: center; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__lede { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero__photo { margin-top: .5rem; }

  .numbers__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: 1fr; }
  .hero__cta { justify-content: center; }
  .about__inner { grid-template-columns: 1fr; }
  .bring__grid { grid-template-columns: 1fr; }
  .exp { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .nav__name { display: none; }
  .numbers__grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
