/*
Theme Name: AMC Ready
Theme URI: https://amcready.com
Author: Dr Chaima ZA
Author URI: https://amcready.com
Description: One-page site for AMC Ready — free notes, templates and guidance for international medical graduates on the road to Australia. White, navy and blue with one amber accent; Manrope and Figtree.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amcready
Tags: one-column, custom-logo, featured-images, block-styles
*/

/* =========================================================
   AMC Ready — clean, white, navy + blue with one warm accent
   Manrope (display) · Figtree (body)
   ========================================================= */
:root {
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --tint: #F3F7FC;        /* pale blue section band */
  --tint-2: #E6EFFA;
  --navy: #0F2A4A;
  --text: #223A55;
  --muted: #5F7390;
  --line: #DCE5F0;
  --blue: #1D5BD6;
  --blue-dark: #1548AE;
  --blue-soft: #E3ECFF;
  --amber: #F5B01E;
  --amber-soft: #FFF3D6;
  --mint-soft: #E2F6EE;
  --mint-text: #137A57;
  --red: #D64545;
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(15,42,74,.05), 0 10px 30px -14px rgba(15,42,74,.18);
  --display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1160px;
  --navh: 74px;
  --ease: cubic-bezier(.22,.8,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.55; color: var(--text); background: var(--bg); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); margin: 0; font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
h1 { font-size: clamp(2.5rem, 4.8vw, 3.9rem); letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); max-width: 22ch; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 56ch; }
.num-label { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 800; font-size: .8rem; letter-spacing: .04em; color: var(--blue); margin-bottom: 1rem; }
.num-label::before { content: attr(data-n); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: .78rem; }
mark.ph { background: var(--amber-soft); color: var(--navy); padding: 0 .25em; border-radius: 4px; font-weight: 500; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(29,91,214,.4); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
section[id] { scroll-margin-top: calc(var(--navh) + 1rem); }
.skip { position: absolute; left: -9999px; top: 1rem; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 99; }
.skip:focus { left: 1rem; }

/* pills / tags */
.pill { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 700; padding: .32rem .7rem; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); letter-spacing: .01em; }
.pill--amber { background: var(--amber-soft); color: #8A5A00; }
.pill--mint { background: var(--mint-soft); color: var(--mint-text); }
.pill--navy { background: var(--navy); color: #fff; }
.pill--line { background: transparent; border: 1px solid var(--line); color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--display); font-weight: 700; font-size: 1rem; padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid var(--blue); background: var(--blue); color: #fff; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .15s var(--ease), background .15s, box-shadow .15s; box-shadow: 0 8px 20px -12px rgba(29,91,214,.7); }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); box-shadow: none; }
.btn--ghost:hover { background: var(--tint); border-color: var(--navy); color: var(--navy); }
.btn--white { background: #fff; color: var(--navy); border-color: #fff; box-shadow: none; }
.btn--white:hover { background: var(--tint-2); border-color: var(--tint-2); color: var(--navy); }
.btn--amber { background: var(--amber); border-color: var(--amber); color: var(--navy); box-shadow: none; }
.btn--amber:hover { background: #E7A414; border-color: #E7A414; }
.btn--sm { font-size: .9rem; padding: .6rem 1.1rem; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }
.arrow { font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: .3rem; }

/* header */
.top { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { height: var(--navh); display: flex; align-items: center; gap: 1.2rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--navy); letter-spacing: -.02em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; }
.brand__mark svg { width: 22px; height: 22px; }
.brand small { font-family: var(--body); font-weight: 500; font-size: .78rem; color: var(--muted); margin-left: .2rem; }
@media (max-width: 1260px) { .brand small { display: none; } }
.menu { display: none; gap: .1rem; margin-left: 1rem; }
.menu a { color: var(--text); font-weight: 600; font-size: .9rem; padding: .45rem .6rem; border-radius: 999px; white-space: nowrap; }
.menu a:hover { background: var(--tint); text-decoration: none; color: var(--navy); }
.top__cta { margin-left: auto; display: none; }
.burger { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: inline-grid; place-items: center; cursor: pointer; color: var(--navy); }
.burger svg { width: 22px; height: 22px; }
.burger .x { display: none; }
.burger[aria-expanded="true"] .lines { display: none; }
.burger[aria-expanded="true"] .x { display: block; }
.sheetnav { display: none; border-top: 1px solid var(--line); background: #fff; padding: .5rem 0 1.2rem; }
.sheetnav.open { display: block; }
.sheetnav a { display: block; color: var(--navy); font-weight: 600; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.sheetnav .btn { display: inline-flex; margin-top: 1rem; color: #fff; border-bottom: 0; }
@media (min-width: 1100px) { .menu, .top__cta { display: flex; } .burger, .sheetnav { display: none !important; } }

/* hero */
.hero { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2rem, 4vw, 3.5rem); background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); }
.hero__grid { display: grid; gap: 3rem; align-items: center; }
.hero .pill { margin-bottom: 1.2rem; }
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 em { font-style: normal; color: var(--blue); position: relative; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.05em; height: .14em; background: var(--amber); border-radius: 3px; }
.hero__sub { font-size: 1.15rem; color: var(--text); max-width: 48ch; margin-bottom: 1.5rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.proof { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.2rem; font-size: .95rem; color: var(--navy); font-weight: 600; }
.proof li { display: flex; align-items: center; gap: .5rem; }
.proof li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--mint-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23137A57' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7'/></svg>") center/11px no-repeat; flex: none; }
/* road card in the hero */
.roadcard { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 1.4rem 1.4rem 1.2rem; max-width: 460px; margin-inline: auto; }
.roadcard__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.roadcard__head b { font-family: var(--display); font-weight: 800; color: var(--navy); }
.roadcard ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.roadcard li { display: grid; grid-template-columns: 30px 1fr auto; gap: .7rem; align-items: center; padding: .5rem .6rem; border-radius: 12px; font-size: .95rem; color: var(--text); }
.roadcard li .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: .8rem; background: var(--tint-2); color: var(--navy); }
.roadcard li.done .n { background: var(--mint-soft); color: var(--mint-text); }
.roadcard li.now { background: var(--blue-soft); font-weight: 700; color: var(--navy); }
.roadcard li.now .n { background: var(--blue); color: #fff; }
.roadcard li .t { font-size: .72rem; font-weight: 700; color: var(--muted); }
.roadcard li.now .t { color: var(--blue); }
.roadcard__foot { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .9rem; color: var(--muted); }
@media (max-width: 520px) { .proof { grid-template-columns: 1fr; } }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 4rem; } }

/* numbers row */
.numbers { padding: 2rem 0 0; }
.numbers .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.numcard { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.2rem; }
.numcard b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.04em; color: var(--navy); line-height: 1; }
.numcard b i { font-style: normal; color: var(--blue); }
.numcard span { display: block; font-size: .88rem; color: var(--muted); margin-top: .3rem; }
.numbers__note { grid-column: 1 / -1; font-size: .8rem; color: var(--muted); margin: .2rem 0 0; }
@media (min-width: 820px) { .numbers .wrap { grid-template-columns: repeat(4, 1fr); } }

/* sections */
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy); color: #D6E2F2; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .lede { color: #AFC2DB; }
.intro { max-width: 60rem; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.intro .lede { margin: .9rem 0 0; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* how it works: 3 steps */
.three { display: grid; gap: 1.2rem; }
.stepcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; box-shadow: var(--shadow); }
.stepcard .big { font-family: var(--display); font-weight: 800; font-size: 2.6rem; color: var(--blue); line-height: 1; letter-spacing: -.04em; margin-bottom: .8rem; }
.stepcard h3 { margin-bottom: .4rem; }
.stepcard p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (min-width: 760px) { .three { grid-template-columns: repeat(3, 1fr); } }

/* the road: timeline + sticky summary */
.road { display: grid; gap: 3rem; align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 22px; top: 12px; bottom: 12px; width: 2px; background: var(--line); }
.stage { position: relative; padding: 0 0 2.2rem 68px; }
.stage:last-child { padding-bottom: 0; }
.stage__n { position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); color: var(--blue); display: grid; place-items: center; font-family: var(--display); font-weight: 800; }
.stage h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.stage p { margin-bottom: .6rem; max-width: 60ch; }
.stage__links { display: flex; flex-wrap: wrap; gap: .4rem .6rem; }
.stage__links a { font-size: .88rem; font-weight: 700; padding: .35rem .75rem; border-radius: 999px; border: 1px solid var(--line); color: var(--navy); background: #fff; }
.stage__links a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.stage__links a.dl { background: var(--blue-soft); border-color: var(--blue-soft); color: var(--blue-dark); }
.summary { background: var(--navy); color: #D6E2F2; border-radius: var(--r); padding: 1.6rem; }
.summary h3 { color: #fff; margin-bottom: .8rem; }
.summary dl { margin: 0; display: grid; gap: .3rem; }
.summary dl > div { display: grid; grid-template-columns: 4.5rem 1fr; align-items: baseline; gap: .8rem; padding: .45rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.summary dt { font-family: var(--display); font-weight: 800; font-size: 1.7rem; color: var(--amber); line-height: 1; }
.summary dd { margin: 0; font-size: .95rem; }
.summary p { font-size: .82rem; color: #AFC2DB; margin: 1rem 0 0; }
@media (min-width: 940px) { .road { grid-template-columns: 1fr 320px; gap: 4rem; } .summary { position: sticky; top: calc(var(--navh) + 1.5rem); } }

/* checker */
.checker { display: grid; gap: 2.5rem; }
.q { margin-bottom: 1.3rem; }
.q__label { display: block; font-weight: 700; color: #fff; margin-bottom: .6rem; }
.opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.opt { font-family: var(--body); font-weight: 600; font-size: .95rem; padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; transition: background .15s, border-color .15s; }
.opt:hover { border-color: #fff; }
.opt[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--navy); }
.answer { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); padding: 1.6rem; display: grid; gap: .9rem; align-content: start; min-height: 12rem; }
.answer p.big { font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2.3vw, 1.8rem); color: #fff; line-height: 1.2; margin: 0; letter-spacing: -.02em; }
.answer p.small { color: #AFC2DB; margin: 0; font-size: 1rem; }
.answer .btn { justify-self: start; }
.answer.fresh { animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (min-width: 900px) { .checker { grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: start; } }

/* resources index */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.filters .opt { color: var(--navy); border-color: var(--line); }
.filters .opt[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.index { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.row { display: grid; gap: .6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.3rem; align-items: center; }
.row[hidden] { display: none; }
.row h3 { font-size: 1.1rem; }
.row__meta { font-size: .8rem; color: var(--muted); font-weight: 600; margin-top: .15rem; }
.row p { margin: 0; color: var(--muted); font-size: .98rem; }
.row .btn { justify-self: start; }
.row--soon { background: var(--tint); }
.row--soon h3 { color: var(--muted); }
@media (min-width: 800px) { .row { grid-template-columns: 1.1fr 1.4fr auto; gap: 1.6rem; } .row .btn { justify-self: end; } }

/* kit */
.kit { display: grid; gap: 2.5rem; align-items: start; }
.kit__intro p { max-width: 46ch; }
.kit__count { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--navy); margin: 0 0 .6rem; }
.kit__count b { color: var(--blue); font-size: 2.2rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.ticks label { display: grid; grid-template-columns: 26px 1fr; gap: .8rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .85rem 1rem; cursor: pointer; }
.ticks input { position: absolute; opacity: 0; width: 0; height: 0; }
.ticks .box { width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--line); position: relative; top: .05rem; background: #fff; }
.ticks input:checked + .box { background: var(--blue); border-color: var(--blue); }
.ticks input:checked + .box::after { content: ""; position: absolute; left: 7px; top: 3px; width: 7px; height: 12px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.ticks input:checked ~ span:last-child { color: var(--muted); text-decoration: line-through; }
.ticks input:focus-visible + .box { outline: 3px solid rgba(29,91,214,.4); }
.kit__done { font-weight: 700; color: var(--mint-text); margin-top: 1rem; }
@media (min-width: 900px) { .kit { grid-template-columns: .9fr 1.1fr; gap: 4rem; } }

/* about */
.about { display: grid; gap: 2.5rem; align-items: start; }
.about__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem; box-shadow: var(--shadow); display: grid; gap: .8rem; }
.avatar { width: 76px; height: 76px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.7rem; display: grid; place-items: center; }
.about__card h3 { font-size: 1.3rem; }
.about__card .role { color: var(--muted); font-size: .95rem; margin: -.5rem 0 0; }
.dates { list-style: none; padding: 0; margin: .4rem 0 0; display: grid; gap: .2rem; }
.dates li { display: grid; grid-template-columns: 96px 1fr; gap: .8rem; padding: .65rem 0; border-top: 1px solid var(--line); font-size: .95rem; }
.dates time { font-weight: 800; font-family: var(--display); color: var(--blue); font-size: .85rem; padding-top: .15rem; }
.dates b { display: block; color: var(--navy); }
.dates span { color: var(--muted); font-size: .9rem; }
.about__txt h2 { margin-bottom: 1.1rem; }
.about__txt p { font-size: 1.05rem; }
@media (min-width: 900px) { .about { grid-template-columns: 1.1fr .9fr; gap: 4rem; } }

/* videos */
.vgrid { display: grid; gap: 1.2rem; }
.v { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.v .frame { position: relative; aspect-ratio: 16/9; background: var(--navy); }
.v .frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.v .play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; padding: 0; }
.v .play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.v .play span { position: relative; width: 54px; height: 54px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.v .play span svg { width: 18px; height: 18px; fill: var(--navy); margin-left: 2px; }
.v .empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: #AFC2DB; font-size: .85rem; padding: 1rem; }
.v .empty b { color: #fff; }
.v h3 { font-size: 1rem; padding: .9rem 1rem 1rem; }
.vlist { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0 2rem; }
.vlist li { display: flex; gap: .8rem; align-items: baseline; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.vlist .pill { min-width: 7rem; justify-content: center; }
.vlist a { color: var(--navy); }
@media (min-width: 720px) { .vgrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 860px) { .vlist { grid-template-columns: 1fr 1fr; } }

/* plans */
.plans { display: grid; gap: 1.4rem; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem; display: grid; gap: .8rem; align-content: start; }
.plan--hi { border-color: var(--blue); box-shadow: var(--shadow); }
.plan .pill { justify-self: start; }
.plan .price { font-family: var(--display); font-weight: 800; font-size: 2.4rem; letter-spacing: -.04em; color: var(--navy); line-height: 1; }
.plan .price small { font-family: var(--body); font-weight: 500; font-size: .95rem; color: var(--muted); letter-spacing: 0; margin-left: .3rem; }
.plan ul { list-style: none; padding: 0; margin: .3rem 0 .5rem; display: grid; gap: .5rem; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: .6rem; font-size: .97rem; }
.plan li::before { content: "✓"; color: var(--mint-text); font-weight: 800; }
.plan li.soon::before { content: "○"; color: var(--muted); }
.plan .btn { justify-self: start; }
@media (min-width: 800px) { .plans { grid-template-columns: 1fr 1fr; max-width: 58rem; } }

/* faq */
.faq { max-width: 58rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; font-family: var(--display); font-weight: 700; color: var(--navy); font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .a { padding: 0 0 1.3rem; max-width: 64ch; }
.faq .a p { margin: 0; }

/* signup + contact */
.duo { display: grid; gap: 2rem; align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem; box-shadow: var(--shadow); display: grid; gap: .9rem; }
.form .pill { justify-self: start; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .88rem; font-weight: 700; color: var(--navy); }
.field input, .field textarea { font: inherit; font-size: 1rem; color: var(--text); background: var(--tint); border: 1px solid var(--line); border-radius: 10px; padding: .8rem .95rem; width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,91,214,.15); background: #fff; }
.field input.bad { border-color: var(--red); }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--muted); }
.consent input { width: 16px; height: 16px; margin-top: .25rem; accent-color: var(--blue); flex: none; }
.err { color: var(--red); font-size: .9rem; font-weight: 700; margin: 0; }
.done { display: grid; gap: .5rem; }
.done h3 { font-size: 1.4rem; }
.done .btn { justify-self: start; }
.contact-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .7rem; }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: .8rem; align-items: center; }
.contact-list .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.contact-list .ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-list small { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; }
.contact-list a { font-weight: 700; color: var(--navy); }
.note-box { border-left: 3px solid var(--amber); background: var(--amber-soft); padding: .8rem 1rem; border-radius: 0 10px 10px 0; font-size: .95rem; margin-top: 1.4rem; }
.note-box p { margin: 0; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; gap: 3rem; } }

/* closing */
.closing { background: var(--navy); color: #D6E2F2; padding: clamp(3.5rem, 7vw, 6rem) 0; }
.closing .wrap { display: grid; gap: 1.2rem; justify-items: start; }
.closing h2 { color: #fff; }
.closing p { color: #AFC2DB; max-width: 48ch; font-size: 1.1rem; margin: 0; }

/* footer */
.foot { padding: 3rem 0 2rem; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); background: #fff; }
.foot__grid { display: grid; gap: 2rem; margin-bottom: 2rem; }
.foot h4 { font-family: var(--display); font-size: .85rem; color: var(--navy); margin-bottom: .7rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.foot a { color: var(--text); }
.foot__legal { font-size: .85rem; max-width: 64rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.foot__bottom { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; margin-top: 1rem; font-size: .85rem; }
.foot__bottom ul { display: flex; gap: 1.2rem; }
@media (min-width: 760px) { .foot__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

/* legal */
.legal h3 { font-size: 1.2rem; margin: 1.8rem 0 .4rem; }
.legal p, .legal li { max-width: 66ch; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* =========================================================
   WordPress additions: admin bar, pages, blog, required classes
   ========================================================= */
.admin-bar .top { top: 32px; }
@media (max-width: 782px) { .admin-bar .top { top: 46px; } }

.wrap--narrow { max-width: 780px; }
.page-title { font-size: clamp(2.2rem, 4.5vw, 3.2rem); max-width: none; }
.page-meta { margin: .8rem 0 1.5rem; }
.page-thumb { margin: 0 0 1.6rem; }
.page-thumb img { width: 100%; height: auto; border-radius: var(--r); }

/* post and page content */
.entry { font-size: 1.05rem; }
.entry > * + * { margin-top: 1rem; }
.entry p, .entry li { max-width: 66ch; }
.entry h2 { font-size: 1.6rem; margin: 2.2rem 0 .6rem; max-width: none; }
.entry h3 { font-size: 1.2rem; margin: 1.8rem 0 .4rem; }
.entry h4 { font-size: 1.05rem; margin: 1.4rem 0 .3rem; }
.entry ul, .entry ol { padding-left: 1.3rem; }
.entry li + li { margin-top: .3rem; }
.entry img { max-width: 100%; height: auto; border-radius: var(--r-sm); }
.entry figure { margin: 1.6rem 0; }
.entry blockquote { border-left: 3px solid var(--amber); margin: 1.6rem 0; padding: .3rem 1.1rem; color: var(--muted); }
.entry blockquote p { margin: 0; }
.entry pre { overflow: auto; background: var(--tint); padding: 1rem; border-radius: var(--r-sm); font-size: .9rem; }
.entry code { background: var(--tint); padding: .1em .35em; border-radius: 4px; font-size: .92em; }
.entry table { border-collapse: collapse; width: 100%; font-size: .98rem; }
.entry td, .entry th { border: 1px solid var(--line); padding: .55rem .75rem; text-align: left; vertical-align: top; }
.entry th { background: var(--tint); color: var(--navy); }
.entry hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.entry .wp-block-button__link { border-radius: 999px; font-family: var(--display); font-weight: 700; }
.entry .wp-element-caption, .entry .wp-caption-text { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .5rem; }
.entry iframe { max-width: 100%; }
.page-links { font-weight: 600; }

/* blog list */
.posts { display: grid; gap: 1.2rem; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; align-content: start; transition: transform .15s var(--ease), box-shadow .15s; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.post-card__img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card__body { padding: 1.3rem; display: grid; gap: .6rem; justify-items: start; }
.post-card h2 { font-size: 1.25rem; max-width: none; }
.post-card h2 a { color: var(--navy); }
.post-card p { margin: 0; color: var(--muted); font-size: .98rem; }
.post-card__meta { font-size: .85rem; }
@media (min-width: 700px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .posts { grid-template-columns: repeat(3, 1fr); } }

.pagination .nav-links { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 2.2rem; }
.pagination .page-numbers { display: inline-flex; align-items: center; min-height: 40px; padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); font-weight: 600; }
.pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination .page-numbers:hover { text-decoration: none; background: var(--tint); }

/* single post */
.num-label a { color: inherit; }
.tags { margin-top: 1.6rem; }
.tags a { display: inline-block; font-size: .8rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); margin: .2rem .3rem 0 0; }
.tags a:hover { text-decoration: none; background: var(--tint-2); }
.postnav { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-weight: 600; }
.post-cta { margin-top: 3rem; background: var(--navy); color: #D6E2F2; border-radius: var(--r); padding: 2rem; display: grid; gap: .8rem; justify-items: start; }
.post-cta h2 { color: #fff; font-size: 1.6rem; }
.post-cta p { margin: 0; color: #AFC2DB; max-width: 48ch; }

/* comments */
.comments { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.comments__title { font-size: 1.3rem; margin-bottom: 1rem; }
.commentlist, .commentlist .children { list-style: none; padding: 0; margin: 0; }
.commentlist .children { padding-left: 1.5rem; }
.comment-body { background: var(--tint); border-radius: var(--r-sm); padding: 1rem 1.2rem; margin-bottom: .8rem; font-size: .98rem; }
.comment-meta { font-size: .85rem; color: var(--muted); margin-bottom: .4rem; }
.comment-author .avatar { display: inline-block; vertical-align: middle; border-radius: 50%; margin-right: .5rem; width: 28px; height: 28px; }
.comment-form label { display: block; font-weight: 600; font-size: .9rem; margin: .8rem 0 .3rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; max-width: 100%; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--r-sm); font: inherit; }
.comment-form .submit { display: inline-flex; font-family: var(--display); font-weight: 700; padding: .75rem 1.4rem; border-radius: 999px; border: 1.5px solid var(--blue); background: var(--blue); color: #fff; cursor: pointer; margin-top: 1rem; }

/* WordPress required classes */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { clip: auto; clip-path: none; height: auto; width: auto; left: 1rem; top: 1rem; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100000; }
.alignleft { float: left; margin: .4rem 1.4rem 1rem 0; }
.alignright { float: right; margin: .4rem 0 1rem 1.4rem; }
.aligncenter { display: block; margin: 1rem auto; }
.alignwide, .alignfull { max-width: 100%; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .85rem; color: var(--muted); }
.sticky { position: static; }
.bypostauthor { outline: 0; }
.gallery-caption { font-size: .85rem; }
