/* Natalia Intotero. White ground, gold for the instrument, green for the content. One family, Inter, at seven sizes
   and three weights (400 text, 500 controls, 600 headings and figures); her name in the menu is Signature December */
@font-face { font-family: "Signature December"; src: url("fonts/signature-december.woff2") format("woff2"); font-display: block; }
:root {
  --white: #ffffff;
  --ink: #14211a;
  --ink-soft: #55625b;
  --mist: #d3dcd6;
  --line: #ece7da;
  --green: #1d6a43;
  --green-deep: #0f4a2e;
  --green-tint: #edf4ef;
  --green-wash: #f4f8f5;
  --gold: #b08a35;
  --gold-text: #8a6a1f;
  --gold-light: #dcc68e;
  --gold-pale: #f3ead3;
  --font: "Inter", ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* display: her name in the hero, Contact's word. title: section and page titles, the big figures (Proiecte and Noutăți
     open on their content under a heading). heading: cards, quotes that stand alone, the form's questions. lead: the words
     under a title. small: labels, the menu, notes. micro: weekdays, axis years, tags */
  --fs-display: clamp(56px, 7.6vw, 118px);
  --fs-title: clamp(30px, 3.6vw, 52px);
  --fs-heading: clamp(21px, 1.9vw, 28px);
  --fs-lead: clamp(18px, 1.4vw, 20px);
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-micro: 12px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { background: var(--white); color: var(--ink); }
html { scroll-behavior: smooth; }
.reduced { scroll-behavior: auto; }
body { margin: 0; font: 400 var(--fs-body)/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3, h4, b, strong { font-weight: 600; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.num { font-weight: 600; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.02em; }
.wrap {
  max-width: 1200px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.label { font-size: var(--fs-small); font-weight: 600; color: var(--gold-text); }
/* Romanian needs room between lines: the comma under ș ț reaches 0.26em below the line, the breve on ă 0.82em above
   the next, so headings that wrap keep at least 1.14 */
.h2 { font-size: var(--fs-title); line-height: 1.14; font-weight: 600; letter-spacing: -0.03em; color: var(--green-deep); text-wrap: balance; }
.h3 { font-size: var(--fs-heading); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; color: var(--green-deep); text-wrap: balance; }
.nw { white-space: nowrap; }
.lede { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-soft); max-width: 58ch; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: var(--fs-small); font-weight: 500; color: var(--green-deep);
  background: var(--green-tint); border: 1px solid rgba(29, 106, 67, 0.25); border-radius: 999px; padding: 5px 13px;
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.btn {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 50px;
  font-size: var(--fs-body); font-weight: 500; border-radius: 999px; padding: 14px 24px;
}
.btn-main { background: var(--green-deep); color: var(--white); }
.btn-main:hover { background: var(--green); }
.btn-soft { color: var(--green-deep); border: 1.5px solid rgba(15, 74, 46, 0.25); }
.btn-soft:hover { border-color: var(--green-deep); }
.sec { padding-block: 120px; }
.sec-head { display: grid; gap: 16px; margin-bottom: 48px; }
@media (max-width: 760px) { .sec { padding-block: 84px; } .sec-head { margin-bottom: 32px; } }
/* 40px under each section of Acasă, the hero through Contact; none under the footer */
.hero, .story, .proj-sec, .news-sec, .prio-sec, .fb-sec, .cta-sec { margin-bottom: 40px; }

/* liquid glass: a sharp, warped copy of what is behind (::before, the SVG filter #glass-distortion), under a white
   film whose lit inner edges make the glass (::after). The element itself stays clear */
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.glass { position: relative; isolation: isolate; }
.glass::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; -webkit-backdrop-filter: blur(0px); backdrop-filter: blur(0px); filter: url(#glass-distortion); pointer-events: none; }
.glass::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(255, 255, 255, 0.15); box-shadow: inset 2px 2px 1px 0 rgba(255, 255, 255, 0.5), inset -1px -1px 1px 1px rgba(255, 255, 255, 0.5); pointer-events: none; }

/* header: one clear glass pill that stays 20px under the top of the screen. It passes over white, green and the photo,
   so the words sit on solid green pills inside it. --bar is the room it takes, which pinned sections and anchor jumps leave free */
:root { --bar: 112px; }
html { scroll-padding-top: var(--bar); }
.top { position: sticky; top: 0; z-index: 30; padding: max(20px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); pointer-events: none; }
.top-in { position: relative; max-width: 1440px; margin: 0 auto; pointer-events: auto; }
.menu { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px; border-radius: 999px; color: var(--white); }
/* her name in Signature December: its loops reach 2.4em from top to bottom, so the pill is that tall and none cross its edge */
.brand { display: inline-flex; align-items: center; height: 58px; padding: 2px 24px 0 40px; border-radius: 999px; background: var(--green-deep); font: 400 22px/1 "Signature December", var(--font); color: var(--white); text-decoration: none; white-space: nowrap; }
.menu-links { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--green-deep); }
.menu-links a, .menu-panel a { border-radius: 999px; font-weight: 500; color: rgba(255, 255, 255, 0.9); text-decoration: none; transition: background 0.2s, color 0.2s; }
.menu-links a { padding: 8px 16px; font-size: var(--fs-small); }
.menu-links a:hover, .menu-panel a:hover { background: rgba(255, 255, 255, 0.16); color: var(--white); }
.menu a:focus-visible, .menu button:focus-visible, .menu-panel a:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; }
.menu-btn { display: none; height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--green-deep); color: var(--white); font: 500 var(--fs-small)/1 var(--font); cursor: pointer; }
.menu-panel { position: absolute; left: 0; right: 0; top: calc(100% + 10px); display: grid; gap: 2px; padding: 10px; border-radius: 26px; }
.menu-panel[hidden] { display: none; }
/* the open panel sits over the title, so its film is dark enough to read on */
.menu-panel.glass::after { background: rgba(10, 30, 20, 0.62); }
.menu-panel a { padding: 13px 18px; font-size: var(--fs-body); }
@media (max-width: 900px) {
  :root { --bar: 88px; }
  .menu { padding: 7px; }
  .brand { height: 40px; padding: 2px 16px 0 27px; font-size: 15px; }
  .menu-links { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
}

/* hero: one card, at most 1440px wide on every desk. Lacul Bucura under a 40% shade; her portrait, two figures on its lower edge */
.hero { padding: 16px max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
.hero-card { position: relative; isolation: isolate; overflow: hidden; max-width: 1440px; min-height: min(820px, calc(100svh - 187px)); margin: 0 auto; display: grid; align-items: center; border-radius: 32px; background: #24412f; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: rgba(8, 20, 14, 0.4); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; padding: clamp(48px, 6vw, 96px) clamp(28px, 6vw, 96px) clamp(64px, 7vw, 104px); }
.hero-text { display: grid; gap: 22px; justify-items: start; color: var(--white); }
.office { display: grid; gap: 10px; justify-items: start; }
.office-name { font-weight: 600; color: var(--gold-light); }
.hero .pill { color: var(--white); background: none; border-color: transparent; }
.hero .pill i { background: #8fe0b0; }
.hero h1 { font-size: var(--fs-display); line-height: 0.92; font-weight: 600; letter-spacing: -0.04em; color: var(--white); }
.hero h1 span { display: block; }
.hero-line { max-width: 34ch; font-size: var(--fs-lead); line-height: 1.5; color: rgba(255, 255, 255, 0.9); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.btn-light { background: var(--gold-light); color: var(--green-deep); border: 2px solid var(--gold-light); }
.btn-light:hover { background: var(--white); border-color: var(--white); }
.btn-ghost { color: var(--white); }
.btn-ghost:hover::after { background: rgba(255, 255, 255, 0.24); }
.hero a:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
.hero-art { position: relative; justify-self: center; width: min(100%, 460px); aspect-ratio: 460 / 570; }
/* carved contour lines. The whole pattern is always there, faintly etched; --carve (0 to 1) cuts it deeper
   (the shadow above darkens and widens, the groove sinks, the lit lower edge sharpens) and --glow (0 to 1) then fills
   the grooves with a warm cream light. Without JS or with reduced motion both rest at 1 */
@property --carve { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --glow { syntax: "<number>"; inherits: true; initial-value: 1; }
/* plain selectors: the reused copies of a line can't see ancestors, so nothing here may depend on one */
.cut { fill: none; stroke-width: calc(var(--w, 1) * var(--m, 1)); stroke-linecap: round; }
.cut.major { --m: 1.5; }
.topo .lo { --w: calc(0.9 + var(--carve) * 1); stroke: rgba(0, 0, 0, calc(0.2 + var(--carve) * 0.26)); transform: translateY(calc(var(--carve) * -1.3px)); }
.topo .hi { --w: 1.1; stroke: rgba(255, 255, 255, calc(0.08 + var(--carve) * 0.06)); transform: translateY(calc(0.4px + var(--carve) * 0.8px)); }
.topo .floor { --w: 1.1; stroke: #0b3c25; opacity: calc(0.7 + var(--carve) * 0.3); }
.topo .glow { --w: 2.6; stroke: rgba(255, 226, 160, 0.95); opacity: calc(var(--glow) * 0.8); }
.topo .core { --w: 0.9; stroke: #f7ebc8; opacity: var(--glow); }
.js:not(.reduced) .cta.solo { grid-template-columns: minmax(0, 1fr); }
.cta-lines { --carve: 0; --glow: 0; }
.portrait {
  position: absolute; inset: 0; margin: 0; border-radius: 30px; overflow: hidden;
  background: #eef0ee; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35), 0 0 0 8px rgba(255, 255, 255, 0.92);
}
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
/* two cards on opposite corners of the portrait: the Government top left, over the backdrop beside her hair; Parliament
   bottom right, over the jacket. Each hangs off the photo by a different amount, so they look set down, not aligned */
.hero-stats { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.stat { position: absolute; display: grid; align-content: start; gap: 6px; width: 228px; padding: 16px 18px 18px; border-radius: 18px; background: var(--white); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.3); }
.stat:first-child { left: max(-92px, -7vw); top: -26px; }
.stat:last-child { right: -58px; bottom: -40px; width: 244px; }
/* a narrower desk, a smaller photo: the first card hangs further out, over the empty end of the title column */
@media (min-width: 901px) and (max-width: 1240px) {
  .stat { width: 196px; }
  .stat:first-child { left: -132px; top: -40px; }
  .stat:last-child { right: -40px; width: 210px; }
}
.stat dt { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: var(--fs-small); font-weight: 600; line-height: 1.2; color: var(--green-deep); }
.stat dt b { font-size: var(--fs-title); line-height: 1; letter-spacing: -0.03em; }
.stat dd { font-size: var(--fs-small); line-height: 1.4; color: var(--ink-soft); }
@media (max-width: 900px) {
  .hero-card { min-height: 0; border-radius: 24px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 48px 22px 72px; }
  /* on a phone the photo comes first and fills the width, so the cards sit mostly off it: one above the top left, one
     below the bottom right. Under it her name, office, line and buttons, centred */
  .hero-art { order: -1; width: min(80vw, 380px); margin: 55px 0 78px; }
  .hero-text, .office { justify-items: center; text-align: center; }
  .hero-ctas { justify-content: center; }
  .stat { width: 200px; padding: 12px 14px 14px; border-radius: 15px; gap: 4px; }
  .stat:first-child { left: -16px; top: -87px; }
  .stat:last-child { right: -16px; bottom: -70px; }
  .stat dt { gap: 6px; }
}

/* despre mine */
.asof { margin-top: 12px; font-size: var(--fs-small); color: var(--ink-soft); }

/* proiecte: one project at a time, in a strip that snaps to one card and opens on the first. On a desk the index sits
   left (count, arrows, a tick per project) and the whole section fits half the screen; on a phone the controls go under */
.proj-sec { padding-block: clamp(28px, 4.5vh, 52px); }
.proj-in { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); grid-template-rows: auto minmax(0, 1fr); grid-template-areas: "head track" "ctrl track"; gap: 0 clamp(28px, 4vw, 56px); }
.proj-head { grid-area: head; display: grid; gap: 12px; }
.proj-ctrl { grid-area: ctrl; align-self: end; display: grid; gap: 14px; justify-items: start; padding-top: 20px; }
.proj-nav { display: flex; align-items: center; gap: 10px; }
.proj-nav .count { min-width: 76px; text-align: center; font-size: var(--fs-small); color: var(--ink-soft); }
.proj-nav .count .now { font-size: var(--fs-heading); color: var(--green-deep); }
.arrow { width: 44px; height: 44px; border-radius: 999px; border: 2px solid var(--green-deep); background: var(--white); color: var(--green-deep); font: 600 var(--fs-lead)/1 var(--font); cursor: pointer; transition: background 0.2s, color 0.2s; }
.arrow:hover:not(:disabled) { background: var(--green-deep); color: var(--white); }
.arrow:disabled { border-color: #b9c6bd; color: #9aaca0; background: transparent; cursor: default; }
.picks { display: flex; gap: 2px; max-width: 100%; }
.pick { flex: 0 1 21px; min-width: 0; display: grid; place-items: end center; height: 30px; padding: 0 0 2px; border: 0; background: none; cursor: pointer; }
.pick i { width: 3px; height: 12px; border-radius: 2px; background: var(--gold-light); transition: height 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), background 0.3s; }
.pick:hover i { background: var(--gold); }
.pick.on i { height: 26px; background: var(--green-deep); }
.proj-sec button:focus-visible, .proj-track:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.proj-ctrl .asof { margin: 0; }
.proj-track { grid-area: track; position: relative; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: 28px; }
.proj-track::-webkit-scrollbar { display: none; }
.project {
  flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-rows: auto minmax(0, 1fr); gap: 18px clamp(28px, 3vw, 44px);
  padding: clamp(24px, 3.6vh, 38px) clamp(24px, 3vw, 40px); border-radius: 28px; color: var(--white);
  background: var(--green-deep) radial-gradient(circle at 104% -6%, transparent 0 118px, rgba(220, 198, 142, 0.3) 119px 120.5px, transparent 121.5px 150px, rgba(220, 198, 142, 0.12) 151px 152px, transparent 153px);
}
.p-top { display: grid; gap: 14px; justify-items: start; }
.kind { font-size: var(--fs-micro); font-weight: 600; color: var(--green-deep); background: var(--green-tint); border-radius: 999px; padding: 3px 10px; }
.kind.law { color: #5e4510; background: var(--gold-pale); }
.project .kind { color: var(--gold-light); background: rgba(220, 198, 142, 0.16); padding: 4px 11px; }
.p-year { font-size: var(--fs-title); line-height: 0.9; letter-spacing: -0.03em; color: var(--gold-light); }
.project h3 { grid-column: 1; align-self: end; font-size: var(--fs-heading); line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.p-words { grid-column: 2; grid-row: 1 / 3; display: flex; flex-direction: column; gap: 16px; }
.project .ptext { line-height: 1.5; color: rgba(255, 255, 255, 0.86); }
.project .role { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(220, 198, 142, 0.35); font-size: var(--fs-small); font-weight: 600; }
/* every other card is light, so no two cards side by side are both green */
.project:nth-child(even) {
  color: var(--green-deep);
  background: var(--gold-pale) radial-gradient(circle at 104% -6%, transparent 0 118px, rgba(176, 138, 53, 0.4) 119px 120.5px, transparent 121.5px 150px, rgba(176, 138, 53, 0.18) 151px 152px, transparent 153px);
}
.project:nth-child(even) .kind { color: var(--green-deep); background: var(--white); }
.project:nth-child(even) .p-year { color: var(--gold-text); }
.project:nth-child(even) .ptext { color: var(--ink-soft); }
.project:nth-child(even) .role { border-top-color: rgba(176, 138, 53, 0.45); }
html:not(.js) .proj-nav, html:not(.js) .picks { display: none; }
html:not(.js) .proj-track { flex-direction: column; overflow: visible; }
@media (max-width: 899px) {
  .proj-sec { padding-block: 84px; }
  .proj-in { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "head" "track" "ctrl"; }
  .proj-head { margin-bottom: 28px; }
  .proj-ctrl { align-self: start; padding-top: 18px; }
  .proj-track, .project { border-radius: 24px; }
  .project { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 14px; padding: 24px 22px; }
  .p-top { grid-auto-flow: column; justify-content: space-between; align-items: center; width: 100%; }
  .project h3 { align-self: start; }
  .p-words { grid-column: 1; grid-row: auto; }
}

/* noutati: a calendar from October 2026 to the end of 2027, one month at a time (swipe, arrows, or a tick per month in
   the ruler under it, where a dot means news). A marked day shows its news on the right; earlier pieces sit under the
   calendar. Today has a ring and the days still to come are lighter. On a phone the news follows the calendar */
.news-sec { border-top: 1px solid var(--gold-pale); }
.cal-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.cal { position: relative; min-width: 0; padding: 22px 24px 24px; border: 1px solid #dbe6de; border-radius: 28px; background: var(--green-wash); }
.cal-arrows { position: absolute; z-index: 1; top: 20px; right: 22px; display: flex; gap: 8px; }
.cal-months { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.cal-months::-webkit-scrollbar { display: none; }
.cal-month { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.cal-name { display: flex; align-items: center; gap: 8px; height: 48px; margin-bottom: 10px; font-size: var(--fs-lead); font-weight: 600; color: var(--green-deep); }
.cal-name .num { color: var(--gold-text); }
.cal-week, .cal-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-week span { padding-bottom: 6px; text-align: center; font-size: var(--fs-micro); font-weight: 600; color: var(--gold-text); }
.cal-d { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; font-size: var(--fs-small); color: #6c7a72; }
.cal-d.ahead { color: #b0bab4; }
.cal-d.today { box-shadow: inset 0 0 0 1.5px var(--green); color: var(--green-deep); font-weight: 600; }
button.cal-d { padding: 0; border: 0; background: var(--white); color: var(--green-deep); font: 600 var(--fs-small) var(--font); cursor: pointer; box-shadow: inset 0 0 0 2px var(--gold-light); transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
button.cal-d:hover { box-shadow: inset 0 0 0 2px var(--gold); }
button.cal-d.on { background: var(--green-deep); color: var(--white); box-shadow: 0 0 0 4px var(--gold-light); }
.cal-d i { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: var(--white); font-size: var(--fs-micro); font-style: normal; }
.cal-ruler { display: flex; gap: 16px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #dbe6de; }
.cal-year { flex: var(--n) 1 0; display: grid; gap: 2px; min-width: 0; }
.cal-year > span { font-size: var(--fs-micro); color: var(--gold-text); }
.cal-year > div { display: flex; }
.cal-tick { position: relative; flex: 1 1 0; display: grid; place-items: end center; min-width: 19px; height: 32px; padding: 0 0 2px; border: 0; background: none; cursor: pointer; }
.cal-tick i { width: 3px; height: 12px; border-radius: 2px; background: var(--gold-light); transition: height 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), background 0.3s; }
.cal-tick.has::before { content: ""; position: absolute; top: 3px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--green); }
.cal-tick:hover i { background: var(--gold); }
.cal-tick.on i { height: 22px; background: var(--green-deep); }
.cal-earlier-t { margin: 18px 0 10px; font-size: var(--fs-small); font-weight: 600; color: var(--gold-text); }
.cal-earlier { display: flex; flex-wrap: wrap; gap: 8px; }
.cal-chip { height: 40px; padding: 0 14px; border: 2px solid var(--gold-light); border-radius: 999px; background: var(--white); color: var(--green-deep); font: 500 var(--fs-small) var(--font); cursor: pointer; }
.cal-chip:hover { border-color: var(--gold); }
.cal-chip.on { background: var(--green-deep); border-color: var(--green-deep); color: var(--white); }
.news-sec :is(button, a, .cal-months):focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.cal-news { display: grid; gap: 14px; }
.cal-news[hidden] { display: none; }
.js:not(.reduced) .cal-news:not([hidden]) { animation: step-in 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.news-sec .when { display: grid; justify-items: start; }
.news-sec .when b { font-size: var(--fs-title); line-height: 0.95; letter-spacing: -0.03em; color: var(--green-deep); white-space: nowrap; }
.news-sec .when span { font-size: var(--fs-small); font-weight: 600; color: var(--gold-text); }
.cal-item { display: grid; gap: 10px; }
.cal-item + .cal-item { margin-top: 14px; padding-top: 26px; border-top: 1px solid var(--line); }
.news-sec .src { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: var(--fs-small); color: var(--ink-soft); }
.cal-item h3 { font-size: var(--fs-heading); line-height: 1.2; letter-spacing: -0.02em; color: var(--green-deep); text-wrap: balance; }
.cal-item .text { color: #46534b; }
.cal-item blockquote { padding-left: 16px; border-left: 3px solid var(--gold); }
.cal-item blockquote p { font-size: var(--fs-lead); line-height: 1.4; font-weight: 600; color: var(--green-deep); }
.news-sec .more { justify-self: start; font-size: var(--fs-small); font-weight: 500; color: var(--green); text-decoration: none; border-bottom: 1.5px solid rgba(29, 106, 67, 0.3); padding-bottom: 1px; }
.news-sec .vote { display: flex; gap: 3px; height: 10px; border-radius: 99px; overflow: hidden; }
.news-sec .vote span { flex: var(--n); }
.news-sec .v-for { background: var(--green); } .news-sec .v-against { background: var(--gold); } .news-sec .v-abs { background: var(--mist); }
.news-sec .vote-legend { font-size: var(--fs-small); color: var(--ink-soft); }
/* without JS the months scroll sideways on their own and every piece shows */
html:not(.js) :is(.cal-arrows, .cal-ruler, .cal-earlier-t, .cal-earlier) { display: none; }
html:not(.js) .cal-news[hidden] { display: grid; }
html:not(.js) .cal-pane { display: grid; gap: 40px; }
@media (max-width: 899px) {
  .cal-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .cal { padding: 16px 14px 18px; border-radius: 24px; }
  .cal-arrows { top: 14px; right: 12px; }
  .cal-week, .cal-days { gap: 4px; }
  .cal-ruler { gap: 10px; }
}

/* prioritati: an arc list, after React Bits' Arc List. The six titles stand on a circle beside a green card (site.js
   places them); the one in front fills over 3.5s, then the next comes round, and the card blurs from one priority to the
   next. Under 1000px the arc runs sideways under the card. Without JS or with reduced motion, a list */
.prio-sec { background: var(--white); border-top: 1px solid var(--gold-pale); overflow-x: clip; padding-bottom: 72px; }
.prio-intro { display: grid; gap: 18px; max-width: 820px; margin-bottom: 44px; }
.prio-src { font-size: var(--fs-small); color: var(--ink-soft); }
.prio-list { display: grid; gap: 14px; }
.prio { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 26px 28px; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 4px 20px; }
.prio-ic { grid-row: span 3; width: 54px; height: 54px; border-radius: 16px; background: var(--green-tint); display: grid; place-items: center; }
.prio-ic svg { width: 28px; height: 28px; fill: none; stroke: var(--green-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.prio h3 { font-size: var(--fs-heading); line-height: 1.2; color: var(--green-deep); letter-spacing: -0.02em; }
.prio p { color: var(--ink-soft); margin-top: 4px; }
.prio ul { display: grid; gap: 6px; margin-top: 10px; }
.prio li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.prio li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--gold); transform: translateY(-1px); }
.prio-more { font-size: var(--fs-small); color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 28px; }
@media (max-width: 560px) { .prio { grid-template-columns: minmax(0, 1fr); padding: 22px; } .prio-ic { grid-row: auto; } }

.arcl { display: none; }
.js:not(.reduced) .prio-list { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* the box: card and arc side by side, as tall as the screen under the menu allows (520 to 640px), the original's 36px
   inside it and 64px between */
.js:not(.reduced) .arcl { --arcl-text: #6f7a74; position: relative; display: flex; align-items: center; justify-content: center; gap: 64px; height: clamp(520px, calc(100svh - var(--bar) - 48px), 640px); padding: 36px 0; overflow: hidden; }
/* the card: the box's height, 0.78 of it wide; each priority is a layer and the one in front lies on top */
.arcl-card { position: relative; flex: 0 0 auto; height: 100%; aspect-ratio: 0.78; overflow: hidden; isolation: isolate; border-radius: 14px; background: var(--green-deep); box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.4); }
.arcl-layer { position: absolute; inset: 0; overflow: hidden; visibility: hidden; background: var(--green-deep); }
.arcl-layer:first-child { visibility: visible; }
.arcl-face { position: absolute; inset: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 18px; padding: 28px; color: var(--white); will-change: transform, filter; }
.arcl-ic { place-self: center; width: auto; height: min(100%, 128px); aspect-ratio: 1; fill: none; stroke: var(--white); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.arcl-words { display: grid; gap: 14px; }
.arcl-text { color: rgba(255, 255, 255, 0.92); }
.arcl-words ul { display: grid; gap: 8px; }
.arcl-words li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; padding-top: 8px; border-top: 1px solid rgba(220, 198, 142, 0.3); font-size: var(--fs-small); line-height: 1.5; color: rgba(255, 255, 255, 0.86); }
.arcl-words li::before { content: ""; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; border: 2px solid var(--gold-light); }
/* the arc's side: the arc over the box's full height, and two round arrows on it, at the bottom, in line with the titles
   and the card's lower edge; they point up and down, the way the arc turns (the same arrows as Proiecte, turned) */
.arcl-side { position: relative; flex: 0 1 var(--lw, 12em); align-self: stretch; min-width: 0; display: flex; flex-direction: column; }
.arcl-nav { position: absolute; left: calc(1.25 * var(--fs-heading)); bottom: 0; z-index: 1; display: flex; gap: 10px; }
.arcl-nav .arrow { transform: rotate(90deg); }
.arcl-nav .arrow:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
/* the arc: titles on one line, each set by its left middle on the circle; the chevron marks the place in front. Long
   titles turned far out reach toward the top and bottom, so the arc fades out before either edge */
.arcl-list { position: relative; flex: 1 1 auto; min-height: 0; font: 600 var(--fs-heading)/1.15 var(--font); color: var(--arcl-text); user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; touch-action: pan-y; -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
.arcl-mark { position: absolute; left: 0; top: 0; width: 0.6em; height: 0.6em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.8; pointer-events: none; }
.arcl-t { position: absolute; left: 0; top: 0; padding: 0; border: 0; border-radius: 6px; background: none; font: inherit; color: inherit; letter-spacing: -0.02em; white-space: nowrap; text-align: left; transform-origin: 0 0; visibility: hidden; cursor: pointer; will-change: transform, opacity; }
.arcl-t:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; }
.arcl-name { position: relative; display: inline-block; }
/* the fill: the same words in green laid over them, shown from the left by a mask with a soft 24% edge (--f runs from
   -24 to 100 over the 3.5s) */
.arcl-fill { position: absolute; left: 0; top: 0; width: 100%; color: var(--green); opacity: 0; pointer-events: none; transition: opacity 0.3s; -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--f, -24) * 1%), transparent calc(var(--f, -24) * 1% + 24%)); mask-image: linear-gradient(90deg, #000 calc(var(--f, -24) * 1%), transparent calc(var(--f, -24) * 1% + 24%)); }
.arcl-sub { position: absolute; left: 0; top: 100%; margin-top: 0.32em; font-size: var(--fs-micro); font-weight: 500; letter-spacing: 0.01em; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.arcl-t[aria-current="true"] :is(.arcl-fill, .arcl-sub) { opacity: 1; }
/* too narrow for both side by side: the card on top, the arc sideways under it, centred titles on up to two lines; the
   ones beside fade out before the edge */
@media (max-width: 1000px) {
  .js:not(.reduced) .arcl { flex-direction: column; gap: 20px; height: auto; padding: 0; }
  .arcl-card { width: min(100%, 440px); height: auto; }
  .arcl-side { flex: none; width: 100%; }
  .arcl-nav { position: static; justify-content: center; margin-top: 6px; }
  .arcl-nav .arrow { transform: none; }
  .arcl-list { flex: none; width: 100%; height: 4.4em; -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
  .arcl-mark { display: none; }
  .arcl-t { width: max-content; max-width: min(15em, 74%); white-space: normal; text-align: center; text-wrap: balance; }
  .arcl-sub { left: 50%; transform: translateX(-50%); }
}
@media (max-width: 560px) {
  .arcl-face { gap: 12px; padding: 20px; }
  .arcl-ic { height: min(100%, 72px); }
  .arcl-text { font-size: var(--fs-small); }
  .arcl-words { gap: 10px; }
}

/* facebook: her page in Facebook's own frame (500px wide at most, Facebook's limit), loaded with the page. It sits
   between Priorități and Contact with the same 72px + 40px either side */
.fb-sec { padding-block: 0 72px; }
.fb-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 32px clamp(28px, 5vw, 72px); align-items: center; }
.fb-head { display: grid; gap: 16px; justify-items: start; }
.fb-open { font-size: var(--fs-small); font-weight: 500; color: var(--green); text-decoration: none; border-bottom: 1.5px solid rgba(29, 106, 67, 0.3); padding-bottom: 1px; }
.fb-open:hover { border-color: var(--green); }
.fb-frame { width: 100%; max-width: 500px; height: 600px; overflow: hidden; border: 1px solid #dbe6de; border-radius: 28px; background: var(--white); }
.fb-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) {
  .fb-in { grid-template-columns: minmax(0, 1fr); }
  .fb-frame { justify-self: center; border-radius: 24px; }
}

/* contact: one clear ask, and a newsletter for whoever wants it */
.cta-sec { padding-top: 0; }
/* .solo: Acasă online on its own, the card without the newsletter */
.cta { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 44px; align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: 32px; background: var(--green-deep); color: var(--white); }
.cta-lines { position: absolute; z-index: -1; width: 900px; height: 900px; right: -320px; top: -330px; -webkit-mask-image: linear-gradient(to right, transparent, #000 32%); mask-image: linear-gradient(to right, transparent, #000 32%); }
.cta-title { margin: 0 0 14px; font-size: var(--fs-title); line-height: 1.14; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.cta-text { max-width: 46ch; font-size: var(--fs-lead); line-height: 1.5; color: rgba(255, 255, 255, 0.84); }
.btn-gold { display: inline-flex; align-items: center; gap: 8px; height: 52px; margin-top: 26px; padding: 0 24px; border-radius: 999px; border: 2px solid var(--gold-light); background: var(--gold-light); color: var(--green-deep); font-size: var(--fs-body); font-weight: 500; text-decoration: none; transition: background 0.2s, border-color 0.2s; }
.btn-gold:hover { background: var(--white); border-color: var(--white); }
.cta-office { margin-top: 18px; font-size: var(--fs-small); color: rgba(255, 255, 255, 0.74); }
.cta a:focus-visible, .cta button:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
.letter { display: grid; gap: 12px; padding: 26px; border-radius: 24px; background: var(--white); color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55); }
.letter-tag { justify-self: start; font-size: var(--fs-micro); font-weight: 600; color: #5e4510; background: var(--gold-pale); border-radius: 999px; padding: 3px 10px; }
.letter h3 { font-size: var(--fs-heading); line-height: 1.2; letter-spacing: -0.02em; color: var(--green-deep); }
.letter-note { font-size: var(--fs-small); color: var(--ink-soft); }
.letter-field { display: grid; gap: 6px; font-size: var(--fs-small); font-weight: 500; }
.letter-field input { height: 50px; padding: 0 14px; border-radius: 14px; border: 2px solid #9cb0a2; background: var(--white); color: var(--ink); font: 400 var(--fs-body) var(--font); }
.letter-field input:focus { outline: 3px solid var(--gold); outline-offset: 2px; border-color: var(--green-deep); }
.letter-consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: var(--fs-small); line-height: 1.5; color: var(--ink-soft); }
.letter-consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green-deep); }
.letter-consent a { color: var(--green); font-weight: 600; }
.letter-btn { height: 50px; border-radius: 999px; border: 2px solid var(--green-deep); background: var(--green-deep); color: var(--white); font: 500 var(--fs-body) var(--font); cursor: pointer; transition: background 0.2s; }
.letter-btn:hover { background: #0a3822; }
.letter-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.letter-msg { min-height: 1.3em; font-size: var(--fs-small); font-weight: 500; color: var(--green); }
.letter-msg.err { color: #9b3b26; }
/* without JS there is nothing to send it to, so the newsletter stays hidden */
html:not(.js) .letter { display: none; }
@media (max-width: 900px) {
  .cta { grid-template-columns: minmax(0, 1fr); gap: 28px; border-radius: 26px; }
  .cta-lines { width: 560px; height: 560px; right: -260px; top: -220px; }
  .letter { padding: 22px; }
}

.foot { border-top: 1px solid var(--gold-pale); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 36px max(36px, env(safe-area-inset-bottom, 0px)); font-size: var(--fs-small); color: var(--ink-soft); }
.foot-in p:first-child { max-width: 62ch; }

/* Povestea mea: the dial. Scoped to .story with its own colours; its type takes the site's sizes */
.story {
  --st-white: #ffffff;
  --st-ink: #14211a;
  --st-ink-soft: #55625b;
  --st-mist: #d3dcd6;
  --st-green: #1d6a43;
  --st-green-deep: #0f4a2e;
  --st-green-tint: #edf4ef;
  --st-gold: #b08a35;
  --st-gold-text: #8a6a1f;
  --st-gold-light: #dcc68e;
  --st-gold-pale: #f3ead3;
  position: relative;
  background: var(--st-white);
  color: var(--st-ink);
  font: 400 var(--fs-body)/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
.story * { box-sizing: border-box; }
.story h2, .story p, .story ol { margin: 0; }
.story ol { padding: 0; list-style: none; }
.story .num { font-weight: 600; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.02em; }
.story a:focus-visible, .story button:focus-visible { outline: 2px solid var(--st-green); outline-offset: 3px; border-radius: 6px; }

/* without JS or with reduced motion it is a list */
/* .story scope so these win over the margin and padding reset above */
.story .story-heading { max-width: 1200px; margin: 0 auto; padding: 96px max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px)); font-size: var(--fs-title); line-height: 1.14; font-weight: 600; letter-spacing: -0.03em; color: var(--st-green-deep); }
.story .story-list { max-width: 1200px; margin: 0 auto; padding: 40px max(20px, env(safe-area-inset-right, 0px)) 96px max(20px, env(safe-area-inset-left, 0px)); }
.story-item { display: grid; grid-template-columns: 160px minmax(0, 1fr); column-gap: 32px; row-gap: 8px; padding: 26px 0; border-top: 1px solid var(--st-gold-pale); }
.story-item > :not(.eyebrow) { grid-column: 2; }
.story-item .eyebrow { grid-row: span 3; font-size: var(--fs-small); font-weight: 600; color: var(--st-gold-text); }
.story-item .title { font-size: var(--fs-heading); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; color: var(--st-green-deep); }
.story-item.personal .title { color: var(--st-gold-text); font-weight: 500; }
.story-item .body { color: var(--st-ink-soft); max-width: 62ch; }
.story-item .badge { justify-self: start; }
@media (max-width: 640px) { .story-item { grid-template-columns: minmax(0, 1fr); } .story-item > :not(.eyebrow) { grid-column: 1; } .story-item .eyebrow { grid-row: auto; } }

/* otherwise a pinned dial */
.story .track { display: none; }
.js:not(.reduced) .story-heading, .js:not(.reduced) .story-list {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.js:not(.reduced) .story .track { display: block; position: relative; height: calc(var(--n, 10) * 40vh); }
.story .stage { position: sticky; top: var(--bar, 0px); height: calc(100vh - var(--bar, 0px)); height: calc(100svh - var(--bar, 0px)); overflow: hidden; background: var(--st-white); }
.story .stage::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: 4; pointer-events: none;
  height: calc(84px + env(safe-area-inset-top, 0px));
  background: linear-gradient(var(--st-white) 55%, rgba(255, 255, 255, 0));
}
/* the kicker and "Sari peste" keep to the hero's 1440px: on a wider screen they line up with the menu's pills */
.story .kicker { position: absolute; z-index: 5; top: max(24px, env(safe-area-inset-top, 0px)); left: max(22px, env(safe-area-inset-left, 0px), calc(50% - 712px)); font-weight: 600; font-size: var(--fs-small); color: var(--st-green-deep); }
.story .kicker span { color: var(--st-gold-text); font-weight: 500; margin-left: 10px; }
/* "Sari peste": a small solid button, so it reads as one */
.story .skip {
  position: absolute; z-index: 6; right: max(18px, env(safe-area-inset-right, 0px), calc(50% - 712px)); top: max(18px, env(safe-area-inset-top, 0px));
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px;
  font-size: var(--fs-small); font-weight: 500; color: var(--st-white); background: var(--st-green-deep); text-decoration: none;
  box-shadow: 0 8px 18px -10px rgba(15, 74, 46, 0.7); transition: background 0.2s;
}
.story .skip::after { content: ""; position: absolute; inset: -6px -4px; }
.story .skip:hover { background: var(--st-green); }
.story .wheel { position: absolute; border-radius: 50%; border: 1.5px solid var(--st-gold-light); will-change: transform; }
.story .wheel::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px solid var(--st-gold-pale); }
.story .wheel::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle, var(--st-green-tint) 0%, rgba(237, 244, 239, 0) 70%); }
.story .tick { position: absolute; left: 50%; top: 50%; width: 50%; height: 1px; transform-origin: 0 50%; transform: rotate(var(--a)); }
.story .tick::after { content: ""; position: absolute; right: 0; top: 0; width: 12px; height: 1.5px; background: var(--st-gold-light); }
.story .tick.major::after { width: 30px; background: var(--st-gold); }
.story .yl {
  position: absolute; left: 50%; top: 50%; transform-origin: 0 0; z-index: 2;
  appearance: none; border: 0; background: none; padding: 10px 8px; margin: 0; cursor: pointer;
  font: 600 var(--fs-title)/1 var(--font); letter-spacing: -0.03em; white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums; color: var(--st-gold); transition: color 0.35s;
}
.story .yl.on { color: var(--st-green-deep); }
.story .yl.dot::before { content: ""; display: block; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--st-gold); background: var(--st-white); }
.story .yl.dot.on::before { border-color: var(--st-green); background: var(--st-green-tint); }
.story .pointer { position: absolute; z-index: 3; width: 14px; height: 14px; border-radius: 50%; background: var(--st-gold); box-shadow: 0 0 0 6px var(--st-gold-pale); }
.story .panel { position: absolute; z-index: 4; }
.story .block { position: absolute; left: 0; top: 0; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: start; }
.story .block .eyebrow { font-size: var(--fs-small); font-weight: 600; color: var(--st-gold-text); }
.story .block .title { font-size: var(--fs-title); line-height: 1.14; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.story .w { color: var(--st-mist); transition: color 0.18s linear; }
.story .w.lit { color: var(--st-green-deep); }
.story .block.personal .title { font-weight: 500; }
.story .block.personal .w.lit { color: var(--st-gold-text); }
.story .detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; justify-items: start; opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.4s; }
.story .detail.on { opacity: 1; transform: none; }
.story .block .body { font-size: var(--fs-lead); line-height: 1.5; color: var(--st-ink-soft); max-width: 42ch; }
.story .badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); font-weight: 500; color: var(--st-green-deep);
  background: var(--st-green-tint); border: 1px solid rgba(29, 106, 67, 0.25); border-radius: 999px; padding: 6px 14px;
}
.story .badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--st-green); }
/* the parts of Despre mine that travel inside the chapters */
.story .ledger { display: grid; gap: 8px; width: 100%; max-width: 620px; }
.story .ledger-cap { font-size: var(--fs-small); color: var(--st-ink-soft); }
.story .row { display: grid; grid-template-columns: 88px minmax(120px, 240px) auto; justify-content: start; align-items: center; column-gap: 16px; font-size: var(--fs-small); color: var(--st-ink-soft); }
.story .row .term { color: var(--st-gold-text); }
/* gold counts what she put forward, green what became law: the bar uses the same two colours */
.story .row .val { white-space: nowrap; }
.story .row .val b { color: var(--st-green-deep); }
.story .row .val b:first-child { color: var(--st-gold-text); }
.story .bars i { display: block; position: relative; height: 8px; width: calc(var(--p) * 100%); border-radius: 999px; background: var(--st-gold-light); overflow: hidden; transition: width 0.9s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1); }
.story .bars b { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--l) * 100%); background: var(--st-green); border-radius: inherit; }
.story .detail:not(.on) .bars i { width: 0; }
.story .keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; margin: 4px 0 0; width: 100%; max-width: 580px; }
.story .keys div { border-top: 1.5px solid var(--st-gold-light); padding-top: 12px; }
.story .keys dt { font-size: var(--fs-title); line-height: 1; letter-spacing: -0.03em; color: var(--st-green-deep); }
.story .keys dd { margin: 8px 0 0; font-size: var(--fs-small); line-height: 1.5; color: var(--st-ink-soft); }
.story .quote { margin: 4px 0 0; border-left: 3px solid var(--st-gold); padding-left: 18px; display: grid; gap: 6px; }
.story .quote p { font-size: var(--fs-heading); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; color: var(--st-green-deep); }
.story .quote figcaption { font-size: var(--fs-small); font-weight: 600; color: var(--st-gold-text); }
.story .asof { font-size: var(--fs-small); color: var(--st-ink-soft); }
.story-item .ledger, .story-item .keys, .story-item .quote, .story-item .asof { margin-top: 8px; }
.story .bar { position: absolute; z-index: 5; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--st-gold-pale); }
.story .bar i { display: block; height: 100%; width: 0; background: var(--st-green); }
@media (max-width: 759px) {
  .story .kicker span { display: block; margin: 2px 0 0; }
  .story .stage::before { height: calc(88px + env(safe-area-inset-top, 0px)); background: linear-gradient(var(--st-white) 70%, rgba(255, 255, 255, 0)); }
  .story .yl { font-size: var(--fs-heading); padding: 12px 10px; }
  .story .block { gap: 12px; }
  .story .block .body { font-size: var(--fs-body); }
  .story .row { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "term val" "bars bars"; justify-content: stretch; gap: 5px 10px; }
  .story .row .term { grid-area: term; }
  .story .row .val { grid-area: val; justify-self: end; }
  .story .row .bars { grid-area: bars; }
  .story .keys { gap: 12px 18px; }
  .story .keys dd { margin-top: 6px; }
}
@media (max-width: 759px) and (max-height: 780px) {
  .story .block .title { font-size: var(--fs-heading); line-height: 1.2; }
  .story .block .body { font-size: var(--fs-small); }
  .story .block, .story .detail { gap: 8px; }
  .story .ledger { gap: 5px; }
  .story .ledger-cap { font-size: var(--fs-micro); line-height: 1.4; }
  .story .row { row-gap: 3px; }
}

/* Despre mine and Contact. Same ground as Acasă: white, gold for the instrument, green for the content */

/* the menu marks the page you are on; a skip link leads past it */
.menu-links a[aria-current="page"], .menu-panel a[aria-current="page"] { background: var(--gold-light); color: var(--green-deep); }
.skip-link { position: absolute; left: 16px; top: -120px; z-index: 50; padding: 12px 20px; border-radius: 999px; background: var(--green-deep); color: var(--white); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 16px; outline: 3px solid var(--gold-light); outline-offset: 2px; }
main:focus { outline: none; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-nav a { font-weight: 500; color: var(--green-deep); text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }

/* page head: a green card like the Priorități stage */
.page-head { padding: 16px max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
.head-card { position: relative; isolation: isolate; overflow: hidden; max-width: 1440px; margin: 0 auto; border-radius: 32px; background: var(--green-deep); color: var(--white); }
.head-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(40px, 6vw, 96px); align-items: center; padding: clamp(48px, 6vw, 96px) clamp(28px, 6vw, 96px); }
.head-text { display: grid; gap: 22px; justify-items: start; }
.head-card .label { color: var(--gold-light); }
.head-title { max-width: 17ch; font-size: var(--fs-title); line-height: 1.14; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.head-title.big { padding-bottom: 0.08em; white-space: nowrap; font-size: var(--fs-display); line-height: 0.9; letter-spacing: -0.04em; }
.head-body { max-width: 52ch; font-size: var(--fs-lead); line-height: 1.5; color: rgba(255, 255, 255, 0.86); }
.head-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.head-facts .pill { padding: 9px 16px; color: var(--white); background: none; border-color: transparent; white-space: normal; }
.head-photo { position: relative; justify-self: center; width: min(100%, 420px); aspect-ratio: 3 / 4; }
.head-card a:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
.contact-head .head-in { grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 64px); }
.routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.route { display: grid; align-content: start; gap: 8px; height: 100%; padding: 22px 24px 24px; border-radius: 24px; color: var(--white); text-decoration: none; }
.route b { font-size: var(--fs-lead); line-height: 1.3; }
.route b span { color: var(--gold-light); }
.route > span { color: rgba(255, 255, 255, 0.84); }
.route:hover::after { background: rgba(255, 255, 255, 0.22); }
@media (max-width: 900px) {
  .head-card { border-radius: 24px; }
  .head-in { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 48px 22px 56px; }
  .head-photo { width: min(72vw, 340px); }
  .routes { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .route { padding: 18px 20px 20px; }
}

/* pe scurt: four figures on one ruled line */
.figs-sec { padding-top: 64px; }
.figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--green-deep); }
.fig { display: grid; gap: 8px; align-content: start; padding: 24px 24px 0 0; }
.fig + .fig { padding-left: 24px; border-left: 1px solid var(--line); }
.fig dt { font-size: var(--fs-title); line-height: 1; letter-spacing: -0.03em; color: var(--green-deep); }
.fig dd { max-width: 22ch; font-size: var(--fs-small); line-height: 1.5; color: var(--ink-soft); }
.figs-sec .asof { margin-top: 20px; }
@media (max-width: 760px) {
  .figs-sec { padding-top: 48px; }
  .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fig + .fig { padding-left: 18px; }
  .fig:nth-child(3) { padding-left: 0; border-left: 0; }
  .fig:nth-child(n + 3) { padding-top: 28px; }
  .fig:nth-child(odd) { padding-right: 14px; }
}

/* acasă: Brad on the left, what she has worked on for the county on the right */
.home-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.home-text { display: grid; gap: 18px; position: sticky; top: calc(var(--bar) + 24px); }
.home-more { max-width: 44ch; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; color: var(--green-deep); }
.deeds { display: grid; gap: 14px; }
.deeds-title { font-size: var(--fs-small); font-weight: 600; color: var(--gold-text); }
.deed { display: grid; gap: 10px; padding: 24px 26px; border: 1.5px solid #ddd5c2; border-radius: 22px; background: var(--white); }
.deed-meta { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); color: var(--ink-soft); }
.deed h4 { margin: 0; font-size: var(--fs-heading); line-height: 1.2; letter-spacing: -0.02em; color: var(--green-deep); }
.deed-text { color: var(--ink-soft); }
.deed-role { font-size: var(--fs-small); font-weight: 600; color: var(--gold-text); }
@media (max-width: 900px) { .home-grid { grid-template-columns: minmax(0, 1fr); } .home-text { position: static; } }

/* parcursul: every office on one time axis, so the years in Parliament run alongside the years in Government.
   Bars sweep in from 2004 to today once the chart is in view */
.career-sec { background: var(--green-wash); border-block: 1px solid #e3ebe5; }
.gantt { --label: 300px; --gap: 28px; --plot: calc(100% - var(--label) - var(--gap)); position: relative; display: grid; gap: 30px; }
.gantt::before, .gantt::after { content: ""; position: absolute; top: 4px; bottom: 0; pointer-events: none; }
.gantt::before { left: calc(var(--label) + var(--gap)); right: 0; background: repeating-linear-gradient(to right, #cfdcd3 0 1px, transparent 1px calc(100% * 4 / 23)); }
.gantt::after { left: calc(var(--label) + var(--gap) + var(--plot) * var(--today) / 100); width: 2px; margin-left: -1px; background: linear-gradient(rgba(176, 138, 53, 0.7), rgba(176, 138, 53, 0.15)); }
.g-axis, .g-row { position: relative; z-index: 1; display: grid; grid-template-columns: var(--label) minmax(0, 1fr); gap: 0 var(--gap); }
.g-ticks { grid-column: 2; position: relative; height: 22px; }
.g-ticks i { position: absolute; left: calc(var(--x) * 1%); top: 0; font-style: normal; }
.g-ticks b { display: block; padding-left: 6px; font-size: var(--fs-micro); color: var(--ink-soft); }
.lane { position: relative; z-index: 1; }
.lane-title { padding-bottom: 10px; font-size: var(--fs-small); font-weight: 600; color: var(--gold-text); }
.lane ul { border-top: 1.5px solid #c9d8ce; }
.g-row { align-items: center; padding: 13px 0; border-bottom: 1px solid #dae5dd; }
.g-label { display: grid; gap: 2px; line-height: 1.35; }
.g-label b { color: var(--ink); }
.g-label .num { font-size: var(--fs-small); color: var(--green); }
.g-label small { font-size: var(--fs-small); line-height: 1.4; color: var(--ink-soft); }
.g-track { position: relative; height: 14px; }
.local { --tone: var(--gold); }
.gov { --tone: var(--green-deep); }
.parl { --tone: #3d8a5f; }
.g-bar { position: absolute; top: 2px; bottom: 2px; left: calc(var(--a) * 1%); width: max(6px, calc(var(--w) * 1%)); border-radius: 99px; background: var(--tone); transform-origin: left; }
.g-row.now .g-bar:last-of-type::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 0 5px rgba(176, 138, 53, 0.28); }
.g-mark { position: absolute; top: -4px; bottom: -4px; left: calc(var(--a) * 1%); width: 4px; margin-left: -2px; border-radius: 2px; background: var(--gold); box-shadow: 0 0 0 2px var(--green-wash); }
.js:not(.reduced) .gantt.grow .g-bar { transform: scaleX(0); transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--a) * 14ms); }
.js:not(.reduced) .gantt.grow.in .g-bar { transform: none; }
.js:not(.reduced) .g-row.now .g-bar:last-of-type::after { animation: g-now 2.4s ease-in-out infinite; }
@keyframes g-now { 50% { box-shadow: 0 0 0 9px rgba(176, 138, 53, 0); } }
@media (max-width: 760px) {
  .gantt { --label: 0px; --gap: 0px; gap: 26px; }
  .g-axis, .g-row { grid-template-columns: minmax(0, 1fr); }
  .g-ticks { grid-column: 1; }
  .g-ticks b { padding-left: 4px; }
  .g-row { gap: 8px; padding: 12px 0 14px; }
}

/* în parlament: per legislature, what she put forward (gold) and what became law (green), on one scale */
.parl-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.parl-grid .sec-head { margin-bottom: 0; }
.terms { display: grid; gap: 22px; }
.term { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 6px 18px; align-items: center; }
.term-name { grid-row: span 2; color: var(--green-deep); }
.tbar { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); color: var(--ink-soft); white-space: nowrap; }
.tbar i { flex: none; width: calc(var(--v) * 70%); min-width: 4px; height: 26px; border-radius: 8px; transform-origin: left; }
.tbar.p i { background: var(--gold-light); }
.tbar.l i { background: var(--green-deep); }
.tbar b { font-size: var(--fs-body); color: var(--ink); }
.js:not(.reduced) .terms.grow .tbar i { transform: scaleX(0); transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js:not(.reduced) .terms.grow .term:nth-child(2) i { transition-delay: 0.1s; }
.js:not(.reduced) .terms.grow .term:nth-child(3) i { transition-delay: 0.2s; }
.js:not(.reduced) .terms.grow .term:nth-child(4) i { transition-delay: 0.3s; }
.js:not(.reduced) .terms.grow.in .tbar i { transform: none; }
@media (max-width: 900px) { .parl-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .tbar i { width: calc(var(--v) * 56%); } }
@media (max-width: 420px) { .term { grid-template-columns: minmax(0, 1fr); } .term-name { grid-row: auto; } }

/* în guvern: one column per ministry, oldest first; each line is one act with its date and its official source */
.gov-sec { border-top: 1px solid var(--gold-pale); }
.gov-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.gov-card { display: grid; padding: 26px 26px 10px; border: 1.5px solid var(--line); border-radius: 24px; background: var(--white); }
.gov-card h3 { display: grid; gap: 2px; padding-bottom: 16px; font-size: var(--fs-heading); line-height: 1.2; letter-spacing: -0.02em; color: var(--green-deep); }
.gov-card h3 .num { font-size: var(--fs-small); color: var(--gold-text); }
.gov-list li { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); }
.gov-when { font-size: var(--fs-small); font-weight: 600; color: var(--gold-text); }
.gov-list a { justify-self: start; margin-top: 2px; font-size: var(--fs-small); font-weight: 500; color: var(--green); text-decoration: none; border-bottom: 1.5px solid rgba(29, 106, 67, 0.25); }
.gov-list a:hover { border-color: var(--green); }
.gov-list a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 1000px) { .gov-grid { grid-template-columns: minmax(0, 1fr); } }

/* ce cred: her values, then her own words, verbatim and dated */
.words-head { display: grid; gap: 18px; max-width: 880px; margin-bottom: 48px; }
.quotes { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; }
.qcard { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: space-between; gap: 28px; min-height: 230px; padding: 30px 32px; border-radius: 26px; background: var(--gold-pale); }
.qcard.big { grid-row: span 2; min-height: 474px; padding: clamp(32px, 4vw, 52px); background: var(--green-deep); color: var(--white); }
.qcard blockquote p { font-size: var(--fs-heading); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; color: var(--green-deep); text-wrap: balance; }
.qcard.big blockquote p { font-size: var(--fs-title); line-height: 1.14; letter-spacing: -0.03em; color: var(--white); }
.qcard figcaption { font-size: var(--fs-small); font-weight: 600; color: var(--gold-text); }
.qcard.big figcaption { color: var(--gold-light); }
@media (max-width: 900px) { .quotes { grid-template-columns: minmax(0, 1fr); } .qcard.big { grid-row: auto; min-height: 340px; } .qcard { min-height: 0; } }

/* pentru presă: a bio journalists can copy as it is, with the sources under it */
.press-sec { padding-top: 0; }
.press-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 0 clamp(40px, 6vw, 88px); align-items: start; }
.press-grid::before { content: ""; grid-column: 1 / -1; height: 1px; margin-bottom: 96px; background: var(--gold-pale); }
.press-side { display: grid; gap: 18px; justify-items: start; position: sticky; top: calc(var(--bar) + 24px); }
.copy-bio { border: 0; cursor: pointer; font-family: var(--font); transition: background 0.2s; }
.copy-bio.done { background: var(--green); }
.copy-bio:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.sources { width: 100%; margin-top: 6px; border-top: 1px solid var(--line); }
.sources summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-size: var(--fs-small); font-weight: 600; color: var(--green-deep); cursor: pointer; list-style: none; }
.sources summary::-webkit-details-marker { display: none; }
.sources summary::after { content: "+"; font-size: var(--fs-lead); font-weight: 600; line-height: 1; }
.sources[open] summary::after { content: "−"; }
.sources summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.sources ul { display: grid; gap: 10px; padding: 2px 0 8px; }
.sources a { font-size: var(--fs-small); font-weight: 500; color: var(--green); text-decoration: none; }
.sources a:hover { text-decoration: underline; }
.bio { position: relative; display: grid; gap: 18px; padding: clamp(28px, 4vw, 52px); border: 1.5px solid #ddd5c2; border-radius: 26px; background: var(--white); box-shadow: 0 40px 80px -56px rgba(15, 74, 46, 0.45); }
.bio::before { content: ""; position: absolute; left: clamp(28px, 4vw, 52px); top: -1.5px; width: 72px; height: 5px; border-radius: 0 0 5px 5px; background: var(--gold); }
.bio p { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink); }
.bio .num { font-weight: inherit; letter-spacing: normal; }
@media (max-width: 900px) { .press-grid { grid-template-columns: minmax(0, 1fr); row-gap: 32px; } .press-grid::before { margin-bottom: 40px; } .press-side { position: static; } }

/* mai departe: two doors out */
.next-sec { padding-bottom: 120px; }
.next-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.next-card { position: relative; display: grid; align-content: end; gap: 10px; min-height: 230px; padding: 32px 104px 34px 36px; border-radius: 28px; background: var(--green-deep); color: var(--white); text-decoration: none; }
.next-card b { font-size: var(--fs-title); line-height: 1.14; letter-spacing: -0.03em; }
.next-card .desc { max-width: 40ch; color: rgba(255, 255, 255, 0.82); }
.next-card i { position: absolute; right: 32px; top: 32px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--gold-light); color: var(--green-deep); font-style: normal; font-size: var(--fs-lead); font-weight: 600; transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.next-card:hover i { transform: translateX(5px); }
.next-card.soft { background: var(--gold-pale); color: var(--green-deep); }
.next-card.soft .desc { color: var(--ink-soft); }
.next-card.soft i { background: var(--green-deep); color: var(--white); }
.next-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 760px) { .next-sec { padding-bottom: 84px; } .next-grid { grid-template-columns: minmax(0, 1fr); } .next-card { min-height: 190px; padding: 26px 88px 28px 26px; } .next-card i { right: 24px; top: 24px; } }

/* contact: one question at a time on the left, the letter it is writing on the right. On a phone the letter shows at
   the last step, as the thing you check before sending. Without JS nothing could stop robots, so the form stays hidden */
.write-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: 36px; }
.note { position: relative; display: flex; flex-direction: column; gap: 18px; min-height: 470px; padding: clamp(24px, 3vw, 40px); border: 1.5px solid #ddd5c2; border-radius: 28px; background: var(--white); box-shadow: 0 40px 80px -56px rgba(15, 74, 46, 0.5); }
.note-top { display: flex; align-items: center; gap: 16px; font-size: var(--fs-small); font-weight: 500; color: var(--ink-soft); }
.note-step b { color: var(--green-deep); font-size: var(--fs-body); }
.note-bar { flex: 1; height: 4px; border-radius: 99px; background: var(--green-tint); overflow: hidden; }
.note-bar i { display: block; height: 100%; background: var(--green-deep); transform-origin: left; transform: scaleX(var(--p, 0.167)); transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.step { display: grid; gap: 14px; min-width: 0; margin: 0; padding: 0; border: 0; }
.step[hidden] { display: none; }
.q { display: block; padding: 0; font-size: var(--fs-heading); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; color: var(--green-deep); text-wrap: balance; }
legend.q { margin-bottom: 14px; }
.hint { max-width: 52ch; font-size: var(--fs-small); color: var(--ink-soft); }
.note :is(input:not([type]), input[type="email"], textarea) { width: 100%; padding: 14px 16px; border: 2px solid #9cb0a2; border-radius: 16px; background: var(--white); color: var(--ink); font: 400 var(--fs-lead)/1.45 var(--font); }
.note :is(input:not([type]), input[type="email"]) { height: 62px; }
.note textarea { min-height: 190px; resize: vertical; }
.note :is(input, textarea):focus { outline: 3px solid var(--gold); outline-offset: 2px; border-color: var(--green-deep); }
.note [aria-invalid="true"] { border-color: #9b3b26; }
.note .count { justify-self: end; font-size: var(--fs-micro); font-weight: 500; color: var(--ink-soft); }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 16px 18px; border: 2px solid var(--line); border-radius: 18px; font-weight: 500; line-height: 1.3; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.choice:hover { border-color: var(--gold-light); }
.choice:has(input:checked) { border-color: var(--green-deep); background: var(--green-wash); }
.choice input { appearance: none; -webkit-appearance: none; flex: 0 0 22px; display: grid; place-items: center; width: 22px; height: 22px; margin: 0; border: 2px solid var(--gold); border-radius: 50%; }
.choice input::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green-deep); transform: scale(0); transition: transform 0.2s; }
.choice input:checked::after { transform: none; }
.choice input:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.note-err { min-height: 1.4em; margin-top: -6px; font-size: var(--fs-small); font-weight: 500; color: #9b3b26; }
.note-nav { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.note-back, .note-skip { height: 50px; padding: 0 18px; white-space: nowrap; border: 1.5px solid rgba(15, 74, 46, 0.25); border-radius: 999px; background: none; color: var(--green-deep); font: 500 var(--fs-body) var(--font); cursor: pointer; }
.note-back:hover, .note-skip:hover { border-color: var(--green-deep); }
.note-go { margin-left: auto; padding: 0 26px; white-space: nowrap; }
.note-go:disabled { opacity: 0.6; cursor: wait; }
.note :is(.note-back, .note-skip, .d-line):focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.note .letter-msg:empty { display: none; }
.note .letter-consent { grid-template-columns: 26px minmax(0, 1fr); gap: 12px; font-size: var(--fs-body); line-height: 1.5; }
.note .letter-consent input { width: 24px; height: 24px; }
.note.sent { justify-content: center; }
.note.sent :is(.step, .note-top, .note-err, .note-nav) { display: none; }
.note.sent .letter-msg { font-size: var(--fs-heading); line-height: 1.2; color: var(--green-deep); }
/* a field robots fill and people never see */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.js:not(.reduced) .note.moved .step:not([hidden]) { animation: step-in 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes step-in { from { opacity: 0; transform: translateX(var(--dx, 24px)); } }
/* the letter: each line is the answer to a step and takes you back to it; once sent it says so, with the date */
.draft { position: sticky; top: calc(var(--bar) + 24px); display: grid; gap: 8px; min-height: 470px; align-content: start; padding: 30px 30px 40px; border: 1px solid #ecdfb9; border-radius: 28px; background: #fffcf3; overflow: hidden; }
.d-to { padding: 0 0 14px; margin-bottom: 6px; border-bottom: 1.5px solid #ecdfb9; font-weight: 600; color: var(--green-deep); }
.d-line { display: block; width: calc(100% + 20px); margin: 0 -10px; padding: 6px 10px; border: 0; border-radius: 10px; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: background 0.2s, box-shadow 0.2s; }
.d-line:disabled { cursor: default; color: #a3aca7; }
.d-line:not(:disabled):hover { background: var(--gold-pale); }
.d-line.now { background: rgba(237, 244, 239, 0.9); box-shadow: inset 3px 0 0 var(--gold); }
.d-k { margin-right: 4px; font-size: var(--fs-small); font-weight: 600; color: var(--gold-text); }
.d-body { min-height: 120px; padding-block: 10px; }
.d-body span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 10; overflow: hidden; white-space: pre-wrap; overflow-wrap: anywhere; }
.draft .blank { color: #a3aca7; }
.draft.sent .d-line { color: var(--ink); }
.d-sent { display: none; justify-self: start; margin-top: 18px; padding: 6px 14px; border-radius: 999px; background: var(--green-deep); color: var(--white); font-size: var(--fs-small); font-weight: 600; }
.draft.sent .d-sent { display: block; }
.js:not(.reduced) .draft.sent .d-sent { animation: step-in 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.nojs-note { display: none; max-width: 60ch; margin-top: 20px; color: var(--ink-soft); }
html:not(.js) .nojs-note { display: block; }
html:not(.js) .write-grid { display: none; }
.write-sec .privacy { max-width: 70ch; margin-top: 22px; font-size: var(--fs-small); color: var(--ink-soft); }
@media (max-width: 899px) {
  .write-grid { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
  .note { min-height: 420px; }
  .draft { display: none; position: static; min-height: 0; }
  .write-grid.at-end .draft, .write-grid.done .draft { display: grid; order: -1; }
}
@media (max-width: 560px) {
  .choices { grid-template-columns: minmax(0, 1fr); }
  .choice { min-height: 62px; }
  .note-back, .note-skip { padding: 0 15px; }
  .note-back span { display: none; }
  .note-go { flex: 1; padding: 0 18px; }
  .note.sent { min-height: 0; padding-block: 32px; }
}

/* biroul parlamentar and the press, side by side */
.office-sec { padding-top: 0; }
.office-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 14px; }
.office-card { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: end; justify-items: start; gap: 12px; min-height: 400px; padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: var(--gold-pale); }
.office-street { max-width: 14ch; font-size: var(--fs-title); line-height: 1.14; font-weight: 600; letter-spacing: -0.03em; color: var(--green-deep); }
.office-town { margin-bottom: 14px; font-size: var(--fs-lead); font-weight: 600; color: var(--ink-soft); }
.press-card { display: grid; align-content: start; gap: 14px; padding: clamp(28px, 3.4vw, 44px); border: 1.5px solid #ddd5c2; border-radius: 28px; }
.press-text { color: var(--ink-soft); }
.press-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.press-links .btn { font-family: var(--font); }
@media (max-width: 900px) { .office-grid { grid-template-columns: minmax(0, 1fr); } .office-card { min-height: 340px; border-radius: 24px; } .press-card { border-radius: 24px; } }

/* the newsletter on its own band, apart from the message form */
.letter-sec { padding-bottom: 120px; }
.letter-band { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; padding: clamp(40px, 6vw, 88px) 20px; border-radius: 32px; background: var(--green-deep); }
.letter-band .letter { width: min(100%, 520px); }
@media (max-width: 760px) { .letter-sec { padding-bottom: 84px; } .letter-band { border-radius: 24px; padding: 28px 12px; } }

/* a printed Despre mine is the bio and the record, without the furniture */
@media print {
  .top, .skip-link, .next-sec, .foot-nav, .copy-bio, .topo, .sources summary::after { display: none !important; }
  .head-card, .qcard.big { background: none !important; color: #000 !important; }
  .head-body, .qcard.big blockquote p, .qcard.big figcaption { color: #000 !important; }
  .press-side, .home-text { position: static !important; }
  .sec { padding-block: 32px; }
}
