:root{--red:#a80f1a;--red-dark:#7f0912;--ink:#111214;--muted:#64666b;--line:#dedfe2;--soft:#f4f3f1;--white:#fff;--max:1240px;--wide:1460px;--radius:0px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,"Helvetica Neue",sans-serif;background:#fff;color:var(--ink);font-size:16px;line-height:1.55}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}img{display:block;max-width:100%}.shell{width:min(calc(100% - 48px),var(--max));margin-inline:auto}.shell-wide{width:min(calc(100% - 48px),var(--wide));margin-inline:auto}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:16px;top:16px;background:#fff;padding:10px 14px;z-index:100}.site-header{background:#fff;border-bottom:1px solid var(--line)}.header-top{height:92px;display:flex;align-items:center;justify-content:space-between}.wordmark{font-family:Georgia,"Times New Roman",serif;font-size:31px;font-weight:700;letter-spacing:.18em}.wordmark span{color:var(--red)}.account-actions{display:flex;align-items:center;gap:22px;font-size:14px;font-weight:650}.account-actions form{margin:0}.header-register{padding:10px 17px;border:1px solid var(--ink)}.text-button{border:0;background:none;padding:0;cursor:pointer;font-weight:650;color:var(--ink)}.header-nav-wrap{border-top:1px solid var(--line)}.nav-row{height:58px;display:flex;align-items:center;justify-content:space-between}.main-nav{display:flex;gap:38px;font-size:14px;text-transform:uppercase;letter-spacing:.08em;font-weight:700}.main-nav a{position:relative}.main-nav a:after{content:"";position:absolute;left:0;right:100%;height:2px;bottom:-18px;background:var(--red);transition:right .2s}.main-nav a:hover:after{right:0}.nav-note{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#888}.nav-toggle{display:none;border:0;background:none}.messages{padding-top:18px}.message{border-left:3px solid var(--red);background:#f7f7f7;padding:13px 16px;margin-bottom:8px}.home-banner,.projects-banner{padding-top:28px}.banner-placeholder{height:520px;background:linear-gradient(130deg,#171719,#28282c 62%,#81111a);color:#fff;position:relative;display:flex;align-items:flex-end;padding:54px;overflow:hidden}.banner-placeholder:before{content:"";position:absolute;width:460px;height:460px;border:1px solid rgba(255,255,255,.14);right:-70px;top:-150px;transform:rotate(25deg)}.banner-placeholder:after{content:"";position:absolute;width:2px;height:180%;background:rgba(255,255,255,.12);right:30%;top:-40%;transform:rotate(25deg)}.banner-placeholder>div{position:relative;z-index:2}.banner-placeholder p{font-family:Georgia,serif;font-size:42px;margin:0 0 8px}.banner-placeholder small{color:#c6c6c6}.banner-kicker{position:absolute;top:28px;left:32px;font-size:12px;text-transform:uppercase;letter-spacing:.15em;color:#d2d2d2}.banner-placeholder--small{height:290px}.banner-placeholder--small p{font-size:32px}.section{padding:104px 0}.section--soft{background:var(--soft)}.section--black{background:#111214;color:#fff}.eyebrow{display:block;margin-bottom:16px;color:var(--red);font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.intro .shell{width:calc(100% - 96px);max-width:none}.intro-grid{display:grid;grid-template-columns:1fr auto;gap:32px 48px;align-items:start}.intro-grid>div:first-child{grid-column:1/-1}.intro-copy{grid-column:1/-1;justify-self:end}.intro h1,.page-hero h1{font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:clamp(42px,5vw,70px);line-height:1.05;letter-spacing:-.025em;margin:0}.intro-copy{padding-top:0}.intro-copy p,.section-lead,.page-hero p{font-size:19px;color:var(--muted);margin:0 0 28px}.arrow-link{display:inline-flex;align-items:center;gap:12px;font-weight:750}.arrow-link span{color:var(--red);font-size:22px}.section-heading{max-width:740px;margin-bottom:48px}.section-heading h2{font-family:Georgia,serif;font-weight:500;font-size:46px;line-height:1.1;margin:0 0 16px}.section-heading p{color:var(--muted);margin:0;max-width:620px}.section-heading--light p{color:#aaa}.opportunity-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:1px;background:#cfd0d2;border:1px solid #cfd0d2}.opportunity-card{grid-column:span 2;background:#fff;padding:32px;min-height:285px;display:flex;flex-direction:column}.opportunity-card:nth-child(4),.opportunity-card:nth-child(5){grid-column:span 3}.card-index{font-family:Georgia,serif;color:#a2a2a5}.opportunity-card h3{font-family:Georgia,serif;font-size:26px;font-weight:500;line-height:1.15;margin:34px 0 18px}.disclosure-copy{max-height:46px;overflow:hidden;position:relative;color:var(--muted);transition:max-height .35s ease}.disclosure-copy:after{content:"";position:absolute;left:0;right:0;bottom:0;height:22px;background:linear-gradient(transparent,#fff)}.opportunity-card.is-expanded .disclosure-copy{max-height:300px}.opportunity-card.is-expanded .disclosure-copy:after{display:none}.disclosure-copy p{margin:0}.disclosure-button{margin-top:auto;align-self:flex-start;border:0;background:none;padding:18px 0 0;color:var(--red);font-weight:750;cursor:pointer}.guarantees-grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:100px}.section-heading--sticky{position:sticky;top:30px;align-self:start}.guarantee-list{border-top:1px solid var(--line)}.guarantee-list article{display:grid;grid-template-columns:80px 1fr;gap:22px;padding:35px 0;border-bottom:1px solid var(--line)}.guarantee-list>article>span{color:var(--red);font-family:Georgia,serif}.guarantee-list h3{font-family:Georgia,serif;font-size:28px;font-weight:500;margin:0 0 9px}.guarantee-list p{color:var(--muted);margin:0;max-width:600px}.process-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.process-card{border-top:1px solid #4a4a4c;padding-top:18px}.process-card>span{color:#a4a4a6;font-family:Georgia,serif}.process-card p{color:#97979b;font-size:14px}.media-placeholder{aspect-ratio:16/10;background:repeating-linear-gradient(135deg,#e5e3df,#e5e3df 10px,#efeeeb 10px,#efeeeb 20px);display:grid;place-items:center;color:#777;font-size:12px;text-transform:uppercase;letter-spacing:.12em}.media-placeholder--dark{margin-top:22px;background:repeating-linear-gradient(135deg,#1d1e20,#1d1e20 10px,#242528 10px,#242528 20px);color:#666}.partner-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}.partner-grid div{height:120px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;place-items:center;padding:20px;font-family:Georgia,serif;font-size:18px;text-align:center}.faq-layout{display:grid;grid-template-columns:.75fr 1.25fr;gap:100px}.faq-list{border-top:1px solid var(--ink)}.faq-list article{border-bottom:1px solid var(--line)}.faq-list button{width:100%;display:flex;justify-content:space-between;gap:20px;background:none;border:0;padding:27px 0;text-align:left;font-weight:750;cursor:pointer}.faq-list button b{font-size:22px;color:var(--red);font-weight:400;transition:transform .2s}.faq-answer{display:none;color:var(--muted);padding:0 45px 24px 0}.faq-answer p{margin:0}.faq-list article.is-open .faq-answer{display:block}.faq-list article.is-open button b{transform:rotate(45deg)}.page-hero{padding:105px 0 80px;border-bottom:1px solid var(--line)}.page-hero--compact{padding:70px 0}.page-hero--compact h1{font-size:58px}.page-hero-grid{display:grid;grid-template-columns:1.4fr .6fr;gap:100px;align-items:end}.page-hero-grid>p{margin-bottom:4px}.about-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line)}.about-stats>div{background:#fff;padding:34px}.about-stats strong{font-family:Georgia,serif;font-size:50px;font-weight:400;color:var(--red)}.about-stats p{margin:20px 0 0;font-weight:700}.event-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.event-grid article>span{display:block;margin-top:20px;color:var(--red);font-size:12px;font-weight:700}.event-grid h3{font-family:Georgia,serif;font-weight:500;font-size:26px;margin:7px 0}.event-grid p{color:var(--muted);margin:0}.projects-section{padding-top:72px}.projects-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:45px}.projects-heading h1{font-family:Georgia,serif;font-size:62px;font-weight:500;margin:0 0 8px}.projects-heading p{color:var(--muted);margin:0}.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 20px;border:1px solid var(--ink);font-weight:750;cursor:pointer;background:#fff;color:var(--ink)}.button--primary{background:var(--red);border-color:var(--red);color:#fff}.button--primary:hover{background:var(--red-dark);border-color:var(--red-dark)}.button--wide{width:100%}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:38px 24px}.project-card{border-bottom:1px solid var(--line);padding-bottom:24px}.project-media{aspect-ratio:4/3;background:#eceae6;display:grid;place-items:center;overflow:hidden;color:#8b8b8b;text-transform:uppercase;font-size:11px;letter-spacing:.12em}.project-media img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.project-card:hover .project-media img{transform:scale(1.025)}.project-body{padding-top:20px}.project-meta{display:flex;justify-content:space-between;gap:15px;color:#777;font-size:12px;text-transform:uppercase;letter-spacing:.05em}.project-body h2{font-family:Georgia,serif;font-weight:500;font-size:28px;line-height:1.15;margin:14px 0}.project-body p{color:var(--muted);margin:0 0 18px}.empty-state{border:1px solid var(--line);padding:80px;text-align:center}.empty-state>span{color:var(--red);font-weight:800;letter-spacing:.2em}.empty-state h2{font-family:Georgia,serif;font-size:34px;font-weight:500}.empty-state p{color:var(--muted)}.project-detail-head{padding:72px 0 48px}.back-link{display:inline-block;color:var(--muted);font-size:14px;margin-bottom:55px}.detail-title-row{display:grid;grid-template-columns:1fr 240px;gap:100px}.detail-title-row h1{font-family:Georgia,serif;font-size:64px;font-weight:500;line-height:1.03;margin:0 0 18px}.detail-title-row p{font-size:20px;color:var(--muted);max-width:770px}.detail-meta{border-left:1px solid var(--line);padding-left:28px;display:grid;align-content:start;gap:5px}.detail-meta span{font-size:11px;text-transform:uppercase;color:#888;letter-spacing:.1em;margin-top:8px}.detail-meta strong{font-weight:600}.detail-cover{height:560px;background:#eceae6;display:grid;place-items:center;color:#888;text-transform:uppercase;letter-spacing:.12em;font-size:12px;overflow:hidden}.detail-cover img{width:100%;height:100%;object-fit:cover}.detail-layout{display:grid;grid-template-columns:1fr 340px;gap:110px}.project-description h2{font-family:Georgia,serif;font-size:42px;font-weight:500;margin:0 0 30px}.rich-text{font-size:18px;color:#37383a}.detail-aside{align-self:start;background:var(--soft);padding:32px;position:sticky;top:24px}.detail-aside h3{font-family:Georgia,serif;font-size:27px;font-weight:500;margin:0 0 12px}.detail-aside p{color:var(--muted)}.gallery-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.gallery-grid figure{margin:0}.gallery-grid img{width:100%;aspect-ratio:16/10;object-fit:cover}.gallery-grid figcaption{font-size:13px;color:var(--muted);padding-top:8px}.contacts-layout,.cabinet-layout,.auth-shell{display:grid;grid-template-columns:.8fr 1.2fr;gap:100px;align-items:start}.contact-list{margin:45px 0 0}.contact-list div{padding:16px 0;border-top:1px solid var(--line)}.contact-list dt{font-size:11px;color:#888;text-transform:uppercase;letter-spacing:.1em}.contact-list dd{margin:4px 0 0;font-weight:650}.form-surface{border:1px solid var(--line);padding:38px;background:#fff}.form-surface h2{font-family:Georgia,serif;font-size:32px;font-weight:500;margin:0 0 28px}.field-group{margin-bottom:20px}.field-group>label{display:block;font-size:13px;font-weight:750;margin-bottom:7px}.required-mark{color:var(--red)}.field-group input:not([type=radio]),.field-group textarea,.field-group select{width:100%;border:1px solid #c9c9cc;background:#fff;padding:13px 14px;outline:none;border-radius:0}.field-group textarea{resize:vertical}.field-group input:focus,.field-group textarea:focus,.field-group select:focus{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}.field-help{font-size:12px;color:#888;margin-top:5px}.field-error,.form-errors{color:#8f0e18;font-size:13px}.form-errors{border-left:3px solid var(--red);background:#f9eeee;padding:10px 14px;margin-bottom:20px}.form-errors p{margin:0}.role-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.role-option{border:1px solid var(--line);padding:13px;display:flex;align-items:center;gap:8px;cursor:pointer}.form-after{text-align:center;color:var(--muted);font-size:14px;margin:22px 0 0}.form-after a{color:var(--red);font-weight:700}.auth-section{padding:90px 0 120px}.auth-intro{padding-top:30px}.auth-intro h1{font-family:Georgia,serif;font-size:58px;font-weight:500;margin:0 0 16px}.auth-intro p{color:var(--muted);font-size:18px;max-width:420px}.profile-summary{border-top:3px solid var(--red);padding-top:28px}.profile-monogram{width:72px;height:72px;background:var(--ink);color:#fff;display:grid;place-items:center;font-family:Georgia,serif;font-size:30px}.profile-summary h2{font-family:Georgia,serif;font-weight:500;font-size:30px;margin:18px 0 4px}.muted,.microcopy{color:var(--muted)}.microcopy{font-size:12px}.site-footer{background:#101113;color:#fff;padding:70px 0 22px}.footer-grid{display:grid;grid-template-columns:1.3fr .7fr .7fr;gap:90px}.wordmark--footer{display:inline-block;margin-bottom:14px}.footer-grid>div:first-child p{color:#999;max-width:330px}.footer-grid h2{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#888;margin:0 0 17px}.footer-grid>div:not(:first-child){display:flex;flex-direction:column;align-items:flex-start;gap:8px;font-size:14px}.footer-grid p{margin:0}.footer-bottom{border-top:1px solid #2c2d30;margin-top:55px;padding-top:20px;display:flex;justify-content:space-between;color:#777;font-size:12px}.nav-toggle span{display:block;width:24px;height:2px;background:#111;margin:5px 0}
@media(max-width:980px){.shell,.shell-wide,.intro .shell{width:min(calc(100% - 32px),var(--max))}.nav-note{display:none}.intro-grid,.page-hero-grid,.guarantees-grid,.faq-layout,.contacts-layout,.cabinet-layout,.auth-shell,.detail-layout{grid-template-columns:1fr;gap:45px}.section-heading--sticky,.detail-aside{position:static}.opportunity-grid{grid-template-columns:1fr 1fr}.opportunity-card,.opportunity-card:nth-child(4),.opportunity-card:nth-child(5){grid-column:span 1}.project-grid{grid-template-columns:1fr 1fr}.event-grid{grid-template-columns:1fr 1fr}.detail-title-row{grid-template-columns:1fr;gap:30px}.detail-meta{border-left:0;border-top:1px solid var(--line);padding:18px 0 0}.detail-cover{height:430px}.footer-grid{grid-template-columns:1fr 1fr;gap:45px}.footer-grid>div:first-child{grid-column:1/-1}}
@media(max-width:700px){.header-top{height:72px}.wordmark{font-size:25px}.account-actions{gap:12px}.header-register{padding:7px 10px}.nav-row{height:auto;min-height:52px}.nav-toggle{display:block;padding:10px 0}.main-nav{display:none;position:absolute;left:0;right:0;top:124px;background:#fff;border-bottom:1px solid var(--line);padding:22px 16px;z-index:20;flex-direction:column;gap:18px}.main-nav.is-open{display:flex}.home-banner,.projects-banner{padding-top:16px}.banner-placeholder{height:350px;padding:28px}.banner-placeholder p{font-size:30px}.banner-kicker{left:20px;top:18px}.banner-placeholder--small{height:210px}.section{padding:70px 0}.intro-grid{gap:32px}.intro h1,.page-hero h1{font-size:42px}.intro-copy{padding-top:0}.section-heading h2{font-size:36px}.opportunity-grid,.process-grid,.partner-grid,.about-stats,.event-grid,.project-grid,.role-options,.gallery-grid{grid-template-columns:1fr}.opportunity-card{min-height:auto}.guarantee-list article{grid-template-columns:48px 1fr}.process-grid{gap:38px}.partner-grid{border-left:0}.partner-grid div{border-left:1px solid var(--line)}.page-hero{padding:70px 0 50px}.page-hero--compact h1{font-size:42px}.projects-heading{align-items:flex-start;flex-direction:column}.projects-heading h1{font-size:48px}.detail-title-row h1{font-size:45px}.detail-cover{height:300px}.project-detail-head{padding-top:48px}.back-link{margin-bottom:34px}.empty-state{padding:50px 22px}.form-surface{padding:25px}.auth-section{padding:55px 0 80px}.auth-intro{padding-top:0}.auth-intro h1{font-size:45px}.footer-grid{grid-template-columns:1fr}.footer-grid>div:first-child{grid-column:auto}.footer-bottom{gap:10px;flex-direction:column}.site-footer{padding-top:50px}}

/* Content sections added from the approved page copy */
.about-content{display:grid;grid-template-columns:.9fr 1.1fr;gap:100px;align-items:start}.about-copy{font-size:18px;color:var(--muted)}.about-copy p{margin:0 0 24px}.projects-cta{margin-top:72px;padding:48px;border-top:3px solid var(--red);background:var(--soft)}.projects-cta h2{font-family:Georgia,serif;font-size:36px;font-weight:500;line-height:1.15;margin:0 0 16px}.projects-cta p{max-width:820px;color:var(--muted);font-size:18px;margin:0 0 26px}
@media(max-width:980px){.about-content{grid-template-columns:1fr;gap:35px}}
@media(max-width:700px){.projects-cta{margin-top:50px;padding:30px 22px}.projects-cta h2{font-size:30px}}

/* Shared STECK theme adapter: page structure stays unchanged between variants. */
:root {
  --red: var(--theme-accent);
  --red-dark: var(--theme-accent-strong);
  --ink: var(--theme-ink);
  --muted: var(--theme-muted);
  --line: var(--theme-line);
  --soft: var(--theme-soft);
  color-scheme: var(--theme-color-scheme);
}

html {
  scrollbar-color: var(--theme-scroll-thumb) var(--theme-scroll-track);
  scrollbar-width: thin;
}

html::-webkit-scrollbar { width: 12px; height: 12px; }
html::-webkit-scrollbar-track { background: var(--theme-scroll-track); }
html::-webkit-scrollbar-thumb { background: var(--theme-scroll-thumb); border: 3px solid var(--theme-scroll-track); }
html::-webkit-scrollbar-thumb:hover { background: var(--theme-scroll-thumb-hover); }

body { background: var(--theme-canvas); color: var(--theme-ink); }
main { background: var(--theme-canvas); }

.site-header {
  background: var(--theme-header);
  color: var(--theme-header-ink);
  border-color: var(--theme-header-line);
}
.header-nav-wrap { border-color: var(--theme-header-line); }
.site-header .wordmark span { color: var(--theme-header-accent); }
.site-header .header-register { border-color: currentColor; }
.site-header .text-button { color: inherit; }
.site-header .main-nav a::after { background: var(--theme-header-accent); }
.site-header .nav-note { color: var(--theme-header-muted); }
.site-header .nav-toggle { color: inherit; }
.site-header .nav-toggle span { background: currentColor; }

.home-banner,
.projects-banner,
.project-cover { background: var(--theme-canvas); }

.banner-placeholder {
  min-height: 520px;
  height: auto;
  background: var(--theme-hero);
  border: 1px solid var(--theme-hero-line);
  box-shadow: var(--theme-hero-shadow);
}
.banner-placeholder--small { min-height: 290px; }
.banner-placeholder p,
.intro h1,
.page-hero h1,
.section-heading h2,
.project-body h2,
.detail-title-row h1,
.projects-cta h2 { overflow-wrap: anywhere; }
.guarantees-grid > *,
.guarantee-list,
.guarantee-list article > div { min-width: 0; }
.guarantee-list h3 { overflow-wrap: anywhere; }

main > .section,
.page-hero,
.project-detail-head,
.auth-section {
  background: var(--theme-surface);
  color: var(--theme-surface-ink);
}
main > .section--soft {
  background: var(--theme-soft);
  color: var(--theme-soft-ink);
}
main > .section--black {
  background: var(--theme-dark);
  color: var(--theme-dark-ink);
}
.page-hero { border-color: var(--theme-surface-line); }

main > .section .eyebrow,
.page-hero .eyebrow,
.project-detail-head .eyebrow,
.auth-section .eyebrow { color: var(--theme-surface-accent); }
main > .section--soft .eyebrow { color: var(--theme-soft-accent); }
main > .section--black .eyebrow { color: var(--theme-dark-accent); }

.intro-copy p,
.section-lead,
.page-hero p,
.about-copy,
.project-body p,
.project-meta,
.detail-title-row p,
.rich-text,
.contact-list dt,
.auth-intro p,
.muted,
.microcopy,
.form-after { color: var(--theme-surface-muted); }
.section--soft .section-heading p,
.section--soft .empty-state p { color: var(--theme-soft-muted); }
.section--black .section-heading p,
.section--black .process-card p { color: var(--theme-dark-muted); }

.arrow-link span,
.disclosure-button,
.form-after a { color: var(--theme-surface-accent); }
.section--soft .arrow-link span,
.section--soft .disclosure-button { color: var(--theme-soft-accent); }

.opportunity-grid {
  background: var(--theme-soft-line);
  border-color: var(--theme-soft-line);
}
.opportunity-card {
  background: var(--theme-card);
  color: var(--theme-card-ink);
}
.opportunity-card .card-index { color: var(--theme-card-index); }
.opportunity-card .disclosure-copy { color: var(--theme-card-muted); }
.opportunity-card .disclosure-copy::after { background: linear-gradient(transparent, var(--theme-card)); }
.opportunity-card .disclosure-button,
.opportunity-card .arrow-link span { color: var(--theme-card-accent); }
.opportunity-card.is-expanded .disclosure-copy { max-height: 1200px; }

.guarantee-list,
.guarantee-list article { border-color: var(--theme-surface-line); }
.guarantee-list > article > span { color: var(--theme-surface-accent); }
.guarantee-list p { color: var(--theme-surface-muted); }

.process-card { border-color: var(--theme-dark-line); }
.process-card > span { color: var(--theme-dark-accent); }
.process-card .media-placeholder {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--theme-process-frame);
  border: 1px solid var(--theme-dark-line);
}
.process-card .media-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.project-card { border-color: var(--theme-surface-line); }
.project-media,
.detail-cover { background: var(--theme-media); color: var(--theme-surface-muted); }
.detail-meta { border-color: var(--theme-surface-line); }
.detail-meta span { color: var(--theme-surface-muted); }
.detail-aside,
.projects-cta,
.empty-state {
  background: var(--theme-cta);
  color: var(--theme-cta-ink);
  border-color: var(--theme-cta-line);
}
.detail-aside p,
.projects-cta p,
.empty-state p { color: var(--theme-cta-muted); }
.gallery-grid figcaption { color: var(--theme-soft-muted); }

.form-surface {
  background: var(--theme-card);
  color: var(--theme-card-ink);
  border-color: var(--theme-card-line);
}
.field-group input:not([type=radio]),
.field-group textarea,
.field-group select {
  background: var(--theme-field);
  color: var(--theme-field-ink);
  border-color: var(--theme-field-line);
}
.role-option { background: var(--theme-field); color: var(--theme-field-ink); border-color: var(--theme-field-line); }
.role-option:has(input:checked) { border-color: var(--theme-card-accent); box-shadow: inset 4px 0 0 var(--theme-card-accent); }
.field-help { color: var(--theme-card-muted); }
.form-surface .required-mark,
.form-surface .form-after a { color: var(--theme-card-accent); }
.form-surface .form-after { color: var(--theme-card-muted); }
input[type="radio"] { accent-color: var(--theme-card-accent); }

.button--primary {
  background: var(--theme-button);
  border-color: var(--theme-button);
  color: var(--theme-button-ink);
}
.button--primary:hover { background: var(--theme-button-hover); border-color: var(--theme-button-hover); }

.site-footer {
  background: var(--theme-footer);
  color: var(--theme-footer-ink);
}
.site-footer .wordmark span { color: var(--theme-footer-accent); }
.footer-grid > div:first-child p,
.footer-grid h2,
.footer-bottom { color: var(--theme-footer-muted); }
.footer-bottom { border-color: var(--theme-footer-line); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px #111214;
}

@media (max-width: 700px) {
  .main-nav { background: var(--theme-header); color: var(--theme-header-ink); border-color: var(--theme-header-line); }
  .banner-placeholder { min-height: 420px; height: auto; padding: 72px 28px 28px; }
  .banner-placeholder--small { min-height: 210px; padding-top: 58px; }
  .banner-placeholder p { font-size: clamp(26px, 7.4vw, 30px); line-height: 1.18; }
  .intro h1,
  .page-hero h1 { font-size: clamp(34px, 10vw, 42px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (forced-colors: active) {
  html { scrollbar-color: auto; }
}

/* THEME: 01-burgundy-canvas */
:root {
  --theme-color-scheme: dark;
  --theme-canvas: #36040b;
  --theme-ink: #ffffff;
  --theme-muted: #ead5d9;
  --theme-line: #8e3b48;
  --theme-accent: #d72a3a;
  --theme-accent-strong: #b31222;
  --theme-header: #ffffff;
  --theme-header-ink: #111214;
  --theme-header-muted: #5f6267;
  --theme-header-line: #dedfe2;
  --theme-header-accent: #a80f1a;
  --theme-hero: linear-gradient(128deg, #160105 0%, #4d0711 54%, #a80f1a 100%);
  --theme-hero-line: #7f2632;
  --theme-hero-shadow: 0 28px 72px rgba(20, 0, 4, .28);
  --theme-surface: #5a0b16;
  --theme-surface-ink: #ffffff;
  --theme-surface-muted: #f0d9dd;
  --theme-surface-line: #a4515e;
  --theme-surface-accent: #ffc2c8;
  --theme-soft: #f7eff1;
  --theme-soft-ink: #111214;
  --theme-soft-muted: #5d5053;
  --theme-soft-line: #d9c5c9;
  --theme-soft-accent: #a80f1a;
  --theme-dark: #111214;
  --theme-dark-ink: #ffffff;
  --theme-dark-muted: #c8c9cc;
  --theme-dark-line: #5f6064;
  --theme-dark-accent: #ff939d;
  --theme-card: #ffffff;
  --theme-card-ink: #111214;
  --theme-card-muted: #55585d;
  --theme-card-index: #66575a;
  --theme-card-line: #d7c5c9;
  --theme-card-accent: #a80f1a;
  --theme-field: #ffffff;
  --theme-field-ink: #111214;
  --theme-field-line: #8b7c7f;
  --theme-media: #eadde0;
  --theme-process-frame: #260309;
  --theme-cta: #f7eff1;
  --theme-cta-ink: #111214;
  --theme-cta-muted: #5d5053;
  --theme-cta-line: #a80f1a;
  --theme-button: #a80f1a;
  --theme-button-hover: #7f0912;
  --theme-button-ink: #ffffff;
  --theme-footer: #101113;
  --theme-footer-ink: #ffffff;
  --theme-footer-muted: #b6b7ba;
  --theme-footer-line: #4d4e52;
  --theme-footer-accent: #ff7582;
  --theme-scroll-track: #36040b;
  --theme-scroll-thumb: #d7a4ad;
  --theme-scroll-thumb-hover: #ffffff;
}

/* Keep the homepage hero visually separate from the platform introduction. */
.home-banner,
.projects-banner {
  margin-bottom: clamp(32px, 4vw, 64px);
}

/* Homepage layout updates: keep the platform and statement aligned with the site shell. */
.intro .shell,
.home-statement .shell {
  width: min(calc(100% - 48px), var(--max));
  max-width: var(--max);
  margin-inline: auto;
}

.home-banner .banner-placeholder {
  min-height: 520px;
  height: 520px;
  padding: 0;
  align-items: stretch;
}

.home-statement {
  background: var(--theme-surface);
  color: var(--theme-surface-ink);
}

.home-statement p {
  max-width: 980px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4.6vw, 58px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

@media (max-width: 980px) {
  .intro .shell,
  .home-statement .shell {
    width: min(calc(100% - 32px), var(--max));
  }

  .home-statement p {
    font-size: clamp(32px, 7vw, 48px);
  }
}

@media (max-width: 700px) {
  .intro .shell,
  .home-statement .shell {
    width: calc(100% - 32px);
  }

  .home-banner .banner-placeholder {
    min-height: 350px;
    height: 350px;
    padding: 0;
  }

  .home-statement p {
    font-size: clamp(30px, 10vw, 42px);
  }
}

/* Keep the statement and platform as two visually distinct sections. */
main > .home-statement.section {
  background: var(--theme-surface);
  color: var(--theme-surface-ink);
}

main > .intro.section {
  background: var(--theme-media);
  color: var(--theme-soft-ink);
}

main > .intro.section .eyebrow {
  color: var(--theme-soft-accent);
}

main > .intro.section .arrow-link span {
  color: var(--theme-soft-accent);
}

/* The opportunities section gets its own background so all three opening blocks read separately. */
main > .homepage-opportunities.section {
  background: var(--theme-soft);
  color: var(--theme-soft-ink);
}

main > .homepage-opportunities.section .eyebrow {
  color: var(--theme-soft-accent);
}

main > .homepage-opportunities.section .section-heading h2 {
  color: var(--theme-soft-ink);
}

/* Homepage background progression: each section is distinct while the palette deepens toward the footer. */
main > .home-statement.section {
  background: #f8eef0;
  color: #261b1c;
}

main > .intro.section {
  background: #eadde0;
  color: #261b1c;
}

main > .homepage-opportunities.section {
  background: #d9b0b8;
  color: #261b1c;
}

main > .homepage-process.section {
  background: #6d1220;
  color: #ffffff;
}

main > .homepage-process.section .eyebrow {
  color: #ffc2c8;
}

main > .homepage-process.section .process-card {
  border-color: #a4515e;
}

main > .homepage-process.section .process-card > span,
main > .homepage-process.section .process-card p {
  color: #f0d9dd;
}

main > .homepage-process.section .media-placeholder--dark {
  background: repeating-linear-gradient(135deg, #4f0b16, #4f0b16 10px, #641220 10px, #641220 20px);
  color: #e8c4ca;
}

main > .homepage-guarantees.section {
  background: #430711;
  color: #ffffff;
}

main > .homepage-guarantees.section .eyebrow,
main > .homepage-guarantees.section .guarantee-list > article > span {
  color: #ffc2c8;
}

main > .homepage-guarantees.section .guarantee-list,
main > .homepage-guarantees.section .guarantee-list article {
  border-color: #7e3040;
}

main > .homepage-guarantees.section .guarantee-list p {
  color: #f0d9dd;
}

/* Shift the homepage palette one level upward, starting with the banner. */
.home-banner .banner-placeholder {
  background: #36040b;
  border-color: #7f2632;
  box-shadow: 0 28px 72px rgba(20, 0, 4, .28);
  color: #ffffff;
}

.home-banner .banner-placeholder::before {
  border-color: rgba(255, 255, 255, .14);
}

.home-banner .banner-placeholder::after {
  background: rgba(255, 255, 255, .12);
}

.home-banner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  margin-bottom: 0;
  padding-bottom: 28px;
  background: #f7e7e7;
}

.home-banner .banner-placeholder {
  width: min(calc(100% - 48px), var(--wide));
  margin-inline: auto;
}

@media (max-width: 980px) {
  .home-banner .banner-placeholder {
    width: min(calc(100% - 32px), var(--max));
  }
}

@media (max-width: 700px) {
  .home-banner .banner-placeholder {
    width: calc(100% - 32px);
  }
}

main > .home-statement.section {
  background: #eadde0;
  color: #261b1c;
}

main > .intro.section {
  background: #d9b0b8;
  color: #261b1c;
}

main > .homepage-opportunities.section {
  background: #6d1220;
  color: #ffffff;
}

main > .homepage-opportunities.section .eyebrow,
main > .homepage-opportunities.section .section-heading h2 {
  color: #ffc2c8;
}

main > .homepage-process.section {
  background: #430711;
}

main > .homepage-guarantees.section {
  background: #2b040b;
}

/* Project detail — public project dossier */
.project-detail-page {
  --detail-paper: #fffdfd;
  --detail-blush: #f8eef0;
  --detail-dust: #eadde0;
  --detail-line: #d8bcc2;
  --detail-muted: #69575b;
  --detail-burgundy: #6d1220;
  --detail-burgundy-deep: #36040b;
  --detail-burgundy-dark: #260309;
  color: #261b1c;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbf6f7 16%,
      var(--detail-blush) 34%,
      var(--detail-dust) 67%,
      #f6ecee 86%,
      #ffffff 100%
    );
}

.project-detail-page h1,
.project-detail-page h2,
.project-detail-page h3,
.project-detail-page p,
.project-detail-page dl,
.project-detail-page dd,
.project-detail-page figure {
  margin-top: 0;
}

.project-detail-page h1,
.project-detail-page h2,
.project-detail-page h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.project-detail-hero {
  padding: 52px 0 64px;
}

.project-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-bottom: 54px;
  color: var(--detail-muted);
  font-size: 14px;
  font-weight: 700;
  transition: color .2s ease;
}

.project-detail-back:hover {
  color: var(--detail-burgundy);
}

.project-detail-back:focus-visible,
.project-detail-page .button:focus-visible {
  outline: 3px solid #d72a3a;
  outline-offset: 4px;
}

.project-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(56px, 8vw, 126px);
  align-items: end;
}

.project-detail-kicker,
.project-detail-section-index,
.project-detail-aside-label,
.project-detail-action > span,
.project-detail-narrative section > span {
  display: block;
  color: var(--detail-burgundy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.project-detail-intro h1 {
  max-width: 900px;
  margin: 18px 0 26px;
  font-size: clamp(52px, 7.1vw, 104px);
  letter-spacing: -.045em;
  line-height: .94;
  overflow-wrap: anywhere;
}

.project-detail-lead {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--detail-muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
}

.project-detail-snapshot {
  margin-bottom: 0;
  border-top: 1px solid var(--detail-line);
}

.project-detail-snapshot > div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--detail-line);
}

.project-detail-snapshot dt {
  color: var(--detail-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.project-detail-snapshot dd {
  margin-bottom: 0;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.project-detail-cover {
  padding: 0 0 40px;
}

.project-detail-cover > img,
.project-detail-cover-placeholder {
  width: 100%;
  min-height: 420px;
  max-height: 650px;
  aspect-ratio: 16 / 7;
}

.project-detail-cover > img {
  object-fit: cover;
}

.project-detail-cover-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  overflow: hidden;
  padding: clamp(32px, 5vw, 72px);
  color: #ffffff;
  background: linear-gradient(135deg, var(--detail-burgundy-dark), var(--detail-burgundy-deep) 56%, #741524);
}

.project-detail-cover-placeholder::before,
.project-detail-cover-placeholder::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.project-detail-cover-placeholder::before {
  width: min(42vw, 620px);
  aspect-ratio: 1;
  top: -48%;
  right: -7%;
  border: 1px solid rgba(255, 255, 255, .2);
  transform: rotate(18deg);
}

.project-detail-cover-placeholder::after {
  width: 1px;
  height: 180%;
  top: -40%;
  right: 31%;
  background: rgba(255, 255, 255, .16);
  transform: rotate(18deg);
}

.project-detail-cover-placeholder span,
.project-detail-cover-placeholder strong {
  position: relative;
  z-index: 1;
}

.project-detail-cover-placeholder span {
  color: #e8cbd0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.project-detail-cover-placeholder strong {
  max-width: 620px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 500;
  line-height: 1;
}

.project-detail-overview,
.project-detail-passport,
.project-detail-product,
.project-detail-gallery,
.project-detail-actions {
  padding: 104px 0;
}

.project-detail-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: clamp(60px, 9vw, 130px);
  align-items: start;
}

.project-detail-copy h2,
.project-detail-section-heading h2 {
  margin: 16px 0 30px;
  font-size: clamp(42px, 5vw, 68px);
  letter-spacing: -.035em;
  line-height: 1.02;
}

.project-detail-primary-copy {
  max-width: 800px;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.42;
}

.project-detail-primary-copy p,
.project-detail-secondary-copy p,
.project-detail-narrative p {
  margin: 0 0 20px;
}

.project-detail-primary-copy p:last-child,
.project-detail-secondary-copy p:last-child,
.project-detail-narrative p:last-child {
  margin-bottom: 0;
}

.project-detail-secondary-copy {
  max-width: 760px;
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid var(--detail-line);
  color: var(--detail-muted);
  font-size: 18px;
}

.project-detail-meeting {
  position: sticky;
  top: 24px;
  padding: 36px;
  color: #ffffff;
  background: var(--detail-burgundy-deep);
}

.project-detail-meeting .project-detail-aside-label {
  color: #ffc2c8;
}

.project-detail-meeting h2 {
  margin: 18px 0 16px;
  font-size: 34px;
  line-height: 1.08;
}

.project-detail-meeting p {
  margin-bottom: 28px;
  color: #ead5d9;
}

.project-detail-meeting .button--primary {
  border-color: #ffffff;
  color: var(--detail-burgundy-deep);
  background: #ffffff;
}

.project-detail-meeting .button--primary:hover {
  border-color: #f4dfe3;
  background: #f4dfe3;
}

.project-detail-passport {
  border-top: 1px solid rgba(109, 18, 32, .22);
  border-bottom: 1px solid rgba(109, 18, 32, .22);
  background: rgba(255, 255, 255, .34);
}

.project-detail-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  column-gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}

.project-detail-section-heading .project-detail-section-index,
.project-detail-section-heading h2 {
  grid-column: 1;
}

.project-detail-section-heading h2 {
  margin-bottom: 0;
}

.project-detail-section-heading > p {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin-bottom: 6px;
  color: var(--detail-muted);
  font-size: 18px;
}

.project-detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
  border-top: 1px solid var(--detail-line);
  border-left: 1px solid var(--detail-line);
  background: var(--detail-paper);
}

.project-detail-fact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  min-height: 96px;
  padding: 26px 28px;
  border-right: 1px solid var(--detail-line);
  border-bottom: 1px solid var(--detail-line);
  align-items: center;
}

.project-detail-fact--wide {
  grid-column: 1 / -1;
}

.project-detail-fact dt {
  font-weight: 750;
  line-height: 1.35;
}

.project-detail-fact dd {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--detail-muted);
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-align: right;
}

.project-detail-status {
  display: inline-flex;
  min-width: 62px;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid currentColor;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.project-detail-status--yes {
  border-color: var(--detail-burgundy);
  color: #ffffff;
  background: var(--detail-burgundy);
}

.project-detail-status--no {
  color: #75666a;
  background: #f7f2f3;
}

.project-detail-passport-empty {
  padding: 46px;
  border: 1px solid var(--detail-line);
  background: var(--detail-paper);
}

.project-detail-passport-empty strong {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
}

.project-detail-passport-empty p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--detail-muted);
}

.project-detail-narrative {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--detail-line);
  background: var(--detail-line);
}

.project-detail-narrative section {
  min-height: 300px;
  padding: clamp(30px, 4vw, 52px);
  background: rgba(255, 253, 253, .96);
}

.project-detail-narrative section > span {
  margin-bottom: 42px;
}

.project-detail-narrative h3 {
  margin: 0 0 22px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

.project-detail-narrative section > div {
  color: var(--detail-muted);
  font-size: 17px;
}

.project-detail-narrative-full {
  grid-column: 1 / -1;
}

.project-detail-gallery {
  border-top: 1px solid var(--detail-line);
}

.project-detail-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 24px;
}

.project-detail-gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--detail-dust);
}

.project-detail-gallery-grid figcaption {
  padding-top: 12px;
  color: var(--detail-muted);
  font-size: 13px;
}

.project-detail-actions {
  padding-top: 32px;
  background: #ffffff;
}

.project-detail-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.project-detail-action {
  display: flex;
  flex-direction: column;
  min-height: 470px;
  padding: clamp(38px, 5vw, 70px);
}

.project-detail-action h2 {
  max-width: 620px;
  margin: 24px 0 18px;
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -.03em;
  line-height: 1.02;
}

.project-detail-action p {
  max-width: 570px;
  margin-bottom: 34px;
  font-size: 18px;
}

.project-detail-action .button {
  width: fit-content;
  margin-top: auto;
  padding-inline: 28px;
}

.project-detail-action--meeting {
  color: #ffffff;
  background: var(--detail-burgundy-deep);
}

.project-detail-action--meeting > span {
  color: #ffc2c8;
}

.project-detail-action--meeting p {
  color: #ead5d9;
}

.project-detail-action--search {
  border: 1px solid var(--detail-line);
  color: #261b1c;
  background: var(--detail-blush);
}

.project-detail-action-button {
  border-color: var(--detail-burgundy-deep);
  color: #ffffff;
  background: var(--detail-burgundy-deep);
}

.project-detail-action-button:hover {
  border-color: var(--detail-burgundy);
  background: var(--detail-burgundy);
}

.project-detail-action-button--light {
  border-color: #ffffff;
  color: var(--detail-burgundy-deep);
  background: #ffffff;
}

.project-detail-action-button--light:hover {
  border-color: #f4dfe3;
  background: #f4dfe3;
}

@media (max-width: 980px) {
  .project-detail-hero-grid,
  .project-detail-overview-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .project-detail-snapshot {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-detail-snapshot > div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-right: 24px;
  }

  .project-detail-meeting {
    position: static;
  }

  .project-detail-section-heading {
    grid-template-columns: 1fr;
  }

  .project-detail-section-heading > p {
    grid-column: 1;
    grid-row: auto;
    margin: 22px 0 0;
  }

  .project-detail-action {
    min-height: 420px;
  }
}

@media (max-width: 700px) {
  .project-detail-hero {
    padding: 34px 0 44px;
  }

  .project-detail-back {
    margin-bottom: 34px;
  }

  .project-detail-intro h1 {
    font-size: clamp(45px, 16vw, 68px);
  }

  .project-detail-lead {
    font-size: 18px;
  }

  .project-detail-snapshot {
    display: block;
  }

  .project-detail-snapshot > div {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 16px;
    padding-right: 0;
  }

  .project-detail-cover {
    padding-bottom: 12px;
  }

  .project-detail-cover > img,
  .project-detail-cover-placeholder {
    min-height: 270px;
    aspect-ratio: 4 / 3;
  }

  .project-detail-overview,
  .project-detail-passport,
  .project-detail-product,
  .project-detail-gallery,
  .project-detail-actions {
    padding: 72px 0;
  }

  .project-detail-meeting {
    padding: 30px 24px;
  }

  .project-detail-meeting h2 {
    font-size: 30px;
  }

  .project-detail-facts,
  .project-detail-narrative,
  .project-detail-gallery-grid,
  .project-detail-actions-grid {
    grid-template-columns: 1fr;
  }

  .project-detail-fact,
  .project-detail-fact--wide,
  .project-detail-narrative-full {
    grid-column: 1;
  }

  .project-detail-fact {
    min-height: 88px;
    padding: 22px 20px;
  }

  .project-detail-fact dd {
    max-width: 44vw;
  }

  .project-detail-narrative section {
    min-height: 0;
  }

  .project-detail-narrative section > span {
    margin-bottom: 28px;
  }

  .project-detail-actions {
    padding-top: 16px;
  }

  .project-detail-action {
    min-height: 410px;
  }
}

@media (forced-colors: active) {
  .project-detail-status,
  .project-detail-meeting,
  .project-detail-action,
  .project-detail-passport-empty {
    border: 1px solid CanvasText;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-detail-page *,
  .project-detail-page *::before,
  .project-detail-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Registration landing: readable soft-section copy and quieter primary action */
main > .guarantees-section.section--soft .guarantee-list,
main > .guarantees-section.section--soft .guarantee-list article {
  border-color: var(--theme-soft-line);
}

main > .guarantees-section.section--soft .guarantee-list > article > span {
  color: var(--theme-soft-accent);
}

main > .guarantees-section.section--soft .guarantee-list h3 {
  color: var(--theme-soft-ink);
}

main > .guarantees-section.section--soft .guarantee-list p {
  color: var(--theme-soft-muted);
}

.page-hero--compact + .guarantees-section.section--soft + .section .button-row .button--primary,
.questionnaire-actions .button--primary {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .46);
  color: var(--theme-surface-ink);
  box-shadow: none;
}

.page-hero--compact + .guarantees-section.section--soft + .section .button-row .button--primary:hover,
.questionnaire-actions .button--primary:hover {
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .7);
}

.page-hero--compact + .guarantees-section.section--soft + .section .button-row .button--primary:focus-visible,
.questionnaire-actions .button--primary:focus-visible {
  outline: 3px solid var(--theme-surface-accent);
  outline-offset: 4px;
}

@media (forced-colors: active) {
  .page-hero--compact + .guarantees-section.section--soft + .section .button-row .button--primary,
  .questionnaire-actions .button--primary {
    border-color: ButtonText;
  }
}

/* Project questionnaire: editorial application layout */
.questionnaire-section {
  padding: 64px 0 104px;
}

.questionnaire-shell {
  width: min(calc(100% - 48px), 980px);
}

.project-questionnaire {
  width: 100%;
}

.step-indicator {
  margin-bottom: 30px;
  color: var(--theme-surface-ink);
}

.step-indicator__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
}

.step-indicator__meta span {
  color: var(--theme-surface-muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.step-indicator__meta strong {
  color: var(--theme-surface-ink);
  font-size: 14px;
  font-weight: 700;
}

.step-indicator__track {
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, .18);
}

.step-indicator__track span {
  display: block;
  height: 100%;
  background: var(--theme-surface-accent);
}

.questionnaire-card {
  padding: 0;
  overflow: hidden;
  border-color: var(--theme-card-line);
  background: var(--theme-card);
  color: var(--theme-card-ink);
  box-shadow: 0 28px 72px rgba(20, 0, 4, .2);
}

.questionnaire-card__header {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 38px 42px 34px;
  border-bottom: 1px solid var(--theme-card-line);
}

.questionnaire-card__index {
  color: var(--theme-card-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
}

.questionnaire-card__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--theme-card-index);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.questionnaire-card .questionnaire-card__header h2 {
  margin: 0;
  color: var(--theme-card-ink);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.08;
}

.questionnaire-fields {
  padding: 10px 42px 30px;
}

.project-questionnaire .field-group {
  margin: 0;
  padding: 22px 0;
  border-top: 1px solid var(--theme-card-line);
}

.project-questionnaire .questionnaire-fields > .field-group:first-child {
  border-top: 0;
}

.project-questionnaire .field-group > label {
  margin-bottom: 9px;
  color: var(--theme-card-ink);
  font-size: 14px;
  line-height: 1.35;
}

.project-questionnaire .required-mark {
  margin-left: 3px;
  color: var(--theme-card-accent);
}

.project-questionnaire .field-group input:not([type=radio]),
.project-questionnaire .field-group textarea,
.project-questionnaire .field-group select {
  min-height: 52px;
  padding: 14px 15px;
  border-color: var(--theme-field-line);
  background: var(--theme-field);
  color: var(--theme-field-ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.project-questionnaire .field-group textarea {
  min-height: 150px;
  resize: none;
}

.project-questionnaire .field-group input:focus,
.project-questionnaire .field-group textarea:focus,
.project-questionnaire .field-group select:focus {
  border-color: var(--theme-card-accent);
  box-shadow: 0 0 0 3px rgba(168, 15, 26, .14);
}

.project-questionnaire .field-help {
  margin-top: 8px;
  color: var(--theme-card-muted);
  font-size: 12px;
}

.project-questionnaire .field-error {
  margin-top: 8px;
  color: #8f0e18;
  font-weight: 650;
}

.project-questionnaire .role-options {
  gap: 12px;
}

.project-questionnaire .role-option {
  min-height: 52px;
  padding: 14px 16px;
  border-color: var(--theme-field-line);
  background: var(--theme-field);
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.project-questionnaire .role-option:hover {
  border-color: var(--theme-card-accent);
  background: var(--theme-soft);
}

.project-questionnaire .role-option:has(input:focus-visible) {
  outline: 3px solid rgba(168, 15, 26, .24);
  outline-offset: 2px;
}

.project-questionnaire .role-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--theme-card-accent);
}

.project-questionnaire .role-option:has(input:checked) {
  border-color: var(--theme-card-accent);
  background: var(--theme-soft);
  box-shadow: inset 4px 0 0 var(--theme-card-accent);
}

.project-questionnaire .field-group[hidden] {
  display: none;
}

.project-questionnaire .field-group--actual_address[data-conditional-visible="true"],
.project-questionnaire .field-group--other_org_names[data-conditional-visible="true"],
.project-questionnaire .field-group--accelerator_names[data-conditional-visible="true"],
.project-questionnaire .field-group--state_company_names[data-conditional-visible="true"],
.project-questionnaire .field-group--geography[data-conditional-visible="true"] {
  margin: 4px 0 18px;
  padding: 22px;
  border: 1px solid var(--theme-soft-line);
  border-left: 4px solid var(--theme-card-accent);
  background: var(--theme-soft);
}

.project-questionnaire input[type=number] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.project-questionnaire input[type=number]::-webkit-inner-spin-button,
.project-questionnaire input[type=number]::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.questionnaire-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.questionnaire-actions__back {
  grid-column: 1;
  justify-self: start;
  gap: 10px;
  border-color: rgba(255, 255, 255, .35);
  background: transparent;
  color: var(--theme-surface-ink);
}

.questionnaire-actions__back:hover {
  border-color: rgba(255, 255, 255, .65);
  background: rgba(255, 255, 255, .08);
}

.questionnaire-actions__back:focus-visible {
  outline: 3px solid var(--theme-surface-accent);
  outline-offset: 4px;
}

.questionnaire-actions__next {
  grid-column: 2;
  min-width: 260px;
  gap: 18px;
  padding-inline: 30px;
}

.questionnaire-actions__next .button-arrow {
  font-size: 20px;
  line-height: 1;
}

.questionnaire-actions .button--primary:active {
  background: rgba(255, 255, 255, .2);
}

@media (max-width: 700px) {
  .questionnaire-section {
    padding: 44px 0 72px;
  }

  .questionnaire-shell {
    width: min(calc(100% - 32px), 980px);
  }

  .step-indicator__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .questionnaire-card__header {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 28px 22px 25px;
  }

  .questionnaire-card__index {
    font-size: 27px;
  }

  .questionnaire-fields {
    padding: 8px 22px 20px;
  }

  .project-questionnaire .field-group {
    padding: 20px 0;
  }

  .project-questionnaire .role-options {
    grid-template-columns: 1fr;
  }

  .project-questionnaire .field-group--actual_address[data-conditional-visible="true"],
  .project-questionnaire .field-group--other_org_names[data-conditional-visible="true"],
  .project-questionnaire .field-group--accelerator_names[data-conditional-visible="true"],
  .project-questionnaire .field-group--state_company_names[data-conditional-visible="true"],
  .project-questionnaire .field-group--geography[data-conditional-visible="true"] {
    padding: 18px;
  }

  .questionnaire-actions {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
    padding-top: 24px;
  }

  .questionnaire-actions__back,
  .questionnaire-actions__next {
    grid-column: 1;
    width: min(100%, 340px);
    justify-self: center;
  }

  .questionnaire-actions__next {
    min-width: 0;
  }
}

@media (forced-colors: active) {
  .questionnaire-card,
  .project-questionnaire .role-option,
  .project-questionnaire .field-group--actual_address[data-conditional-visible="true"],
  .project-questionnaire .field-group--other_org_names[data-conditional-visible="true"],
  .project-questionnaire .field-group--accelerator_names[data-conditional-visible="true"],
  .project-questionnaire .field-group--state_company_names[data-conditional-visible="true"],
  .project-questionnaire .field-group--geography[data-conditional-visible="true"] {
    border: 1px solid CanvasText;
  }
}

/* Registration forms: force light input surfaces, including browser autofill */
.project-questionnaire input,
.project-questionnaire textarea,
.project-questionnaire select {
  color-scheme: light;
}

.project-questionnaire .field-group input:not([type=radio]):not([type=file]),
.project-questionnaire .field-group textarea,
.project-questionnaire .field-group select {
  background-color: #fff;
  background-image: none;
}

.project-questionnaire input:-webkit-autofill,
.project-questionnaire input:-webkit-autofill:hover {
  -webkit-text-fill-color: var(--theme-field-ink);
  caret-color: var(--theme-field-ink);
  box-shadow: inset 0 0 0 1000px #fff;
}

.project-questionnaire input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--theme-field-ink);
  caret-color: var(--theme-field-ink);
  box-shadow:
    inset 0 0 0 1000px #fff,
    0 0 0 3px rgba(168, 15, 26, .14);
}

/* Project files: same layout and actions as the questionnaire */
.questionnaire-card__lead {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--theme-card-muted);
  font-size: 14px;
}

.project-files-form .file-field input[type=file] {
  min-height: 58px;
  padding: 0;
  border: 1px solid var(--theme-field-line);
  background: #fff;
  color: var(--theme-field-ink);
  cursor: pointer;
}

.project-files-form .file-field input[type=file]::file-selector-button,
.project-files-form .file-field input[type=file]::-webkit-file-upload-button {
  min-height: 56px;
  margin: 0 16px 0 0;
  padding: 0 18px;
  border: 0;
  border-right: 1px solid var(--theme-soft-line);
  background: var(--theme-soft);
  color: var(--theme-card-ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.project-files-form .file-field input[type=file]:hover {
  border-color: var(--theme-card-accent);
}

.project-files-form .file-field input[type=file]:hover::file-selector-button,
.project-files-form .file-field input[type=file]:hover::-webkit-file-upload-button {
  background: #efe1e4;
}

.project-files-form .file-field input[type=file]:focus-visible {
  outline: 3px solid rgba(168, 15, 26, .24);
  outline-offset: 3px;
}

.project-files-form .file-field__help ul {
  margin: 8px 0;
  padding-left: 20px;
}

.project-files-form .file-field__help p {
  margin: 8px 0 0;
}

.file-selection-summary {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.file-selection-summary > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  padding: 11px 13px;
  border-left: 3px solid var(--theme-card-accent);
  background: var(--theme-soft);
  color: var(--theme-card-ink);
}

.file-selection-summary span {
  color: var(--theme-card-index);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.file-selection-summary strong {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.file-selection-summary small {
  color: var(--theme-card-muted);
  font-size: 12px;
  white-space: nowrap;
}

.questionnaire-actions .button--primary:disabled {
  cursor: wait;
  opacity: .72;
}

/* Indeterminate progress: Yandex Disk does not expose a meaningful percentage here */
body.is-uploading {
  overflow: hidden;
}

.upload-progress {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(22, 1, 5, .82);
  opacity: 0;
  transition: opacity .18s ease;
}

.upload-progress[hidden] {
  display: none;
}

.upload-progress.is-visible {
  opacity: 1;
}

.upload-progress__surface {
  width: min(100%, 580px);
  padding: 42px;
  border: 1px solid var(--theme-card-line);
  background: var(--theme-card);
  color: var(--theme-card-ink);
  box-shadow: 0 32px 90px rgba(0, 0, 0, .34);
}

.upload-progress__eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--theme-card-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.upload-progress__surface h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 500;
  line-height: 1.08;
}

.upload-progress__surface p {
  margin: 16px 0 28px;
  color: var(--theme-card-muted);
}

.upload-progress__bar {
  height: 6px;
  overflow: hidden;
  background: var(--theme-soft-line);
}

.upload-progress__bar span {
  display: block;
  width: 34%;
  height: 100%;
  background: var(--theme-card-accent);
  animation: upload-progress-sweep 1.25s ease-in-out infinite;
  transform: translateX(-100%);
}

@keyframes upload-progress-sweep {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(300%);
  }
}

@media (max-width: 700px) {
  .questionnaire-card__lead {
    font-size: 13px;
  }

  .file-selection-summary > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .file-selection-summary small {
    white-space: normal;
  }

  .upload-progress {
    padding: 16px;
  }

  .upload-progress__surface {
    padding: 30px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .upload-progress {
    transition: none;
  }

  .upload-progress__bar span {
    width: 100%;
    animation: none;
    opacity: .72;
    transform: none;
  }
}

@media (forced-colors: active) {
  .project-files-form .file-field input[type=file],
  .file-selection-summary > div,
  .upload-progress__surface,
  .upload-progress__bar {
    border: 1px solid CanvasText;
  }

  .upload-progress__bar span {
    background: Highlight;
  }
}

