/* ============================================================
   Ostetrica Valentina Florida — Design System
   Aesthetic: warm editorial · organic · feminine · trustworthy
   ============================================================ */

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

/* ---------- Tokens ---------- */
:root {
  /* palette — warm clay, blush, deep aubergine, sage */
  --cream:      #FBF5EF;
  --cream-deep: #F4E9DE;
  --blush:      #EBD3C6;
  --clay:       #C17B5B;
  --clay-deep:  #A4623F;
  --plum:       #4B3340;
  --plum-soft:  #6E4F60;
  --sage:       #8B9A7E;
  --ink:        #2E2429;
  --paper:      #FFFCF8;
  --line:       rgba(75, 51, 64, .14);

  /* type */
  --display: 'Fraunces', Georgia, serif;
  --body:    'Hanken Grotesk', system-ui, sans-serif;

  /* spacing / shape */
  --rad:    18px;
  --rad-lg: 32px;
  --shadow-sm: 0 2px 14px rgba(75,51,64,.07);
  --shadow:    0 18px 50px -22px rgba(75,51,64,.32);
  --maxw: 1180px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration:.001ms !important; transition-duration:.001ms !important; }
}
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 8rem) 0; position: relative; }
.eyebrow {
  font-family: var(--body);
  font-size: .76rem; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--clay-deep);
  display: inline-flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content:''; width: 26px; height: 1px; background: var(--clay); display:inline-block; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.04; color: var(--plum); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--plum-soft); }
em.it { font-style: italic; color: var(--clay-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  padding: .95rem 1.7rem; border-radius: 100px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--clay); color: #fff; box-shadow: 0 12px 28px -12px rgba(164,98,63,.7); }
.btn--primary:hover { background: var(--clay-deep); transform: translateY(-3px); box-shadow: 0 18px 34px -12px rgba(164,98,63,.75); }
.btn--ghost { background: transparent; color: var(--plum); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--clay); color: var(--clay-deep); transform: translateY(-3px); }
.btn--light { background: var(--paper); color: var(--plum); box-shadow: var(--shadow-sm); }
.btn--light:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.1rem 0;
  transition: transform .35s var(--ease);
}
/* visibile solo a inizio pagina: scroll giù -> nascondi, torna su -> mostra */
.site-header.scrolled {
  transform: translateY(-100%); -webkit-transform: translateY(-100%);
  pointer-events: none;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__logo { height: 52px; width: auto; flex: none; display: block; }
.site-header.scrolled .brand__logo { height: 44px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--display); font-size: 1.18rem; color: var(--plum); letter-spacing: .01em; }
.brand__role { font-size: .64rem; letter-spacing: .34em; text-transform: uppercase; color: var(--clay-deep); margin-top: 4px; font-weight: 600; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-size: .95rem; font-weight: 500; color: var(--plum); position: relative; padding: .2rem 0; }
.nav__links a::after { content:''; position:absolute; left:0; bottom:-2px; width:0; height:1.5px; background: var(--clay); transition: width .35s var(--ease); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 1rem; }
.nav__toggle { display: none; width: 30px; height: 22px; position: relative; }
.nav__toggle span { position:absolute; left:0; width:100%; height:2px; background: var(--plum); border-radius:2px; transition: .35s var(--ease); }
.nav__toggle span:nth-child(1){ top:0; } .nav__toggle span:nth-child(2){ top:10px; } .nav__toggle span:nth-child(3){ top:20px; }
body.menu-open .nav__toggle span:nth-child(1){ top:10px; transform: rotate(45deg); }
body.menu-open .nav__toggle span:nth-child(2){ opacity:0; }
body.menu-open .nav__toggle span:nth-child(3){ top:10px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(8rem,16vh,11rem) 0 clamp(4rem,8vw,7rem); overflow: hidden; }
.hero__bg { position:absolute; inset:0; z-index:-1; }
.blob { position:absolute; border-radius:50%; filter: blur(60px); opacity:.55; }
.blob--1 { width: 46vw; height: 46vw; background: radial-gradient(circle, var(--blush), transparent 70%); top:-12vw; right:-10vw; }
.blob--2 { width: 38vw; height: 38vw; background: radial-gradient(circle, rgba(139,154,126,.4), transparent 70%); bottom:-14vw; left:-12vw; }
.grain { position:absolute; inset:0; z-index:-1; opacity:.4; mix-blend-mode: multiply; pointer-events:none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }

.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.hero__title { font-size: clamp(2.7rem, 6vw, 5.1rem); line-height: .98; margin: 1.3rem 0 1.4rem; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .name { color: var(--clay); font-style: italic; }
.hero__sub { max-width: 30ch; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__meta { margin-top: 2.6rem; display:flex; gap: 2.4rem; flex-wrap: wrap; }
.hero__meta div { display:flex; flex-direction: column; }
.hero__meta b { font-family: var(--display); font-size: 1.6rem; color: var(--plum); }
.hero__meta span { font-size: .8rem; letter-spacing: .04em; color: var(--plum-soft); }

/* hero portrait card */
.portrait {
  position: relative; border-radius: var(--rad-lg);
  aspect-ratio: 4/5; overflow: hidden;
  background: linear-gradient(150deg, var(--cream-deep), var(--blush));
  box-shadow: var(--shadow); isolation: isolate;
}
.portrait img { width:100%; height:100%; object-fit: cover; }
.portrait__badge {
  position:absolute; left: 1.2rem; bottom: 1.2rem; right: 1.2rem;
  background: rgba(255,252,248,.86); backdrop-filter: blur(8px);
  border-radius: 16px; padding: .9rem 1.1rem; display:flex; align-items:center; gap:.85rem;
  box-shadow: var(--shadow-sm);
}
.portrait__badge .dot { width:10px; height:10px; border-radius:50%; background: var(--sage); box-shadow:0 0 0 4px rgba(139,154,126,.25); flex:none; }
.portrait__badge small { display:block; font-size:.72rem; color: var(--plum-soft); letter-spacing:.02em; }
.portrait__badge strong { font-family: var(--display); color: var(--plum); font-weight:500; }
.portrait__deco { position:absolute; inset:auto auto 0 0; z-index:-1; }
/* placeholder (when no photo supplied) */
.ph {
  width:100%; height:100%; display:grid; place-items:center; text-align:center;
  background:
    radial-gradient(120% 100% at 70% 0%, var(--blush), transparent 60%),
    linear-gradient(160deg, var(--cream-deep), var(--clay) 220%);
  color: var(--plum);
}
.ph__mono { font-family: var(--display); font-size: clamp(3rem,7vw,5rem); font-style: italic; opacity:.9; }
.ph small { display:block; margin-top:.4rem; font-size:.72rem; letter-spacing:.22em; text-transform:uppercase; color: var(--clay-deep); }

/* ---------- Marquee strip ---------- */
.strip { background: var(--plum); color: var(--cream); overflow: hidden; padding: 1rem 0; }
.strip__track { display: flex; gap: 3rem; white-space: nowrap; width: max-content; animation: marquee 28s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip span { font-family: var(--display); font-style: italic; font-size: 1.25rem; display:inline-flex; align-items:center; gap: 3rem; opacity:.92; }
.strip span::after { content:'✦'; color: var(--clay); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 3rem; }
@media (max-width: 1024px) { .services__grid { grid-template-columns: 1fr 1fr; } }
.svc {
  position: relative; border-radius: var(--rad-lg); padding: clamp(1.8rem,3vw,2.8rem);
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  display: flex; flex-direction: column;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc::before { content:''; position:absolute; inset:0 0 auto 0; height:5px; background: linear-gradient(90deg, var(--clay), var(--blush)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.svc:hover::before { transform: scaleX(1); }
.svc__num { font-family: var(--display); font-style: italic; font-size: 1.1rem; color: var(--clay); }
.svc h3 { margin: .9rem 0 .8rem; }
.svc p { color: var(--plum-soft); margin-bottom: 1.6rem; flex: 1; }
.svc__link { font-weight: 600; color: var(--clay-deep); display:inline-flex; align-items:center; gap:.5rem; transition: gap .3s; }
.svc__link:hover { gap: .9rem; }

/* ---------- Symptom grid ---------- */
.symptoms { background: var(--cream-deep); }
.sym-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.8rem; }
@media (max-width: 760px) { .sym-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .sym-grid { grid-template-columns: 1fr; } }
.sym {
  background: var(--paper); border-radius: var(--rad); padding: 1.6rem 1.4rem;
  border: 1px solid var(--line); transition: transform .4s var(--ease), background .4s;
  display:flex; gap: 1rem; align-items:flex-start;
}
.sym:hover { transform: translateY(-4px); background: #fff; }
.sym__ic { width: 44px; height: 44px; flex: none; color: var(--clay); }
.sym h4 { font-family: var(--body); font-weight: 700; font-size: 1rem; color: var(--plum); margin-bottom: .2rem; }
.sym p { font-size: .87rem; color: var(--plum-soft); line-height: 1.5; }

/* ---------- About / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--rad-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.split__media img, .split__media .ph { width:100%; height:100%; object-fit: cover; }
.split__media::after { content:''; position:absolute; inset:0; border:1px solid rgba(255,255,255,.3); border-radius: var(--rad-lg); pointer-events:none; }
.about__quote { font-family: var(--display); font-style: italic; font-size: clamp(1.3rem,2.4vw,1.85rem); color: var(--plum); line-height: 1.4; margin: 1.4rem 0; }
.about__quote::first-letter { font-size: 1.4em; color: var(--clay); }

/* ---------- Timeline ---------- */
.timeline { margin-top: 3rem; position: relative; }
.tl {
  display: grid; grid-template-columns: 110px 1fr; gap: 1.8rem;
  padding: 1.6rem 0; border-top: 1px solid var(--line); align-items: start;
}
.tl:last-child { border-bottom: 1px solid var(--line); }
.tl__year { font-family: var(--display); font-style: italic; font-size: 1.7rem; color: var(--clay); }
.tl h4 { font-family: var(--body); font-weight: 700; color: var(--plum); font-size: 1.08rem; margin-bottom: .3rem; }
.tl p { color: var(--plum-soft); font-size: .94rem; }
.tl__place { display:inline-block; margin-top:.4rem; font-size:.78rem; letter-spacing:.04em; color: var(--clay-deep); font-weight:600; }

/* ---------- Collaborators ---------- */
.collab-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 1.6rem; margin-top: 3rem; }
.collab {
  background: var(--paper); border-radius: var(--rad-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.collab:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.collab__img { aspect-ratio: 1/1; overflow: hidden; background: linear-gradient(150deg, var(--cream-deep), var(--blush)); }
.collab__img img, .collab__img .ph { width:100%; height:100%; object-fit: cover; }
.collab__body { padding: 1.4rem 1.5rem 1.7rem; }
.collab__body h4 { font-family: var(--display); color: var(--plum); font-size: 1.2rem; }
.collab__body h4 a { transition: color .3s; }
.collab__body h4 a:hover { color: var(--clay-deep); text-decoration: underline; }
.collab__role { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--clay-deep); font-weight:600; margin: .35rem 0 .8rem; }
.collab__body p { font-size: .9rem; color: var(--plum-soft); }

/* ---------- Contact ---------- */
.contact { background: var(--plum); color: var(--cream); }
.contact h2, .contact h3 { color: var(--cream); }
.contact .eyebrow { color: var(--blush); }
.contact .eyebrow::before { background: var(--clay); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); margin-top: 2.6rem; }
.cinfo { display: flex; flex-direction: column; gap: 1.4rem; }
.cinfo__row { display:flex; gap: 1rem; align-items: flex-start; padding-bottom: 1.4rem; border-bottom: 1px solid rgba(235,211,198,.18); }
.cinfo__row:last-child { border-bottom: none; }
.cinfo__ic { width: 24px; height: 24px; flex: none; color: var(--clay); margin-top: 4px; }
.cinfo__row small { display:block; font-size:.74rem; letter-spacing:.2em; text-transform:uppercase; color: var(--blush); opacity:.75; margin-bottom:.2rem; }
.cinfo__row a, .cinfo__row p { color: var(--cream); font-size: 1.05rem; }
.cinfo__row a:hover { color: var(--clay); }
.hours { display:grid; grid-template-columns: auto 1fr; gap:.3rem 1.4rem; font-size:.95rem; }
.hours dt { color: var(--blush); } .hours dd { text-align: right; }

/* contact form */
.form { background: rgba(255,252,248,.06); border:1px solid rgba(235,211,198,.2); border-radius: var(--rad-lg); padding: clamp(1.6rem,3vw,2.4rem); }
.form .field { margin-bottom: 1.1rem; }
.form label { display:block; font-size:.8rem; letter-spacing:.06em; color: var(--blush); margin-bottom:.4rem; text-transform: uppercase; }
.form input, .form select, .form textarea {
  width:100%; font-family: inherit; font-size: 1rem; color: var(--cream);
  background: rgba(251,245,239,.07); border:1px solid rgba(235,211,198,.25);
  border-radius: 12px; padding: .85rem 1rem; transition: border .3s, background .3s;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(235,211,198,.5); }
.form input:focus, .form select:focus, .form textarea:focus { outline:none; border-color: var(--clay); background: rgba(251,245,239,.12); }
.form textarea { resize: vertical; min-height: 110px; }
.form .btn { width:100%; justify-content:center; margin-top:.4rem; }
.form__note { font-size:.78rem; color: var(--blush); opacity:.7; margin-top:.9rem; text-align:center; }

/* ---------- CTA band ---------- */
.cta-band { text-align:center; }
.cta-band .inner { background: linear-gradient(150deg, var(--clay), var(--clay-deep)); border-radius: var(--rad-lg); padding: clamp(2.6rem,6vw,4.5rem); color:#fff; position:relative; overflow:hidden; }
.cta-band .inner::after { content:''; position:absolute; width:340px; height:340px; border-radius:50%; background: rgba(255,255,255,.1); top:-140px; right:-100px; }
.cta-band h2 { color:#fff; max-width: 18ch; margin-inline:auto; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 46ch; margin: 1rem auto 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(251,245,239,.78); padding: clamp(3rem,6vw,4.5rem) 0 2rem; }
.foot__grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(251,245,239,.12); }
.foot__brand { font-family: var(--display); font-size: 1.5rem; color: var(--cream); margin-bottom: .8rem; }
.foot__grid h5 { font-size:.76rem; letter-spacing:.2em; text-transform:uppercase; color: var(--blush); margin-bottom: 1rem; font-weight:600; }
.foot__grid a { display:block; padding:.3rem 0; color: rgba(251,245,239,.78); font-size:.95rem; transition: color .3s; }
.foot__grid a:hover { color: var(--clay); }
.foot__social { display:flex; gap:.7rem; margin-top:1.2rem; }
.foot__social a { width:40px; height:40px; border-radius:50%; border:1px solid rgba(251,245,239,.2); display:grid; place-items:center; transition: .3s; }
.foot__social a:hover { background: var(--clay); border-color: var(--clay); transform: translateY(-3px); }
.foot__social svg { width:18px; height:18px; }
.foot__bottom { display:flex; justify-content:space-between; flex-wrap:wrap; gap:1rem; padding-top:1.6rem; font-size:.82rem; color: rgba(251,245,239,.55); }
.foot__bottom a:hover { color: var(--clay); }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background:#25D366; display:grid; place-items:center; box-shadow: 0 12px 28px -8px rgba(37,211,102,.6); transition: transform .4s var(--ease); }
.wa-float:hover { transform: scale(1.08) translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; fill:#fff; }

/* ---------- Cookie consent ---------- */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: rgba(251,245,239,.98);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(0,0,0,.3);
  padding: 1rem clamp(1rem,4vw,2.5rem);
  display: flex; align-items: center; justify-content: center; gap: 1.4rem; flex-wrap: wrap;
  animation: cookieUp .4s var(--ease);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar__txt { font-size: .88rem; color: var(--plum-soft); margin: 0; max-width: 62ch; }
.cookie-bar__txt a { color: var(--clay-deep); text-decoration: underline; }
.cookie-bar__actions { display: flex; gap: .8rem; flex: none; }
.cookie-bar__btn { padding: .6rem 1.5rem; font-size: .85rem; }
@keyframes cookieUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (max-width: 560px) { .cookie-bar { gap: .9rem; } .cookie-bar__actions { width: 100%; justify-content: center; } }
.cookie-state { display: inline-block; margin-left: .8rem; font-size: .85rem; color: var(--clay-deep); font-weight: 600; }

/* ---------- Policy pages (privacy / cookie) ---------- */
.policy-table { width: 100%; border-collapse: collapse; margin: 1.2rem 0 .5rem; font-size: .9rem; }
.policy-table th, .policy-table td { text-align: left; vertical-align: top; padding: .7rem .85rem; border: 1px solid var(--line); }
.policy-table th { background: var(--paper); font-weight: 600; color: var(--plum); }
.policy-table td { color: var(--plum-soft); }
@media (max-width: 620px) {
  .policy-table, .policy-table tbody, .policy-table tr, .policy-table td, .policy-table th { display: block; width: 100%; border: none; }
  .policy-table tr { border: 1px solid var(--line); border-radius: 10px; margin-bottom: .9rem; padding: .3rem 0; }
  .policy-table td { padding: .35rem .9rem; }
  .policy-table thead { display: none; }
  .policy-table td::before { content: attr(data-label); display: block; font-weight: 700; color: var(--plum); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .15rem; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: clamp(8rem,15vh,11rem) 0 clamp(3rem,6vw,5rem); text-align: center; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.5rem,6vw,4.4rem); margin: 1.1rem 0 1rem; }
.page-hero .lead { max-width: 56ch; margin-inline: auto; }
.breadcrumb { font-size:.82rem; color: var(--plum-soft); margin-top: 1.4rem; }
.breadcrumb a:hover { color: var(--clay); }

/* prose for service / article pages */
.prose { max-width: 70ch; }
.prose p { margin-bottom: 1.2rem; color: var(--plum-soft); font-size: 1.06rem; }
.prose p strong { color: var(--plum); }
.prose h3 { margin: 2.2rem 0 .8rem; }
.prose ul.bul { margin: 0 0 1.4rem; padding-left: 0; }
.prose ul.bul li { position: relative; padding-left: 1.8rem; margin-bottom: .7rem; color: var(--plum-soft); }
.prose ul.bul li::before { content:''; position:absolute; left:0; top:.6em; width:8px; height:8px; border-radius:50%; background: var(--clay); }
.prose blockquote { margin: 1.8rem 0; padding: 1.2rem 1.6rem; border-left: 3px solid var(--clay); background: var(--cream-deep); border-radius: 0 14px 14px 0; font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--plum); }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 1.8rem; margin-top: 3rem; }
.post-card {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--rad-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__cover { aspect-ratio: 16/10; position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--cream-deep), var(--blush)); }
.post-card__cover img { width:100%; height:100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-card__cover img { transform: scale(1.05); }
.post-card__cover .ph__mono { font-size: 2.6rem; }
.post-card__cat { position:absolute; top: 1rem; left: 1rem; background: rgba(255,252,248,.9); backdrop-filter: blur(6px);
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--clay-deep);
  padding: .4rem .8rem; border-radius: 100px; }
.post-card__body { padding: 1.5rem 1.6rem 1.8rem; display:flex; flex-direction:column; flex:1; }
.post-card__meta { font-size: .78rem; letter-spacing: .04em; color: var(--plum-soft); margin-bottom: .7rem; display:flex; gap:.6rem; align-items:center; }
.post-card__meta span { width:3px; height:3px; border-radius:50%; background: var(--clay); }
.post-card h3 { font-size: 1.32rem; line-height: 1.15; margin-bottom: .7rem; }
.post-card p { font-size: .95rem; color: var(--plum-soft); flex:1; margin-bottom: 1.2rem; }
.post-card__link { font-weight: 600; color: var(--clay-deep); display:inline-flex; align-items:center; gap:.5rem; transition: gap .3s; font-size:.95rem; }
.post-card:hover .post-card__link { gap: .9rem; }
.post-card--featured { grid-column: 1 / -1; flex-direction: row; }
.post-card--featured .post-card__cover { flex: 1 1 50%; aspect-ratio: auto; }
.post-card--featured .post-card__body { flex: 1 1 50%; justify-content: center; padding: clamp(1.8rem,4vw,3rem); }
.post-card--featured h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.post-card--featured p { font-size: 1.05rem; }

/* article page */
.article { max-width: 760px; margin-inline: auto; }
.article__cover { border-radius: var(--rad-lg); overflow:hidden; aspect-ratio: 16/9; margin: 0 0 2.5rem; box-shadow: var(--shadow); background: linear-gradient(150deg, var(--cream-deep), var(--blush)); }
.article__cover img { width:100%; height:100%; object-fit: cover; }
.article__meta { display:flex; flex-wrap:wrap; gap:.8rem; align-items:center; font-size:.85rem; color: var(--plum-soft); margin-bottom: 1.2rem; }
.article__cat { background: var(--clay); color:#fff; font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; font-weight:700; padding:.35rem .8rem; border-radius:100px; }
.article__share { display:flex; gap:.6rem; align-items:center; margin: 2.5rem 0; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.article__share small { color: var(--plum-soft); margin-right:.4rem; }
.article__share a { width:38px; height:38px; border-radius:50%; border:1px solid var(--line); display:grid; place-items:center; color: var(--plum); transition:.3s; }
.article__share a:hover { background: var(--clay); border-color: var(--clay); color:#fff; transform: translateY(-3px); }
.article__share svg { width:17px; height:17px; }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-d="1"]{ transition-delay:.08s; }
[data-reveal][data-d="2"]{ transition-delay:.16s; }
[data-reveal][data-d="3"]{ transition-delay:.24s; }
[data-reveal][data-d="4"]{ transition-delay:.32s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__grid, .split, .services__grid, .contact__grid, .foot__grid { grid-template-columns: 1fr; }
  .hero__portrait { max-width: 420px; margin-inline: auto; order: -1; }
  .split--rev .split__media { order: 0; }
  .foot__grid { gap: 2rem; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    flex-direction: column; justify-content: center; gap: 1.8rem;
    background: var(--cream); padding: 2rem; box-shadow: var(--shadow);
    transform: translateX(100%); transition: transform .45s var(--ease); z-index: 99;
  }
  body.menu-open .nav__links { transform: translateX(0); }
  .nav__links a { font-size: 1.3rem; font-family: var(--display); }
  .nav__toggle { display: block; z-index: 100; }
  .nav__cta .btn { display: none; }
}
@media (max-width: 560px) {
  .hero__meta { gap: 1.6rem; }
  .tl { grid-template-columns: 70px 1fr; gap: 1rem; }
  .tl__year { font-size: 1.3rem; }
  .foot__bottom { flex-direction: column; }
}
