/* Druckeria 2027 — stiluri adăugate peste Big Picture.
   Culorile și încadrările foto se modifică aici; main.css păstrează tema. */

/* 1. IDENTITATE ȘI ELEMENTE COMUNE */
:root {
  --violet: #542589;
  --violet-dark: #371958;
  --ink: #292331;
  --muted: #68616f;
  --paper: #f5f3f7;
  --line: #ddd7e5;
  --header-height: 76px;
}
html { scroll-padding-top: var(--header-height); }
body { min-width: 0; padding-top: var(--header-height); color: var(--ink); font-weight: 400; letter-spacing: 0; }
a { color: var(--violet); text-underline-offset: .2em; }
a:hover { color: var(--violet-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible {
  outline: 3px solid #ab73e3 !important;
  outline-offset: 5px;
}
section:focus { outline: none; }
.main.fullscreen { min-height: calc(100vh - var(--header-height)); min-height: calc(100svh - var(--header-height)); }
.main.style3 .content > header { max-width: 38em; margin-left: auto; margin-right: auto; }
.main.style3.secondary { background: var(--paper); }
h2 { color: var(--violet-dark); }
h3 { font-size: 1.25em; line-height: 1.25; }
.button, button { background: var(--violet); font-family: inherit; font-size: inherit; font-weight: 600; }
.button:hover, button:hover { background: var(--violet-dark); }
.button:active, button:active { background: #6732a0; }
.button:disabled { background: #ddd7e5; color: #62576e; cursor: not-allowed; }
.text-link { font-weight: 600; font-size: .9em; }
.skip-link { position: fixed; left: 1em; top: -10em; z-index: 11000; padding: .7em 1em; background: white; }
.skip-link:focus { top: .5em; }
/* Fără ecran de încărcare: conținutul rămâne vizibil și fără JavaScript. */
body:before, body:after { display: none !important; }

/* 2. MENIU FIX — CTA-ul rămâne la vedere și pe mobil. */
#header { height: var(--header-height); line-height: normal; background: #fff; display: flex; align-items: center; gap: 1.6em; padding: 0 2em; }
.brand { color: var(--violet); text-decoration: none; line-height: 1; font-size: 1.22em; font-weight: 900; letter-spacing: -.035em; margin-right: auto; }
.brand span { display: block; margin-top: .45em; font-size: .41em; font-weight: 400; letter-spacing: .045em; }
#header nav { position: static; height: auto; line-height: normal; }
#header nav ul { display: flex; gap: 1.4em; }
#header nav ul li { margin: 0; font-size: .75em; }
#header nav ul li a { padding: .5em 0; height: auto; line-height: 1.5; }
#header nav a:hover, #header nav a[aria-current="location"] { color: var(--violet); text-decoration: underline; }
.header-cta { background: var(--violet); color: #fff; text-decoration: none; border-radius: 3em; padding: .75em 1.4em; font-size: .75em; font-weight: 600; white-space: nowrap; }
.header-cta:hover { background: var(--violet-dark); color: white; }
.menu-toggle { display: none; }

/* 3. CELE TREI FOTOGRAFII MARI — păstrăm cover și fundalul fix Big Picture.
   background-position mută încadrarea fără să modifice fotografia. */
#intro { background-image: linear-gradient(rgba(30, 13, 48, .57), rgba(30, 13, 48, .57)), url('../../images/intro-1440.webp'); background-size: cover; background-position: center, center 56%; background-attachment: fixed; }
#intro > .content { width: 55em; max-width: calc(100% - 3em); }
#intro h1 { font-size: clamp(3em, 5.65vw, 5.2em); line-height: 1.03; letter-spacing: -.045em; }
#intro .intro-copy { max-width: 31em; margin: 1.5em auto 1.7em; line-height: 1.65; font-weight: 300; }
#intro .intro-cta { color: var(--violet-dark); background: #fff; max-width: 100%; height: auto; padding: 1.05em 1.8em; line-height: 1.4; white-space: normal; text-wrap: balance; }
#intro .intro-cta:hover { background: #eee7f4; }
#intro .intro-next { margin-top: 1.75em; }
#intro .intro-next p { max-width: 30em; margin: 0 auto .85em; font-size: .85em; line-height: 1.55; }
#intro .down { width: 3.3em; height: 3.3em; background-size: 2.1em; }
.photo-credit { position: absolute; bottom: 1.2em; left: 2.5em; font-size: .6em; opacity: .85; }
#one { background-image: url('../../images/poli-2048.webp'); background-size: cover; background-position: center 53%; background-attachment: fixed; }
#two { background-image: url('../../images/copii-2048.webp'); background-size: cover; background-position: center 53%; background-attachment: fixed; }
.main.style2 > .content { width: 40%; }
.main.style2 .box { background: white; color: var(--ink); }
.main.style2 .box.style2 { padding: 3em 2.5em; }
.main.style2 h2 { margin-bottom: .65em; }
.main.style2 p { font-size: .9em; line-height: 1.65; }
.main.style2 .impact { margin: 1.35em 0 .6em; padding-top: 1.1em; border-top: 1px solid var(--line); font-size: 1.2em; line-height: 1.15; color: var(--violet); }
.impact strong { font-weight: 900; }
.impact span { display: block; font-size: 2.1em; letter-spacing: -.05em; }
.main.style2 .impact-note { font-size: .68em; line-height: 1.5; color: var(--muted); max-width: 28em; }
.main.style2 .button.down { background-color: rgba(31, 15, 45, .28); }

/* 4. CARDURI — la secțiunea 9 sunt stilurile celor cinci variante. */
#carduri { padding-top: 5.5em; padding-bottom: 5.5em; }
.association-story { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5em; align-items: start; text-align: left; margin: 2.2em 0; }
.association-story figure { margin: 0; }
.association-story img { display: block; width: 100%; height: auto; }
.historic-postcard { filter: drop-shadow(0 3px 3px #5e40282b); }
.postcard-paper { position: relative; padding: 15px; background: radial-gradient(ellipse at 0 0, #b68a5252, transparent 55%), radial-gradient(ellipse at 100% 100%, #b68a5252, transparent 55%), repeating-linear-gradient(13deg, #8d643609 0 1px, transparent 1px 4px), #f0e1c5; mask: radial-gradient(circle at 0 50%, transparent 3px, #000 3.6px) 0 0 / 100% 10px, radial-gradient(circle at 100% 50%, transparent 3px, #000 3.6px) 0 0 / 100% 10px, radial-gradient(circle at 50% 0, transparent 3px, #000 3.6px) 0 0 / 10px 100%, radial-gradient(circle at 50% 100%, transparent 3px, #000 3.6px) 0 0 / 10px 100%; mask-composite: intersect; }
.postcard-paper::after { content: ''; position: absolute; inset: 8px; border: 1px solid #8e6b3f66; pointer-events: none; }
.association-story figcaption { font-size: .62em; line-height: 1.5; color: var(--muted); margin-top: .9em; }
.association-copy { font-size: .86em; line-height: 1.65; }
.association-copy p { margin-bottom: 1em; }
.association-copy strong { color: var(--violet); font-weight: 700; }
.history-sources { font-size: .8em; line-height: 1.55; }
.history-sources summary { cursor: pointer; color: var(--violet); }
.history-sources p { margin: .8em 0 0; }
.membership-invitation { max-width: 38em; margin: 2em auto; }
.shop-note { margin: 1em 0 .25em; font-size: .8em; }

/* 5. GALERIE — păstrăm cele două coloane și animațiile originale. */
#work .content { width: 52em; }
.gallery { width: 100%; text-align: left; gap: 2.6em 2em; }
.gallery article { width: calc(50% - 1em); margin: 0; }
.gallery article .image { margin: 0 0 1.2em; overflow: hidden; }
.gallery article img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; }
.gallery article a.image { background: #ded8e2; }
.gallery article a.image:hover { outline: 3px solid var(--violet); outline-offset: 3px; }
.project-copy h3 { font-size: 1.15em; color: var(--violet-dark); margin-bottom: .65em; }
.project-copy p { font-size: .82em; line-height: 1.65; margin-bottom: .8em; }
.project-copy .project-fact { font-size: .75em; color: #574267; }
.project-copy .project-fact strong { font-weight: 600; }
.project-copy .text-link { font-size: .75em; }
/* Comenzile Poptrox rămân vizibile și utilizabile cu tastatura. */
.poptrox-popup .closer, .poptrox-popup .nav-next, .poptrox-popup .nav-previous { opacity: .85; }
.poptrox-popup .closer:focus-visible, .poptrox-popup .nav-next:focus-visible, .poptrox-popup .nav-previous:focus-visible { opacity: 1; outline-offset: -5px !important; }
.poptrox-popup .caption { line-height: 1.25; display: flex; align-items: center; justify-content: center; padding: .35em .75em; font-size: .8em; }
.poptrox-popup .loader:before { content: ''; width: 1em; height: 1em; border: 3px solid #ddd7e5; border-top-color: var(--violet); border-radius: 50%; }

/* 6. CALENDAR, FAQ, RAPOARTE ȘI CONTACT */
#contact { padding: 5em 0 4em; }
#contact .content { width: 43em; }
#contact .box { padding: 0; text-align: left; }
.campaign-calendar { width: min(64em, calc(100vw - 4em)); margin: 0 0 5em 50%; transform: translateX(-50%); scroll-margin-top: calc(var(--header-height) + 1em); }
.campaign-calendar header { margin-bottom: 4.5em; }
.campaign-calendar header p { max-width: 43em; margin: 1.2em auto 0; font-size: .9em; }
/* Unele repere au o dată, altele lasă vizibil loc întâlnirilor de pe parcurs. */
.calendar-events { position: relative; list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: 0; margin: 0; text-align: left; }
.calendar-events::before { content: ''; position: absolute; top: .75em; left: 0; right: 0; border-top: 2px dashed #b39bcf; }
.calendar-events li { position: relative; padding: 2.7em 0 0; }
.calendar-event { grid-column: span 3; padding-right: 1em !important; scroll-margin-top: calc(var(--header-height) + 2em); }
.calendar-event::before { content: ''; position: absolute; top: .4em; left: 0; width: .8em; height: .8em; background: var(--violet); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px var(--violet); }
.calendar-between { color: #72568b; text-align: center; }
/* Fiecare eveniment ocupă trei coloane, iar intervalul una. Centrul dintre
   repere se află cu o coloană înaintea intervalului, plus raza reperului. */
.calendar-between > span:last-child { position: absolute; bottom: calc(100% + .5em); left: calc(-100% + .571429em); transform: translateX(-50%); width: 8em; display: block; font-size: .7em; line-height: 1.4; }
.calendar-more { position: absolute; top: calc(.8em - 22px); left: calc(-100% + .4em); transform: translateX(-50%); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px dashed #9272b4; border-radius: 50%; background: #fff; color: var(--violet); font-weight: 400; line-height: 1; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.calendar-more:hover { background: var(--violet); color: #fff; border-color: var(--violet); }
.calendar-more:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; }
.calendar-date { display: block; color: var(--violet); line-height: 1.2; margin-bottom: 1.2em; }
.calendar-date > span { display: block; font-size: .8em; }
.calendar-date .calendar-day { font-size: 2.8em; font-weight: 900; letter-spacing: -.04em; margin-bottom: .1em; }
.calendar-events h3 { font-size: 1.1em; color: var(--violet-dark); margin-bottom: .7em; }
.calendar-events p { font-size: .8em; line-height: 1.6; margin: 0; }
.calendar-events .calendar-access { margin-top: 1em; padding: .6em .75em; border-left: 3px solid var(--violet); background: var(--paper); color: var(--violet-dark); font-size: .72em; }
.calendar-access strong { display: block; }
.faq details { border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-height) + 1em); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; cursor: pointer; font-size: 1em; font-weight: 600; list-style: none; padding: 1.05em 2em 1.05em 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: .2em; top: 50%; transform: translateY(-50%); color: var(--violet); font-size: 1.4em; font-weight: 300; }
.faq details[open] summary::after { content: '−'; }
.faq details > p { font-size: .85em; line-height: 1.7; padding: 0 2em 0 0; }
.reports { margin: 3.4em 0; }
.reports h3 { color: var(--violet-dark); margin-bottom: .7em; }
.reports p { font-size: .85em; }
.report-list { display: flex; flex-wrap: wrap; gap: 1.8em; padding: 0; margin: 1.5em 0 0; list-style: none; }
.report-list li { padding: 0; font-size: .85em; font-weight: 600; }
.report-list small { display: block; font-size: .75em; font-weight: 400; color: var(--muted); }
.contact-message { padding-top: 2.8em; border-top: 1px solid var(--line); text-align: center; }
.contact-message h3 { color: var(--violet-dark); font-size: 1.8em; margin-bottom: .6em; }
.contact-message p { font-size: .9em; }
.contact-email { font-size: 1.3em; font-weight: 600; }
#footer { padding: 2.7em 3em; background: var(--violet-dark); color: white; height: auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 2em; line-height: 1.6; }
#footer a { color: white; }
/* Același logo ca în antet: doar wordmarkul, alb, pe fundalul violet. */
.footer-brand { display: block; width: 12em; max-width: 100%; aspect-ratio: 292 / 71; overflow: hidden; }
.footer-logo { display: block; width: 100%; height: auto; filter: grayscale(1) contrast(50) invert(1); mix-blend-mode: screen; }
.footer-identity p { font-size: .65em; margin: .75em 0 0; color: #dfd4e9; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; max-width: 22em; gap: .7em 1.6em; font-size: .7em; }
.footer-links small { width: 100%; text-align: right; font-size: .85em; color: #dfd4e9; }

/* 7. TABLETĂ ȘI TELEFON */
@media (max-width: 1280px) {
  #header { gap: 1.3em; padding: 0 1.5em; }
  .main.style2 > .content { width: 44%; }
  .main.style2 .box.style2 { padding: 2.5em 2em; }
  #one { background-image: url('../../images/poli-1600.webp'); }
  #two { background-image: url('../../images/copii-1600.webp'); }
}
@media (max-width: 1000px) {
  #header nav ul { gap: 1em; }
  #header { gap: 1em; }
  .brand span { display: none; }
  .main.style2 > .content { width: 49%; }
  .main.style2 .box.style2 { padding: 2.2em 1.6em; }
  .member-option { gap: 2em; }
}
@media (max-width: 736px) {
  :root { --header-height: 64px; }
  body { font-size: 17px; }
  #header { gap: .7em; padding: 0 1em; }
  .brand { font-size: 1em; }
  .header-cta { display: flex; align-items: center; justify-content: center; min-height: 44px; font-size: .7em; padding: .7em 1em; white-space: normal; max-width: 10.5em; text-align: center; line-height: 1.3; }
  .menu-toggle { display: block; border: 0; background: transparent; color: var(--violet); padding: 0; height: 44px; line-height: 44px; font-size: .7em; border-radius: 0; }
  #header nav { display: block; position: absolute; top: var(--header-height); left: 0; right: 0; background: white; box-shadow: 0 8px 10px #29113718; padding: .5em 1.5em 1em; }
  #header nav ul { display: block; }
  #header nav ul li { display: block; font-size: .9em; }
  #header nav ul li a { padding: .6em 0; }
  /* Fără JavaScript, meniul rămâne desfăcut și toate linkurile sunt accesibile. */
  body:not(.js-ready) { padding-top: 0; }
  body:not(.js-ready) #header { position: relative; flex-wrap: wrap; height: auto; min-height: 64px; padding: 1em; }
  body:not(.js-ready) #header nav { position: static; order: 3; width: 100%; box-shadow: none; padding: .5em 0 0; }
  body:not(.js-ready) .menu-toggle { display: none; }
  .js-ready #header nav { display: none; }
  .js-ready #header nav.is-open { display: block; }
  #intro { background-image: linear-gradient(rgba(30,13,48,.58),rgba(30,13,48,.58)),url('../../images/intro-mobile-800.webp'); background-position: center, 52% 43%; background-attachment: scroll; padding: 3em 1em 3.5em; }
  #intro > .content { max-width: 100%; }
  #intro h1 { font-size: clamp(2.45em, 9.1vw, 3.4em); line-height: 1.03; }
  #intro h1 br { display: block; }
  #intro .intro-copy { font-size: .98em; line-height: 1.6; margin: 1.45em auto 1.5em; max-width: 26em; }
  #intro .intro-next { margin-top: 1.5em; }
  .photo-credit { font-size: .57em; left: 1.7em; }
  /* Fotografia rămâne în partea de sus; textul opac nu acoperă fețele. */
  .main.style2 { padding: 55vw 1em 2em; min-height: 0; background-attachment: scroll !important; background-position: center top !important; background-size: 100% auto !important; background-repeat: no-repeat !important; background-color: #f0edf4 !important; }
  #one { background-image: url('../../images/poli-800.webp'); }
  #two { background-image: url('../../images/copii-800.webp'); }
  .main.style2 > .content { width: 100%; max-width: 100%; text-align: left; }
  .main.style2 .box.style2 { padding: 1.8em 1.5em; }
  .main.style2 h2 { font-size: 2em; }
  .main.style2 .impact { font-size: 1.25em; }
  .main.style2 .impact-note { font-size: .75em; }
  .main.style3 { padding: 3.5em 1em; }
  .main.style3 > .content { max-width: 100%; }
  .main.style3 h2 { font-size: 2.2em; line-height: 1.1; }
  #carduri { padding: 3.5em 1.4em; }
  .association-story { grid-template-columns: 1fr; gap: 1.5em; margin: 1.8em 0; }
  .association-copy { font-size: .95em; }
  .association-story figcaption { font-size: .72em; }
  .history-sources { font-size: .85em; }
  .membership-invitation { text-align: left; font-size: .95em; margin-bottom: 1em; }
  .member-option { grid-template-columns: 1fr; gap: 2em; padding-bottom: 1em; }
  .member-info { max-width: 400px; width: 100%; margin: 0 auto; }
  .shop-note { margin-top: 2em; }
  #work { padding: 3.5em 1.4em; }
  .gallery { display: block; }
  .gallery article { width: 100%; margin: 0 0 2.6em; }
  .project-copy p { font-size: .92em; }
  .project-copy .project-fact { font-size: .85em; }
  #contact { padding: 3.5em 1.4em; }
  #contact .box { padding: 0; }
  .contact-email { font-size: 1.15em; }
  .report-list { gap: 1.2em; }
  #footer { padding: 2.5em 1.5em; flex-direction: column; text-align: left; gap: 1.5em; }
  .footer-links { justify-content: flex-start; max-width: none; font-size: .8em; }
  .footer-links small { text-align: left; }
  .footer-identity p { font-size: .75em; }
}
@media (max-width: 360px) {
  #header { padding: 0 .65em; gap: .5em; }
  .brand { font-size: .9em; }
  .header-cta { font-size: .65em; }
}
/* Pe ecrane medii și mici, parcursul vertical lasă textului loc suficient. */
@media (max-width: 1100px) {
  .campaign-calendar { width: 100%; margin: 0 0 3.5em; transform: none; }
  .campaign-calendar header { margin-bottom: 2em; }
  .calendar-events { display: block; }
  .calendar-events::before { top: .8em; bottom: 0; left: .75em; right: auto; border-top: 0; border-left: 2px dashed #b39bcf; }
  .calendar-events li { padding: 0 0 0 2.8em; }
  .calendar-event { padding-right: 0 !important; }
  .calendar-event::before { top: .6em; left: .4em; }
  .calendar-between { display: flex; align-items: center; min-height: 6em; text-align: left; }
  .calendar-more { top: 50%; left: calc(.75em + 1px - 22px); transform: translateY(-50%); }
  .calendar-between > span:last-child { position: static; width: auto; transform: none; font-size: .8em; }
  .calendar-date { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3em .65em; margin-bottom: .8em; }
  .calendar-date .calendar-day { font-size: 2.4em; margin: 0; }
  .calendar-events h3 { margin: 0 0 .6em; }
  .calendar-events p { font-size: .9em; }
}
/* 8. ACCESIBILITATE — respectăm preferințele vizitatorului. */
.main:focus-within > .content, .gallery:focus-within article, #contact:focus-within .box { transform: none !important; opacity: 1 !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .main { background-attachment: scroll !important; }
  .main > .content, .gallery article, #contact .box { transform: none !important; opacity: 1 !important; }
}
/* Textele lungi rămân accesibile cititoarelor de ecran, fără resturi în săgeți. */
.button.down { text-indent: -9999px; white-space: nowrap; }

/* Ancora de reînnoire este calculată înaintea animației de intrare. */
#contact.anchor-active .box { transform: none !important; transition: none !important; }
.poptrox-popup .caption { box-sizing: border-box !important; }

/* Sigla oficială din raportul Druckeria 2024. */
.brand img { display: block; width: 146px; height: auto; }
@media (max-width: 736px) { .brand img { width: 111px; } }
@media (max-width: 360px) { .brand img { width: 100px; } }

/* 9. OFERTA DE MEMBRU — cinci variante, fără rame decorative. */
#carduri .content { width: 57em; }
.member-options { display: flex; justify-content: center; flex-wrap: wrap; gap: 3em 2.3em; margin: 2em 0 3em; }
.member-option, .member-option + .member-option { display: flex; flex-direction: column; align-items: stretch; width: calc((100% - 4.6em) / 3); gap: 0; padding: 0; border: 0; }
.member-mockup { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.member-discount { display: inline-block; padding: .3em .8em; border-radius: 2em; background: var(--paper); color: var(--violet); font-weight: 600; }
.member-info { display: flex; flex-direction: column; flex: 1; text-align: left; width: 100%; margin: 0; }
.member-info h3 { font-size: 1.7em; color: var(--violet-dark); }
.member-price { font-size: 2em; line-height: 1.1; font-weight: 900; color: var(--violet); margin: .25em 0 .5em; letter-spacing: -.035em; }
.member-price span { font-size: .55em; font-weight: 400; letter-spacing: 0; }
.member-for { font-size: .78em; line-height: 1.5; margin-bottom: 1em; }
.member-benefits { list-style: none; padding: 0; font-size: .76em; line-height: 1.5; flex: 1; margin: 0 0 1.4em; }
.member-benefits li { padding: .6em 0; border-top: 1px solid var(--line); }
.member-info .button { font-size: .78em; align-self: flex-start; }
.shop-renewal { display: flex; align-items: center; justify-content: center; gap: 1.8em; border-top: 1px solid var(--line); padding-top: 2em; }
.shop-renewal img { width: 110px; height: 110px; display: block; }
.shop-renewal p { font-size: .8em; margin-bottom: .8em; }
.shop-renewal .button { font-size: .85em; }

/* 10. COPERȚILE PROIECTELOR — păstrăm galeria Big Picture pe două coloane. */
.gallery article a.image { position: relative; }
.gallery-hint { position: absolute; left: 0; bottom: 0; right: 0; padding: .75em 1em; color: #fff; background: rgba(34,17,49,.87); font-size: .65em; font-weight: 600; display: flex; justify-content: space-between; }
.project-copy h3 a { color: inherit; text-decoration: none; }
.project-copy h3 a:hover { text-decoration: underline; }
.project-copy .project-fact { margin-top: 1.25em; border-left: 2px solid var(--violet); padding-left: 1em; }
.project-fact strong { display: block; font-size: 1.9em; line-height: 1.2; color: var(--violet); font-weight: 900 !important; letter-spacing: -.035em; }
.project-fact span { display: block; margin-top: .3em; }

/* 11. POVEȘTI ȘI FOTOGRAFII — HTML accesibil și fără JavaScript. */
.project-detail { background: var(--paper); padding: 3em 1em; scroll-margin-top: var(--header-height); }
.project-sheet { position: relative; width: 58em; max-width: 100%; margin: 0 auto; background: white; padding: 3em; }
.project-sheet > header { padding-right: 2em; margin-bottom: 2em; max-width: 44em; }
.project-sheet h2 { font-size: 2.3em; line-height: 1.12; letter-spacing: -.035em; }
.project-close { display: none; }
.project-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5em; align-items: start; }
.project-story { font-size: .84em; line-height: 1.65; }
.project-story h3 { margin: 1.6em 0 .75em; color: var(--violet-dark); }
.project-story p { margin-bottom: 1.1em; }
.project-links { list-style: none; padding: 0; margin-top: 2em; }
.project-links li { padding: .6em 0; border-top: 1px solid var(--line); }
.project-links a { font-weight: 600; }
.detail-fact { font-size: .8em; margin: 1.2em 0 0; color: var(--muted); }
.detail-fact strong { color: var(--violet); font-weight: 900; font-size: 1.6em; margin-right: .3em; }
.photo-instruction { font-size: .62em; line-height: 1.5; color: var(--muted); margin-bottom: 1em; }
.photo-gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .5em; }
.photo-gallery a { display: block; margin: 0; background: var(--paper); }
.photo-gallery a:first-child { grid-column: 1 / -1; }
.photo-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-gallery a:first-child img { aspect-ratio: auto; max-height: 440px; object-fit: contain; }
.photo-gallery a:hover { outline: 2px solid var(--violet); outline-offset: 2px; }
.project-return { display: inline-block; margin-top: 2em; font-size: .75em; }
.project-story blockquote { padding: 1em 1.2em; margin: 1.5em 0; border-left: 3px solid var(--violet); background: var(--paper); font-style: normal; }
.project-story blockquote p { color: var(--violet-dark); font-weight: 600; font-size: 1.1em; }
.project-story cite { font-size: .8em; line-height: 1.5; font-style: normal; display: block; }
.timeline { list-style: none; margin: 1.6em 0; padding: 0 0 0 1em; border-left: 2px solid var(--line); }
.timeline li { padding: .5em 0; }
.timeline strong { display: block; color: var(--violet); }
.js-ready .project-detail { position: fixed; inset: 0; z-index: 10000; overflow-y: auto; overscroll-behavior: contain; background: rgba(29,16,45,.87); padding: 2em 1em; }
.project-detail[hidden] { display: none !important; }
body.project-open { overflow: hidden !important; }
.js-ready .project-close { display: block; position: sticky; top: 0; z-index: 2; margin: -1.5em -1.5em .5em auto; border-radius: 0; padding: 0 1em; height: 44px; line-height: 44px; font-size: .7em; }
.project-close span { font-size: 1.5em; margin-left: .5em; vertical-align: -.08em; }
.js-ready .project-sheet > header { padding-right: 0; }
.bank-details span { white-space: nowrap; }
.footer-identity { max-width: 44em; }
.site-info { width: 100%; font-size: .9em; text-align: right; }
.site-info summary { cursor: pointer; }
.site-info p { margin: 1em 0; color: #dfd4e9; line-height: 1.6; }
@media (max-width: 1000px) {
  #header nav ul { gap: .8em; }
  #header nav ul li { font-size: .68em; }
  .member-option, .member-option + .member-option { width: calc((100% - 2.3em) / 2); }
  .project-sheet { padding: 2em; }
  .project-layout { gap: 1.8em; }
}
@media (max-width: 736px) {
  #header nav ul li { font-size: .9em; }
  .member-options { gap: 2em; margin-top: 0; }
  .member-option, .member-option + .member-option { width: 100%; max-width: 380px; }
  .member-mockup { width: 100%; max-width: 330px; align-self: center; }
  .member-info { max-width: 100%; }
  .member-info h3 { font-size: 1.65em; }
  .member-benefits, .member-for { font-size: .9em; }
  .member-info .button { font-size: .9em; }
  .member-price { font-size: 2.3em; }
  .shop-renewal { flex-direction: column; gap: 1em; }
  .shop-renewal img { width: 90px; height: 90px; }
  .shop-renewal .button { white-space: normal; height: auto; min-height: 44px; line-height: 1.4; padding: 1em 1.4em; }
  .gallery-hint { font-size: .72em; }
  .project-detail, .js-ready .project-detail { padding: .5em; }
  .project-sheet { padding: 1.3em; }
  .project-sheet h2 { font-size: 2em; }
  .js-ready .project-close { top: -.5em; margin: -.5em -.5em 1em auto; font-size: .85em; }
  .project-layout { display: flex; flex-direction: column; gap: 1.5em; }
  .project-story { font-size: .95em; }
  .project-photos { width: 100%; order: -1; }
  .photo-gallery a:first-child img { max-height: 260px; }
  .photo-instruction { font-size: .72em; }
  .detail-fact { line-height: 1.5; font-size: .9em; }
  .project-return { font-size: .9em; }
  .site-info { text-align: left; }
}
