/* Christmas Networking, Dublin (Wed 9 Dec 2026) - /christmas-networking-dublin
   Built from the e92plus design-system mock-up ("e92plus Christmas Networking Dublin.html").
   Everything is scoped to #xd: the page sits in _Layout_NoMenu_NoIndex, whose own rules
   (section/form height:100%, main.css type and input styles) would otherwise leak in.
   Fonts: the mock-up self-hosted Apple's SF Pro files; SF Pro is licensed for Apple platforms
   only, so it is NOT served here - the stack below still uses SF Pro on Apple devices and
   system-ui / Segoe UI everywhere else, which is what the design tokens fall back to anyway. */

#xd {
    --red-700: #A50E29; --red-600: #C11230; --red-500: #E31737; --red-400: #EC4259; --red-100: #FBD9DE;
    --ink-900: #1F2A2E; --ink-600: #303349;
    --slate-100: #ECEFF1; --slate-200: #DCE1E5; --slate-300: #C9CDD4; --slate-400: #9AA1A8;
    --slate-500: #6B747C; --slate-700: #3A464D;
    --teal: #008FA1; --amber: #F3A712; --success: #2E9E5B; --success-bg: #E5F4EB;
    --text-strong: var(--ink-600); --text-body: var(--slate-700); --text-muted: var(--slate-500);
    --border-subtle: var(--slate-200); --border-default: var(--slate-300); --border-strong: var(--slate-400);
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --shadow-xs: 0 1px 2px rgba(31,42,46,0.06);
    --shadow-sm: 0 2px 6px rgba(31,42,46,0.07);
    --shadow-md: 0 8px 24px rgba(31,42,46,0.10);
    --shadow-brand: 0 10px 26px rgba(227,23,55,0.28);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-body);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
#xd *, #xd *::before, #xd *::after { box-sizing: border-box; }
#xd section, #xd form, #xd header, #xd footer { height: auto; padding-top: 0; padding-bottom: 0; }
#xd h1, #xd h2, #xd h3, #xd p { margin: 0; font-family: var(--font); text-transform: none; }
#xd h1, #xd h2, #xd h3 { font-weight: 700; }
#xd a { color: var(--red-600); text-decoration: none; }
#xd a:hover { color: var(--red-700); }
#xd img { max-width: 100%; }
#xd :focus-visible { outline: 2px solid var(--red-400); outline-offset: 2px; }

/* main.css forces some weights with !important (section h3 / footer p at 100) and styles labels and
   inputs site-wide; these restore the design's values on this page only. */
#xd h1, #xd h2, #xd h3, #xd b { font-family: var(--font) !important; font-weight: 700 !important; }
#xd .xd-footer div, #xd p { font-weight: 400 !important; }
#xd .xd-field > span { color: var(--text-strong) !important; font-weight: 600 !important; font-size: 14px !important; }
#xd .xd-field input { font-weight: 400 !important; }

#xd .xd-wrap { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; padding-left: clamp(20px, 5vw, 48px); padding-right: clamp(20px, 5vw, 48px); }
#xd .xd-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-500); }
#xd .xd-eyebrow.on-dark { color: var(--amber); }
#xd .xd-dots { display: flex; gap: 6px; }
#xd .xd-dots span { width: 8px; height: 8px; border-radius: 50%; }
#xd .xd-kicker { display: flex; align-items: center; gap: 14px; }
#xd .xd-h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -0.01em; color: var(--text-strong); text-wrap: balance; }
#xd .xd-deco { position: absolute; pointer-events: none; }

/* ---- buttons (design-system Button: primary / secondary / ghost, md + lg) ---- */
#xd .xd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none; white-space: nowrap;
    padding: 11px 20px; font-family: var(--font); font-size: 16px; font-weight: 600; line-height: 1; letter-spacing: 0;
    border-radius: 10px; cursor: pointer; text-decoration: none;
    transition: background 120ms cubic-bezier(0.2,0.6,0.2,1), border-color 120ms, transform 120ms; }
#xd .xd-btn.lg { padding: 15px 28px; font-size: 20px; }
#xd .xd-btn:active { transform: translateY(1px) scale(0.99); }
#xd .xd-btn.primary { background: var(--red-500); color: #fff; border: 1px solid var(--red-500); box-shadow: var(--shadow-brand); }
#xd .xd-btn.primary:hover { background: var(--red-600); color: #fff; }
#xd .xd-btn.secondary { background: #fff; color: var(--text-strong); border: 1px solid var(--border-default); box-shadow: var(--shadow-xs); }
#xd .xd-btn.secondary:hover { border-color: var(--border-strong); color: var(--text-strong); }
#xd .xd-btn.ghost { background: transparent; color: var(--red-500); border: 1px solid transparent; }
#xd .xd-btn.ghost:hover { background: var(--red-100); }
#xd .xd-btn.full { width: 100%; }
#xd .xd-btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---- hero ---- */
#xd .xd-hero { position: relative; min-height: min(92vh, 860px); display: flex; flex-direction: column;
    background: #120d0b url("/img/events/christmas-networking-dublin/hero.jpg") 62% center / cover no-repeat; color: #fff; overflow: hidden; }
#xd .xd-hero-shade { position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(18,12,10,0.92) 0%, rgba(18,12,10,0.72) 38%, rgba(18,12,10,0.15) 72%, rgba(18,12,10,0) 100%),
                linear-gradient(0deg, rgba(18,12,10,0.6) 0%, rgba(18,12,10,0) 35%); }
#xd .xd-topbar { padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
#xd .xd-topbar img { height: 30px; width: auto; display: block; }
#xd .xd-topbar a { color: #fff; font-size: 15px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 2px; }
#xd .xd-hero-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 28px;
    padding-top: clamp(64px, 10vw, 120px); padding-bottom: clamp(56px, 8vw, 96px); }
#xd .xd-hero h1 { max-width: 680px; font-size: clamp(42px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
#xd .xd-hero-lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--slate-100); max-width: 540px; text-wrap: pretty; }
#xd .xd-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(20px, 4vw, 40px); padding-top: 8px; }
#xd .xd-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 16px; color: #fff; }
#xd .xd-facts div { display: flex; flex-direction: column; gap: 2px; }
#xd .xd-facts span:first-child { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate-300); }
#xd .xd-facts span:last-child { font-weight: 600; }

/* snow - drawn by the page script; nothing moves for people who ask for reduced motion */
#xd .xd-snow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
#xd .xd-snow span { position: absolute; top: 0; border-radius: 50%; animation-name: xdSnow; animation-timing-function: linear; animation-iteration-count: infinite; }
@keyframes xdSnow { from { transform: translate3d(0, -10vh, 0); } to { transform: translate3d(var(--drift, 20px), 110vh, 0); } }
@media (prefers-reduced-motion: reduce) { #xd .xd-snow { display: none; } }

/* ---- the evening ---- */
#xd .xd-expect { position: relative; background: #fff; overflow: hidden; }
#xd .xd-baubles { position: absolute; top: 0; right: clamp(20px, 5vw, 48px); width: min(48%, 540px); display: flex; justify-content: space-between; pointer-events: none; }
#xd .xd-baubles > div { display: flex; flex-direction: column; align-items: center; }
#xd .xd-baubles .s { width: 1px; background: var(--slate-300); }
#xd .xd-baubles .c { height: 4px; border-radius: 2px 2px 0 0; background: var(--slate-400); }
#xd .xd-baubles .b { border-radius: 50%; }
#xd .xd-section { position: relative; padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(64px, 9vw, 112px); display: flex; flex-direction: column; }
#xd .xd-expect .xd-section { gap: 48px; }
#xd .xd-head { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
#xd .xd-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(24px, 4vw, 48px); }
#xd .xd-cols > div { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 2px solid var(--red-500); }
#xd .xd-cols h3 { font-size: 20px; color: var(--text-strong); }
#xd .xd-cols p { font-size: 16px; line-height: 1.6; text-wrap: pretty; }

/* ---- hosts ---- */
#xd .xd-team { position: relative; background: var(--slate-100); overflow: hidden; }
#xd .xd-team .xd-section { gap: 40px; }
#xd .xd-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
#xd .xd-person { display: flex; align-items: center; gap: 24px; padding: 24px; background: #fff; border: 1px solid var(--border-subtle); border-radius: 16px; box-shadow: var(--shadow-sm); }
#xd .xd-person img { width: 112px; height: 112px; flex-shrink: 0; border-radius: 50%; object-fit: cover; display: block; }
#xd .xd-person b { display: block; font-size: 22px; font-weight: 700; color: var(--text-strong); letter-spacing: -0.01em; }
#xd .xd-person span { display: block; font-size: 16px; color: var(--text-muted); margin-top: 6px; }

/* ---- venue ---- */
#xd .xd-venue { position: relative; background: #fff; overflow: hidden; }
#xd .xd-venue .xd-section { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; }
#xd .xd-venue-text { display: flex; flex-direction: column; gap: 20px; }
#xd .xd-address { display: flex; flex-direction: column; gap: 4px; font-size: 18px; line-height: 1.5; color: var(--text-strong); }
#xd .xd-venue-text p { font-size: 16px; line-height: 1.6; max-width: 460px; }
#xd .xd-btns { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
#xd .xd-map { border-radius: 16px; overflow: hidden; border: 1px solid var(--border-subtle); box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; background: var(--slate-100); }
#xd .xd-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---- register ---- */
#xd .xd-register { position: relative; color: #fff; overflow: hidden;
    background: #120d0b url("/img/events/christmas-networking-dublin/register.jpg") center / cover no-repeat; }
#xd .xd-register-shade { position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(18,12,10,0.92) 0%, rgba(18,12,10,0.78) 40%, rgba(18,12,10,0.45) 75%, rgba(18,12,10,0.35) 100%); }
#xd .xd-register .xd-section { padding-top: clamp(72px, 10vw, 128px); padding-bottom: clamp(72px, 10vw, 128px);
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(40px, 6vw, 80px); align-items: center; }
#xd .xd-register-text { display: flex; flex-direction: column; gap: 22px; }
#xd .xd-register-text h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.06; letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
#xd .xd-register-text p { font-size: 18px; line-height: 1.6; color: var(--slate-200); max-width: 460px; }
#xd .xd-card { background: #fff; color: var(--text-body); border-radius: 16px; box-shadow: 0 24px 60px rgba(10,4,6,0.5);
    padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px; }
#xd .xd-card h3 { font-size: 24px; letter-spacing: -0.01em; color: var(--text-strong); }
#xd .xd-card [hidden] { display: none !important; }
#xd .xd-form { display: flex; flex-direction: column; gap: 16px; }
#xd .xd-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
#xd .xd-field { display: block; margin: 0; }
#xd .xd-field > span { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--text-strong); }
#xd .xd-field input { display: block; width: 100%; height: auto; margin: 0; padding: 11px 14px; font-family: var(--font); font-size: 16px; line-height: 1.5;
    color: var(--text-strong); background: #fff; border: 1px solid var(--border-default); border-radius: 10px; outline: none; box-shadow: none;
    transition: border-color 120ms, box-shadow 120ms; -webkit-appearance: none; appearance: none; }
#xd .xd-field input:focus { border-color: var(--red-500); box-shadow: 0 0 0 3px var(--red-100); }
#xd .xd-field.bad input { border-color: var(--red-500); }
#xd .xd-field .err { display: none; margin-top: 6px; font-size: 12px; color: var(--red-500); }
#xd .xd-field.bad .err { display: block; }
#xd .xd-send { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
#xd .xd-small { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
#xd .xd-alert { display: none; padding: 12px 14px; border-radius: 10px; background: var(--red-100); color: var(--red-700); font-size: 14px; line-height: 1.5; }
#xd .xd-alert.show { display: block; }
#xd .xd-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
#xd .xd-done { display: flex; flex-direction: column; gap: 18px; padding: 8px 0; }
#xd .xd-tick { width: 48px; height: 48px; border-radius: 50%; background: var(--success-bg); color: var(--success); display: flex; align-items: center; justify-content: center; }
#xd .xd-done p, #xd .xd-closed p { font-size: 16px; line-height: 1.55; }
#xd .xd-closed { display: flex; flex-direction: column; gap: 12px; padding: 8px 0; }

/* ---- footer + floating register ---- */
#xd .xd-footer { background: var(--ink-900); color: var(--slate-400); }
#xd .xd-footer .xd-wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; }
#xd .xd-footer img { height: 24px; width: auto; display: block; }
#xd .xd-float { position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 50; border-radius: 10px;
    box-shadow: 0 10px 30px rgba(31,42,46,0.35); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 200ms, transform 200ms; }
#xd .xd-float.show { opacity: 1; transform: none; pointer-events: auto; }
