/* Type, colour and spacing shared by the Dutch and English templates. */
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("fonts/barlow-semi-condensed-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
:root {
  --ink: #17241d;
  --forest: #172b21;
  --green: #245435;
  --muted: #4b5a51;
  --line: #c9d0c6;
  --paper: #f4f4ee;
  --gold: #f2c276;
  --max: 86rem;
  --gutter: clamp(1.25rem, 4.7vw, 4.3rem);
  --display: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  font: 100%/1.55 "DM Sans", Arial, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: white;
}
* { box-sizing: border-box; }
body, figure, h1, h2, h3, p, ul, ol { margin: 0; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .22em; }
input, select, textarea, button { font: inherit; }
button, summary, select { cursor: pointer; }
address { font-style: normal; }
:focus-visible { outline: 3px solid #1977a8; outline-offset: 4px; }
:target { scroll-margin-top: 6rem; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 5.3vw, 5.8rem); }
h2 { font-size: clamp(2.4rem, 3.8vw, 4rem); }
h3 { font-size: clamp(1.65rem, 2.2vw, 2.35rem); }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.2rem, 6.1vw, 6.3rem); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--green);
  font-size: .82rem;
  line-height: 1.4;
  font-weight: 720;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 1.65rem; height: 2px; background: currentColor; flex: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .68rem 1.3rem;
  border: 0;
  border-radius: 3px;
  background: var(--green);
  color: white;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  text-align: center;
  transition: background-color .18s ease;
}
.btn:hover { background: #193c26; }
.btn.light { color: #281e10; background: var(--gold); }
.btn.light:hover { background: #ffda9d; }
.textlink { font-weight: 650; color: var(--green); text-decoration-thickness: 1px; }
.textlink:hover { text-decoration-thickness: 2px; }
.actions, .sectionlinks { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.45rem; }
.actions { margin-top: 1.65rem; }
.sectionlinks { margin-top: 1rem; }
.sectionhead { display: flex; align-items: end; justify-content: space-between; gap: 1.3rem; margin-bottom: clamp(1.5rem, 3vw, 2.8rem); }
.sectionhead .textlink { flex: none; }

/* Shared navigation */
.skip { position: absolute; top: -8rem; left: 1rem; z-index: 31; padding: .7rem 1rem; background: white; }
.skip:focus { top: .5rem; }
header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #dfe3dd; background: #fff; }
header[data-raised] { box-shadow: 0 3px 14px #18281c10; }
.mast { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5rem; }
.identity { flex: none; }
.identity img { width: clamp(8.7rem, 11vw, 10.1rem); height: auto; }
.primary, .utilities, .footerlinks { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.primary { margin-left: auto; }
.primary a, .language, .mobilemenu a { font-size: .97rem; font-weight: 650; text-decoration: none; }
.primary a:hover, .language:hover, .mobilemenu a:hover { text-decoration: underline; }
.primary [aria-current=page] { box-shadow: 0 2px var(--green); }
.language-menu { position: relative; flex: none; }
.language-menu summary {
  display: flex; align-items: center; gap: .4rem; min-height: 44px;
  padding-inline: .45rem; list-style: none; cursor: pointer; font-size: .92rem; font-weight: 700;
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary::after {
  content: ""; width: .44rem; height: .44rem; border: solid currentColor;
  border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg);
}
.language-menu[open] summary::after { transform: translateY(2px) rotate(225deg); }
.language-menu nav {
  position: absolute; z-index: 4; top: 100%; right: 0; display: grid;
  min-width: 10rem; padding: .35rem; background: white; border: 1px solid var(--line);
  border-radius: 3px; box-shadow: 0 .45rem 1.25rem #16302620;
}
.language-menu .language { display: flex; align-items: center; padding: .35rem .7rem; min-height: 44px; }
.language-menu [aria-current] { color: var(--green); background: #eaf0eb; }
@media (max-width: 900px) { .language-menu { margin-left: auto; } }
@media (max-width: 480px) {
  .mast .identity img { width: clamp(5.2rem, 24vw, 8rem); }
  .mast { gap: .4rem; }
  .mast .mobile-request { padding-inline: .5rem; font-size: .86rem; }
}
.utilities .btn, .mobile-request { min-height: 2.65rem; font-size: .95rem; }
.mobile, .mobile-request { display: none; }
.mobile { position: relative; }
.mobile summary { display: flex; align-items: center; gap: .42rem; min-height: 44px; list-style: none; font-weight: 670; }
.mobile summary::-webkit-details-marker, .faqitem summary::-webkit-details-marker { display: none; }
.mobile summary::after { content: ""; width: 14px; height: 6px; border-block: 2px solid currentColor; }
.mobilemenu {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 2;
  width: min(16rem, 84vw);
  padding: .6rem 1.25rem;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px #15251c1e;
}
.mobilemenu a { display: flex; align-items: center; min-height: 44px; }
.mobilemenu .language { border: 0; padding: 0; }

/* Keep the copy aligned with the navigation at wide widths and give the Porsche its own frame. */
.cover {
  --cover-edge: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  display: grid;
  grid-template-columns: var(--cover-edge) minmax(0, .94fr) minmax(0, 1.16fr) var(--cover-edge);
  color: white;
  background: #112923;
}
.cover-inner {
  grid-area: 1 / 2;
  min-width: 0;
  align-self: center;
  padding: clamp(2.2rem, 3.8vw, 4.5rem) clamp(1.45rem, 3vw, 3rem) clamp(2.8rem, 4.2vw, 4.8rem) 0;
}
.cover-content { min-width: 0; container-type: inline-size; }
.cover .eyebrow { color: var(--gold); }
.cover h1 {
  margin: .9rem 0 1.15rem;
  font-size: clamp(2.25rem, 4vw, 4.5rem);
  font-size: clamp(2rem, 12.7cqi, 4.6rem);
  line-height: 1.01;
  overflow-wrap: anywhere;
  hyphens: manual;
  text-wrap: balance;
}
.cover h1 .joined-words { white-space: nowrap; font-weight: inherit; }
.cover-intro { max-width: 34rem; font-size: clamp(1.03rem, 1.2vw, 1.2rem); color: #e8eee8; }
.cover .textlink { color: white; }
.cover-inner :focus-visible { outline-color: #ffcb73; }
.cover-photo {
  grid-area: 1 / 3 / 2 / -1;
  display: grid;
  align-items: center;
  min-width: 0;
  margin-inline-end: max(0px, calc((100vw - 110rem) / 2));
  position: relative;
}
.cover-photo img { width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; object-position: 50% 46%; }

.photo-credit {
  position: absolute;
  bottom: .5rem;
  right: .5rem;
  max-width: calc(100% - 1rem);
  padding: .28rem .45rem;
  background: #132019ed;
  color: white;
  font-size: .75rem;
  line-height: 1.35;
}
.photo-credit a { text-decoration-color: #b7c8b9; }

/* Country-to-country planner. No default country, no destination-specific page template. */
.planwrap { position: relative; z-index: 2; margin-top: -1.35rem; }
.planner {
  display: grid;
  grid-template-columns: minmax(12rem, .68fr) minmax(0, 2.5fr);
  align-items: end;
  gap: 1.1rem 2rem;
  padding: clamp(1.35rem, 2.1vw, 2.25rem);
  background: white;
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  box-shadow: 0 12px 32px #1a2c2010;
}
.plannerhead h2 { font-size: clamp(1.9rem, 2.65vw, 2.65rem); line-height: 1.05; }
.plannerhead p { margin-top: .5rem; color: var(--muted); font-size: .94rem; }
.planform { display: flex; flex-wrap: nowrap; align-items: end; gap: .85rem; min-width: 0; }
.planfields { display: grid; grid-template-columns: 1.12fr 1fr 1fr; gap: .85rem; flex: 1; min-width: 0; }
.planfields label { display: block; min-width: 0; font-size: .92rem; font-weight: 680; }
.planfields select {
  display: block;
  width: 100%;
  min-height: 3rem;
  margin-top: .33rem;
  padding: .6rem 1.5rem .6rem .65rem;
  border-radius: 3px;
  border: 1px solid #99aa9e;
  background-color: #fff;
  color: var(--ink);
  font-weight: 500;
  font-size: 1rem;
}
.planform button { flex: none; }
.planresult {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(12rem, .68fr) minmax(0, 2.5fr);
  gap: .6rem 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.planresult h3 { font: 670 1rem/1.5 "DM Sans", Arial, sans-serif; letter-spacing: normal; }
.planresult p { color: var(--muted); line-height: 1.5; max-width: 68ch; }
.planresult .sectionlinks { margin-top: .4rem; }

/* Service chapters and the destination guide. */
.storygrid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.storyframes { position: sticky; top: 6.4rem; display: grid; overflow: hidden; background: var(--forest); }
.stage-photo { grid-area: 1/1; position: relative; aspect-ratio: 1.28; display: none; }
.stage-photo:first-child { display: block; }
.stage-photo img, .stage-mobile img, .region-image img { width: 100%; height: 100%; object-fit: cover; }
.stage-photo img { position: absolute; inset: 0; }
.stage-photo:first-child img { object-position: 50% 52%; }
.storygrid[data-enhanced] .stage-photo { display: block; opacity: 0; visibility: hidden; transition: opacity .38s, visibility .38s; }
.storygrid[data-enhanced] .stage-photo.is-current { opacity: 1; visibility: visible; }
.stage { padding: clamp(1.5rem, 2.5vw, 2.45rem) 0; border-top: 1px solid var(--line); position: relative; }
.stage::before { content: ""; position: absolute; top: -2px; left: 0; width: 0; height: 3px; background: #b07e3f; transition: width .34s; }
.stage.is-current::before { width: 4rem; }
.stage:first-child { padding-top: 1.2rem; }
.stage:last-child { padding-bottom: 0; }
.stage p { color: var(--muted); max-width: 49ch; margin-top: .65rem; }
.stage-mobile { display: none; }
.region-section { background: var(--forest); color: #fff; }
.region-section .sectionhead .textlink { color: #e5eee4; }
.region-choices { display: flex; gap: 0 1.5rem; margin-bottom: 1.55rem; border-bottom: 1px solid #526456; }
.region-choices a {
  display: flex; align-items: center; position: relative;
  min-height: 3rem; color: #e2e8de; font-weight: 650;
  text-decoration: none; border-bottom: 3px solid transparent;
}
.region-choices a:hover { color: #fff; border-color: #93a494; }
.region-choices a[aria-selected=true] { color: var(--gold); border-color: var(--gold); }
.region-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.75rem, 5vw, 5rem); align-items: center; }
.region-panel + .region-panel { margin-top: 2rem; }
[data-regions]:has([role=tablist]) .region-panel { margin-top: 0; }
.region-image { position: relative; overflow: hidden; height: clamp(17rem, 24vw, 23rem); background: #243b2b; }
.region-copy h3 { font-size: clamp(2rem, 3vw, 3.3rem); }
.region-copy p { margin: 1rem 0 1.1rem; max-width: 49ch; color: #d3ded5; }
.country-links { display: flex; gap: .25rem 1.3rem; flex-wrap: wrap; list-style: none; padding: 0; }
.country-links a { display: inline-flex; align-items: center; min-height: 40px; font-size: 1rem; color: var(--gold); font-weight: 650; }
.contact-edition { background: var(--paper); }
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8%; align-items: center; }
.contact-layout h2 { margin: .6rem 0 1rem; }
.contact-layout p:not(.eyebrow) { margin: 0 0 1rem; max-width: 52ch; color: var(--muted); font-size: 1.08rem; }
.contact-layout address { display: grid; justify-items: start; gap: .5rem; padding-left: clamp(1rem, 4vw, 4rem); border-left: 1px solid #b6c2b5; }
.contact-layout address a:not(.btn) { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 2.3vw, 2.25rem); color: var(--green); }
.contact-layout address .btn { margin-top: .55rem; }

/* Service, country, vehicle and guide pages. */
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; padding-block: 1rem; color: var(--muted); font-size: .9rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.detailhero { background: var(--paper); border-bottom: 1px solid var(--line); }
.detailtop {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: stretch;
  gap: clamp(2rem, 5vw, 5.8rem);
  padding: clamp(1rem, 2.3vw, 2.25rem) 0 clamp(2rem, 4vw, 4rem);
}
.detailcopy { align-self: center; min-width: 0; }
.detailcopy h1 { margin: .6rem 0 1rem; overflow-wrap: anywhere; hyphens: auto; }
.detailcopy p { color: var(--muted); max-width: 63ch; font-size: clamp(1.08rem, 1.3vw, 1.24rem); }
.detailtop.plain { display: block; max-width: 58rem; }
.featureimage { position: relative; overflow: hidden; min-height: 16.8rem; }
.featureimage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featureimage.car-photo { align-self: center; min-height: 0; aspect-ratio: auto; }
.featureimage.car-photo img { position: static; height: auto; }
.car-photo .photo-credit {
  position: static; display: block; max-width: none; padding: .35rem 0 0;
  background: transparent; color: var(--muted);
}
.car-photo .photo-credit a { color: var(--green); text-decoration-color: currentColor; }
.articlegrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, 24%); gap: clamp(2.6rem, 8vw, 8rem); align-items: start; }
.articlebody { min-width: 0; }
.articlebody section + section { padding-top: clamp(1.8rem, 3vw, 3rem); margin-top: clamp(1.8rem, 3vw, 3rem); border-top: 1px solid var(--line); }
.articlebody h2 { margin-bottom: .85rem; font-size: clamp(1.95rem, 2.65vw, 2.7rem); }
.articlebody p, .articlebody li { color: #394b3f; max-width: 72ch; overflow-wrap: anywhere; line-height: 1.68; }
.articlebody p + p { margin-top: .8rem; }
.articlebody .source-review { margin-top: 2rem; font-size: .91rem; }
.articlebody ul { padding-left: 1.2rem; }
.articlebody li + li { margin-top: .4rem; }
.comparison-table {
  width: 100%; margin: 1.15rem 0; border-collapse: collapse;
  line-height: 1.45; font-variant-numeric: tabular-nums;
}
.comparison-table th, .comparison-table td {
  padding: .7rem clamp(.35rem, 1.2vw, .9rem); border-bottom: 1px solid var(--line);
  text-align: end; vertical-align: middle;
}
.comparison-table thead th { background: var(--forest); color: white; overflow-wrap: anywhere; }
.comparison-table th:first-child { text-align: start; }
.comparison-table tbody th { font-weight: 600; }
.comparison-table tbody tr:nth-child(even) { background: var(--paper); }
.comparison-table td { white-space: nowrap; }
.prep-items { display: grid; margin: .85rem 0 0; border-top: 1px solid var(--line); }
.prep-item {
  display: grid; grid-template-columns: 1.25rem minmax(0, 1fr);
  align-items: start; gap: .8rem; padding: .85rem .2rem;
  border-bottom: 1px solid var(--line); cursor: pointer; color: var(--ink);
}
.prep-item input { margin: .16rem 0 0; inline-size: 1.15rem; block-size: 1.15rem; accent-color: var(--green); }
.prep-item:has(input:checked) { background: #eff5ed; }
.prep-count { margin-top: .8rem; font-weight: 650; color: var(--green); }
.prosewide { max-width: 59rem; }
.sidelinks { position: sticky; top: 6rem; border-top: 3px solid var(--green); padding-top: 1.1rem; }
.sidelinks summary { list-style-position: inside; cursor: pointer; font: 700 1rem/1.5 "DM Sans", Arial, sans-serif; letter-spacing: 0; margin-bottom: .45rem; }
.sidelinks a { display: block; padding: .48rem 0; color: var(--muted); font-size: .98rem; }
.quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .1rem 1.65rem;
  margin-top: .8rem;
}
.quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--green);
  font-size: .97rem;
  font-weight: 580;
  text-underline-offset: .24em;
}
.hero-tool-link, .route-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--green);
  padding: .62rem 1rem;
  color: var(--green);
  font-weight: 670;
  text-decoration: none;
}
.hero-tool-link { margin-top: 1.25rem; }
.hero-tool-link:hover, .route-action:hover { color: white; background: var(--green); }
.choice-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14.8rem), 1fr));
  gap: .9rem;
  margin-top: 1.35rem;
}
.choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1rem, 2vw, 1.6rem);
  border-top: 3px solid #79937a;
  background: #f0f3ed;
}
.choice-card h3 { font: 600 clamp(1.45rem, 2.2vw, 1.8rem)/1.12 var(--display); }
.choice-card p { margin: .65rem 0 1rem; }
.choice-card a, .choice-more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: auto;
  text-underline-offset: .22em;
}
.choice-more { margin-top: .65rem; }
.route-directions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.route-directions > .textlink { display: inline-flex; align-items: center; min-height: 44px; }
.choice-guide, section[data-cost-planner] { scroll-margin-top: 6rem; }
@media (max-width: 620px) {
  .quick-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .15rem 1rem; }
  .quick-links a { line-height: 1.35; }
  .route-directions { align-items: flex-start; flex-direction: column; }
}
.cardlinks { display: grid; margin: 1.2rem 0 .25rem; border-top: 1px solid var(--line); }
.cardlinks a { padding: 1rem .25rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.cardlinks a:hover strong { text-decoration: underline; }
.cardlinks strong { font-family: var(--display); font-size: 1.55rem; font-weight: 600; line-height: 1.2; color: var(--green); }
.cardlinks span { display: block; margin-top: .3rem; color: var(--muted); line-height: 1.5; }
.directory-content .cardlinks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.8rem; }
.extrahtml { margin-bottom: 2rem; }
.faqitem { border-top: 1px solid var(--line); padding: 1.05rem 0; }
.faqitem:last-child { border-bottom: 1px solid var(--line); }
.faqitem summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; list-style: none; font-weight: 670; font-size: 1.16rem; }
.faqitem summary::after { content: "+"; color: var(--green); font-size: 1.5rem; }
.faqitem[open] summary::after { content: "−"; }
.faqitem p { margin-top: .6rem; }
.driver-route, #crossings { scroll-margin-block-start: 5rem; }
.driver-route summary { cursor: pointer; }
.driver-route summary h2 { margin: 0; font-size: clamp(1.1rem, 2.3vw, 1.48rem); line-height: 1.28; }
.driver-route .prep-item { line-height: 1.55; }
.cta { background: var(--forest); color: white; }
.ctainner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.cta p { margin-top: .9rem; color: #d9e3db; max-width: 58ch; }
.cta .btn { flex: none; }

/* Footer */
footer { background: #101e17; color: #e7eee9; }
.footgrid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2.6rem, 4vw, 4.6rem); }
.footgrid h2 { font: 700 1.02rem/1.3 "DM Sans", Arial, sans-serif; letter-spacing: 0; margin-bottom: .75rem; }
.footgrid a, .footgrid address { display: block; color: #d1dcd3; font-size: .98rem; line-height: 1.5; }
.footgrid a { margin: .45rem 0; text-decoration: none; }
.footgrid a:hover { text-decoration: underline; }
.footgrid .identityfoot img { width: 8.6rem; height: auto; filter: brightness(0) invert(1); margin-bottom: .9rem; }
.footbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.3rem; border-top: 1px solid #415349; font-size: .88rem; }
.footerlinks { flex-wrap: wrap; gap: .5rem 1rem; }
.footerlinks a { text-decoration: none; }
.footerlinks a:hover { text-decoration: underline; }

/* A dedicated service for cross-border business imports. */
.fiscal-feature {
  display: flex;
  align-items: stretch;
  margin-block: 1.15rem 1.85rem;
  background: #19362d;
  color: #fff;
  border-inline-start: .32rem solid #e8ba70;
}
.fiscal-copy {
  flex: 1 1 0;
  min-width: 0;
  padding: clamp(1.35rem, 3.2vw, 3.15rem);
}
.fiscal-feature .eyebrow {
  margin-bottom: .85rem;
  color: #f0ca88;
  line-height: 1.4;
}
.fiscal-feature h2, .fiscal-feature h3 {
  max-width: 24ch;
  margin: 0 0 .85rem;
  color: white;
  font-size: clamp(2.05rem, 3.2vw, 3.4rem);
  line-height: 1.06;
  hyphens: manual;
  overflow-wrap: anywhere;
}
.fiscal-feature .fiscal-intro {
  max-width: 64ch;
  color: #e6efe9;
  line-height: 1.6;
}
.fiscal-feature .actions { margin-top: 1.35rem; }
.fiscal-feature .textlink { color: #fff; }
.fiscal-feature :focus-visible { outline-color: #ffda9d; }
.fiscal-photo { position: relative; flex: 0 0 25%; margin: 0; overflow: hidden; }
.fiscal-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 64% center; }
.home-fiscal { margin-top: clamp(2.2rem, 4vw, 4.1rem); }
.home-fiscal .fiscal-feature { margin: 0; }
.home-fiscal .fiscal-photo { flex-basis: 34%; }

/* Tablet and mobile */
@media (min-width: 901px) and (max-width: 1279px) {
  .mast .primary, .mast .utilities { display: none; }
  .mast .mobile { display: block; }
  .mast .mobile-request { display: inline-flex; margin-left: 0; }
  .mast .language-menu { margin-left: auto; }
}
@media (max-width: 1100px) {
  .mast { gap: 1.1rem; }
  .primary, .utilities { gap: .95rem; }
  .planner { grid-template-columns: 1fr; gap: 1rem; }
  .planresult { grid-template-columns: minmax(8rem, .28fr) 1fr; }
}
@media (max-width: 900px) {
  .primary, .utilities { display: none; }
  .mobile { display: block; }
  .mobile-request { display: inline-flex; margin-left: 0; }
  .mast { min-height: 4.1rem; }
  .cover { display: flex; flex-direction: column; }
  .cover-photo { order: 0; margin: 0; }
  .cover-photo img { aspect-ratio: 1.75; }
  .cover-inner { order: 1; align-self: stretch; padding: clamp(1.45rem, 3vw, 2.5rem) var(--gutter) clamp(2rem, 4vw, 3rem); }
  .cover-content { max-width: 49rem; }
  .cover h1 { max-width: 16ch; }
  .cover-intro { max-width: 52ch; }
  .planwrap { margin-top: 0; }
  .planwrap > .container { padding: 0; }
  .planner { padding-inline: var(--gutter); border-inline: 0; box-shadow: none; }
  .articlegrid { grid-template-columns: minmax(0, 1fr) minmax(11rem, 24%); gap: 2rem; }
  .footgrid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  :target { scroll-margin-top: 4.8rem; }
  .identity img { width: 8.25rem; }
  .cover h1 { margin: .6rem 0 .8rem; }
  .cover .actions { margin-top: 1.3rem; }
  .planform { display: grid; gap: .9rem; }
  .planfields { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; }
  .planfields label:first-child { grid-column: 1/-1; }
  .planform .btn { justify-self: start; }
  .planresult { grid-template-columns: 1fr; gap: .2rem; }
  .sectionhead { align-items: start; flex-direction: column; gap: .65rem; }
  .storygrid { display: block; }
  .storyframes { display: none; }
  .stages { display: grid; gap: 2.1rem; }
  .stage, .stage:first-child { border: 0; padding: 0; }
  .stage::before { display: none; }
  .stage-mobile { display: block; position: relative; aspect-ratio: 1.9; margin-bottom: 1rem; }
  .stage p { max-width: none; }
  .region-choices { gap: 0 1.15rem; flex-wrap: wrap; }
  .region-panel { grid-template-columns: 1fr; gap: 1.15rem; }
  .region-image { height: auto; aspect-ratio: 1.95; }
  .region-copy p { margin-block: .65rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 1.6rem; }
  .contact-layout address { padding: 1rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .detailtop { grid-template-columns: 1fr; gap: 1.3rem; padding-top: .45rem; }
  .detailcopy h1 { font-size: clamp(2.65rem, 8.9vw, 3.85rem); }
  .featureimage { min-height: 0; aspect-ratio: 1.95; }
  .articlegrid { grid-template-columns: minmax(0,1fr); gap: 2rem; }
  .sidelinks { position: static; grid-row: 1; border-top-width: 1px; border-bottom: 1px solid var(--line); padding-block: .4rem; }
  .sidelinks summary { min-height: 44px; margin: 0; align-content: center; padding-block: .5rem; }
  .sidelinks nav { padding-bottom: .7rem; }
  .ctainner, .footbar { flex-direction: column; align-items: start; gap: 1.3rem; }
  .cta p { margin-top: .6rem; }
  .crumbs { font-size: .87rem; }
}
@media (max-width: 500px) {
  .mast { gap: .8rem; }
  .identity img { width: 6.8rem; }
  .mobile-request { min-height: 2.5rem; padding: .55rem .85rem; font-size: .88rem; }
  .cover-photo img { aspect-ratio: 1.6; }
  .planform .btn { width: 100%; }
  .region-choices { column-gap: 1rem; }
  .region-choices a { font-size: .94rem; }
  .directory-content .cardlinks { grid-template-columns: 1fr; }
  .footgrid { gap: 1.6rem 1.15rem; }
  .identityfoot { grid-column: 1/-1; }
}
@media (max-width: 345px) {
  .mast { gap: .6rem; }
  .identity img { width: 5.3rem; }
  .mobile-request { padding-inline: .62rem; }
  .planfields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
}

.import-example { margin-block: 2rem; padding: clamp(1.15rem, 3vw, 2rem); background: #edf2eb; border-top: 3px solid var(--green); }
.import-example[hidden] { display: none; }
.import-example .import-inputs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 1rem; margin-block: 1.4rem; }
.import-inputs label { display: flex; flex-direction: column; justify-content: space-between; gap: .5rem; font-weight: 650; }
.import-inputs input { box-sizing: border-box; max-width: 100%; padding: .6rem; font: inherit; border: 1px solid #728175; border-radius: 2px; background: white; }
.import-results { margin: 0; font-variant-numeric: tabular-nums; }
.import-results div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .55rem 0; border-top: 1px solid #c7d2c8; }
.import-results div:last-child { color: var(--green); font-weight: 750; }
.import-results dt { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.import-results dd { flex: none; margin: 0; text-align: right; }
.import-error { color: #842617; }


/* Keep all four header actions usable on narrow phones, including longer language labels. */
@media (max-width: 390px) {
  .mast { display: grid; grid-template-columns: minmax(0,1fr) auto auto 2.75rem; gap: .25rem; padding-inline: .75rem; }
  .mast .identity { min-width: 0; }
  .mast .identity img { width: min(100%, 6.5rem); }
  .mast .language-menu { margin-left: 0; }
  .mast .mobile-request { padding-inline: .5rem; }
  .mast .mobile summary { width: 2.75rem; justify-content: center; }
  .mast .mobile-menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .mast .mobile summary::after { width: 19px; height: 9px; }
}

@media (max-width: 920px) {
  .fiscal-photo { flex-basis: 23%; }
}
@media (max-width: 700px) {
  .footgrid a { overflow-wrap: anywhere; hyphens: auto; }
  .fiscal-feature h2, .fiscal-feature h3 { hyphens: auto; }
  .fiscal-feature .fiscal-photo { display: none; }
  .fiscal-feature .actions { align-items: flex-start; }
}
