/* Navigation additions: Home link, Talk to us, breadcrumbs (all pages) */
.site-nav a.talk { border: 1px solid rgba(226,189,74,.6); border-radius: 999px; padding: .5rem 1rem; text-align: center; margin-top: .5rem; color: #E2BD4A; }
.site-nav a.talk:hover { background: rgba(226,189,74,.12); color: #E2BD4A; }
@media (min-width: 1100px) { .site-nav a.talk { margin: 0 0 0 .4rem; padding: .45rem 1rem; } .site-nav a.talk::after { display: none; } }
.crumb { display: flex; gap: .5rem; align-items: center; font-size: .85rem; margin-bottom: 1rem; color: #AEB9CC; }
.crumb a { color: #E2BD4A; text-decoration: none; font-weight: 600; }
.crumb a:hover { text-decoration: underline; }

/* Fees moved to the booking step */
.price.soft b { font-size: 1.25rem; }
.pk-go { display: inline-block; margin-top: .5rem; font-weight: 600; color: var(--link); }

/* Talk to us */
.ct-sec { padding: 5rem 0 !important; }
.ct { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .ct { grid-template-columns: .85fr 1.15fr; gap: 4rem; } }
.ct-side h2 { font-size: 2rem; }
.ct-mail { margin: 1.5rem 0; display: flex; flex-direction: column; }
.ct-mail span { color: var(--ink2); font-size: .9rem; }
.ct-mail a { font-size: 1.2rem; font-weight: 600; }
.ct-form { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 2rem; box-shadow: var(--shadow-lg); }
.ct-form .two { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ct-form .two { grid-template-columns: 1fr 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; transition: background .15s, border-color .15s; }
.chips input:checked + span { background: #0F1C33; color: #fff; border-color: #0F1C33; }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--ink2); margin: .5rem 0 1.25rem; }
.consent input { margin-top: .25rem; }

/* Fee panel on the booking page */
.fee-box { display: none; margin: -.25rem 0 1rem; padding: 1rem 1.2rem; border-left: 4px solid #E2BD4A; background: var(--bg2); border-radius: 0 12px 12px 0; }
.fee-box.on { display: block; }
.fee-box b { display: block; font-size: 1.5rem; letter-spacing: -.02em; }
.fee-box span { color: var(--ink2); font-size: .9rem; }

/* Pramanex Draft page */
.svc-art.dr-art { display: flex; align-items: center; justify-content: center; padding: 2rem 1.5rem; aspect-ratio: auto; min-height: 320px; }
.dr-page { background: #F7F5EF; color: #0F1C33; border-radius: 12px; padding: 1.4rem 1.5rem; width: 100%; max-width: 520px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.dr-h { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8A6D12; margin-bottom: .8rem; }
.dr-line { font-family: Georgia, serif; font-size: .92rem; margin: .5rem 0; display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.tw { display: inline-block; overflow: hidden; white-space: nowrap; max-width: 0; border-right: 2px solid #C9A227; animation: type 2.2s steps(40) .4s forwards, caret .8s step-end 6; }
.tw.t2 { animation-delay: 2.8s, 2.8s; } .tw.t3 { animation-delay: 5.2s, 5.2s; }
@keyframes type { to { max-width: 100%; border-right-color: transparent; } }
@keyframes caret { 50% { border-right-color: transparent; } }
.src { font-family: Inter, sans-serif; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(46,158,106,.15); color: #1F7A4D; padding: 2px 7px; border-radius: 999px; }
.src.gap { background: rgba(226,189,74,.3); color: #8A6D12; }
.dr-page .ln { height: 7px; border-radius: 4px; background: #D9DEE6; margin: 9px 0; } .dr-page .ln.m { width: 70%; }
@media (max-width: 560px) { .tw { white-space: normal; } }
@media (prefers-reduced-motion: reduce) { .tw { max-width: none; border-right: 0; animation: none; } }
.draft-cta { display: flex; flex-direction: column; gap: .3rem; text-decoration: none; color: #fff; background: radial-gradient(500px 200px at 90% 0%, rgba(226,189,74,.3), transparent 60%), linear-gradient(160deg, #0F1C33, #1B3360); border-radius: 20px; padding: 2rem 2.2rem; box-shadow: var(--shadow-lg); transition: transform .25s; }
.draft-cta:hover { transform: translateY(-3px); color: #fff; }
.draft-cta .eyebrow { color: #E2BD4A; margin: 0; }
.draft-cta b { font-size: 1.6rem; letter-spacing: -.02em; }
.draft-cta span:last-child { color: #C9D2E3; }
.pipe.barrier { background: repeating-linear-gradient(90deg, #E2BD4A 0 6px, transparent 6px 12px) !important; animation: none !important; height: 4px; }

/* Legal documents */
.lg-sec { padding: 4rem 0 !important; }
.lg h2 { font-size: 1.35rem; margin: 2.2rem 0 .7rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.lg h3 { font-size: 1.05rem; margin: 1.4rem 0 .5rem; }
.lg p, .lg li { color: var(--ink2); font-size: .97rem; line-height: 1.7; }
.lg p b, .lg li b { color: var(--ink); }

/* Who we serve */
.who-sec { padding: 4.5rem 0 !important; }
.who-grp { margin-bottom: 3.5rem; }
.who-h { display: flex; gap: 1.2rem; align-items: flex-start; margin-bottom: 1.4rem; }
.who-n { font-family: Fraunces, Georgia, serif; font-size: 2.6rem; line-height: 1; color: #C9A227; }
.who-h h2 { font-size: 1.8rem; margin: 0 0 .2rem; } .who-h p { color: var(--ink2); margin: 0; }
.who-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 680px) { .who-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .who-grid { grid-template-columns: repeat(4, 1fr); } }
.who-c { display: flex; flex-direction: column; gap: .35rem; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.25rem; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.who-c:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(201,162,39,.5); color: var(--ink); }
.who-c b { font-size: 1.02rem; } .who-c span { color: var(--ink2); font-size: .92rem; flex: 1; }
.who-c em { font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8A6D12; }

/* sample page: demo video and sample downloads */
.demo-head { max-width: 760px; margin-bottom: 1.6rem; }
.demo-vid { margin: 0; }
.demo-vid video { display: block; width: 100%; height: auto; border-radius: 16px; background: #0F1C33; box-shadow: var(--shadow-lg); }
.demo-vid figcaption { font-size: .85rem; color: var(--ink2); margin-top: .7rem; }
.sample-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.sample-card { display: flex; flex-direction: column; gap: .5rem; padding: 1.6rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.sample-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(201,162,39,.5); }
.sample-card h3 { margin: 0; font-size: 1.25rem; }
.sample-card p { margin: 0; color: var(--ink2); }
.sc-k { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.sc-go { margin-top: auto; padding-top: .6rem; font-weight: 700; color: var(--link); }
a.sample-card .sc-go::after { content: " \2193"; }
.sample-card.soon { opacity: .7; }
.sample-card.soon .sc-go { color: var(--ink2); font-weight: 600; }

/* ---- country switch in the header ---- */
.site-nav a.cc { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; opacity: .9; }
.cc-f { display: inline-grid; place-items: center; min-width: 1.9rem; height: 1.25rem; padding: 0 .3rem; border-radius: 4px; border: 1px solid rgba(226,189,74,.6); color: #E2BD4A; font-size: .66rem; font-weight: 800; letter-spacing: .06em; }
@media (min-width: 900px) and (max-width: 1280px) { .site-nav a.cc { font-size: 0; gap: 0; } .site-nav a.cc .cc-f { font-size: .66rem; } }

/* ---- country chooser (home address) ---- */
body.chooser { background: #0B1628; color: #fff; }
.ch-wrap { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 3rem 16px; overflow: hidden;
  background: radial-gradient(1200px 600px at 70% -10%, rgba(226,189,74,.14), transparent 60%), linear-gradient(180deg, #0F1C33, #0B1628); }
.ch-wrap #threads { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.ch-in { position: relative; max-width: 1080px; width: 100%; text-align: center; }
.ch-wm { justify-content: center; margin-bottom: 1.6rem; color: #fff; }
.ch-in h1 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.1; margin: 0 auto .8rem; max-width: 820px; color: #fff; }
.ch-sub { color: #AEB9CC; font-size: 1.1rem; margin: 0 0 2.2rem; }
.ch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; text-align: left; }
.ch-card { display: flex; flex-direction: column; gap: .55rem; padding: 1.6rem; border-radius: 18px; text-decoration: none; color: #fff;
  background: rgba(255,255,255,.05); border: 1px solid rgba(226,189,74,.28); transition: transform .2s, border-color .2s, background .2s; }
.ch-card:hover, .ch-card:focus-visible { transform: translateY(-4px); border-color: #E2BD4A; background: rgba(226,189,74,.08); }
.ch-card.hint { border-color: #E2BD4A; box-shadow: 0 0 0 1px rgba(226,189,74,.5), 0 18px 40px rgba(0,0,0,.35); }
.ch-card .ch-f { display: inline-grid; place-items: center; width: 3rem; height: 2rem; border-radius: 6px; background: #E2BD4A; color: #0F1C33; font-weight: 800; letter-spacing: .06em; }
.ch-card.ch-other .ch-f { background: transparent; color: #E2BD4A; border: 1px solid #E2BD4A; }
.ch-card b { font-size: 1.35rem; font-family: 'Fraunces', Georgia, serif; font-weight: 600; }
.ch-card span:not(.ch-f) { color: #C9D2E1; font-size: .95rem; line-height: 1.5; }
.ch-card em { margin-top: auto; padding-top: .6rem; font-style: normal; font-weight: 700; color: #E2BD4A; }
.ch-rem { display: inline-flex; gap: .5rem; align-items: center; margin-top: 1.6rem; color: #AEB9CC; font-size: .9rem; cursor: pointer; }
.ch-fine { color: #7F8BA3; font-size: .78rem; margin-top: 1.4rem; }

/* ---- UK site ---- */
.uk-site .cta-photo { background-image: url(img/documents.jpg); }
.ukchk { display: flex; justify-content: center; }
.uk-card { width: 100%; max-width: 560px; background: #F7F5EF; color: #0F1C33; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.uk-card .vw-bar { background: #E9E4D6; }
.uk-list { padding: .6rem 1rem; }
.uk-it { display: flex; gap: .8rem; padding: .7rem .2rem; border-bottom: 1px solid #E3DCC8; opacity: 0; transform: translateY(6px); animation: ukin .5s ease forwards; }
.uk-it:last-child { border-bottom: 0; }
.uk-it:nth-child(2) { animation-delay: .15s } .uk-it:nth-child(3) { animation-delay: .3s } .uk-it:nth-child(4) { animation-delay: .45s } .uk-it:nth-child(5) { animation-delay: .6s } .uk-it:nth-child(6) { animation-delay: .75s }
.uk-it em { flex: none; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: #0F1C33; color: #E2BD4A; font-style: normal; font-weight: 800; font-size: .8rem; }
.uk-it b { display: block; font-size: .98rem; }
.uk-it span { display: block; font-size: .84rem; color: #51607A; line-height: 1.4; }
.uk-foot { padding: .7rem 1rem; font-size: .8rem; background: #0F1C33; color: #E2BD4A; }
@keyframes ukin { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .uk-it { animation: none; opacity: 1; transform: none; } }
.btn-row.center { justify-content: center; margin-top: 1.8rem; }

/* ---- FAQ page ---- */
.faq-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.faq-jump a { padding: .4rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 600; }
.faq-jump a:hover { border-color: var(--gold); color: var(--gold); }
.faq-h { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 1.5rem; margin: 2.2rem 0 .6rem; scroll-margin-top: 90px; }

/* UK hero card: natural height and its own title bar */
.hx-visual.ukchk { height: auto; max-width: 560px; transform: none !important; align-self: center; }
.uk-card .vw-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #E9E6DC; border-bottom: 1px solid #DDD8CA; }
.uk-card .vw-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D3CCB8; }
.uk-card .vw-bar i:nth-child(1) { background: #E5867A; } .uk-card .vw-bar i:nth-child(2) { background: #E8C35A; } .uk-card .vw-bar i:nth-child(3) { background: #8FC48A; }
.uk-card .vw-bar span { margin-left: 10px; font-size: .72rem; color: #6B6450; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uk-it { padding: .55rem .2rem; }

/* header fit: on desktop the logo is the home link and the country switch shows its code only */
@media (min-width: 900px) {
  .site-nav a.nav-home { display: none; }
  .site-nav a.cc { font-size: 0; gap: 0; }
  .site-nav a.cc .cc-f { font-size: .66rem; }
}

/* UK hero fallback card: keep the whole first screen (hero + law ticker) within one viewport */
.hx .hx-visual.ukchk { max-height: calc(100svh - 66px - 87px - 3rem); }
.hx .uk-card { max-height: 100%; overflow: hidden; }
@media (max-height: 900px) { .hx .uk-it span { display: none; } .hx .uk-it { padding: .45rem .2rem; } }
.uk-reads .hx-visual.ukchk { margin: 0 auto; }

/* ---- Enterprise architecture page ---- */
.arch-status { background: rgba(201,162,39,.1); border-left: 3px solid var(--gold); padding: .8rem 1rem; border-radius: 0 10px 10px 0; margin-bottom: 1.8rem; color: var(--ink2); }
.arch { display: grid; grid-template-columns: 1.35fr .6fr 1fr; gap: 1rem; align-items: stretch; margin: 0 0 2.5rem; }
@media (max-width: 980px) { .arch { grid-template-columns: 1fr; } }
.arch-zone { border-radius: 18px; padding: 1.2rem; }
.arch-client { background: #0F1C33; color: #fff; border: 1px solid rgba(226,189,74,.35); }
.arch-hub { background: var(--card); border: 1px dashed var(--line); }
.arch-h { display: flex; flex-direction: column; gap: .15rem; margin-bottom: .9rem; }
.arch-tag { font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: .8rem; color: #E2BD4A; }
.arch-hub .arch-tag { color: var(--gold); }
.arch-h small { color: #AEB9CC; font-size: .82rem; }
.arch-hub .arch-h small { color: var(--ink2); }
.arch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.arch-grid.one { grid-template-columns: 1fr; }
@media (max-width: 560px) { .arch-grid { grid-template-columns: 1fr; } }
.arch-box { border-radius: 12px; padding: .8rem .9rem; background: rgba(255,255,255,.06); border: 1px solid rgba(226,189,74,.25); }
.arch-hub .arch-box { background: var(--bg2); border-color: var(--line); }
.arch-box b { display: block; font-size: .95rem; margin-bottom: .2rem; }
.arch-box span { display: block; font-size: .82rem; line-height: 1.45; color: #C9D2E1; }
.arch-hub .arch-box span { color: var(--ink2); }
.arch-people { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: .8rem; }
@media (max-width: 560px) { .arch-people { grid-template-columns: 1fr; } }
.arch-people div { border-top: 1px solid rgba(226,189,74,.3); padding-top: .6rem; }
.arch-people b { display: block; font-size: .85rem; color: #E2BD4A; }
.arch-people span { font-size: .8rem; color: #AEB9CC; }
.arch-flow { display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.arch-arrow { position: relative; border-radius: 12px; padding: .8rem .9rem; font-size: .82rem; line-height: 1.45; color: var(--ink2); background: var(--card); border: 1px solid var(--line); }
.arch-arrow::before { display: block; font-weight: 800; font-size: 1.3rem; color: var(--gold); line-height: 1; margin-bottom: .3rem; }
.arch-arrow.in::before { content: "\2190  in"; }
.arch-arrow.out::before { content: "out  \2192"; }
@media (max-width: 980px) { .arch-arrow.in::before { content: "\2191  in"; } .arch-arrow.out::before { content: "out  \2193"; } }
.arch-cols { margin-bottom: 2.5rem; }
.arch-steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; gap: .6rem; }
.arch-steps li { counter-increment: s; position: relative; padding: .8rem 1rem .8rem 3.2rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; color: var(--ink2); }
.arch-steps li::before { content: counter(s); position: absolute; left: 1rem; top: .75rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #0F1C33; color: #E2BD4A; display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.arch-steps b { color: var(--ink); }
@media (min-width: 1100px) { .ch-in { max-width: 1260px; } .ch-grid { grid-template-columns: repeat(4, 1fr); } .ch-card { padding: 1.4rem; } }
.key-terms { margin: 1.2rem 0 .8rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; background: var(--bg2); }
.key-terms b { display: block; margin-bottom: .4rem; }
.key-terms ul { margin: 0; padding-left: 1.1rem; color: var(--ink2); font-size: .88rem; line-height: 1.5; }
.key-terms li { margin: .25rem 0; }
