/* ==========================================================================
   hakanmelihzambak.com — herkese açık site
   Renkler App.razor'da temadan (:root değişkenleri) gelir.
   Motif: nesne tespiti kutuları (raf analizi projesinden).
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    font-variation-settings: "wdth" 100;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
::selection { background: color-mix(in srgb, var(--accent) 28%, transparent); color: var(--ink); }
:root { accent-color: var(--accent); caret-color: var(--accent); scrollbar-color: color-mix(in srgb, var(--muted) 55%, transparent) var(--bg); }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: "Bricolage Grotesque", "Schibsted Grotesk", sans-serif; font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { width: min(1140px, 100% - 2rem); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: .5rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; }

/* ---------- üst bar ---------- */
.topbar {
    position: sticky; top: 0; z-index: 20;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 600; }
.brand-mark {
    display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem;
    font-family: "Bricolage Grotesque", sans-serif; font-size: .78rem; font-weight: 800; letter-spacing: -.01em;
    color: var(--accent-ink); background: var(--accent); border-radius: 6px;
}
.brand-name { font-size: .98rem; }
@media (max-width: 420px) { .brand-name { display: none; } }

.mainnav { display: flex; align-items: center; gap: .5rem; }
.navmenu > summary { list-style: none; cursor: pointer; padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; }
.navmenu > summary::-webkit-details-marker { display: none; }
.navmenu ul { list-style: none; margin: 0; padding: .5rem; }
.navmenu a { display: block; padding: .5rem .75rem; text-decoration: none; border-radius: 6px; font-size: .95rem; }
.navmenu a:hover { background: var(--accent-soft); color: var(--ink); }
.navmenu[open] ul { position: absolute; right: 1rem; top: 3.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; min-width: 12rem; box-shadow: 0 12px 32px -18px color-mix(in srgb, var(--ink) 60%, transparent); }
.lang { text-decoration: none; font-weight: 600; font-size: .9rem; padding: .4rem .7rem; border-radius: 999px; border: 1px solid var(--line); }
.lang:hover { border-color: var(--accent); color: var(--accent); }

@media (min-width: 860px) {
    .navmenu > summary { display: none; }
    .navmenu ul, .navmenu[open] ul { position: static; display: flex; gap: .15rem; padding: 0; background: none; border: 0; box-shadow: none; min-width: 0; }
    .navmenu:not([open]) ul { display: flex; }
}
/* details kapalıyken içerik gizlenir; masaüstünde her zaman açık görünmesi için site.js "open" ekler */

/* ---------- hero ---------- */
.hero {
    display: grid; gap: 2.5rem; align-items: center;
    padding-block: clamp(3rem, 8vw, 6.5rem) clamp(3rem, 7vw, 5.5rem);
}
@media (min-width: 900px) { .hero { grid-template-columns: 1.35fr .9fr; gap: 4rem; } }

.hero-role { font-weight: 600; color: var(--muted); margin-bottom: 3.2rem; font-size: 1rem; }
.hero-name {
    font-size: clamp(2.9rem, 8.4vw, 6.1rem);
    font-weight: 760;
    font-variation-settings: "wdth" 92;
    line-height: .98;
    letter-spacing: -0.018em;
    margin-bottom: 1.6rem;
}

/* Tespit kutusu: kenarlar sırayla çizilir, sonra etiket belirir. */
.detect { position: relative; display: inline-block; padding: .06em .02em .1em; }
.detect::before {
    content: ""; position: absolute; inset: -.12em -.2em -.08em;
    pointer-events: none;
    --c: var(--accent);
    background:
        linear-gradient(var(--c), var(--c)) top left / 0 2px no-repeat,
        linear-gradient(var(--c), var(--c)) top right / 2px 0 no-repeat,
        linear-gradient(var(--c), var(--c)) bottom right / 0 2px no-repeat,
        linear-gradient(var(--c), var(--c)) bottom left / 2px 0 no-repeat;
    animation: draw-box 1.1s cubic-bezier(.65, 0, .25, 1) .25s forwards;
}
.detect::after {
    content: attr(data-label);
    position: absolute; left: -.2em; bottom: calc(100% + .12em);
    font-family: "Schibsted Grotesk", sans-serif; font-size: max(.8rem, .16em); font-weight: 600; letter-spacing: 0;
    line-height: 1; padding: .35em .55em; white-space: nowrap;
    background: var(--accent); color: var(--accent-ink);
    opacity: 0; transform: translateY(4px);
    animation: pop-label .35s ease-out 1.3s forwards;
}
@media (max-width: 520px) { .detect::before { inset: -.1em -.12em -.06em; } .detect::after { left: -.12em; } .hero { padding-top: 2.6rem; } .hero-role { margin-bottom: 2.6rem; } }
@keyframes draw-box {
    25%  { background-size: 100% 2px, 2px 0,    0 2px,    2px 0; }
    50%  { background-size: 100% 2px, 2px 100%, 0 2px,    2px 0; }
    75%  { background-size: 100% 2px, 2px 100%, 100% 2px, 2px 0; }
    100% { background-size: 100% 2px, 2px 100%, 100% 2px, 2px 100%; }
}
@keyframes pop-label { to { opacity: 1; transform: none; } }

.hero-tagline { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 34em; color: color-mix(in srgb, var(--ink) 86%, var(--bg)); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 1.5rem; }
.hero-now { font-size: .95rem; color: var(--muted); max-width: 40em; }
.hero-now span { color: var(--ink); font-weight: 600; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem;
    padding: .7rem 1.3rem; border-radius: 8px; font-weight: 600; text-decoration: none; font-size: 1rem;
    border: 1.5px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 85%, var(--ink)); }
.btn-ghost { border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); }

.hero-photo { margin: 0; justify-self: center; width: min(100%, 400px); }
.photo-frame { position: relative; aspect-ratio: 11 / 13; }
.photo-frame img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 4px;
    background: var(--surface);
}
/* Fotoğraf üzerindeki tespit kutusu: köşe parantezleri */
.photo-box {
    position: absolute; inset: 9% 12% 22% 12%; pointer-events: none;
    --c: var(--accent); --l: 26px;
    background:
        linear-gradient(var(--c), var(--c)) top left / var(--l) 2px no-repeat,
        linear-gradient(var(--c), var(--c)) top left / 2px var(--l) no-repeat,
        linear-gradient(var(--c), var(--c)) top right / var(--l) 2px no-repeat,
        linear-gradient(var(--c), var(--c)) top right / 2px var(--l) no-repeat,
        linear-gradient(var(--c), var(--c)) bottom left / var(--l) 2px no-repeat,
        linear-gradient(var(--c), var(--c)) bottom left / 2px var(--l) no-repeat,
        linear-gradient(var(--c), var(--c)) bottom right / var(--l) 2px no-repeat,
        linear-gradient(var(--c), var(--c)) bottom right / 2px var(--l) no-repeat;
    opacity: 0; transform: scale(1.06);
    animation: lock-on .45s cubic-bezier(.2, .8, .2, 1) 1.55s forwards;
}
.photo-label {
    position: absolute; left: 0; top: -1.75rem;
    font-size: .8rem; font-weight: 600; line-height: 1; padding: .35rem .55rem;
    background: var(--accent); color: var(--accent-ink);
}
@keyframes lock-on { to { opacity: 1; transform: none; } }

/* Fotoğraf yokken: "tespit edilen yığın" kadrajı. Yetenekler bir modelin bulduğu nesneler gibi kutulanır. */
.hero-stack { margin: 0; justify-self: stretch; }
.stack-frame {
    position: relative; padding: clamp(2.2rem, 4vw, 3rem) clamp(1.4rem, 3vw, 2.4rem) 3.4rem;
    background:
        linear-gradient(color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px) 0 0 / 100% 2.25rem,
        var(--surface);
    border: 1px solid var(--line); border-radius: 6px;
}
.stack-corner { position: absolute; width: 22px; height: 22px; border: 0 solid var(--accent); }
.stack-corner.tl { top: 12px; left: 12px; border-top-width: 2px; border-left-width: 2px; }
.stack-corner.tr { top: 12px; right: 12px; border-top-width: 2px; border-right-width: 2px; }
.stack-corner.bl { bottom: 12px; left: 12px; border-bottom-width: 2px; border-left-width: 2px; }
.stack-corner.br { bottom: 12px; right: 12px; border-bottom-width: 2px; border-right-width: 2px; }
.stack-tokens { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2.1rem 1.1rem; align-items: flex-end; }
.tok {
    position: relative; padding: .35rem .7rem; line-height: 1.1;
    font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; letter-spacing: -.01em; color: var(--ink);
    outline: 1.5px solid color-mix(in srgb, var(--accent) 80%, transparent); outline-offset: 0;
    background: color-mix(in srgb, var(--accent) 7%, transparent);
    opacity: 0; animation: tok-in .4s cubic-bezier(.2, .8, .2, 1) var(--d, 1.4s) forwards;
}
.tok::before {
    content: attr(data-score); position: absolute; left: -1.5px; bottom: calc(100% + 1.5px);
    font: 600 .68rem/1 "Schibsted Grotesk", sans-serif; letter-spacing: 0; padding: .22rem .38rem;
    background: var(--accent); color: var(--accent-ink); white-space: nowrap;
}
.tok-0 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.tok-1, .tok-4 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.tok-2, .tok-3, .tok-5, .tok-6 { font-size: clamp(1rem, 1.5vw, 1.2rem); }
.tok-2 { margin-left: 1.5rem; }
.tok-5 { margin-left: auto; }
.stack-caption { position: absolute; left: clamp(1.4rem, 3vw, 2.4rem); bottom: 1.1rem; font-size: .8rem; color: var(--muted); }
@keyframes tok-in { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
@media (max-width: 899px) {
    .hero-stack { order: 2; }
    .stack-frame { padding: 2.6rem 1.5rem 3rem; }
    .stack-tokens { gap: 1.8rem .8rem; }
    .tok-2 { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .tok { animation: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
    .detect::before { animation: none; background-size: 100% 2px, 2px 100%, 100% 2px, 2px 100%; }
    .detect::after, .photo-box { animation: none; opacity: 1; transform: none; }
}

/* ---------- bölümler ---------- */
.block {
    display: grid; gap: 1.25rem 3rem;
    padding-block: clamp(3rem, 6vw, 4.75rem);
    border-top: 1px solid var(--line);
}
@media (min-width: 900px) { .block { grid-template-columns: 15rem 1fr; } }

.block-title {
    font-size: clamp(1.6rem, 2.6vw, 2rem);
    align-self: start;
    position: relative; width: fit-content; padding: .1em .35em .15em;
    /* başlıklar da küçük bir tespit çerçevesi taşır: sadece köşeler */
    --c: var(--accent); --l: 10px;
    background:
        linear-gradient(var(--c), var(--c)) top left / var(--l) 2px no-repeat,
        linear-gradient(var(--c), var(--c)) top left / 2px var(--l) no-repeat,
        linear-gradient(var(--c), var(--c)) bottom right / var(--l) 2px no-repeat,
        linear-gradient(var(--c), var(--c)) bottom right / 2px var(--l) no-repeat;
}
@media (min-width: 900px) { .block-title { position: sticky; top: 5.5rem; } }

.prose { max-width: 38em; }
.prose p { font-size: 1.08rem; }

.about { display: grid; gap: 2rem; }
@media (min-width: 1100px) { .about { grid-template-columns: 1fr 15rem; } }
.facts { margin: 0; display: grid; gap: 1rem; align-content: start; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.facts dt { font-size: .85rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }

/* deneyim: gerçek bir zaman sırası olduğu için zaman çizelgesi */
.timeline { list-style: none; margin: 0; padding: 0; }
.tl-item { display: grid; gap: .35rem 2rem; padding: 0 0 2.5rem 1.4rem; position: relative; border-left: 2px solid var(--line); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px; background: var(--bg); border: 2px solid var(--accent); }
.tl-item:first-child::before { background: var(--accent); }
@media (min-width: 700px) { .tl-item { grid-template-columns: 10.5rem 1fr; } }
.tl-date { font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; margin: .1rem 0 0; }
.tl-role { font-size: 1.3rem; }
.tl-company { font-weight: 600; margin: .3rem 0 .8rem; }
.tl-loc { font-weight: 400; color: var(--muted); }
.tl-main > p { max-width: 40em; }
.bullets { margin: 0 0 1rem; padding-left: 1.1rem; max-width: 40em; }
.bullets li { margin-bottom: .35rem; }
.bullets li::marker { color: var(--accent); }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 0; padding: 0; }
.tags li { font-size: .82rem; padding: .22rem .6rem; border: 1px solid var(--line); border-radius: 4px; color: color-mix(in srgb, var(--ink) 80%, var(--bg)); }

/* projeler */
.projects { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .projects { grid-template-columns: 1fr 1fr; } }
.project { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.project-art { color: var(--ink); background: color-mix(in srgb, var(--accent) 7%, var(--surface)); border-bottom: 1px solid var(--line); aspect-ratio: 16 / 10; display: grid; place-items: center; }
.project-art img { width: 100%; height: 100%; object-fit: cover; }
.project-art .art { width: 88%; height: auto; }
.project-text { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.project-context { font-size: .88rem; color: var(--muted); margin-bottom: .35rem; }
.project-title { font-size: 1.3rem; margin-bottom: .6rem; }
.project-text > p { font-size: 1rem; }
.project-links { display: flex; gap: 1.25rem; margin: 1rem 0 0; font-weight: 600; font-size: .95rem; }
.project .tags { margin-top: auto; padding-top: .5rem; }
@media (min-width: 700px) {
    .project.is-featured { grid-column: 1 / -1; flex-direction: row; border-radius: 14px; }
    .project.is-featured .project-art { flex: 0 0 48%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); min-height: 18rem; }
    .project.is-featured .project-text { padding: 2rem; justify-content: center; }
    .project.is-featured .project-title { font-size: 1.75rem; }
    .project.is-featured .tags { margin-top: .5rem; }
}

/* çizim renkleri */
.art .acc { stroke: var(--accent); }
.art .accfill { fill: var(--accent); }
.art .accsoft { fill: color-mix(in srgb, var(--accent) 22%, transparent); }
.art .bgfill { fill: var(--surface); }
.art .tile { font: 800 40px "Bricolage Grotesque", sans-serif; stroke: none; fill: var(--ink); }
.art .tile.red, .art circle.red { fill: #C8352B; stroke: #C8352B; }
.art .acc-text { fill: var(--accent); }

/* yetenekler */
.skills { display: grid; }
.skill-row { display: grid; gap: .4rem 2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.skill-row:first-child { padding-top: 0; }
.skill-row:last-child { border-bottom: 0; }
@media (min-width: 700px) { .skill-row { grid-template-columns: 12rem 1fr; align-items: baseline; } }
.skill-row h3 { font-size: 1.05rem; font-family: "Schibsted Grotesk", sans-serif; font-weight: 600; color: var(--muted); }
.skill-row ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; font-size: 1.08rem; font-weight: 500; }

/* eğitim + referanslar */
.edu-refs { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .edu-refs { grid-template-columns: 1.4fr 1fr; } }
.edu { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; }
.edu h3 { font-size: 1.2rem; margin: .15rem 0 .25rem; }
.edu-period { font-size: .9rem; color: var(--muted); margin: 0; font-variant-numeric: tabular-nums; }
.edu-school { font-weight: 600; margin-bottom: .3rem; }
.edu-desc { color: var(--muted); font-size: .98rem; }
.refs { padding: 1.4rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); align-self: start; }
.refs-title { font-size: 1.1rem; margin-bottom: 1rem; }
.refs ul { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .8rem; }
.refs li { display: grid; }
.refs li span { color: var(--muted); font-size: .95rem; }
.refs-note { font-size: .88rem; color: var(--muted); margin: 0; }

/* iletişim */
.contact-lead { font-size: 1.15rem; max-width: 32em; }
.mail-line { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin: 1.25rem 0 1.75rem; }
.mail {
    font-family: "Bricolage Grotesque", sans-serif; font-weight: 700;
    font-size: clamp(1.45rem, 4.4vw, 2.7rem); letter-spacing: -.02em; line-height: 1.15;
    text-decoration-thickness: 2px; word-break: break-word;
}
.copy { font: inherit; font-size: .9rem; font-weight: 600; padding: .45rem .9rem; border-radius: 999px; background: none; color: var(--ink); border: 1px solid var(--line); cursor: pointer; }
.copy:hover { border-color: var(--accent); color: var(--accent); }
.links { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; }
.links a { display: inline-block; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-weight: 600; }
.links a:hover { border-color: var(--accent); }

/* alt bilgi */
.footer { border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; font-size: .9rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer p { margin: 0; }
.footer-inner p:last-child { text-align: right; }
@media (max-width: 600px) { .footer-inner { flex-direction: column; align-items: flex-start; gap: .25rem; } .footer-inner p:last-child { text-align: left; } }
.footer a { color: var(--muted); }

/* giriş ve hata sayfaları */
.page-narrow { min-height: calc(100vh - 12rem); display: grid; place-items: center; padding-block: 3rem; }
.card { width: min(420px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 2rem; }
.card h1 { font-size: 1.8rem; margin-bottom: .4rem; }
.card p.sub { color: var(--muted); margin-bottom: 1.5rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: .92rem; }
.field input {
    font: inherit; padding: .7rem .85rem; border-radius: 8px; border: 1px solid var(--line);
    background: var(--bg); color: var(--ink);
}
.field input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.form-error { background: color-mix(in srgb, #C8352B 12%, var(--surface)); border: 1px solid color-mix(in srgb, #C8352B 40%, var(--line)); padding: .7rem .9rem; border-radius: 8px; margin-bottom: 1rem; font-size: .95rem; }
.form-ok { background: color-mix(in srgb, #19A85A 12%, var(--surface)); border: 1px solid color-mix(in srgb, #19A85A 40%, var(--line)); padding: .7rem .9rem; border-radius: 8px; margin-bottom: 1rem; font-size: .95rem; }
.card .btn { width: 100%; cursor: pointer; }

@media print {
    .topbar, .hero-actions, .footer, .copy, .photo-box, .detect::after { display: none !important; }
    .block { break-inside: avoid; }
}

/* Tek kalan proje kartı (öne çıkan + tek sayıda diğer) iki sütunu kaplar ve yatay dizilir */
@media (min-width: 700px) {
    .project:not(.is-featured):last-child:nth-child(even) { grid-column: 1 / -1; flex-direction: row; }
    .project:not(.is-featured):last-child:nth-child(even) .project-art { flex: 0 0 42%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); min-height: 14rem; }
    .project:not(.is-featured):last-child:nth-child(even) .project-text { justify-content: center; }
}


/* Sabit mobil iletişim çubuğu: hero geçilince belirir, iletişim bölümünde çekilir. */
.mcta { display: none; }
@media (max-width: 859px) {
    .mcta {
        display: flex; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
        padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
        background: color-mix(in srgb, var(--bg) 88%, transparent);
        -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
        border-top: 1px solid var(--line);
        transform: translateY(110%); transition: transform .28s cubic-bezier(.2,.7,.2,1);
    }
    .mcta.is-on { transform: none; }
    .mcta .btn { flex: 1; justify-content: center; text-align: center; }
    .mcta .btn-ghost { flex: 0 0 auto; min-width: 5.5rem; background: var(--surface); }
    body.has-mcta .footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .mcta { transition: none; } }
@media print { .mcta { display: none !important; } }

.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.field input[aria-invalid="true"] { border-color: #b3261e; }
