/* GLA University Online Admissions - stylesheet
   Layout/utility rules at the bottom of the @layer utilities block are generated from the
   classes used in index.html and 404.html. Colours are the original oklch design tokens. */

@layer base, components, utilities;

:root {
  --radius: 0.625rem;
  --background: oklch(0.984 0.016 91);
  --foreground: oklch(0.25 0.02 153);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.25 0.02 153);
  --primary: oklch(0.5 0.11 147);
  --primary-foreground: oklch(1 0 0);
  --muted-foreground: oklch(0.49 0.03 155);
  --destructive: oklch(0.577 0.245 27.325);
  --border: oklch(0.9 0.025 145);
  --input: oklch(0.9 0.025 145);
  --ring: oklch(0.5 0.11 147);
  --deep-green: oklch(0.39 0.08 151);
  --deep-green-foreground: oklch(0.98 0.014 95);
  --gold: oklch(0.83 0.17 90);
  --gold-foreground: oklch(0.25 0.02 153);
  --cream: oklch(0.984 0.016 91);
  --soft-green: oklch(0.96 0.025 146);
  --copy-muted: oklch(0.49 0.03 155);
  --gradient-cta: linear-gradient(120deg, color-mix(in oklab, var(--gold) 86%, var(--cream)), var(--gold));
  --shadow-soft: 0 20px 50px -28px color-mix(in oklab, var(--deep-green) 38%, transparent);
  --shadow-gold: 0 8px 26px -12px color-mix(in oklab, var(--gold) 75%, transparent);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-display: "Playfair Display", Georgia, serif;
}

@layer base {
  *, ::after, ::before, ::backdrop { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
  html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; font-family: var(--font-sans); -webkit-tap-highlight-color: transparent; }
  h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
  a { color: inherit; -webkit-text-decoration: inherit; text-decoration: inherit; }
  summary { display: list-item; }
  ol, ul { list-style: none; }
  img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; }
  img, video { max-width: 100%; height: auto; }
  button, input, select, optgroup, textarea { font: inherit; letter-spacing: inherit; color: inherit; border-radius: 0; background-color: transparent; opacity: 1; }
  ::placeholder { opacity: 1; color: color-mix(in oklab, currentcolor 50%, transparent); }
  :-moz-focusring { outline: auto; }
  :-moz-ui-invalid { box-shadow: none; }
  button, input:where([type="button"], [type="reset"], [type="submit"]) { appearance: button; }
  [hidden]:where(:not([hidden="until-found"])) { display: none !important; }
  * { border-color: var(--border); }
  body { font-family: var(--font-sans); background-color: var(--background); color: var(--foreground); }
}

@layer components {
  .icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

  /* buttons */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; white-space: nowrap;
    height: 2.25rem; padding: 0.5rem 1rem; border-radius: calc(var(--radius) - 2px);
    font-size: 0.875rem; line-height: calc(1.25 / 0.875); font-weight: 500; cursor: pointer;
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 0.15s;
  }
  .btn:focus-visible { outline-style: none; box-shadow: 0 0 0 1px var(--ring); }
  .btn svg { width: 1rem; height: 1rem; flex-shrink: 0; pointer-events: none; }
  .btn-gold { background-color: var(--gold); color: var(--gold-foreground); box-shadow: var(--shadow-sm); }
  .btn-outline { border: 1px solid var(--primary); background-color: transparent; color: var(--primary); }
  @media (hover: hover) {
    .btn-gold:hover { filter: brightness(95%); }
    .btn-outline:hover { background-color: var(--soft-green); }
  }

  /* form controls */
  .field {
    display: flex; height: 50px; width: 100%; border-radius: var(--radius); border: 1px solid var(--border);
    background-color: var(--background); padding: 0.25rem 0.75rem; font-size: 1rem; line-height: 1.5;
    box-shadow: var(--shadow-sm); transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 0.15s;
  }
  .field::placeholder, .field-bare::placeholder { color: var(--muted-foreground); }
  .field:focus-visible { outline-style: none; box-shadow: 0 0 0 1px var(--ring), var(--shadow-sm); }
  .field-bare {
    display: flex; height: 100%; width: 100%; border-radius: 0; border-width: 0; background-color: transparent;
    padding: 0.25rem 0.75rem; font-size: 1rem; line-height: 1.5; box-shadow: 0 0 #0000;
  }
  .field-bare:focus-visible { outline-style: none; box-shadow: 0 0 #0000; }
  .select {
    height: 50px; width: 100%; border-radius: var(--radius); border: 1px solid var(--border);
    background-color: var(--background); padding-inline: 0.75rem; font-size: 1rem; line-height: 1.5; color: var(--foreground);
  }
  .select:focus-visible { outline-style: none; box-shadow: 0 0 0 2px var(--ring); }
  .check {
    appearance: none; -webkit-appearance: none; display: grid; place-content: center; flex-shrink: 0;
    width: 1rem; height: 1rem; border: 1px solid var(--primary); border-radius: calc(var(--radius) - 4px);
    box-shadow: var(--shadow-sm); cursor: pointer; background-color: transparent;
  }
  .check:checked {
    background-color: var(--primary); background-repeat: no-repeat; background-position: center; background-size: 1rem;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>");
  }
  .check:focus-visible { outline-style: none; box-shadow: 0 0 0 1px var(--ring), var(--shadow-sm); }

  .faq-summary::-webkit-details-marker { display: none; }

  /* dialogs (native <dialog>) */
  .dlg {
    position: fixed; inset: 0; margin: auto; height: fit-content; max-width: 32rem; max-height: none;
    color: var(--foreground);
  }
  .dlg[open] { display: grid; gap: 1rem; }
  .dlg::backdrop { background-color: rgb(0 0 0 / 0.8); }
  .dlg-close {
    position: absolute; right: 1rem; top: 1rem; border-radius: calc(var(--radius) - 4px); opacity: 0.7; cursor: pointer;
    transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .dlg-close:hover { opacity: 1; }
  .dlg-close:focus { outline-style: none; box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring); }
}

@layer utilities {
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border-width:0}
.absolute{position:absolute}
.fixed{position:fixed}
.relative{position:relative}
.sticky{position:sticky}
.bottom-0{bottom:0}
.bottom-10{bottom:2.5rem}
.inset-0{inset:0}
.inset-x-0{inset-inline:0}
.left-3{left:0.75rem}
.right-0{right:0}
.top-0{top:0}
.-z-10{z-index:-10}
.z-40{z-index:40}
.isolate{isolation:isolate}
.overflow-hidden{overflow:hidden}
.overflow-y-auto{overflow-y:auto}
.block{display:block}
.flex{display:flex}
.grid{display:grid}
.inline-flex{display:inline-flex}
.aspect-\[16\/10\]{aspect-ratio:16 / 10}
.aspect-\[16\/9\]{aspect-ratio:16 / 9}
.aspect-\[4\/3\]{aspect-ratio:4 / 3}
.size-11{width:2.75rem;height:2.75rem}
.size-12{width:3rem;height:3rem}
.size-3\.5{width:0.875rem;height:0.875rem}
.size-4{width:1rem;height:1rem}
.size-4\.5{width:1.125rem;height:1.125rem}
.size-5{width:1.25rem;height:1.25rem}
.size-6{width:1.5rem;height:1.5rem}
.size-7{width:1.75rem;height:1.75rem}
.size-9{width:2.25rem;height:2.25rem}
.h-0\.5{height:0.125rem}
.h-14{height:3.5rem}
.h-\[50px\]{height:50px}
.h-\[72px\]{height:72px}
.h-auto{height:auto}
.h-full{height:100%}
.w-7{width:1.75rem}
.w-\[164px\]{width:164px}
.w-\[42\%\]{width:42%}
.w-\[calc\(100\%-1rem\)\]{width:calc(100% - 1rem)}
.w-full{width:100%}
.min-h-11{min-height:2.75rem}
.min-h-12{min-height:3rem}
.min-h-screen{min-height:100vh}
.min-w-\[132px\]{min-width:132px}
.max-h-\[84vh\]{max-height:84vh}
.max-h-\[85vh\]{max-height:85vh}
.max-h-full{max-height:100%}
.max-w-2xl{max-width:42rem}
.max-w-3xl{max-width:48rem}
.max-w-4xl{max-width:56rem}
.max-w-5xl{max-width:64rem}
.max-w-7xl{max-width:80rem}
.max-w-md{max-width:28rem}
.max-w-xl{max-width:36rem}
.shrink-0{flex-shrink:0}
.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.flex-col{flex-direction:column}
.flex-wrap{flex-wrap:wrap}
.place-items-center{place-items:center}
.items-center{align-items:center}
.items-start{align-items:flex-start}
.justify-between{justify-content:space-between}
.justify-center{justify-content:center}
.justify-start{justify-content:flex-start}
.justify-self-center{justify-self:center}
.gap-1\.5{gap:0.375rem}
.gap-10{gap:2.5rem}
.gap-2{gap:0.5rem}
.gap-2\.5{gap:0.625rem}
.gap-3{gap:0.75rem}
.gap-4{gap:1rem}
.gap-5{gap:1.25rem}
.gap-6{gap:1.5rem}
.gap-8{gap:2rem}
.gap-x-5{column-gap:1.25rem}
.gap-x-6{column-gap:1.5rem}
.gap-y-2{row-gap:0.5rem}
.gap-y-3{row-gap:0.75rem}
.gap-y-5{row-gap:1.25rem}
.gap-y-7{row-gap:1.75rem}
:where(.space-y-1\.5>:not(:last-child)){margin-block-end:0.375rem}
:where(.space-y-2>:not(:last-child)){margin-block-end:0.5rem}
:where(.space-y-2\.5>:not(:last-child)){margin-block-end:0.625rem}
:where(.space-y-3>:not(:last-child)){margin-block-end:0.75rem}
:where(.space-y-3\.5>:not(:last-child)){margin-block-end:0.875rem}
:where(.space-y-4>:not(:last-child)){margin-block-end:1rem}
:where(.divide-border>:not(:last-child)){border-color:var(--border)}
:where(.divide-y>:not(:last-child)){border-bottom-style:solid;border-bottom-width:1px}
.scroll-mt-24{scroll-margin-top:6rem}
.mx-auto{margin-inline:auto}
.mt-0\.5{margin-top:0.125rem}
.mt-1{margin-top:0.25rem}
.mt-1\.5{margin-top:0.375rem}
.mt-2{margin-top:0.5rem}
.mt-3{margin-top:0.75rem}
.mt-4{margin-top:1rem}
.mt-5{margin-top:1.25rem}
.mt-6{margin-top:1.5rem}
.mt-7{margin-top:1.75rem}
.mt-8{margin-top:2rem}
.mt-9{margin-top:2.25rem}
.mb-1\.5{margin-bottom:0.375rem}
.mb-2{margin-bottom:0.5rem}
.p-0{padding:0}
.p-3{padding:0.75rem}
.p-4{padding:1rem}
.p-5{padding:1.25rem}
.p-6{padding:1.5rem}
.px-2{padding-inline:0.5rem}
.px-2\.5{padding-inline:0.625rem}
.px-3{padding-inline:0.75rem}
.px-4{padding-inline:1rem}
.px-5{padding-inline:1.25rem}
.px-6{padding-inline:1.5rem}
.py-1{padding-block:0.25rem}
.py-1\.5{padding-block:0.375rem}
.py-10{padding-block:2.5rem}
.py-12{padding-block:3rem}
.py-14{padding-block:3.5rem}
.py-2{padding-block:0.5rem}
.py-3{padding-block:0.75rem}
.py-4{padding-block:1rem}
.py-5{padding-block:1.25rem}
.pt-1{padding-top:0.25rem}
.pt-3{padding-top:0.75rem}
.pt-5{padding-top:1.25rem}
.pb-20{padding-bottom:5rem}
.pb-28{padding-bottom:7rem}
.pb-8{padding-bottom:2rem}
.pb-\[calc\(0\.75rem\+env\(safe-area-inset-bottom\)\)\]{padding-bottom:calc(0.75rem + env(safe-area-inset-bottom))}
.pr-8{padding-right:2rem}
.text-2xl{font-size:1.5rem;line-height:var(--tw-leading,calc(2 / 1.5))}
.text-3xl{font-size:1.875rem;line-height:var(--tw-leading,calc(2.25 / 1.875))}
.text-4xl{font-size:2.25rem;line-height:var(--tw-leading,calc(2.5 / 2.25))}
.text-7xl{font-size:4.5rem;line-height:var(--tw-leading,1)}
.text-\[17px\]{font-size:17px}
.text-\[22px\]{font-size:22px}
.text-\[26px\]{font-size:26px}
.text-\[32px\]{font-size:32px}
.text-base{font-size:1rem;line-height:var(--tw-leading,calc(1.5 / 1))}
.text-sm{font-size:0.875rem;line-height:var(--tw-leading,calc(1.25 / 0.875))}
.text-xl{font-size:1.25rem;line-height:var(--tw-leading,calc(1.75 / 1.25))}
.text-xs{font-size:0.75rem;line-height:var(--tw-leading,calc(1 / 0.75))}
.leading-5{--tw-leading:1.25rem;line-height:1.25rem}
.leading-6{--tw-leading:1.5rem;line-height:1.5rem}
.leading-7{--tw-leading:1.75rem;line-height:1.75rem}
.leading-\[1\.14\]{--tw-leading:1.14;line-height:1.14}
.leading-none{--tw-leading:1;line-height:1}
.leading-snug{--tw-leading:1.375;line-height:1.375}
.leading-tight{--tw-leading:1.25;line-height:1.25}
.tracking-tight{letter-spacing:-0.025em}
.font-display{font-family:var(--font-display)}
.font-bold{font-weight:700}
.font-medium{font-weight:500}
.font-semibold{font-weight:600}
.uppercase{text-transform:uppercase}
.text-center{text-align:center}
.text-left{text-align:left}
.text-card-foreground{color:var(--card-foreground)}
.text-copy-muted{color:var(--copy-muted)}
.text-deep-green{color:var(--deep-green)}
.text-deep-green-foreground{color:var(--deep-green-foreground)}
.text-deep-green-foreground\/75{color:color-mix(in oklab, var(--deep-green-foreground) 75%, transparent)}
.text-deep-green-foreground\/80{color:color-mix(in oklab, var(--deep-green-foreground) 80%, transparent)}
.text-deep-green-foreground\/85{color:color-mix(in oklab, var(--deep-green-foreground) 85%, transparent)}
.text-deep-green-foreground\/90{color:color-mix(in oklab, var(--deep-green-foreground) 90%, transparent)}
.text-destructive{color:var(--destructive)}
.text-foreground{color:var(--foreground)}
.text-gold{color:var(--gold)}
.text-muted-foreground{color:var(--muted-foreground)}
.text-primary{color:var(--primary)}
.text-primary-foreground{color:var(--primary-foreground)}
.underline{text-decoration-line:underline}
.underline-offset-2{text-underline-offset:2px}
.underline-offset-4{text-underline-offset:4px}
.list-none{list-style-type:none}
.not-italic{font-style:normal}
.bg-background{background-color:var(--background)}
.bg-background\/90{background-color:color-mix(in oklab, var(--background) 90%, transparent)}
.bg-card{background-color:var(--card)}
.bg-card\/95{background-color:color-mix(in oklab, var(--card) 95%, transparent)}
.bg-cream{background-color:var(--cream)}
.bg-deep-green{background-color:var(--deep-green)}
.bg-gold{background-color:var(--gold)}
.bg-gold\/20{background-color:color-mix(in oklab, var(--gold) 20%, transparent)}
.bg-primary{background-color:var(--primary)}
.bg-soft-green{background-color:var(--soft-green)}
.bg-transparent{background-color:transparent}
.border{border-width:1px}
.border-0{border-width:0}
.border-4{border-width:4px}
.border-y{border-block-width:1px}
.border-b{border-bottom-width:1px}
.border-l-4{border-left-width:4px}
.border-r{border-right-width:1px}
.border-t{border-top-width:1px}
.border-t-4{border-top-width:4px}
.border-border{border-color:var(--border)}
.border-card{border-color:var(--card)}
.border-deep-green-foreground\/20{border-color:color-mix(in oklab, var(--deep-green-foreground) 20%, transparent)}
.border-primary{border-color:var(--primary)}
.border-primary\/20{border-color:color-mix(in oklab, var(--primary) 20%, transparent)}
.border-t-gold{border-top-color:var(--gold)}
.border-t-primary{border-top-color:var(--primary)}
.rounded-2xl{border-radius:calc(var(--radius) + 8px)}
.rounded-3xl{border-radius:calc(var(--radius) + 12px)}
.rounded-full{border-radius:9999px}
.rounded-lg{border-radius:var(--radius)}
.rounded-md{border-radius:calc(var(--radius) - 2px)}
.rounded-xl{border-radius:calc(var(--radius) + 4px)}
.shadow-2xl{box-shadow:0 25px 50px -12px rgb(0 0 0 / 0.25)}
.shadow-\[var\(--shadow-soft\)\]{box-shadow:var(--shadow-soft)}
.shadow-lg{box-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)}
.shadow-none{box-shadow:0 0 #0000}
.shadow-sm{box-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)}
.object-contain{object-fit:contain}
.object-cover{object-fit:cover}
.object-\[center_45\%\]{object-position:center 45%}
.fill-primary{fill:var(--primary)}
.cursor-pointer{cursor:pointer}
.transition-\[transform\,box-shadow\]{transition-property:transform,box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:.15s}
.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:.15s}
.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:.15s}
.duration-300{transition-duration:300ms}
.duration-500{transition-duration:500ms}
@media (hover:hover){
.hover\:bg-primary\/90:hover{background-color:color-mix(in oklab, var(--primary) 90%, transparent)}
.hover\:shadow-\[var\(--shadow-soft\)\]:hover{box-shadow:var(--shadow-soft)}
.hover\:-translate-y-1:hover{translate:0 -0.25rem}
.hover\:scale-\[1\.025\]:hover{scale:1.025}
}
.focus-within\:ring-2:focus-within{box-shadow:0 0 0 2px var(--ring)}
.group[open] .group-open\:rotate-180{rotate:180deg}
@media (min-width:40rem){
.sm\:bottom-12{bottom:3rem}
.sm\:left-4{left:1rem}
.sm\:w-\[205px\]{width:205px}
.sm\:max-w-2xl{max-width:42rem}
.sm\:max-w-md{max-width:28rem}
.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.sm\:flex-row{flex-direction:row}
.sm\:flex-wrap{flex-wrap:wrap}
.sm\:p-5{padding:1.25rem}
.sm\:p-6{padding:1.5rem}
.sm\:p-7{padding:1.75rem}
.sm\:p-8{padding:2rem}
.sm\:px-6{padding-inline:1.5rem}
.sm\:px-7{padding-inline:1.75rem}
.sm\:py-14{padding-block:3.5rem}
.sm\:py-16{padding-block:4rem}
.sm\:pb-10{padding-bottom:2.5rem}
.sm\:pr-10{padding-right:2.5rem}
.sm\:text-2xl{font-size:1.5rem;line-height:var(--tw-leading,calc(2 / 1.5))}
.sm\:text-3xl{font-size:1.875rem;line-height:var(--tw-leading,calc(2.25 / 1.875))}
.sm\:text-4xl{font-size:2.25rem;line-height:var(--tw-leading,calc(2.5 / 2.25))}
.sm\:text-5xl{font-size:3rem;line-height:var(--tw-leading,1)}
.sm\:text-\[17px\]{font-size:17px}
.sm\:text-base{font-size:1rem;line-height:var(--tw-leading,calc(1.5 / 1))}
.sm\:text-sm{font-size:0.875rem;line-height:var(--tw-leading,calc(1.25 / 0.875))}
.sm\:rounded-lg{border-radius:var(--radius)}
}
@media (min-width:48rem){
.md\:hidden{display:none}
.md\:h-full{height:100%}
.md\:min-h-\[440px\]{min-height:440px}
.md\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}
.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.md\:grid-cols-\[0\.75fr_1\.25fr\]{grid-template-columns:0.75fr 1.25fr}
.md\:grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}
.md\:col-span-5{grid-column:span 5 / span 5}
.md\:col-span-7{grid-column:span 7 / span 7}
.md\:row-span-2{grid-row:span 2 / span 2}
.md\:gap-0{gap:0}
.md\:pb-0{padding-bottom:0}
.md\:pb-10{padding-bottom:2.5rem}
.md\:text-5xl{font-size:3rem;line-height:var(--tw-leading,1)}
.md\:text-\[32px\]{font-size:32px}
.md\:border-l{border-left-width:1px}
.md\:border-deep-green-foreground\/20{border-color:color-mix(in oklab, var(--deep-green-foreground) 20%, transparent)}
}
@media (min-width:64rem){
.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.lg\:grid-cols-\[0\.9fr_1\.1fr\]{grid-template-columns:0.9fr 1.1fr}
.lg\:grid-cols-\[1\.1fr_0\.9fr\]{grid-template-columns:1.1fr 0.9fr}
.lg\:grid-cols-\[1fr_auto\]{grid-template-columns:1fr auto}
.lg\:grid-cols-\[minmax\(0\,1\.06fr\)_minmax\(380px\,0\.82fr\)\]{grid-template-columns:minmax(0,1.06fr) minmax(380px,0.82fr)}
.lg\:justify-self-end{justify-self:flex-end}
.lg\:gap-12{gap:3rem}
.lg\:px-8{padding-inline:2rem}
.lg\:py-12{padding-block:3rem}
.lg\:py-16{padding-block:4rem}
.lg\:py-20{padding-block:5rem}
}
}

/* custom effects (unlayered, same as the original design) */
.hero-wash {
  background-image: radial-gradient(ellipse at 12% 18%, color-mix(in oklab, var(--soft-green) 78%, transparent), transparent 54%);
}

.join-button {
  position: relative;
  overflow: hidden;
  background-image: var(--gradient-cta);
  box-shadow: var(--shadow-gold);
  transition: transform 180ms ease, box-shadow 180ms ease;
  animation: gold-glow 3.2s ease-in-out infinite;
}

.join-button::after {
  position: absolute;
  inset: 0 auto 0 -120%;
  width: 52%;
  content: "";
  background: linear-gradient(110deg, transparent, color-mix(in oklab, white 52%, transparent), transparent);
  transform: skewX(-18deg);
  transition: left 480ms ease;
}

.join-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -10px color-mix(in oklab, var(--gold) 82%, transparent);
}

.join-button:hover::after { left: 140%; }

.fade-up { animation: fade-up 650ms both; }

html.dlg-open { overflow: hidden; }
.dlg[open] { animation: dlg-in 200ms ease; }
.dlg[open]::backdrop { animation: fade-in 150ms ease; }
.dlg.closing { animation: dlg-out 200ms ease forwards; }
.dlg.closing::backdrop { animation: fade-out 150ms ease forwards; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gold-glow {
  0%, 100% { box-shadow: var(--shadow-gold); }
  50% { box-shadow: 0 10px 32px -10px color-mix(in oklab, var(--gold) 84%, transparent); }
}

@keyframes dlg-in { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: none; } }
@keyframes dlg-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(0.95); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }

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