/* antonella.menghi.dev — one stylesheet, no framework.
   Identity: navy and muted gold (her CV and proposal), Cormorant Garamond display, Source Sans 3 text. */

:root {
  --ink: #0E1F38;        /* deep navy: text on light, hero field */
  --navy: #162C4F;       /* second navy for panels on navy */
  --gold: #B08C42;       /* muted gold: hairlines, ring, accents */
  --gold-pale: #E8DCBE;  /* pale gold text on navy */
  --porcelain: #F2F3F5;  /* page background, cool */
  --white: #FFFFFF;
  --mist: #D9DDE3;       /* hairlines on light */
  --muted: #5B6676;      /* secondary text on light */
  --muted-on-navy: #B9C2D0;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: 24px;
  --measure: 66ch;

  /* type scale, ratio ~1.25 */
  --t-1: clamp(2.6rem, 6.2vw, 5.4rem);
  --t-2: clamp(1.9rem, 3.2vw, 2.75rem);
  --t-3: 1.45rem;
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -0.005em; }
h2 { font-size: var(--t-2); }
h3 { font-size: var(--t-3); line-height: 1.2; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
strong { font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

.muted { color: var(--muted); }
.narrow { max-width: var(--measure); }
.plain { list-style: none; }
.align-end { text-align: right; margin-top: 2rem; }

/* ---------- monogram ---------- */
.monogram { width: 44px; height: 44px; color: var(--gold); flex: none; }
.monogram .m-a { fill: currentColor; }
.monogram .m-s { fill: var(--gold); }
.site-head .monogram { color: var(--gold-pale); }
.site-head .monogram .m-a { fill: var(--gold-pale); }
.site-foot .monogram { color: var(--gold-pale); width: 56px; height: 56px; }
.site-foot .monogram .m-a { fill: var(--gold-pale); }

/* ---------- header ---------- */
.site-head { background: var(--ink); color: var(--gold-pale); }
.head-row { display: flex; align-items: center; gap: 2rem; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; letter-spacing: 0.01em; color: var(--white); }
.site-nav ul { display: flex; gap: 1.75rem; list-style: none; }
.site-nav a { text-decoration: none; color: var(--gold-pale); font-size: var(--t-small); letter-spacing: 0.01em; padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.lang { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--gold-pale); text-decoration: none; border: 1px solid rgba(232,220,190,0.45); border-radius: 999px; padding: 4px 14px; }
.lang:hover { border-color: var(--gold); }

@media (max-width: 860px) {
  .head-row { flex-wrap: wrap; gap: 0.5rem 1rem; min-height: 0; padding-top: 12px; padding-bottom: 6px; }
  .brand { gap: 10px; }
  .brand-name { font-size: 1.15rem; }
  .monogram { width: 38px; height: 38px; }
  .lang { padding: 3px 12px; font-size: 1rem; }
  .site-nav { order: 3; width: 100%; }
  .site-nav ul { flex-wrap: wrap; gap: 0 1.1rem; }
  .site-nav a { display: inline-block; padding: 10px 0; font-size: 0.95rem; }
}

/* ---------- hero (home) ---------- */
.hero { background: var(--ink); color: var(--white); overflow: hidden; position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; align-items: end; min-height: min(78vh, 760px); }
.hero-text { padding: 5rem 0 4.5rem; align-self: center; }
.hero-name { font-family: var(--serif); font-size: 1.35rem; color: var(--gold-pale); margin-bottom: 1.25rem; }
.hero-h1 { font-size: var(--t-1); font-weight: 500; color: var(--white); max-width: 14ch; }
.hero-h1-2 { display: block; font-size: 0.5em; font-weight: 400; color: var(--gold-pale); margin-top: 0.6em; max-width: 30ch; line-height: 1.3; }
.hero-role { margin-top: 2rem; color: var(--muted-on-navy); max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; margin-top: 2rem; }
.hero-figure { position: relative; align-self: end; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.hero-figure .ring { position: absolute; left: 50%; top: 26%; width: min(84%, 440px); aspect-ratio: 1; transform: translateX(-50%); border: 1.5px solid var(--gold); border-radius: 50%; }
.hero-figure .portrait { position: relative; width: min(100%, 500px); margin-top: 4.5rem; }
.hero-figure .portrait img { width: 100%; height: auto; filter: grayscale(1) contrast(1.03) brightness(1.02); }
/* fade the lower edge of the portrait into the navy field */
.hero-figure .portrait::after { content: ""; position: absolute; inset: auto 0 0 0; height: 22%; background: linear-gradient(to bottom, rgba(14,31,56,0), var(--ink)); pointer-events: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero-figure .portrait { animation: hero-in 1.1s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes hero-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .hero-text { padding: 3rem 0 1.5rem; }
  .hero-h1 { max-width: none; }
  .hero-figure { height: auto; max-height: 92vw; overflow: hidden; align-items: flex-start; }
  .hero-figure .ring { top: 4%; width: min(78%, 360px); }
  .hero-figure .portrait { width: min(82%, 380px); margin-top: 2rem; }
}

/* ---------- buttons ---------- */
.btn { display: inline-block; font-family: var(--sans); font-size: var(--t-small); font-weight: 600; letter-spacing: 0.02em; text-decoration: none; padding: 12px 22px; border: 1px solid var(--gold); background: var(--gold); color: var(--ink); border-radius: 2px; }
.btn:hover { background: #C29D52; border-color: #C29D52; }
.btn-quiet { background: transparent; color: var(--gold-pale); border-color: rgba(232,220,190,0.5); }
.btn-quiet:hover { background: transparent; border-color: var(--gold); color: var(--white); }
.contact .btn { font-size: 1rem; padding: 14px 28px; }

/* ---------- ledger (three numbers) ---------- */
.ledger { background: var(--white); border-bottom: 1px solid var(--mist); }
.ledger-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.ledger-item { padding: 2.25rem 2rem 2.25rem 0; }
.ledger-item + .ledger-item { padding-left: 2rem; border-left: 1px solid var(--mist); }
.ledger-num { font-family: var(--serif); font-size: clamp(2.2rem, 3.6vw, 3.2rem); font-weight: 500; line-height: 1; color: var(--ink); margin-bottom: 0.5rem; font-variant-numeric: lining-nums; }
.ledger-label { color: var(--muted); max-width: 30ch; margin: 0; }
@media (max-width: 860px) {
  .ledger-grid { grid-template-columns: 1fr; }
  .ledger-item { padding: 1.5rem 0; }
  .ledger-item + .ledger-item { padding-left: 0; border-left: 0; border-top: 1px solid var(--mist); }
}

/* ---------- sections ---------- */
.section { padding: 5rem 0; }
.section + .section { padding-top: 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.section + .section-alt, .section-alt + .section, .section + .section-navy, .section-navy + .section { padding-top: 5rem; }
.section-navy { background: var(--ink); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .prose-lg { color: var(--gold-pale); }
.section-navy a { text-decoration-color: var(--gold); }
.section .wrap + .wrap { margin-top: 3.5rem; }

.two-col { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem 4rem; align-items: start; }
.two-col h2 { position: sticky; top: 1.5rem; }
.prose-lg { font-size: 1.2rem; line-height: 1.55; max-width: var(--measure); }
.prose p { max-width: var(--measure); }
.prose p + p { margin-top: 1em; }
.more { font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.more-light { color: var(--gold-pale); }
.h2-rule { padding-bottom: 1rem; border-bottom: 1px solid var(--gold); margin-bottom: 2rem; }
.h3-small { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 2rem 0 0.5rem; }

@media (max-width: 860px) {
  .section { padding: 3.5rem 0; }
  .section + .section-alt, .section-alt + .section, .section + .section-navy, .section-navy + .section { padding-top: 3.5rem; }
  .two-col { grid-template-columns: 1fr; gap: 1.25rem; }
  .two-col h2 { position: static; }
}

/* ---------- page band (inner pages) ---------- */
.band { background: var(--ink); color: var(--white); padding: 3rem 0 4.5rem; }
.band h1 { font-size: var(--t-1); font-weight: 500; }
.band .lead { font-size: 1.25rem; line-height: 1.5; color: var(--gold-pale); max-width: 60ch; margin-top: 1.25rem; }
.band .lead a { color: var(--white); }
@media (max-width: 860px) { .band { padding: 2.75rem 0 3rem; } }

/* ---------- home: case list ---------- */
.case-list { list-style: none; margin-top: 3rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; }
.case-list li { border-top: 1px solid var(--mist); }
.case-list a { display: block; padding: 1.5rem 0 1.75rem; text-decoration: none; }
.case-list a:hover .case-title { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.15em; }
.case-title { display: block; font-family: var(--serif); font-size: 1.75rem; line-height: 1.15; }
.case-meta { display: block; color: var(--muted); font-size: var(--t-small); margin-top: 0.35rem; }
.case-short { display: block; margin-top: 0.75rem; max-width: 42ch; }
@media (max-width: 860px) { .case-list { grid-template-columns: 1fr; } }

/* ---------- home: press outlets ---------- */
.outlets { list-style: none; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; margin: 1.5rem 0; font-family: var(--serif); font-size: 1.3rem; color: var(--white); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 3rem 4rem; align-items: start; }
.about-portrait img { width: 100%; filter: grayscale(1); }
.about-portrait .caption { margin-top: 0.75rem; font-size: var(--t-small); color: var(--muted); }
.about-bio { font-size: 1.15rem; line-height: 1.6; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 360px; }
}

.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 3rem; }
.theme h3 { margin-bottom: 0.5rem; }
.theme p { color: var(--muted); max-width: 36ch; }
@media (max-width: 860px) { .themes { grid-template-columns: 1fr; gap: 1.75rem; } }

.timeline { list-style: none; margin-top: 2rem; border-top: 1px solid var(--mist); }
.tl-row { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem 2.5rem; padding: 1.75rem 0; border-bottom: 1px solid var(--mist); }
.tl-years { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; color: var(--ink); font-variant-numeric: lining-nums; }
.tl-org { font-size: 1.5rem; }
.tl-place { display: inline-block; font-family: var(--sans); font-size: var(--t-small); font-weight: 400; color: var(--muted); margin-left: 0.75rem; vertical-align: 0.2em; }
.tl-title { font-weight: 600; margin: 0.35rem 0 0.5rem; }
.tl-impact { color: var(--muted); max-width: var(--measure); }
@media (max-width: 860px) {
  .tl-row { grid-template-columns: 1fr; gap: 0.25rem; }
  .tl-years { font-size: 1.25rem; color: var(--gold); }
}

.edu { list-style: none; }
.edu-row { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 0.25rem 1.5rem; padding: 0.9rem 0; border-top: 1px solid var(--mist); }
.edu-row:last-child { border-bottom: 1px solid var(--mist); }
.edu-year { font-family: var(--serif); font-size: 1.2rem; font-variant-numeric: lining-nums; }
.edu-school { font-weight: 600; margin: 0; }
.edu-what { color: var(--muted); margin: 0; }
@media (max-width: 600px) { .edu-row { grid-template-columns: 1fr; } }

/* ---------- expertise ---------- */
.areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 4rem; }
.area h3 { margin-bottom: 0.5rem; }
.area p { color: var(--muted); max-width: 48ch; }
@media (max-width: 860px) { .areas { grid-template-columns: 1fr; gap: 1.75rem; } }

.phases { list-style: none; counter-reset: phase; margin-top: 3.5rem; border-top: 1px solid rgba(232,220,190,0.25); }
.phase { counter-increment: phase; display: grid; grid-template-columns: 5rem minmax(0, 4fr) minmax(0, 8fr); gap: 1rem 2.5rem; padding: 2rem 0; border-bottom: 1px solid rgba(232,220,190,0.25); }
.phase::before { content: counter(phase); font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--gold); }
.phase-head h3 { font-size: 1.6rem; }
.phase-when { color: var(--gold-pale); margin-top: 0.25rem; font-size: var(--t-small); }
.phase > p { color: var(--muted-on-navy); max-width: var(--measure); }
.principles { margin-top: 3.5rem; }
.principles li { padding: 0.6rem 0; border-top: 1px solid rgba(232,220,190,0.2); color: var(--gold-pale); }
.principles li:last-child { border-bottom: 1px solid rgba(232,220,190,0.2); }
@media (max-width: 860px) {
  .phase { grid-template-columns: 3rem minmax(0, 1fr); }
  .phase > p { grid-column: 2; }
}

/* ---------- case studies ---------- */
.cases { display: grid; gap: 0; }
.case { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1.5rem 4rem; padding: 3.5rem 0; border-top: 1px solid var(--mist); scroll-margin-top: 1.5rem; }
.case:last-child { border-bottom: 1px solid var(--mist); }
.case-head { position: sticky; top: 1.5rem; }
.case-kind { color: var(--gold); font-weight: 600; font-size: var(--t-small); margin-bottom: 0.5rem; }
.case-head h2 { font-size: 2.4rem; }
.case-place { color: var(--muted); margin-top: 0.5rem; }
.case-body h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 1.75rem 0 0.4rem; }
.case-body h3:first-child { margin-top: 0; }
.case-body p, .case-body li { max-width: var(--measure); }
.case-body ul { list-style: none; }
.case-body li { position: relative; padding-left: 1.25rem; margin-bottom: 0.4rem; }
.case-body li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: var(--gold); }
.case-result { font-family: var(--serif); font-size: 1.55rem; line-height: 1.3; font-variant-numeric: lining-nums; }
.case-context { color: var(--muted); font-size: var(--t-small); margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--mist); }
.ctx-label { font-weight: 600; }
@media (max-width: 860px) {
  .case { grid-template-columns: 1fr; gap: 1rem; padding: 2.5rem 0; }
  .case-head { position: static; }
  .case-head h2 { font-size: 2rem; }
}

/* ---------- press ---------- */
.press-list { list-style: none; border-top: 1px solid var(--mist); }
.press-row { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 0.5rem 2.5rem; padding: 1.75rem 0; border-bottom: 1px solid var(--mist); }
.press-date { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); font-variant-numeric: lining-nums; }
.press-outlet { font-weight: 600; margin-bottom: 0.25rem; }
.press-title { font-size: 1.6rem; margin-bottom: 0.5rem; }
.press-title a { text-decoration: none; }
.press-title a:hover { text-decoration: underline; }
.press-as { color: var(--gold); font-size: var(--t-small); margin-bottom: 0.4rem; }
.press-note { color: var(--muted); max-width: var(--measure); }
@media (max-width: 860px) { .press-row { grid-template-columns: 1fr; gap: 0.25rem; } }

/* ---------- contact ---------- */
.contact { max-width: var(--measure); }
.contact .btn { margin-bottom: 1.5rem; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: var(--gold-pale); padding: 3.5rem 0 2.5rem; border-top: 1px solid var(--gold); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: start; }
.foot-id { display: flex; gap: 1.25rem; align-items: center; }
.foot-id p { margin: 0; line-height: 1.45; }
.foot-id strong { color: var(--white); font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.foot-links { list-style: none; display: flex; gap: 2rem; padding-top: 0.6rem; }
.foot-links a { text-decoration: none; font-size: var(--t-small); }
.foot-links a:hover { text-decoration: underline; }
.foot-rights { grid-column: 1 / -1; font-size: 0.85rem; color: var(--muted-on-navy); margin-top: 1rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- phones ---------- */
@media (max-width: 480px) {
  :root { --gutter: 18px; }
  .site-nav ul { gap: 0 0.75rem; justify-content: space-between; }
  .hero-text { padding: 2.25rem 0 1.25rem; }
  .hero-name { font-size: 1.15rem; margin-bottom: 0.75rem; }
  .hero-h1 { font-size: 2.35rem; }
  .hero-h1-2 { font-size: 0.56em; }
  .hero-role { margin-top: 1.25rem; font-size: 1rem; }
  .hero-actions { margin-top: 1.5rem; }
  .btn { padding: 12px 18px; }
  .ledger-num { font-size: 2.1rem; }
  .ledger-item { padding: 1.25rem 0; }
  .section { padding: 2.75rem 0; }
  .section + .section-alt, .section-alt + .section, .section + .section-navy, .section-navy + .section { padding-top: 2.75rem; }
  .section .wrap + .wrap { margin-top: 2.5rem; }
  h2 { font-size: 1.85rem; }
  .prose-lg { font-size: 1.1rem; }
  .about-bio { font-size: 1.05rem; }
  .band { padding: 2.25rem 0 2.5rem; }
  .band h1 { font-size: 2.5rem; }
  .band .lead { font-size: 1.1rem; }
  .case-title { font-size: 1.45rem; }
  .case-list { margin-top: 1.5rem; }
  .case { padding: 2rem 0; }
  .case-head h2 { font-size: 1.75rem; }
  .case-result { font-size: 1.3rem; }
  .tl-row { padding: 1.25rem 0; }
  .tl-org { font-size: 1.3rem; }
  .tl-place { display: block; margin: 0.15rem 0 0; vertical-align: baseline; }
  .phase { gap: 0.5rem 1.25rem; padding: 1.5rem 0; }
  .phase::before { font-size: 2rem; }
  .phase-head h3 { font-size: 1.35rem; }
  .press-row { padding: 1.25rem 0; }
  .press-title { font-size: 1.35rem; }
  .outlets { font-size: 1.15rem; gap: 0.4rem 1.25rem; }
  .foot-links { gap: 1.25rem; flex-wrap: wrap; }
  .site-foot { padding: 2.5rem 0 2rem; }
}
