:root {
  --ink: #172421;
  --ink-soft: #4f5d59;
  --paper: #f4f0e7;
  --paper-deep: #e9e1d3;
  --white: #fffdf8;
  --red: #8d2332;
  --red-dark: #681824;
  --green: #315f50;
  --gold: #c89c50;
  --line: rgba(23, 36, 33, .14);
  --shadow: 0 24px 80px rgba(36, 38, 31, .12);
  --sans: "DM Sans", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  opacity: .26;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.11'/%3E%3C/svg%3E");
}
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  color: white;
  background: var(--red);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 84px;
  padding: 0 clamp(24px, 5vw, 80px);
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s, min-height .25s;
}
.site-header.scrolled {
  min-height: 68px;
  background: rgba(244, 240, 231, .9);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  width: max-content;
  text-decoration: none;
}
.brand > span:last-child { display: grid; line-height: .84; }
.brand strong, .brand em {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: -.02em;
}
.brand em { color: var(--red); }
.brand-mark {
  position: relative;
  display: grid;
  place-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transform: rotate(-8deg);
}
.brand-mark i {
  display: block;
  width: 18px;
  height: 1px;
  margin: 2px;
  background: var(--ink);
}
.brand-mark i:nth-child(2) { width: 11px; background: var(--red); }
.main-nav { display: flex; gap: 34px; }
.main-nav a {
  position: relative;
  padding: 10px 2px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s;
}
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.search-trigger {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  padding: 10px 0;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
}
.search-trigger svg, .search-field svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr);
  min-height: calc(100vh - 84px);
  padding: clamp(38px, 7vh, 90px) clamp(24px, 5vw, 80px) 74px;
  overflow: hidden;
}
.hero-copy { align-self: center; max-width: 760px; padding-bottom: 5vh; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { width: 24px; height: 1px; content: ""; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
.hero-copy h1 {
  margin: 26px 0 24px;
  font-family: var(--serif);
  font-size: clamp(64px, 8vw, 126px);
  font-weight: 500;
  line-height: .82;
  letter-spacing: -.055em;
}
.hero-copy h1 span { display: block; margin-left: clamp(28px, 7vw, 112px); color: var(--red); font-style: italic; }
.hero-lead { max-width: 570px; margin-left: clamp(28px, 7vw, 112px); color: var(--ink-soft); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.58; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin: 38px 0 0 clamp(28px, 7vw, 112px); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  color: white;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, background .2s;
}
.button:hover { background: var(--red-dark); transform: translateY(-2px); }
.button-light { color: var(--ink); background: var(--white); border-color: var(--white); }
.button-ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.text-link { padding: 12px 0; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--ink); }

.hero-atlas { position: relative; min-height: 610px; align-self: center; }
.atlas-orbit {
  position: absolute;
  inset: 5% 1% 5% 3%;
  border: 1px solid rgba(49, 95, 80, .26);
  border-radius: 50%;
  transform: rotate(-10deg);
}
.atlas-orbit::before, .atlas-orbit::after {
  position: absolute;
  inset: 12%;
  content: "";
  border: inherit;
  border-radius: 50%;
}
.atlas-orbit::after { inset: 27% -7%; transform: rotate(38deg); }
.portugal-silhouette {
  position: absolute;
  top: 8%;
  left: 23%;
  width: 48%;
  height: 80%;
  filter: drop-shadow(0 32px 32px rgba(39, 60, 53, .18));
}
.portugal-silhouette path { fill: #d7c7a7; stroke: var(--green); stroke-width: 1.4; }
.portugal-silhouette .coast-line { fill: none; stroke: rgba(255,255,255,.8); stroke-width: .7; }
.map-pin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: white;
  background: var(--red);
  border: 6px solid var(--paper);
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 10px 25px rgba(89, 24, 31, .28);
  transform: rotate(-45deg);
  text-decoration: none;
  transition: transform .2s;
}
.map-pin span { font-size: 10px; font-weight: 700; transform: rotate(45deg); }
.map-pin:hover { transform: rotate(-45deg) scale(1.16); }
.pin-lisbon { top: 47%; left: 34%; }
.pin-porto { top: 27%; left: 41%; }
.pin-tavira { top: 79%; left: 48%; }
.atlas-note {
  position: absolute;
  right: 4%;
  bottom: 7%;
  width: 190px;
  padding: 18px;
  background: rgba(255,253,248,.88);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.atlas-note span { color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.atlas-note strong { display: block; margin-top: 6px; font-family: var(--serif); font-size: 25px; font-weight: 500; }
.hero-index { position: absolute; right: clamp(24px, 5vw, 80px); bottom: 28px; color: var(--ink-soft); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

.section { padding: 110px clamp(24px, 7vw, 112px); }
.section-heading { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; margin-bottom: 54px; }
.section-heading h2, .country-intro h2, .about-panel h2, .place-story h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.04em;
}
.section-heading p { max-width: 580px; align-self: end; margin: 0; color: var(--ink-soft); line-height: 1.7; }
.featured-section { background: var(--white); }
.story-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 20px; }
.story-card {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  color: white;
  background: var(--green);
  text-decoration: none;
}
.story-card:first-child { min-height: 580px; }
.story-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.story-card:hover img { transform: scale(1.035); }
.story-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 25%, rgba(8,19,16,.9) 100%); }
.story-card-content { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; padding: 28px; }
.story-card-content span { font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.story-card-content h3 { max-width: 430px; margin: 10px 0 0; font-family: var(--serif); font-size: clamp(27px, 3vw, 42px); font-weight: 500; line-height: 1.03; }

.country-teaser { display: grid; grid-template-columns: 1fr 1.2fr; min-height: 650px; padding: 0; background: var(--green); color: white; }
.country-teaser-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(52px, 8vw, 120px); }
.country-teaser-copy .eyebrow { color: #e7c486; }
.country-teaser-copy h2 { margin: 24px 0 22px; font-family: var(--serif); font-size: clamp(60px, 8vw, 112px); font-weight: 500; line-height: .9; }
.country-teaser-copy p { max-width: 520px; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.7; }
.country-stats { display: flex; gap: 38px; margin: 24px 0 40px; }
.country-stats strong { display: block; font-family: var(--serif); font-size: 36px; font-weight: 500; }
.country-stats span { color: rgba(255,255,255,.6); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.country-teaser-map { position: relative; display: grid; place-items: center; overflow: hidden; background: #d9cfba; }
.country-teaser-map::before { position: absolute; inset: 0; content: ""; background: repeating-radial-gradient(circle at 70% 45%, transparent 0 44px, rgba(49,95,80,.16) 45px 46px); }
.country-teaser-map .portugal-silhouette { position: relative; top: auto; left: auto; width: 48%; height: 78%; }

.countries-section { background: #ded4c1; }
.countries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.country-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 28px;
  overflow: hidden;
  color: white;
  background: var(--country-accent);
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.country-card:hover { z-index: 2; box-shadow: var(--shadow); transform: translateY(-8px); }
.country-card::before {
  position: absolute;
  width: 310px;
  height: 310px;
  right: -120px;
  top: -90px;
  content: "";
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255,255,255,.035), 0 0 0 90px rgba(255,255,255,.025);
}
.country-number { color: rgba(255,255,255,.55); font-size: 11px; letter-spacing: .14em; }
.country-code { position: absolute; right: 24px; top: 20px; color: rgba(255,255,255,.13); font-family: var(--serif); font-size: 92px; line-height: 1; }
.country-card > div { position: relative; z-index: 1; margin-top: auto; }
.country-card small { color: rgba(255,255,255,.6); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.country-card h3 { margin: 8px 0 14px; font-family: var(--serif); font-size: 53px; font-weight: 500; line-height: .9; }
.country-card p { color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.6; }
.country-card footer { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.25); font-size: 10px; text-transform: uppercase; }
.country-card footer b { margin-left: auto; font-size: 22px; }

.about-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 10vw; align-items: start; }
.about-copy { columns: 2; column-gap: 44px; color: var(--ink-soft); line-height: 1.75; }
.about-copy p:first-child::first-letter { float: left; margin: 7px 8px 0 0; color: var(--red); font-family: var(--serif); font-size: 65px; line-height: .7; }

/* Country */
.country-hero { padding: 64px clamp(24px, 7vw, 112px) 78px; }
.breadcrumbs { display: flex; gap: 9px; margin-bottom: 54px; color: var(--ink-soft); font-size: 12px; }
.breadcrumbs a { text-decoration: none; }
.country-title-row { display: grid; grid-template-columns: 1fr .86fr; gap: 7vw; align-items: end; }
.country-title h1 { margin: 10px 0 24px; font-family: var(--serif); font-size: clamp(76px, 11vw, 158px); font-weight: 500; line-height: .78; letter-spacing: -.06em; }
.country-title p { max-width: 660px; color: var(--ink-soft); font-size: 18px; line-height: 1.7; }
.country-meta { display: grid; grid-template-columns: repeat(3, 1fr); padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.country-meta strong { display: block; font-family: var(--serif); font-size: 35px; font-weight: 500; }
.country-meta span { color: var(--ink-soft); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.country-board { display: grid; grid-template-columns: minmax(350px,.8fr) 1.2fr; min-height: 640px; background: var(--green); }
.country-map {
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  min-height: 640px;
  overflow: hidden;
  color: white;
  background: #284d42;
}
.country-map::before { position: absolute; inset: 0; content: ""; opacity: .3; background: repeating-radial-gradient(circle at 46% 48%, transparent 0 46px, #b1c8bb 47px 48px); }
.country-map-shape { position: absolute; inset: 8% 15%; }
.country-map-shape svg { width: 100%; height: 100%; filter: drop-shadow(0 30px 35px rgba(0,0,0,.2)); }
.country-map-shape path { fill: #d9c49f; stroke: rgba(255,255,255,.65); stroke-width: 1; }
.country-map-monogram { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.country-map-monogram span { color: rgba(217,196,159,.72); font-family: var(--serif); font-size: clamp(130px,20vw,260px); line-height: .7; }
.country-map-monogram strong { margin-top: 30px; color: rgba(255,255,255,.72); font-family: var(--serif); font-size: 27px; font-weight: 500; letter-spacing: .08em; }
.map-dot { position: absolute; z-index: 3; width: 13px; height: 13px; padding: 0; background: var(--red); border: 3px solid white; border-radius: 50%; box-shadow: 0 0 0 7px rgba(255,255,255,.14); cursor: pointer; transition: transform .2s; }
.map-dot:hover, .map-dot.active { transform: scale(1.5); }
.map-dot::after { position: absolute; top: 17px; left: 50%; width: max-content; max-width: 130px; padding: 4px 7px; color: white; background: rgba(13,31,26,.86); border-radius: 2px; content: attr(data-label); font-size: 9px; font-weight: 600; transform: translateX(-50%); opacity: 0; pointer-events: none; }
.map-dot:hover::after, .map-dot.active::after { opacity: 1; }
.map-legend { position: absolute; right: 28px; bottom: 26px; left: 28px; display: flex; justify-content: space-between; color: rgba(255,255,255,.62); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.places-panel { padding: 52px clamp(24px, 5vw, 74px) 90px; background: var(--white); }
.places-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.places-toolbar h2 { margin: 0; font-family: var(--serif); font-size: 46px; font-weight: 500; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { padding: 9px 13px; color: var(--ink-soft); background: transparent; border: 1px solid var(--line); border-radius: 99px; font-size: 11px; cursor: pointer; }
.filter-button.active, .filter-button:hover { color: white; background: var(--ink); border-color: var(--ink); }
.places-list { display: grid; gap: 1px; background: var(--line); }
.place-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 24px; align-items: center; padding: 18px; background: var(--white); text-decoration: none; transition: background .2s; }
.place-row:hover { background: #f4efe4; }
.place-thumb { position: relative; width: 130px; height: 96px; overflow: hidden; background: var(--paper-deep); }
.place-thumb img { width: 100%; height: 100%; object-fit: cover; }
.image-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(49,95,80,.55); background: linear-gradient(145deg,#dfd3bd,#f4eee2); }
.image-placeholder svg { width: 44%; fill: none; stroke: currentColor; stroke-width: 1; }
.place-row-meta { color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.place-row h3 { margin: 7px 0 6px; font-family: var(--serif); font-size: 27px; font-weight: 500; line-height: 1; }
.place-row p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.45; }
.place-arrow { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; transition: background .2s, color .2s; }
.place-row:hover .place-arrow { color: white; background: var(--red); border-color: var(--red); }
.empty-state { padding: 50px; text-align: center; background: var(--white); }

/* Place */
.place-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 84px); }
.place-image { position: relative; min-height: 620px; overflow: hidden; background: var(--green); }
.place-image img { width: 100%; height: 100%; object-fit: cover; }
.place-image::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg,transparent 65%,rgba(0,0,0,.5)); }
.place-image-credit { position: absolute; right: 24px; bottom: 20px; left: 24px; z-index: 2; color: rgba(255,255,255,.75); font-size: 10px; }
.place-image .image-placeholder { color: rgba(255,255,255,.42); background: linear-gradient(145deg,#365f52,#1b332c); }
.place-image .image-placeholder svg { width: 28%; }
.place-story { display: flex; flex-direction: column; justify-content: center; padding: clamp(50px, 7vw, 110px); background: var(--white); }
.place-story .breadcrumbs { margin-bottom: 40px; }
.place-story h1 { margin: 15px 0 28px; }
.place-deck { color: var(--ink-soft); font-family: var(--serif); font-size: 23px; line-height: 1.45; }
.place-facts { display: grid; gap: 16px; margin: 30px 0; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: 100px 1fr; gap: 20px; font-size: 13px; }
.fact span { color: var(--ink-soft); }
.place-content { display: grid; grid-template-columns: .7fr 1.3fr; gap: 9vw; padding: 100px clamp(24px, 9vw, 150px); }
.place-aside { align-self: start; padding: 28px; background: var(--paper-deep); }
.place-aside h2 { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.place-aside p { color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.place-aside a { color: var(--red); font-size: 13px; font-weight: 700; }
.place-article h2 { margin-bottom: 24px; font-family: var(--serif); font-size: 48px; font-weight: 500; }
.place-article p { color: #34423e; font-family: var(--serif); font-size: 22px; line-height: 1.7; }
.more-places { padding: 80px clamp(24px, 7vw, 112px); background: var(--white); }
.more-places h2 { font-family: var(--serif); font-size: 44px; font-weight: 500; }
.mini-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.mini-card { padding: 24px; background: var(--paper); text-decoration: none; }
.mini-card span { color: var(--red); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.mini-card h3 { margin: 12px 0 0; font-family: var(--serif); font-size: 25px; font-weight: 500; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 28px; padding: 58px clamp(24px, 5vw, 80px); color: rgba(255,255,255,.8); background: #121d1a; }
.brand-footer { color: white; }
.brand-footer .brand-mark { border-color: white; }
.brand-footer .brand-mark i { background: white; }
.brand-footer .brand-mark i:nth-child(2) { background: #e8a8ae; }
.site-footer p { margin: 0; font-family: var(--serif); font-size: 23px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; text-decoration: none; }
.site-footer small { grid-column: 1/-1; padding-top: 25px; color: rgba(255,255,255,.4); border-top: 1px solid rgba(255,255,255,.12); }
.site-footer small a { color: inherit; }

.search-dialog { width: min(760px, calc(100% - 30px)); max-height: 84vh; padding: 0; background: var(--white); border: 0; box-shadow: var(--shadow); }
.search-dialog::backdrop { background: rgba(18,29,26,.72); backdrop-filter: blur(5px); }
.search-panel { padding: 35px; }
.search-heading { display: flex; align-items: start; justify-content: space-between; }
.search-heading h2 { margin: 8px 0 26px; font-family: var(--serif); font-size: 40px; font-weight: 500; }
.icon-button { width: 40px; height: 40px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 50%; font-size: 25px; cursor: pointer; }
.search-field { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border: 1px solid var(--ink); }
.search-field input { width: 100%; color: var(--ink); background: transparent; border: 0; outline: none; font-size: 18px; }
.search-results { display: grid; max-height: 45vh; margin-top: 16px; overflow: auto; }
.search-result { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 15px 5px; border-bottom: 1px solid var(--line); text-decoration: none; }
.search-result strong { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.search-result span { color: var(--ink-soft); font-size: 11px; }
.toast { position: fixed; right: 25px; bottom: 25px; z-index: 60; padding: 14px 18px; color: white; background: var(--ink); opacity: 0; transform: translateY(15px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: none; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s, transform .65s; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .home-hero { grid-template-columns: 1fr 430px; }
  .hero-copy h1 { font-size: 82px; }
  .hero-atlas { min-height: 520px; }
  .story-grid { grid-template-columns: 1.2fr .8fr; }
  .story-card:last-child { grid-column: 1/-1; min-height: 350px; }
  .country-board { grid-template-columns: 390px 1fr; }
  .place-row { grid-template-columns: 95px 1fr auto; gap: 16px; }
  .place-thumb { width: 95px; height: 84px; }
  .place-row p { display: none; }
}

@media (max-width: 800px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 70px; padding: 0 20px; }
  .main-nav { display: none; }
  .search-trigger span { display: none; }
  .home-hero { display: block; min-height: auto; padding: 60px 22px 55px; }
  .hero-copy { position: relative; z-index: 2; }
  .hero-copy h1 { font-size: clamp(60px, 19vw, 92px); }
  .hero-copy h1 span, .hero-lead, .hero-actions { margin-left: 0; }
  .hero-atlas { height: 490px; min-height: 0; margin-top: -20px; }
  .portugal-silhouette { left: 27%; width: 46%; }
  .atlas-note { right: 0; }
  .hero-index { display: none; }
  .section { padding: 76px 22px; }
  .section-heading, .about-panel { grid-template-columns: 1fr; gap: 24px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-card, .story-card:first-child, .story-card:last-child { grid-column: auto; min-height: 430px; }
  .country-teaser { grid-template-columns: 1fr; }
  .countries-grid { grid-template-columns: 1fr; }
  .country-card { min-height: 360px; }
  .country-teaser-copy { padding: 70px 24px; }
  .country-teaser-map { min-height: 580px; }
  .about-copy { columns: 1; }
  .country-hero { padding: 45px 22px 58px; }
  .country-title-row { grid-template-columns: 1fr; }
  .country-title h1 { font-size: 86px; }
  .country-board { display: block; }
  .country-map { position: relative; top: auto; height: 540px; min-height: 0; }
  .places-panel { padding: 48px 18px 70px; }
  .places-toolbar { display: block; }
  .filters { margin-top: 20px; }
  .place-hero { grid-template-columns: 1fr; }
  .place-image { min-height: 65vh; }
  .place-story { padding: 55px 24px; }
  .place-content { grid-template-columns: 1fr; padding: 70px 24px; }
  .place-aside { order: 2; }
  .mini-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .brand strong, .brand em { font-size: 19px; }
  .brand-mark { width: 35px; height: 35px; }
  .hero-copy h1 { font-size: 62px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 8px; }
  .button, .text-link { width: 100%; text-align: center; }
  .hero-atlas { height: 400px; }
  .atlas-note { width: 150px; padding: 14px; }
  .country-stats { gap: 25px; }
  .section-heading h2, .country-intro h2, .about-panel h2, .place-story h1 { font-size: 46px; }
  .place-row { grid-template-columns: 78px 1fr; padding: 12px; }
  .place-thumb { width: 78px; height: 78px; }
  .place-arrow { display: none; }
  .place-row h3 { font-size: 21px; }
  .country-meta strong { font-size: 27px; }
  .place-image { min-height: 55vh; }
  .place-article p { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
