/* Eindhoven Creator Community — custom layer on the Piku template */
:root {
    --ecc-ink: #101817;
    --ecc-paper: #f3f0e8;
    --ecc-white: #fffdf8;
    --ecc-acid: #d9ff63;
    --ecc-blue: #9fc8ff;
    --ecc-coral: #ff9c7b;
    --ecc-border: rgba(16, 24, 23, .16);
    --ecc-muted: #66706e;
}
html { scroll-behavior: smooth; }
body { background: var(--ecc-paper); color: var(--ecc-ink); }
.ecc-page { overflow: clip; background: var(--ecc-paper); min-height: 100vh; }
.ecc-topline { background: var(--ecc-ink); color: #fff; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 9px 0; }
.ecc-topline a { color: var(--ecc-acid); }
.ecc-header { position: relative; z-index: 999; padding: 18px 0; background: rgba(243,240,232,.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--ecc-border); }
.ecc-header.fixed { position: fixed; top: 0; left: 0; right: 0; box-shadow: 0 12px 30px rgba(16,24,23,.08); }
.ecc-header-inner { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.ecc-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ecc-ink); }
.ecc-logo:hover { color: var(--ecc-ink); }
.ecc-logo-mark { width: 52px; height: 52px; display: grid; place-items: center; border: 2px solid var(--ecc-ink); border-radius: 50%; font-weight: 700; letter-spacing: -.05em; background: var(--ecc-acid); }
.ecc-logo-text { font-weight: 600; line-height: 1.05; font-size: 15px; }
.ecc-nav { gap: 32px; align-items: center; }
.ecc-nav a { color: var(--ecc-ink); font-weight: 500; position: relative; padding: 10px 0; }
.ecc-nav a:after { content:""; position:absolute; left:0; right:100%; bottom:4px; height:2px; background:var(--ecc-ink); transition:.25s ease; }
.ecc-nav a:hover:after, .ecc-nav a.active:after { right:0; }
.ecc-btn { min-height: 54px; display:inline-flex; align-items:center; justify-content:center; gap:10px; padding: 0 24px; border:2px solid var(--ecc-ink); border-radius:999px; background:var(--ecc-ink); color:#fff; font-weight:600; transition:.25s ease; }
.ecc-btn:hover { background:var(--ecc-acid); color:var(--ecc-ink); transform:translateY(-2px); }
.ecc-btn-small { min-height:46px; padding:0 20px; font-size:14px; }
.ecc-btn-light { background:#fff; color:var(--ecc-ink); border-color:#fff; }
.ecc-btn-outline { background:transparent; color:var(--ecc-ink); }
.ecc-menu-btn { width:48px; height:48px; border-radius:50%; border:2px solid var(--ecc-ink); background:transparent; font-size:25px; }
.ecc-offcanvas { background:var(--ecc-paper); }
.ecc-mobile-nav { display:flex; flex-direction:column; gap:4px; }
.ecc-mobile-nav a { font-size:34px; font-weight:600; color:var(--ecc-ink); padding:10px 0; border-bottom:1px solid var(--ecc-border); }
.ecc-kicker { display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; }
.ecc-kicker:before { content:""; width:28px; height:2px; background:currentColor; }
.ecc-kicker.light { color:var(--ecc-acid); }
.ecc-hero { padding: 96px 0 70px; }
.ecc-hero-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr); gap:70px; align-items:center; }
.ecc-hero h1 { font-size:clamp(64px,8.4vw,142px); line-height:.82; letter-spacing:-.075em; margin:24px 0 34px; }
.ecc-hero h1 em { font-family:"Playfair Display",serif; font-weight:400; display:block; margin-left:10%; }
.ecc-hero-copy { max-width:650px; font-size:21px; line-height:1.6; color:#384240; }
.ecc-actions { display:flex; flex-wrap:wrap; gap:14px; margin-top:36px; }
.ecc-trustline { margin-top:30px; display:flex; flex-wrap:wrap; gap:20px; color:var(--ecc-muted); font-size:14px; }
.ecc-trustline span { display:inline-flex; align-items:center; gap:7px; }
.ecc-photo-stack { position:relative; min-height:620px; }
.ecc-photo { position:absolute; overflow:hidden; border:2px solid var(--ecc-ink); border-radius:30px; background:#ddd; box-shadow:14px 14px 0 var(--ecc-ink); }
.ecc-photo img { width:100%; height:100%; object-fit:cover; }
.ecc-photo.one { width:72%; height:430px; right:0; top:0; transform:rotate(2deg); }
.ecc-photo.two { width:58%; height:300px; left:0; bottom:0; transform:rotate(-4deg); z-index:2; }
.ecc-photo-note { position:absolute; right:5%; bottom:7%; z-index:4; width:170px; height:170px; border-radius:50%; display:grid; place-items:center; text-align:center; padding:20px; background:var(--ecc-acid); border:2px solid var(--ecc-ink); font-weight:700; transform:rotate(8deg); }
.ecc-section { padding:110px 0; }
.ecc-section-tight { padding:76px 0; }
.ecc-section-dark { background:var(--ecc-ink); color:#fff; border-radius:42px; margin:0 20px; }
.ecc-section-head { display:flex; justify-content:space-between; align-items:end; gap:30px; margin-bottom:48px; }
.ecc-section-head h2, .ecc-page-hero h1 { font-size:clamp(48px,6.4vw,92px); line-height:.94; letter-spacing:-.055em; margin:14px 0 0; }
.ecc-section-head p { max-width:520px; font-size:18px; line-height:1.6; color:var(--ecc-muted); margin:0; }
.ecc-section-dark .ecc-section-head p { color:#bac3c1; }
.ecc-statement { display:grid; grid-template-columns:.8fr 1.2fr; gap:80px; align-items:start; }
.ecc-statement h2 { font-size:clamp(42px,5vw,76px); line-height:.96; letter-spacing:-.05em; }
.ecc-statement-copy { font-size:22px; line-height:1.65; }
.ecc-principles { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:50px; }
.ecc-principle { border:1px solid var(--ecc-border); border-radius:28px; padding:28px; background:var(--ecc-white); }
.ecc-principle i { font-size:28px; }
.ecc-principle h3 { font-size:22px; margin:24px 0 10px; }
.ecc-card-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.ecc-event-card { border:2px solid var(--ecc-ink); border-radius:30px; overflow:hidden; background:var(--ecc-white); display:flex; flex-direction:column; min-width:0; }
.ecc-event-media { position:relative; display:block; aspect-ratio:1.32/1; overflow:hidden; border-bottom:2px solid var(--ecc-ink); background:#d9ddd8; }
.ecc-event-media img { width:100%; height:100%; object-fit:cover; transition:.45s ease; }
.ecc-event-card:hover .ecc-event-media img { transform:scale(1.04); }
.ecc-event-placeholder { width:100%; height:100%; display:grid; place-items:center; background:linear-gradient(135deg,var(--ecc-blue),var(--ecc-acid)); font-size:38px; font-weight:700; text-align:center; padding:30px; }
.ecc-badge { position:absolute; left:16px; top:16px; padding:8px 12px; border-radius:999px; border:1.5px solid var(--ecc-ink); color:var(--ecc-ink); background:#fff; font-size:12px; text-transform:uppercase; letter-spacing:.07em; font-weight:700; }
.badge-charity { background:var(--ecc-coral); }
.badge-free { background:var(--ecc-acid); }
.badge-external { background:var(--ecc-blue); }
.badge-community { background:#fff; }
.ecc-event-body { padding:26px; display:flex; flex-direction:column; flex:1; }
.ecc-event-date { font-size:13px; text-transform:uppercase; letter-spacing:.08em; font-weight:700; color:var(--ecc-muted); }
.ecc-event-body h3 { font-size:29px; line-height:1.08; margin:16px 0 10px; }
.ecc-event-body h3 a { color:var(--ecc-ink); }
.ecc-event-subtitle { font-weight:600; color:var(--ecc-ink) !important; }
.ecc-event-body p { color:var(--ecc-muted); line-height:1.55; }
.ecc-text-link { margin-top:auto; padding-top:16px; color:var(--ecc-ink); font-weight:700; display:inline-flex; align-items:center; gap:8px; }
.ecc-text-link:hover { color:#416c00; }
.ecc-story-feature { display:grid; grid-template-columns:1.15fr .85fr; min-height:590px; border-radius:34px; overflow:hidden; border:2px solid var(--ecc-ink); background:var(--ecc-white); }
.ecc-story-feature img { width:100%; height:100%; object-fit:cover; }
.ecc-story-copy { padding:clamp(38px,6vw,82px); display:flex; flex-direction:column; justify-content:center; }
.ecc-story-copy h3 { font-size:clamp(42px,5vw,76px); line-height:.95; letter-spacing:-.05em; margin:22px 0; }
.ecc-story-copy p { font-size:18px; line-height:1.7; color:var(--ecc-muted); }
.ecc-work-strip { display:grid; grid-template-columns:1.2fr .8fr 1fr 1.1fr; gap:14px; }
.ecc-work-strip figure { margin:0; border-radius:26px; overflow:hidden; min-height:360px; border:2px solid var(--ecc-ink); }
.ecc-work-strip figure:nth-child(even) { margin-top:54px; }
.ecc-work-strip img { width:100%; height:100%; object-fit:cover; }
.ecc-page-hero { padding:84px 0 64px; }
.ecc-page-hero-grid { display:grid; grid-template-columns:1fr .65fr; gap:60px; align-items:end; }
.ecc-page-hero p { font-size:20px; line-height:1.65; color:var(--ecc-muted); max-width:700px; }
.ecc-page-marker { width:210px; height:210px; border-radius:50%; background:var(--ecc-acid); border:2px solid var(--ecc-ink); display:grid; place-items:center; text-align:center; padding:30px; font-size:20px; font-weight:700; justify-self:end; transform:rotate(6deg); }
.ecc-notice { border:2px solid var(--ecc-ink); border-radius:28px; background:var(--ecc-blue); padding:30px; display:grid; grid-template-columns:auto 1fr; gap:22px; align-items:start; }
.ecc-notice i { font-size:34px; }
.ecc-notice h2, .ecc-notice h3 { font-size:25px; margin:0 0 8px; }
.ecc-notice p { margin:0; line-height:1.6; }
.ecc-events-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.ecc-member-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.ecc-member-card { border:2px solid var(--ecc-ink); border-radius:30px; overflow:hidden; background:var(--ecc-white); }
.ecc-member-visual { height:290px; position:relative; border-bottom:2px solid var(--ecc-ink); background:linear-gradient(135deg,var(--ecc-blue),#fff); }
.ecc-member-visual > img { width:100%; height:100%; object-fit:cover; }
.ecc-member-placeholder { width:100%; height:100%; display:grid; place-items:center; font-size:80px; font-weight:700; letter-spacing:-.06em; }
.ecc-member-avatar { position:absolute; left:24px; bottom:-42px; width:84px; height:84px; border-radius:50%; overflow:hidden; background:var(--ecc-acid); border:2px solid var(--ecc-ink); display:grid; place-items:center; font-size:24px; font-weight:700; }
.ecc-member-avatar img { width:100%; height:100%; object-fit:cover; }
.ecc-member-body { padding:58px 26px 30px; }
.ecc-member-location { font-size:13px; color:var(--ecc-muted); margin-bottom:8px; }
.ecc-member-body h3 { font-size:31px; margin-bottom:16px; }
.ecc-member-body > p { color:#4c5654; line-height:1.6; }
.ecc-tag-list { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:18px; }
.ecc-tag-list span { border:1px solid var(--ecc-border); border-radius:999px; padding:6px 10px; font-size:12px; background:#fff; }
.ecc-member-links { display:flex; flex-wrap:wrap; gap:12px; margin-top:20px; }
.ecc-member-links a { font-size:13px; font-weight:700; color:var(--ecc-ink); }
.ecc-join-panel { border-radius:36px; border:2px solid var(--ecc-ink); padding:clamp(34px,6vw,80px); background:var(--ecc-acid); display:grid; grid-template-columns:.8fr 1.2fr; gap:60px; }
.ecc-form-frame { width:100%; min-height:1020px; border:2px solid var(--ecc-ink); border-radius:24px; background:#fff; }
.ecc-blog-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:28px; }
.ecc-blog-card { border:2px solid var(--ecc-ink); border-radius:32px; overflow:hidden; background:var(--ecc-white); }
.ecc-blog-card img { width:100%; aspect-ratio:1.45/1; object-fit:cover; border-bottom:2px solid var(--ecc-ink); }
.ecc-blog-card-body { padding:32px; }
.ecc-blog-card h2 { font-size:40px; line-height:1.02; letter-spacing:-.04em; margin:18px 0; }
.ecc-blog-meta { text-transform:uppercase; letter-spacing:.08em; font-size:12px; font-weight:700; color:var(--ecc-muted); }
.ecc-article-hero { padding:70px 0 44px; }
.ecc-article-hero h1 { max-width:1050px; font-size:clamp(58px,8vw,126px); line-height:.86; letter-spacing:-.07em; margin:26px 0; }
.ecc-article-lead { max-width:900px; font-size:23px; line-height:1.65; color:#3d4745; }
.ecc-article-cover { margin-top:50px; border-radius:36px; overflow:hidden; border:2px solid var(--ecc-ink); height:min(70vw,760px); }
.ecc-article-cover img { width:100%; height:100%; object-fit:cover; }
.ecc-article-layout { display:grid; grid-template-columns:220px minmax(0,760px) 1fr; gap:60px; align-items:start; }
.ecc-article-aside { position:sticky; top:130px; font-size:13px; line-height:1.6; color:var(--ecc-muted); }
.ecc-article-aside strong { color:var(--ecc-ink); display:block; font-size:15px; }
.ecc-article-body h2 { font-size:clamp(38px,4.2vw,62px); line-height:1; letter-spacing:-.045em; margin:90px 0 28px; }
.ecc-article-body h2:first-child { margin-top:0; }
.ecc-article-body p { font-size:19px; line-height:1.82; margin-bottom:25px; }
.ecc-pullquote { border-left:7px solid var(--ecc-acid); padding:12px 0 12px 28px; font-size:31px !important; line-height:1.35 !important; font-family:"Playfair Display",serif; margin:42px 0 !important; }
.ecc-article-image { margin:48px 0; }
.ecc-article-image img { width:100%; max-height:650px; object-fit:cover; border:2px solid var(--ecc-ink); border-radius:28px; }
.ecc-article-image figcaption { font-size:13px; color:var(--ecc-muted); margin-top:10px; }
.ecc-article-gallery { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin:48px 0; }
.ecc-article-gallery.three { grid-template-columns:repeat(3,1fr); }
.ecc-article-gallery img { width:100%; height:320px; object-fit:cover; border-radius:22px; border:2px solid var(--ecc-ink); }
.ecc-article-side-image { position:sticky; top:150px; }
.ecc-article-side-image img { width:100%; border-radius:26px; border:2px solid var(--ecc-ink); transform:rotate(3deg); }
.ecc-event-detail-grid { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(340px,.65fr); gap:56px; align-items:start; }
.ecc-event-detail-media { border:2px solid var(--ecc-ink); border-radius:34px; overflow:hidden; background:#ddd; }
.ecc-event-detail-media img { width:100%; max-height:720px; object-fit:cover; }
.ecc-event-detail-copy h1 { font-size:clamp(50px,6vw,88px); line-height:.94; letter-spacing:-.055em; margin:22px 0; }
.ecc-event-detail-copy .lead { font-size:20px; line-height:1.65; }
.ecc-detail-list { margin:34px 0; border-top:2px solid var(--ecc-ink); }
.ecc-detail-row { display:grid; grid-template-columns:135px 1fr; gap:18px; padding:15px 0; border-bottom:1px solid var(--ecc-border); }
.ecc-detail-row strong { font-size:13px; text-transform:uppercase; letter-spacing:.06em; }
.ecc-poll { margin-top:36px; padding:28px; border:2px solid var(--ecc-ink); border-radius:26px; background:var(--ecc-white); }
.ecc-poll h2 { font-size:30px; margin-bottom:7px; }
.ecc-poll-name { width:100%; height:52px; border:1.5px solid var(--ecc-ink); border-radius:12px; padding:0 15px; margin:16px 0; background:#fff; }
.ecc-poll-option { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:12px 0; border-top:1px solid var(--ecc-border); }
.ecc-poll-option button { border:1.5px solid var(--ecc-ink); border-radius:999px; background:var(--ecc-acid); padding:7px 12px; font-weight:700; }
.ecc-responses { margin-top:12px; padding-left:18px; }
.ecc-policy-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.ecc-policy-card { border:2px solid var(--ecc-ink); border-radius:30px; padding:34px; background:var(--ecc-white); }
.ecc-policy-card h3 { font-size:30px; margin:20px 0 12px; }
.ecc-footer-cta { padding:100px 0 30px; }
.ecc-footer-cta-inner { display:flex; justify-content:space-between; align-items:end; gap:50px; border-radius:38px; background:var(--ecc-ink); color:#fff; padding:clamp(38px,6vw,80px); }
.ecc-footer-cta h2 { font-size:clamp(48px,6vw,88px); line-height:.9; letter-spacing:-.055em; margin:20px 0; }
.ecc-footer-cta p { color:#bcc5c3; max-width:700px; font-size:18px; }
.ecc-footer { padding:76px 0 26px; }
.ecc-logo-footer { margin-bottom:24px; }
.ecc-footer-copy { max-width:460px; color:var(--ecc-muted); font-size:17px; }
.ecc-footer h3 { font-size:15px; text-transform:uppercase; letter-spacing:.09em; margin-bottom:20px; }
.ecc-footer .col-6 > a { display:block; color:var(--ecc-ink); margin:10px 0; }
.ecc-footer-bottom { margin-top:58px; padding-top:22px; border-top:1px solid var(--ecc-border); display:flex; justify-content:space-between; gap:20px; color:var(--ecc-muted); font-size:13px; }
@media (max-width: 1199px) {
    .ecc-hero-grid, .ecc-page-hero-grid, .ecc-story-feature, .ecc-statement, .ecc-join-panel, .ecc-event-detail-grid { grid-template-columns:1fr; }
    .ecc-photo-stack { max-width:720px; width:100%; }
    .ecc-card-grid, .ecc-events-grid, .ecc-member-grid { grid-template-columns:repeat(2,1fr); }
    .ecc-article-layout { grid-template-columns:minmax(0,760px) 1fr; }
    .ecc-article-aside { display:none; }
    .ecc-page-marker { justify-self:start; }
}
@media (max-width: 767px) {
    .ecc-topline .container { justify-content:center !important; }
    .ecc-topline a { display:none; }
    .ecc-logo-text { display:none; }
    .ecc-hero { padding-top:62px; }
    .ecc-hero h1 { font-size:61px; }
    .ecc-hero-copy { font-size:18px; }
    .ecc-photo-stack { min-height:430px; }
    .ecc-photo.one { height:310px; }
    .ecc-photo.two { height:220px; }
    .ecc-photo-note { width:120px; height:120px; font-size:13px; }
    .ecc-section { padding:78px 0; }
    .ecc-section-dark { margin:0 10px; border-radius:28px; }
    .ecc-section-head { align-items:start; flex-direction:column; }
    .ecc-principles, .ecc-card-grid, .ecc-events-grid, .ecc-member-grid, .ecc-blog-grid, .ecc-policy-grid { grid-template-columns:1fr; }
    .ecc-work-strip { grid-template-columns:repeat(2,1fr); }
    .ecc-work-strip figure { min-height:230px; }
    .ecc-work-strip figure:nth-child(even) { margin-top:24px; }
    .ecc-story-feature { min-height:0; }
    .ecc-story-feature > img { height:340px; }
    .ecc-article-layout { grid-template-columns:1fr; gap:30px; }
    .ecc-article-side-image { position:static; max-width:420px; }
    .ecc-article-gallery, .ecc-article-gallery.three { grid-template-columns:1fr; }
    .ecc-article-gallery img { height:auto; max-height:440px; }
    .ecc-event-detail-grid { gap:34px; }
    .ecc-detail-row { grid-template-columns:1fr; gap:5px; }
    .ecc-footer-cta-inner { flex-direction:column; align-items:start; }
    .ecc-footer-bottom { flex-direction:column; }
}

/* Bilingual navigation, archive state and contrast fixes */
.ecc-language-switch { align-items:center; gap:7px; font-size:12px; font-weight:800; letter-spacing:.08em; }
.ecc-language-switch a { color:var(--ecc-muted); padding:7px 2px; }
.ecc-language-switch a:hover, .ecc-language-switch a.active { color:var(--ecc-ink); }
.ecc-language-switch a.active { text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:4px; }
.ecc-language-switch-mobile { display:flex; font-size:15px; }
.ecc-section-dark .ecc-statement > div > h2,
.ecc-section-dark .ecc-section-head h2,
.ecc-footer-cta h2 { color:var(--ecc-acid) !important; }
.ecc-section-dark .ecc-statement-copy,
.ecc-section-dark .ecc-statement-copy p { color:#fff; }
.ecc-badge-archive { left:auto; right:16px; background:var(--ecc-ink); color:var(--ecc-acid); border-color:var(--ecc-acid); }
.ecc-event-card.is-archived .ecc-event-media img { filter:saturate(.55) contrast(.92); }
.ecc-event-card.is-archived { background:#ebe8df; }
.ecc-archive-section { background:rgba(16,24,23,.045); border-top:1px solid var(--ecc-border); }
.ecc-empty-state { border:2px dashed var(--ecc-ink); border-radius:26px; padding:34px; font-size:18px; text-align:center; background:var(--ecc-white); }
.ecc-footer .col-6 > a i { font-size:.8em; }

@media (max-width: 767px) {
    .ecc-language-switch-mobile { display:flex; }
}

/* Native membership application form */
.ecc-membership-form {
    position: relative;
    border: 2px solid var(--ecc-ink);
    border-radius: 34px;
    background: var(--ecc-white);
    padding: clamp(28px, 5vw, 64px);
    box-shadow: 12px 12px 0 var(--ecc-ink);
}
.ecc-form-intro { max-width: 760px; margin-bottom: 42px; }
.ecc-form-intro h2 { font-size: clamp(38px, 4.8vw, 66px); line-height: .98; letter-spacing: -.045em; margin: 16px 0 18px; }
.ecc-form-intro p { font-size: 17px; line-height: 1.65; color: var(--ecc-muted); }
.ecc-form-intro .ecc-required-note { margin: 12px 0 0; font-size: 13px; font-weight: 700; color: var(--ecc-ink); }
.ecc-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ecc-form-field { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ecc-form-field-wide { grid-column: 1 / -1; }
.ecc-form-field > label,
.ecc-upload-field > label:first-child,
.ecc-other-field > label { font-size: 14px; font-weight: 800; letter-spacing: .025em; }
.ecc-form-field > label span,
.ecc-upload-field > label:first-child span,
.ecc-consent strong span { color: #b6321f; }
.ecc-membership-form input[type="text"],
.ecc-membership-form input[type="url"],
.ecc-membership-form input[type="tel"],
.ecc-membership-form textarea {
    width: 100%;
    border: 1.5px solid var(--ecc-ink);
    border-radius: 14px;
    background: #fff;
    color: var(--ecc-ink);
    padding: 14px 16px;
    font: inherit;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.ecc-membership-form input[type="text"],
.ecc-membership-form input[type="url"],
.ecc-membership-form input[type="tel"] { min-height: 54px; }
.ecc-membership-form textarea { resize: vertical; min-height: 150px; }
.ecc-membership-form input:focus,
.ecc-membership-form textarea:focus {
    outline: 0;
    border-color: var(--ecc-ink);
    box-shadow: 0 0 0 4px rgba(159, 200, 255, .65);
}
.ecc-form-section {
    border: 0;
    border-top: 2px solid var(--ecc-ink);
    padding: 38px 0 0;
    margin: 42px 0 0;
}
.ecc-form-section legend {
    float: none;
    width: auto;
    max-width: 840px;
    padding: 0;
    margin: 0 0 22px;
    font-size: clamp(23px, 2.5vw, 32px);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -.02em;
}
.ecc-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ecc-choice-list { display: grid; gap: 12px; }
.ecc-choice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 54px;
    padding: 14px 16px;
    border: 1.5px solid var(--ecc-border);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    line-height: 1.45;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.ecc-choice:hover { border-color: var(--ecc-ink); transform: translateY(-1px); }
.ecc-choice:has(input:checked) { border-color: var(--ecc-ink); background: var(--ecc-acid); }
.ecc-choice input { flex: 0 0 auto; width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--ecc-ink); }
.ecc-choice span { font-weight: 600; }
.ecc-other-field { display: grid; grid-template-columns: 90px minmax(0, 1fr); align-items: center; gap: 14px; margin-top: 16px; }
.ecc-upload-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 42px 0; }
.ecc-upload-field {
    min-width: 0;
    padding: 26px;
    border: 2px dashed var(--ecc-ink);
    border-radius: 22px;
    background: rgba(159, 200, 255, .16);
}
.ecc-upload-field > p { min-height: 42px; margin: 8px 0 18px; color: var(--ecc-muted); font-size: 13px; line-height: 1.5; }
.ecc-upload-field input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.ecc-upload-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 45px;
    padding: 0 17px;
    border: 1.5px solid var(--ecc-ink);
    border-radius: 999px;
    background: var(--ecc-ink);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}
.ecc-upload-field input[type="file"]:focus + .ecc-upload-button { box-shadow: 0 0 0 4px rgba(159, 200, 255, .8); }
.ecc-upload-button:hover { background: var(--ecc-acid); color: var(--ecc-ink); }
.ecc-file-name { display: block; margin-top: 13px; color: var(--ecc-muted); font-size: 13px; overflow-wrap: anywhere; }
.ecc-consent {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 34px;
    padding: 22px;
    border: 2px solid var(--ecc-ink);
    border-radius: 18px;
    background: var(--ecc-blue);
    cursor: pointer;
}
.ecc-consent input { flex: 0 0 auto; width: 21px; height: 21px; margin-top: 2px; accent-color: var(--ecc-ink); }
.ecc-consent span { line-height: 1.55; }
.ecc-consent strong { display: block; margin-bottom: 4px; }
.ecc-form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.ecc-form-actions .ecc-btn:disabled { opacity: .65; transform: none; cursor: wait; }
.ecc-form-status { flex: 1 1 320px; margin: 0; min-height: 24px; font-weight: 700; line-height: 1.5; }
.ecc-form-status.is-success { color: #245400; }
.ecc-form-status.is-error { color: #a72b1d; }
.ecc-form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@media (max-width: 767px) {
    .ecc-membership-form { border-radius: 24px; box-shadow: 7px 7px 0 var(--ecc-ink); }
    .ecc-form-grid, .ecc-choice-grid, .ecc-upload-grid { grid-template-columns: 1fr; }
    .ecc-other-field { grid-template-columns: 1fr; gap: 7px; }
    .ecc-upload-field > p { min-height: 0; }
    .ecc-form-actions { align-items: stretch; }
    .ecc-form-actions .ecc-btn { width: 100%; }
}

/* Desktop refinement for the native membership form */
@media (min-width: 768px) {
    .ecc-membership-form {
        width: min(100%, 1120px);
        margin-inline: auto;
        padding: clamp(40px, 4.5vw, 58px);
        border-radius: 28px;
        background: #fffdf8;
        box-shadow: 9px 9px 0 var(--ecc-ink);
    }
    .ecc-form-intro {
        max-width: 800px;
        margin-bottom: 34px;
    }
    .ecc-form-intro h2 {
        font-size: clamp(38px, 4vw, 56px);
        margin-bottom: 15px;
    }
    .ecc-form-grid-profile {
        grid-template-columns: minmax(220px, .72fr) minmax(360px, 1.28fr);
        column-gap: 20px;
        row-gap: 22px;
    }
    .ecc-form-field {
        gap: 8px;
    }
    .ecc-form-field > label,
    .ecc-upload-field > label:first-child,
    .ecc-other-field > label {
        font-size: 13px;
        letter-spacing: .045em;
        text-transform: uppercase;
    }
    .ecc-membership-form input[type="text"],
    .ecc-membership-form input[type="url"],
    .ecc-membership-form input[type="tel"],
    .ecc-membership-form textarea {
        border: 1px solid rgba(16, 24, 23, .42);
        border-radius: 16px;
        background: #fff;
        padding: 16px 18px;
        box-shadow: 0 1px 0 rgba(16, 24, 23, .06);
    }
    .ecc-membership-form input[type="text"],
    .ecc-membership-form input[type="url"],
    .ecc-membership-form input[type="tel"] {
        min-height: 58px;
    }
    .ecc-membership-form textarea {
        min-height: 178px;
        line-height: 1.6;
    }
    .ecc-membership-form input:hover,
    .ecc-membership-form textarea:hover {
        border-color: rgba(16, 24, 23, .7);
    }
    .ecc-form-section {
        margin: 28px 0 0;
        padding: 28px;
        border: 1.5px solid rgba(16, 24, 23, .72);
        border-radius: 22px;
        background: rgba(159, 200, 255, .09);
    }
    .ecc-form-section legend {
        max-width: 760px;
        margin: 0 0 20px;
        padding: 0 10px;
        font-size: clamp(22px, 2vw, 28px);
        background: #fffdf8;
    }
    .ecc-choice-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
    .ecc-choice {
        min-height: 60px;
        padding: 14px 15px;
        border: 1px solid rgba(16, 24, 23, .32);
        border-radius: 15px;
        box-shadow: 0 1px 0 rgba(16, 24, 23, .04);
    }
    .ecc-choice:hover {
        border-color: var(--ecc-ink);
        box-shadow: 0 4px 12px rgba(16, 24, 23, .08);
    }
    .ecc-choice span {
        font-weight: 650;
    }
    .ecc-other-field {
        grid-template-columns: 78px minmax(0, 1fr);
        margin-top: 14px;
    }
    .ecc-upload-grid {
        gap: 18px;
        margin: 28px 0;
    }
    .ecc-upload-field {
        padding: 25px;
        border: 1.5px solid rgba(16, 24, 23, .72);
        border-radius: 22px;
        background: #f5f8ff;
        box-shadow: 0 3px 0 rgba(16, 24, 23, .12);
    }
    .ecc-upload-field > p {
        min-height: 38px;
        margin-bottom: 16px;
    }
    .ecc-consent {
        margin-top: 28px;
        padding: 24px 26px;
        border-radius: 20px;
    }
    .ecc-form-actions {
        margin-top: 26px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .ecc-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}



/* Analytics consent */
.ecc-consent-banner { position:fixed; left:24px; right:24px; bottom:24px; z-index:1200; max-width:1040px; margin:0 auto; padding:22px; display:flex; align-items:center; justify-content:space-between; gap:24px; border:2px solid var(--ecc-ink); border-radius:24px; background:var(--ecc-white); box-shadow:10px 10px 0 var(--ecc-ink); }
.ecc-consent-banner[hidden] { display:none !important; }
.ecc-consent-banner strong { display:block; font-size:20px; margin-bottom:5px; }
.ecc-consent-banner p { margin:0; max-width:680px; color:var(--ecc-muted); line-height:1.5; }
.ecc-consent-actions { display:flex; flex-wrap:wrap; gap:10px; flex-shrink:0; }
.ecc-cookie-settings { padding:0; border:0; background:transparent; color:inherit; text-decoration:underline; text-underline-offset:3px; }
@media (max-width: 767px) { .ecc-consent-banner { left:12px; right:12px; bottom:12px; padding:18px; flex-direction:column; align-items:stretch; } .ecc-consent-actions .ecc-btn { flex:1; } }
