/* ============ Ginti Teises ============ */
:root {
  --navy-950: #0a1222;
  --navy-900: #0e1a2e;
  --navy-800: #16243d;
  --navy-700: #1f3150;
  --brand: #1e3f7a;          /* logotipo mėlyna */
  --brand-soft: #e8edf6;
  --brass: #b0915a;
  --ink: #0b1220;
  --ink-2: #3b4658;
  --ink-3: #6b7587;
  --paper: #f8f7f4;
  --paper-2: #f1efea;
  --white: #fff;
  --line: #dfe2e8;
  --danger: #b4232c;
  --ok: #1d7a4e;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 4px;
  --wrap: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1rem/1.65 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .6em; color: var(--navy-900); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
h4 { font: 600 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1.1rem; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy-900); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.eyebrow { font: 600 .75rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brand); margin-bottom: 1.1rem; display: flex; align-items: center; gap: .75rem; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow.light { color: var(--brass); }
.center { text-align: center; }
.note { font-size: .875rem; color: var(--ink-3); }
.note.center { max-width: 640px; margin: 2rem auto 0; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font: 600 .8rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  padding: 1.05rem 1.6rem; border-radius: var(--radius); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--brand); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--brass); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--navy-900); color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(248,247,244,.88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy-900); }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font: 700 1rem/1.1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.brand-text small { font-size: .78rem; color: var(--ink-3); letter-spacing: .02em; }
.main-nav { display: flex; align-items: center; gap: 1.7rem; }
.main-nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-size: .9rem; font-weight: 500; position: relative; padding: .3rem 0; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--brand); transition: right .25s; }
.main-nav a:not(.btn):hover, .main-nav a.active { color: var(--navy-900); }
.main-nav a:not(.btn):hover::after, .main-nav a.active::after { right: 0; }
.nav-cta { padding: .8rem 1.1rem; font-size: .72rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy-900); margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem 16px 1.5rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
    max-height: calc(100vh - var(--header-h)); overflow: auto;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a:not(.btn) { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 1rem; padding: 1rem; }
}

/* ---- hero ---- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, rgba(30,63,122,.55), transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 100%, rgba(176,145,90,.12), transparent 70%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}
.hero::after { /* subtle hairline grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px; mask-image: linear-gradient(to bottom, #000 30%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
.hero-emblem { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: min(620px, 60vw); opacity: .06; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 600; max-width: 14ch; margin-bottom: 1.5rem; letter-spacing: -.01em; }
.hero h1 em { font-style: italic; font-weight: 500; color: #d7deea; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.75); max-width: 60ch; margin-bottom: 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 3.5rem; }
.hero-facts { list-style: none; padding: 1.8rem 0 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; border-top: 1px solid rgba(255,255,255,.14); max-width: 820px; }
.hero-facts strong { display: block; font: 600 1.25rem/1.2 var(--serif); color: #fff; margin-bottom: .25rem; }
.hero-facts span { font-size: .85rem; color: rgba(255,255,255,.6); }
@media (max-width: 640px) {
  .hero-facts { grid-template-columns: 1fr; gap: 1rem; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---- sections ---- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--navy-900); color: rgba(255,255,255,.82); }
.section-dark h2 { color: #fff; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head > p:last-child { color: var(--ink-2); }
.section-head.row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.section-head.row h2 { margin-bottom: 0; }

/* ---- about ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about-grid > div:first-child > p { color: var(--ink-2); font-size: 1.05rem; }
.quote { margin: 2rem 0 0; padding: 1.4rem 0 1.4rem 1.6rem; border-left: 2px solid var(--brass); font: italic 500 1.35rem/1.45 var(--serif); color: var(--navy-900); }
.levels { display: grid; gap: 1rem; }
.level { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.level p { color: var(--ink-2); }
.level-strong { background: var(--navy-900); border-color: var(--navy-900); color: rgba(255,255,255,.8); }
.level-strong h3 { color: #fff; }
.level-strong p { color: rgba(255,255,255,.7); }
.level-tag { display: inline-block; font: 600 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: .45rem .65rem; border-radius: 2px; margin-bottom: 1rem; }
.level-strong .level-tag { background: rgba(176,145,90,.18); color: #d9c39b; }
.ticks { list-style: none; padding: 0; margin: 0 0 1rem; }
.ticks li { position: relative; padding-left: 1.5rem; margin: .45rem 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: .7rem; height: 1px; background: var(--brass); }
.level-strong .ticks a, .ticks.light a { color: #fff; }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }

/* ---- areas ---- */
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.area { background: var(--white); padding: clamp(1.6rem, 3vw, 2.4rem); transition: background .2s; }
.area:hover { background: #fcfcfb; }
.area p { color: var(--ink-2); }
.numeral { display: block; font: 500 1.6rem/1 var(--serif); color: var(--brass); margin-bottom: 1.2rem; }
details summary { cursor: pointer; list-style: none; font: 600 .75rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--navy-900); display: inline-flex; align-items: center; gap: .5rem; padding: .3rem 0; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 1.1rem; font-weight: 400; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details ul { margin: 1rem 0; padding-left: 1.1rem; color: var(--ink-2); font-size: .95rem; }
details li { margin: .35rem 0; }
.area-link { font-weight: 600; font-size: .9rem; text-decoration: none; }
@media (max-width: 760px) { .areas { grid-template-columns: 1fr; } }

/* ---- steps ---- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: s; }
.steps li { position: relative; padding-top: 1.6rem; border-top: 1px solid var(--navy-900); }
.steps p { color: var(--ink-2); font-size: .95rem; }
.steps h3 { font-size: 1.2rem; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---- lawyers ---- */
.lawyers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.lawyer { border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; background: var(--paper); }
.lawyer p { color: var(--ink-2); font-size: .95rem; }
.lawyer .role { font: 600 .72rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; margin-bottom: 1.4rem; background: linear-gradient(150deg, var(--navy-700), var(--navy-950)); color: #d9c39b; font: 600 1.5rem/1 var(--serif); border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 900px) { .lawyers { grid-template-columns: 1fr; } }

/* ---- articles ---- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font: 500 .85rem/1 var(--sans); padding: .6rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink-2); cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--navy-900); color: var(--navy-900); }
.chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.articles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.post { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.post:hover { box-shadow: 0 18px 40px -24px rgba(14,26,46,.35); transform: translateY(-2px); }
.post[hidden] { display: none; }
.post-img { display: block; aspect-ratio: 16/9; background: var(--navy-800); overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post:hover .post-img img { transform: scale(1.03); }
.post-img.noimg { background: linear-gradient(150deg, var(--navy-700), var(--navy-950)) center/40% no-repeat; position: relative; }
.post-img.noimg::after { content: ""; position: absolute; inset: 0; background: url(logo-white.png) center/22% no-repeat; opacity: .18; }
.post-body { padding: 1.8rem; display: flex; flex-direction: column; flex: 1; }
.post-body > p:not(.post-meta) { color: var(--ink-2); font-size: .95rem; }
.post-meta { font: 500 .78rem/1.4 var(--sans); color: var(--ink-3); letter-spacing: .02em; }
.post-meta span { color: var(--brand); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; }
.post h3 a { color: var(--navy-900); text-decoration: none; }
.post h3 a:hover { color: var(--brand); }
.read { margin-top: auto; padding-top: .5rem; font-weight: 600; font-size: .9rem; text-decoration: none; }
.read:hover { text-decoration: underline; }
.post-featured { grid-column: 1 / -1; flex-direction: row; }
.post-featured .post-img { flex: 0 0 46%; aspect-ratio: auto; min-height: 340px; }
.post-featured h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.more { margin-top: 3rem; }
.empty-msg { grid-column: 1 / -1; color: var(--ink-3); }
@media (max-width: 860px) {
  .articles { grid-template-columns: 1fr; }
  .post-featured { flex-direction: column; }
  .post-featured .post-img { min-height: 0; aspect-ratio: 16/9; }
}

/* ---- form ---- */
.form-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.form-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.form-intro > p { color: rgba(255,255,255,.72); }
.note.light { color: rgba(255,255,255,.55); margin-top: 1.5rem; }
.note.light a, .form-intro a { color: #fff; }
.form-card { background: var(--navy-800); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid rgba(255,255,255,.1); }
.tabs button { font: 600 .78rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 1.25rem 1rem; border: 0; background: transparent; color: rgba(255,255,255,.55); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s, background .2s; }
.tabs button:hover { color: #fff; }
.tabs button[aria-selected="true"] { color: #fff; border-bottom-color: var(--brass); background: rgba(255,255,255,.03); }
.gt-form { padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field-row[hidden] { display: none; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .45rem; font-size: .85rem; font-weight: 500; color: rgba(255,255,255,.85); border: 0; padding: 0; margin: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: .45rem; }
.field small { font-weight: 400; color: rgba(255,255,255,.45); font-size: .75rem; }
.gt-form input[type=text], .gt-form input[type=email], .gt-form input[type=tel], .gt-form input[type=date], .gt-form select, .gt-form textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: #fff; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: .8rem .9rem; transition: border-color .15s, background .15s;
  color-scheme: dark;
}
.gt-form select option { background: var(--navy-900); }
.gt-form textarea { resize: vertical; min-height: 140px; }
.gt-form input::placeholder, .gt-form textarea::placeholder { color: rgba(255,255,255,.35); }
.gt-form input:focus, .gt-form select:focus, .gt-form textarea:focus { outline: none; border-color: var(--brass); background: rgba(255,255,255,.08); }
.gt-form .invalid { border-color: #e2737a !important; }
.err { color: #f2a5aa; font-size: .78rem; font-weight: 400; }
.radios { display: flex; gap: 1.5rem; font-weight: 400; }
.radios label, .check { display: flex; align-items: flex-start; gap: .65rem; cursor: pointer; font-size: .9rem; color: rgba(255,255,255,.78); }
.check a, .check .link { color: #fff; }
.check-strong { font-weight: 600; color: #fff; padding: .9rem 1rem; border: 1px dashed rgba(255,255,255,.2); border-radius: var(--radius); }
input[type=checkbox], input[type=radio] { accent-color: var(--brass); width: 1.05rem; height: 1.05rem; margin: .18rem 0 0; flex: none; }
.check.invalid-check { color: #f2a5aa; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.dropzone { position: relative; border: 1px dashed rgba(255,255,255,.25); border-radius: var(--radius); transition: border-color .15s, background .15s; }
.dropzone.drag { border-color: var(--brass); background: rgba(176,145,90,.08); }
.dropzone input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone > label { display: block; padding: 1.3rem; text-align: center; cursor: pointer; color: rgba(255,255,255,.75); font-size: .9rem; }
.dropzone > label strong { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.dropzone > label small { display: block; margin-top: .35rem; color: rgba(255,255,255,.45); font-size: .75rem; }
.dropzone input:focus-visible + label { outline: 2px solid var(--brass); outline-offset: 2px; }
.file-list { list-style: none; margin: 0; padding: 0 1rem; }
.file-list:not(:empty) { padding-bottom: 1rem; }
.file-list li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; font-size: .85rem; padding: .45rem 0; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.8); }
.file-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list li em { font-style: normal; color: rgba(255,255,255,.45); margin-left: .4rem; }
.file-list button { background: none; border: 0; color: rgba(255,255,255,.6); cursor: pointer; font-size: 1.1rem; line-height: 1; padding: .2rem .4rem; }
.file-list button:hover { color: #fff; }
.file-list .total { color: rgba(255,255,255,.5); justify-content: flex-end; }
.file-list .total.over { color: #f2a5aa; }

.form-status { margin: 0; font-size: .92rem; min-height: 1.2em; }
.form-status.ok { color: #9fe0bd; padding: 1rem; background: rgba(29,122,78,.18); border-radius: var(--radius); }
.form-status.bad { color: #f2a5aa; }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } .form-intro { position: static; } }

/* ---- contacts ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
.contacts { margin: 0; display: grid; gap: 0; }
.contacts > div { display: grid; grid-template-columns: 140px 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.contacts dt { font: 600 .72rem/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.contacts dd { margin: 0; font-size: 1.05rem; }
.contacts a { color: var(--navy-900); text-decoration: none; }
.contacts a:hover { color: var(--brand); text-decoration: underline; }
.join { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.5rem); }
.join h3 { font-size: 1.6rem; }
.join > p, .join li { color: var(--ink-2); }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .contacts > div { grid-template-columns: 1fr; gap: .2rem; } }

/* ---- footer ---- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.6); padding: 4.5rem 0 0; font-size: .92rem; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer h4 { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3.5rem; }
.footer-grid nav { display: grid; gap: .65rem; align-content: start; }
.brand-light { color: #fff; margin-bottom: 1.2rem; }

.brand-light small { color: rgba(255,255,255,.5); }
.footer-grid > div:first-child p { max-width: 36ch; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; padding-bottom: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- modal ---- */
.modal { max-width: 680px; width: calc(100% - 32px); border: 0; border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.75rem); color: var(--ink); background: var(--paper); max-height: 85vh; overflow: auto; }
.modal::backdrop { background: rgba(10,18,34,.7); backdrop-filter: blur(3px); }
.modal h2 { font-size: 2rem; }
.modal h3 { font-size: 1.1rem; margin-top: 1.4rem; }
.modal p { color: var(--ink-2); font-size: .95rem; }
.modal-close-form { position: sticky; top: 0; float: right; margin: -1rem -1rem 0 0; }
.modal-close { width: 40px; height: 40px; border: 0; background: var(--white); border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--navy-900); box-shadow: 0 0 0 1px var(--line); }

/* ---- reveal ---- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
