/* ==========================================================
   Sam Jason Whitfield — resume
   Built on YungStufi Neon 2.1 (Night theme). Token names match the
   design system 1:1; the component rules below are copied from its
   components/bundle.css — update them from there, not by hand.
   ========================================================== */

:root {
  /* Brand pairs (primitives) */
  --neon-blue: #0099ff;   --neon-blue-deep: #00263f;   --neon-blue-light: #4db8ff;
  --neon-pink: #ff0099;   --neon-pink-deep: #3f0026;   --neon-pink-light: #ff66c2;
  --neon-yellow: #ffcc00; --neon-yellow-deep: #3f3200;
  --neon-green: #00ff99;  --neon-green-deep: #003f26; /* supporting pair: links ("go") and the odd accent */

  /* Semantic colours — Night theme */
  --surface-100: #333333;
  --surface-200: #262626;
  --surface-300: #3d3d3d;
  --ink: #ffffff;
  --ink-muted: #bdbdbd;
  --ink-disabled: #5c5c5c;
  --border: #ffffff1f;
  --accent: var(--neon-pink);
  --focus-ring: var(--neon-pink-light);
  --link: var(--neon-green);
  --info-surface: var(--neon-blue-deep);      --info-text: var(--neon-blue-light);
  --success-surface: var(--neon-green-deep);  --success-text: var(--neon-green);
  --warning-surface: var(--neon-yellow-deep); --warning-text: var(--neon-yellow);
  --error-surface: var(--neon-pink-deep);     --error-text: var(--neon-pink-light);

  /* Type */
  --font-sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Space (4px grid), shape and strokes */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px;
  --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px;
  --radius-sm: 4px; --radius-control: 8px; --radius-md: 12px;
  --stroke-neon: 4px; --stroke-line: 2px;

  /* Layout and components */
  --layout-page-max: 1080px;
  --layout-gutter: 32px;
  --layout-section-gap: 96px;
  --layout-block-gap: 32px;
  --layout-grid-gap: 16px;
  --layout-topbar-h: 64px;
  --layout-tabbar-h: 60px;
  --control-h: 44px; --control-h-sm: 36px;
  --card-pad: 24px; --card-pad-narrow: 16px;
  --z-topbar: 20; --z-toast: 40; --z-skip: 70;
}
@media (max-width: 600px) { :root { --layout-gutter: 16px; --layout-section-gap: 80px; } }

/* ==========================================================
   YungStufi Neon components used on this page
   ========================================================== */
/* Neon pairs: --ej-hi (bright) and --ej-lo (deep) per tone */
.ej-blue   { --ej-hi: var(--neon-blue);   --ej-lo: var(--neon-blue-deep); }
.ej-pink   { --ej-hi: var(--neon-pink);   --ej-lo: var(--neon-pink-deep); }
.ej-yellow { --ej-hi: var(--neon-yellow); --ej-lo: var(--neon-yellow-deep); }
.ej-green  { --ej-hi: var(--neon-green);  --ej-lo: var(--neon-green-deep); }

/* NeonTitle */
.ej-neon { margin: 0; font-family: var(--font-sans); font-weight: 900; font-style: italic; letter-spacing: -0.02em;
  color: var(--ej-lo); -webkit-text-stroke: var(--stroke-neon) var(--ej-hi); paint-order: stroke fill; }
.ej-neon-display  { font-size: clamp(60px, 9vw, 112px); line-height: .95; -webkit-text-stroke-width: clamp(3px, 0.35vw, 5px); }
.ej-neon-headline { font-size: clamp(36px, 5vw, 48px); line-height: 1.05; -webkit-text-stroke-width: 3px; }
.ej-neon-title    { font-size: 24px; line-height: 30px; font-weight: 800; -webkit-text-stroke-width: 2px; }

/* Button: flat rounded rectangle, sentence case */
.ej-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); box-sizing: border-box;
  font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 700; letter-spacing: 0; text-transform: none;
  min-height: 36px; padding: var(--space-2) var(--space-4); border: 0; border-radius: var(--radius-control); cursor: pointer;
  color: var(--ink); background: var(--border); transition: filter .15s ease, background-color .15s ease; }
.ej-btn-regular:hover { background-image: linear-gradient(var(--border), var(--border)); }
.ej-btn-flat { background: transparent; }
.ej-btn-flat:hover { background: var(--border); }
.ej-btn-filled { background: var(--ej-hi); color: var(--ej-lo); }
.ej-btn-tinted { background: var(--ej-lo); color: var(--ej-hi); }
.ej-btn-filled:hover, .ej-btn-tinted:hover { filter: brightness(1.12); }

.ej-btn:disabled { opacity: .5; cursor: not-allowed; filter: none; background-image: none; }
@media (prefers-reduced-motion: reduce) { .ej-btn { transition: none; } }

/* Tag */
.ej-tag { display: inline-block; align-self: flex-start; width: max-content; font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 2px var(--space-2); border-radius: var(--radius-sm); background: var(--ej-lo); color: var(--ej-hi); }

/* Neon art: Blob, Ripple and the LavaLamp background that drifts them */
.ej-art-svg { display: block; width: 100%; height: 100%; overflow: visible; --ej-gap: var(--surface-100); }
.ej-art-outline { fill: var(--ej-lo); stroke: var(--ej-hi); stroke-width: var(--stroke-line); vector-effect: non-scaling-stroke; }
.ej-art-ring { fill: var(--ej-lo); }
.ej-art-gap  { fill: var(--ej-gap); }
.ej-art-core { fill: var(--ej-hi); }
.ej-lava-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ej-art { position: absolute; left: var(--x); top: var(--y); width: var(--size); aspect-ratio: 1;
  animation: ej-art-spin var(--spin, 90s) linear infinite var(--dir, normal); }
/* LavaLamp ripples stay in place: they turn slowly and their rings pulse outward, like a drop hitting water */
.ej-art .ej-art-svg path { transform-box: view-box; transform-origin: 100px 100px; animation: ej-art-pulse 5s ease-in-out infinite; }
.ej-art .ej-art-svg path:nth-child(2) { animation-delay: -0.4s; }
.ej-art .ej-art-svg path:nth-child(3) { animation-delay: -0.8s; }
.ej-art .ej-art-svg path:nth-child(4) { animation-delay: -1.2s; }
.ej-art .ej-art-svg path:nth-child(5) { animation-delay: -1.6s; }
.ej-art .ej-art-svg path:nth-child(6) { animation-delay: -2s; }
.ej-art .ej-art-svg path:nth-child(7) { animation-delay: -2.4s; }
.ej-art .ej-art-svg path:nth-child(8) { animation-delay: -2.8s; }
.ej-lava-goo { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill-rule: evenodd; }
@keyframes ej-art-spin { to { transform: rotate(360deg); } }
@keyframes ej-art-pulse { 50% { transform: scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .ej-art, .ej-art .ej-art-svg path { animation: none; } }

/* ===================== UI kit ===================== */
.ej-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ej-icon { display: inline-block; flex: none; vertical-align: middle; }
.ej-caption { font-family: var(--font-sans); font-size: 12px; line-height: 16px; color: var(--ink-muted); }
:where(.ej-btn, .ej-iconbtn, .ej-chip, .ej-tab, .ej-acc-btn, .ej-menu-item, .ej-day, .ej-car-dot, .ej-switch, .ej-check-input, .ej-slider-input, .ej-stepper-btn, .ej-input-trail, .ej-search-go, .ej-th-sort, .ej-crumb-link, .ej-crumb-more, .ej-tabbar-item, .ej-fact-link, .ej-skip, .ej-topbar-name, .ej-toast-action, .ej-table-scroll, .ej-tabpanel):focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* Button sizes, icons and loading (base styles above) */
.ej-btn { min-height: var(--control-h); text-decoration: none; }
.ej-btn-sm { min-height: var(--control-h-sm); padding: 6px 12px; font-size: 14px; }
.ej-btn-lg { min-height: 52px; padding: 14px 24px; font-size: 16px; }
.ej-btn-block { width: 100%; }

/* Text patterns */
.ej-label { margin: 0; font-family: var(--font-sans); font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.ej-label-yellow { color: var(--warning-text); } .ej-label-blue { color: var(--info-text); } .ej-label-pink { color: var(--error-text); } .ej-label-green { color: var(--success-text); }
.ej-sechead { display: flex; flex-direction: column; gap: var(--space-3); font-family: var(--font-sans); }
.ej-sechead .ej-neon-headline { font-size: clamp(36px, 5vw, 48px); line-height: 1.05; }
.ej-sechead-sub { margin: 0; font-size: 22px; line-height: 28px; font-weight: 800; color: var(--ink-muted); }
.ej-bullets, .ej-numbered { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--space-2); font-family: var(--font-sans); color: var(--ink-muted); line-height: 26px; }
.ej-bullets > li { position: relative; padding-left: var(--space-6); }
.ej-bullets > li::before { content: ""; position: absolute; left: 6px; top: 10px; width: 6px; height: 6px; border-radius: 2px; background: var(--dot); }
.ej-bullets-yellow { --dot: var(--neon-yellow); } .ej-bullets-pink { --dot: var(--neon-pink); } .ej-bullets-blue { --dot: var(--neon-blue); } .ej-bullets-green { --dot: var(--neon-green); }
.ej-bullets-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: var(--space-2) var(--space-6); }
.ej-numbered { gap: var(--space-3); counter-reset: n; }
.ej-numbered > li { position: relative; padding-left: 44px; counter-increment: n; }
.ej-numbered > li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 0; font-weight: 900; font-style: italic; color: var(--warning-text); }
.ej-bullets strong, .ej-numbered strong { color: var(--ink); }

/* Navigation */
.ej-skip { position: absolute; left: var(--space-4); top: -100px; z-index: var(--z-skip); padding: var(--space-2) var(--space-4); border-radius: var(--radius-control); background: var(--neon-pink); color: var(--neon-pink-deep); font: 700 15px/20px var(--font-sans); text-decoration: none; }
.ej-skip:focus { top: var(--space-2); }
.ej-topbar { position: sticky; top: 0; z-index: var(--z-topbar); background: var(--surface-200); font-family: var(--font-sans); }
.ej-topbar-inner { display: flex; align-items: center; gap: var(--space-4); min-height: var(--layout-topbar-h); max-width: var(--layout-page-max); margin: 0 auto; padding: 0 var(--layout-gutter); box-sizing: border-box; }
.ej-topbar-name { margin-right: auto; font-size: 18px; line-height: 24px; font-weight: 800; font-style: italic; color: var(--ink); text-decoration: none; white-space: nowrap; border-radius: var(--radius-sm); }
.ej-topnav { display: flex; gap: var(--space-1); flex-wrap: wrap; }
.ej-navlink { min-height: 40px; color: var(--ink); }
.ej-navlink.is-active { background: var(--border); }
@media (max-width: 860px) { .ej-topbar-cta { display: none; } }
@media (max-width: 760px) { .ej-topbar-inner { flex-wrap: wrap; justify-content: center; gap: var(--space-1) var(--space-4); padding-block: var(--space-2); } .ej-topbar-name { margin: 0; } .ej-topnav { width: 100%; justify-content: center; } }
.ej-tabbar { display: none; position: fixed; inset: auto 0 0 0; z-index: var(--z-topbar); height: var(--layout-tabbar-h); background: var(--surface-200); font-family: var(--font-sans); }
.ej-tabbar, .ej-tabbar-static { grid-auto-flow: column; grid-auto-columns: 1fr; }
@media (max-width: 600px) { .ej-tabbar { display: grid; } }
.ej-tabbar-static { display: grid; position: static; }
.ej-tabbar-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--ink-muted); font-size: 12px; line-height: 16px; font-weight: 700; text-decoration: none; }
.ej-tabbar-item.is-active { color: var(--ink); box-shadow: inset 0 3px 0 var(--accent); }
.ej-footer { background: var(--surface-200); font-family: var(--font-sans); color: var(--ink-muted); }
.ej-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-2) var(--space-6); max-width: var(--layout-page-max); margin: 0 auto; padding: var(--space-6) var(--layout-gutter) var(--space-8); box-sizing: border-box; font-size: 15px; line-height: 22px; }
.ej-footer-small { margin: 0; font-size: 12px; line-height: 16px; }
.ej-footer a { color: var(--link); }

/* Cards & content */
.ej-card { display: flex; flex-direction: column; min-width: 0; border-radius: var(--radius-md); background: var(--surface-200); font-family: var(--font-sans); color: var(--ink); overflow: hidden; }
.ej-card-body { display: flex; flex-direction: column; gap: var(--space-3); flex: 1; padding: var(--card-pad); }
.ej-card-title { margin: 0; font-size: 24px; line-height: 30px; font-weight: 800; font-style: italic; }
.ej-card-text { color: var(--ink-muted); line-height: 24px; }
.ej-card-text p { margin: 0; }
.ej-card-foot { margin-top: auto; padding-top: var(--space-2); display: flex; flex-wrap: wrap; gap: var(--space-2); }
.ej-card-img { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ej-lo, var(--surface-300)); display: grid; place-items: center; color: var(--ink-muted); }
.ej-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ej-card-toned { background: var(--ej-lo); }
.ej-card-toned .ej-card-title { color: var(--ej-hi); }
.ej-card-toned .ej-card-text { color: #ffffffd9; }
.ej-card-toned .ej-tag { background: var(--surface-200); }
@media (max-width: 600px) { .ej-card-body { padding: var(--card-pad-narrow); } }
.ej-fact { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--card-pad-narrow); border-radius: var(--radius-md); background: var(--surface-200); font-family: var(--font-sans); color: var(--ink); text-decoration: none; }
.ej-fact-link { flex-wrap: wrap; }
.ej-fact-link:hover { background-image: linear-gradient(var(--border), var(--border)); }
.ej-fact-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-control); background: var(--ej-lo); color: var(--ej-hi); flex: none; }
.ej-fact-text { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }
.ej-fact-value { font-size: 16px; line-height: 22px; font-weight: 800; }
.ej-fact-go { flex-basis: 100%; display: inline-flex; align-items: center; gap: 4px; color: var(--link); font-size: 13px; line-height: 16px; font-weight: 700; }
.ej-highlight { position: relative; margin: 0; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-8); border-radius: var(--radius-md); background: var(--ej-lo); font-family: var(--font-sans); }
.ej-highlight-tag { background: var(--surface-200); color: var(--ej-hi); }
.ej-highlight-quote { margin: 0; max-width: 28em; font-size: 28px; line-height: 34px; font-weight: 800; color: var(--ej-hi); }
.ej-highlight-note { max-width: 44em; color: #ffffffd9; line-height: 24px; }
.ej-highlight-waves { border-radius: 0; margin-block: 36px; }
.ej-highlight-waves::before, .ej-highlight-waves::after { content: ""; position: absolute; left: 0; right: 0; height: 36px; background: var(--ej-lo); pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='36' viewBox='0 0 320 36'%3E%3Cpath d='M0 36V20C20 20 28 6 50 6S82 24 110 24 144 4 174 4 214 20 244 20 276 30 290 30 310 20 320 20V36z'/%3E%3C/svg%3E") repeat-x 0 0 / 320px 36px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='36' viewBox='0 0 320 36'%3E%3Cpath d='M0 36V20C20 20 28 6 50 6S82 24 110 24 144 4 174 4 214 20 244 20 276 30 290 30 310 20 320 20V36z'/%3E%3C/svg%3E") repeat-x 0 0 / 320px 36px; animation: ej-wave-l 14s linear infinite; }
.ej-highlight-waves::before { bottom: calc(100% - 1px); }
.ej-highlight-waves::after { top: calc(100% - 1px); transform: scaleY(-1); animation-name: ej-wave-r; animation-duration: 11s; }
@media (max-width: 600px) { .ej-highlight { padding: var(--space-6); } .ej-highlight-quote { font-size: 22px; line-height: 28px; } }
@keyframes ej-wave-l { to { -webkit-mask-position: -320px 0; mask-position: -320px 0; } }
@keyframes ej-wave-r { to { -webkit-mask-position: 320px 0; mask-position: 320px 0; } }
.ej-entry { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-8); font-family: var(--font-sans); }
.ej-entry-when { flex: 0 0 160px; display: flex; flex-direction: column; gap: var(--space-1); }
.ej-entry-body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: var(--space-2); color: var(--ink-muted); line-height: 24px; }
.ej-entry-title { margin: 0; font-size: 24px; line-height: 30px; font-weight: 800; font-style: italic; color: var(--ink); }
.ej-entry-sub { margin: 0; font-size: 15px; line-height: 20px; font-weight: 700; color: var(--ink); }
@media (max-width: 600px) { .ej-entry-when { flex-basis: 100%; } }

/* Feedback */
.ej-fb-info    { --fb-bg: var(--info-surface);    --fb-fg: var(--info-text); }
.ej-fb-success { --fb-bg: var(--success-surface); --fb-fg: var(--success-text); }
.ej-fb-warning { --fb-bg: var(--warning-surface); --fb-fg: var(--warning-text); }
.ej-fb-error   { --fb-bg: var(--error-surface);   --fb-fg: var(--error-text); }
.ej-fb-neutral { --fb-bg: var(--surface-200);     --fb-fg: var(--ink-muted); }
.ej-fb-icon { color: var(--fb-fg); flex: none; }
.ej-toast-region { position: fixed; inset-inline: 0; bottom: var(--space-6); z-index: var(--z-toast); display: flex; flex-direction: column; align-items: center; gap: var(--space-2); pointer-events: none; padding: 0 var(--space-4); }
.ej-toast-region-static { position: static; padding: var(--space-4); }
.ej-toast { pointer-events: auto; display: inline-flex; align-items: center; gap: var(--space-3); max-width: 480px; min-height: 48px; padding: var(--space-1) var(--space-1) var(--space-1) var(--space-4); border-radius: var(--radius-control); background: var(--fb-bg); color: var(--ink); font: 700 15px/20px var(--font-sans); animation: ej-toast-in .2s ease-out; }
.ej-toast-text { padding-block: var(--space-2); }
.ej-toast:not(:has(.ej-iconbtn)) { padding-right: var(--space-4); }
.ej-toast-action { border: 0; background: transparent; color: var(--fb-fg); font: inherit; padding: var(--space-2) var(--space-3); border-radius: var(--radius-control); cursor: pointer; }
.ej-toast-action:hover { background: var(--border); }
@keyframes ej-toast-in { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  .ej-mini-spin, .ej-spinner-arc, .ej-spinner-core, .ej-skel, .ej-toast, .ej-overlay, .ej-modal, .ej-drawer, .ej-car-track, .ej-car-slide, .ej-switch, .ej-switch-knob, .ej-skel-layer, .ej-skel-content, .ej-highlight-waves::before, .ej-highlight-waves::after, .ej-wave-anim, .ej-tip { animation: none !important; transition: none !important; }
}

/* ==========================================================
   Page layout (resume-specific; everything above is the system)
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--surface-100);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--layout-topbar-h) + var(--space-4));
}
body { margin: 0; color: var(--ink); font: 400 16px/24px var(--font-sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.ej-entry-body a, .ej-card-text a, .ej-fact-value a { color: var(--link); text-underline-offset: 3px; }
.ej-fact-value a, .ej-card-title a { text-decoration: none; }
.ej-card-title a { color: inherit; }
.ej-card-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ej-fact-value a:hover { text-decoration: underline; }

.page { width: 100%; max-width: calc(var(--layout-page-max) + var(--layout-gutter) * 2); margin-inline: auto; padding-inline: var(--layout-gutter); }
.lead { font-size: 18px; line-height: 28px; }
@media (max-width: 600px) { .lead { font-size: 16px; line-height: 24px; } }

/* The lava lamp sits behind all of <main>: the top of the hero is its ceiling */
main { position: relative; isolation: isolate; }
.contact__ripple { position: absolute; z-index: -1; left: -180px; bottom: -220px; width: 560px; aspect-ratio: 1; }
.contact__ripple .ej-art { --x: 0; --y: 0; --size: 100%; }

/* Hero */
.hero { display: flex; flex-direction: column; align-items: center; gap: var(--space-6); padding-block: 112px 72px; text-align: center; }
.hero__name { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.hero__lead { max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }
.facts { width: 100%; margin: var(--space-8) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: var(--space-3); text-align: left; }

/* Sections */
.section { display: flex; flex-direction: column; gap: var(--layout-block-gap); padding-top: var(--layout-section-gap); }
.grid { display: grid; gap: var(--layout-grid-gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 680px) { .grid--2 { grid-template-columns: 1fr; } }
.entries { display: flex; flex-direction: column; gap: var(--space-8); margin: 0; padding: 0; list-style: none; }
.subhead { font-size: 22px; line-height: 28px; font-weight: 800; }
.highlight-band { margin-top: var(--layout-section-gap); }
.highlight-band .ej-highlight { padding-inline: 0; }
.highlight-band .page { display: flex; flex-direction: column; gap: var(--space-3); }

/* Contact */
.contact { position: relative; isolation: isolate; overflow: hidden; margin-top: var(--layout-section-gap); }
.contact__inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); padding-block: 112px var(--layout-section-gap); text-align: center; }
.contact__lead { max-width: 34em; margin-bottom: var(--space-4); color: var(--ink-muted); }
.contact__list { width: 100%; margin: var(--space-8) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: var(--space-3); text-align: left; }
.contact__list .ej-fact-value { overflow-wrap: anywhere; }

.ej-footer-main { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }

/* Reveal on scroll (enabled by main.ts) */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.45s ease, transform 0.45s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Phones: the tab bar takes over from the top-bar links */
@media (max-width: 600px) {
  .ej-topnav { display: none; }
  .hero { padding-block: 64px 48px; }
  .hero .actions { align-self: stretch; flex-direction: column; }
  .contact__ripple { width: 360px; left: -140px; bottom: -160px; }
  .contact__inner { padding-block: 80px; }
  .ej-footer { padding-bottom: calc(var(--layout-tabbar-h) + env(safe-area-inset-bottom, 0px)); }
  .ej-tabbar { padding-bottom: env(safe-area-inset-bottom, 0px); height: calc(var(--layout-tabbar-h) + env(safe-area-inset-bottom, 0px)); }
  .ej-toast-region { bottom: calc(var(--layout-tabbar-h) + var(--space-4)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
