/* ============================================================
   Beauty by Hilary — shared stylesheet
   Warm boutique aesthetic · clean sans + refined serif monogram
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Outfit:wght@300;400;500;600&family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&family=EB+Garamond:ital,wght@0,400;0,500;1,400;1,500&display=swap');

:root {
  /* ---- Warm nude palette ---- */
  --cream:        #F6EFE9;
  --cream-soft:   #FBF6F0;
  --paper:        #FFFCF9;
  --tan:          #C9A48B;
  --tan-deep:     #B68C70;
  --blush:        #E9C9BE;
  --blush-soft:   #F2DCD4;
  --mocha:        #8C6F5E;
  --espresso:     #4A3D33;
  --espresso-deep:#332A22;
  --line:         rgba(140, 111, 94, 0.22);
  --line-soft:    rgba(140, 111, 94, 0.12);
  --shadow:       28px 36px 70px -38px rgba(74, 61, 51, 0.42);
  --shadow-sm:    14px 18px 40px -28px rgba(74, 61, 51, 0.38);

  /* ---- Type ---- */
  --sans: 'Jost', system-ui, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;

  /* ---- Rhythm ---- */
  --maxw: 1240px;
  --pad: clamp(22px, 5vw, 80px);
  --section-y: clamp(72px, 11vw, 156px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.72;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---- Reusable helpers ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

.eyebrow {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--mocha);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 1px;
  background: var(--tan);
}
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after {
  content: "";
  width: 30px; height: 1px;
  background: var(--tan);
}

h1, h2, h3 { font-weight: 400; margin: 0; line-height: 1.08; letter-spacing: -0.01em; }

.display {
  font-size: clamp(44px, 7.6vw, 104px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.018em;
}
.h2 {
  font-size: clamp(30px, 4.4vw, 54px);
  font-weight: 300;
  letter-spacing: -0.012em;
}
.serif-accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}

.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.78;
  color: var(--mocha);
  max-width: 56ch;
}

/* ---- Buttons ---- */
.btn {
  --btn-bg: var(--espresso);
  --btn-fg: var(--cream-soft);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 34px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--btn-bg);
  border-radius: 2px;
  cursor: pointer;
  transition: background .4s ease, color .4s ease, transform .4s ease, letter-spacing .4s ease;
}
.btn:hover { background: var(--mocha); border-color: var(--mocha); transform: translateY(-2px); letter-spacing: 0.26em; }
.btn .arr { transition: transform .4s ease; }
.btn:hover .arr { transform: translateX(4px); }

.btn.ghost {
  --btn-bg: transparent;
  --btn-fg: var(--espresso);
  border-color: var(--tan);
}
.btn.ghost:hover { background: var(--espresso); color: var(--cream-soft); border-color: var(--espresso); }

.linkline {
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--espresso);
  display: inline-flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--tan);
  padding-bottom: 6px;
  transition: gap .35s ease, border-color .35s ease;
}
.linkline:hover { gap: 16px; border-color: var(--mocha); }

/* ---- Arch image frame ---- */
.arch {
  border-radius: 50vw 50vw 6px 6px / 38vw 38vw 6px 6px;
  overflow: hidden;
}
.arch.soft { border-radius: 200px 200px 8px 8px; }

/* ============================================================
   Top bar + Nav
   ============================================================ */
.topbar {
  background: var(--espresso-deep);
  color: var(--blush-soft);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: center; gap: 28px;
  padding-block: 9px;
  flex-wrap: wrap;
}
.topbar a { display: inline-flex; align-items: center; gap: 8px; opacity: .82; transition: opacity .3s; }
.topbar a:hover { opacity: 1; }
.topbar .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--tan); opacity: .6; }

header.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 18px var(--pad);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links.right { justify-content: flex-end; }
.nav-links a {
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--espresso); position: relative; padding-block: 6px;
  transition: color .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--mocha); transition: width .35s ease;
}
.nav-links a:hover { color: var(--mocha); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--mocha); }
.nav-links a.btn { color: var(--cream-soft); }
.nav-links a.btn::after { display: none; }
.nav-links a.btn:hover { color: var(--cream-soft); }

.nav-has-sub { position: relative; }
.nav-sub {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  padding: 10px; min-width: 232px; box-shadow: var(--shadow-sm);
  opacity: 0; visibility: hidden; transition: all .3s ease; display: grid; gap: 2px;
}
.nav-has-sub:hover .nav-sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(2px); }
.nav-sub a {
  padding: 9px 14px; border-radius: 3px; letter-spacing: 0.1em; white-space: nowrap;
  text-transform: none; font-size: 13px;
}
.nav-sub a::after { display: none; }
.nav-sub a:hover { background: var(--cream); }

/* monogram */
.brand { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.brand .mono {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 30px; line-height: 1; color: var(--espresso-deep);
  letter-spacing: 0.02em;
}
.brand .mono b { font-style: normal; font-weight: 500; }
.brand .word {
  font-size: 10px; font-weight: 500; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--mocha);
}

.nav-toggle { display: none; }
.mobile-menu { display: none; }

/* mobile nav */
@media (max-width: 920px) {
  .nav-inner { grid-template-columns: auto 1fr; }
  .brand { order: -1; align-items: flex-start; }
  .nav-links { display: none; }
  .nav-toggle {
    display: inline-flex; justify-self: end; flex-direction: column; gap: 5px;
    background: none; border: 0; cursor: pointer; padding: 8px;
  }
  .nav-toggle span { width: 26px; height: 1.5px; background: var(--espresso); display: block; transition: .3s; }
  .mobile-menu {
    grid-column: 1 / -1; display: none; flex-direction: column; gap: 4px;
    padding-top: 14px; margin-top: 6px; border-top: 1px solid var(--line-soft);
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { padding: 11px 4px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
  .mobile-menu .sub-link { padding-left: 22px; color: var(--mocha); text-transform: none; letter-spacing: 0.06em; }
}

/* ============================================================
   Footer
   ============================================================ */
footer.site {
  background: var(--espresso-deep);
  color: var(--blush-soft);
  margin-top: var(--section-y);
}
footer.site .wrap { padding-block: clamp(56px, 8vw, 92px); }
.foot-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; align-items: start; }
.foot-mono { font-family: var(--serif); font-style: italic; font-size: 40px; color: var(--cream-soft); line-height: 1.16; }
.foot-word { font-size: 10px; letter-spacing: 0.42em; text-transform: uppercase; color: var(--tan); margin-top: 12px; }
.foot-tag { color: rgba(242, 220, 212, 0.66); margin-top: 22px; max-width: 36ch; font-size: 15.5px; line-height: 1.7; }
.foot-col h4 { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--tan); margin-bottom: 18px; font-weight: 500; }
.foot-col a, .foot-col p { color: rgba(242, 220, 212, 0.82); font-size: 15px; margin: 0 0 11px; transition: color .3s; display: block; }
.foot-col a:hover { color: var(--cream-soft); }
.foot-bottom {
  margin-top: clamp(40px, 6vw, 68px); padding-top: 26px; border-top: 1px solid rgba(242,220,212,0.16);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 12px; letter-spacing: 0.08em; color: rgba(242,220,212,0.5);
}
.foot-social { display: flex; gap: 14px; }
.foot-social a {
  width: 38px; height: 38px; border: 1px solid rgba(242,220,212,0.28); border-radius: 50%;
  display: grid; place-items: center; transition: all .35s ease;
}
.foot-social a:hover { background: var(--tan); border-color: var(--tan); color: var(--espresso-deep); transform: translateY(-3px); }
@media (max-width: 760px) { .foot-top { grid-template-columns: 1fr; gap: 36px; } }

/* ============================================================
   Inner page hero
   ============================================================ */
.page-hero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(32px, 5vw, 56px); text-align: center; position: relative; }
.page-hero .display { margin: 20px auto 0; max-width: 16ch; }
.page-hero .lede { margin: 22px auto 0; text-align: center; }
.page-hero .display em { font-family: var(--serif); font-style: italic; }
.divider-orn { display: flex; align-items: center; justify-content: center; gap: 14px; margin: clamp(28px,4vw,40px) auto; color: var(--tan); }
.divider-orn::before, .divider-orn::after { content: ""; height: 1px; width: 60px; background: var(--line); }
.divider-orn .di { font-size: 11px; }

/* ============================================================
   Reveal animation — resting state is VISIBLE so content never
   stays hidden if the compositor pauses (preview/screenshot).
   ============================================================ */
.reveal { opacity: 1; }
.reveal.in { animation: revealIn .85s cubic-bezier(.2,.7,.2,1) both; }
@keyframes revealIn { from { transform: translateY(24px); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .reveal.in { animation: none; } }
