/* Country page, second design (country-netherlands.html, country-ireland.html).
   Loaded *after* country-page.css and adds only .n-* rules, so nothing here can reach
   the landing page, the footer, the side panel or the "other countries" cards — those
   keep working off site.css and country-page.css exactly as they do today.

   The idea: the first design had one layout thought (a rounded card in a tidy grid)
   repeated five times at five widths, which is what made it feel generic. Here each
   section is built differently — a full-bleed hero, a dark band of gutter-labelled
   rows, a bento of university tiles, a scattered collage, a centred pull-quote — and
   what holds them together is the type, the palette and the ink-on-cream shapes,
   not a repeated box. */

/* ---------- Hero ---------- */
/* Name the country at the size of a poster, then show it full width. The old hero
   split the screen down the middle, which gave the headline half a page to live in. */
.n-hero { padding: 26px 0 0; }
.n-hero .crumb { margin-bottom: 40px; display: inline-flex; }
.n-hero-eyebrow { display: block; color: var(--terracotta); }
.n-hero h1 {
  font-size: clamp(84px, 14.6vw, 210px);
  line-height: .85; letter-spacing: -.035em;
  margin: 12px 0 0;
}
.n-hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; margin-top: 30px; }
.n-hero-places { opacity: .55; }
.n-hero-lead { font-size: 20px; line-height: 1.5; margin: 0; max-width: 470px; opacity: .8; }

/* The three numbers, demoted: a thin annotated row at the photo's top edge rather
   than a bordered stat block competing with the headline. */
.n-hero-stats { display: flex; justify-content: flex-end; margin: 46px 0 26px; }
.n-hero-stat { padding: 0 32px; border-left: 1px solid rgba(42, 29, 20, .18); }
.n-hero-stat:first-child { border-left: 0; }
.n-hero-stat:last-child { padding-right: 0; }
.n-hero-stat b { display: block; font-family: var(--font-head); font-weight: 400; font-size: 42px; line-height: 1; color: var(--terracotta); }
.n-hero-stat span { display: block; margin-top: 9px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .02em; text-transform: lowercase; opacity: .6; max-width: 150px; line-height: 1.4; }

/* Full-bleed photo band. It is a direct child of the <section>, not of .wrap, so it
   is the width of the window without any 100vw / scrollbar arithmetic. */
.n-hero-stage { position: relative; height: clamp(360px, 52vw, 640px); background: var(--cream-2); overflow: hidden; }
.n-hero-stage > img { width: 100%; height: 100%; object-fit: cover; }
/* The photo dissolves into cream at the bottom so the ink city reads as drawn on the
   page rather than pasted onto the picture. */
.n-hero-fade { position: absolute; inset: auto 0 0; height: 62%; background: linear-gradient(to top, var(--cream) 12%, rgba(246, 241, 232, 0) 100%); }
.n-skyline { position: absolute; inset: auto 0 -1px; line-height: 0; }
.n-skyline svg { display: block; width: 100%; height: auto; }

/* ---------- Why this country + the key facts, in one breath ---------- */
/* The two used to be separate sections of cards. They answer the same question, so
   they are one block now. It was a dark band once; the whole page is cream now. */
.n-dark { background: var(--cream); color: var(--ink); padding: 104px 0 100px; }
.n-dark-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 64px; }
.n-dark-head h2 { font-size: 88px; }
.n-dark-head h2 .br { color: var(--terracotta); }
.n-dark-head p { max-width: 380px; margin: 0; opacity: .7; }

/* A tiny label in the gutter against a line of large serif: the one move from the
   reference that survives without its colours. */
.n-reasons { list-style: none; margin: 0 0 96px; padding: 0; }
.n-reasons li { display: grid; grid-template-columns: 150px 1fr; gap: 40px; padding: 32px 0; border-top: 1px solid rgba(42, 29, 20, .15); }
.n-reasons li:last-child { border-bottom: 1px solid rgba(42, 29, 20, .15); }
.n-reasons .mono { color: var(--terracotta); padding-top: 14px; }
.n-reasons p { margin: 0; font-family: var(--font-head); font-size: clamp(28px, 3.1vw, 46px); line-height: 1.14; max-width: 900px; }

/* The reasons: four blocks in a row, copied from "What makes us different" on the
   language school page (.ls-diff-grid). The open block is wider, taller and dark; the
   others are pale. country-page-v2.js opens whichever block the mouse is over. */
.n-dark--why { padding-top: 40px; }
.n-dark--why .n-dark-head { margin-bottom: 56px; }
.n-dark--why .n-dark-head h2 { font-size: clamp(38px, 6vw, 60px); } /* smaller, as on the language school page */
/* The country name in the heading is handwritten, in the font of the founders' name notes (.scrawl) */
.n-hand { font-family: 'Bad Script', cursive; font-size: .82em; letter-spacing: 0; }
.n-why-grid { display: flex; align-items: center; gap: 14px; min-height: 330px; margin-bottom: 80px; }
.n-why-grid article {
  position: relative; flex: 1 1 0; min-width: 0; height: 280px; box-sizing: border-box;
  display: flex; flex-direction: column; overflow: hidden; cursor: pointer; outline: none;
  background: rgba(200, 82, 40, .12); color: var(--ink); border-radius: 28px; padding: 26px 24px 28px;
  transition: flex-grow .6s var(--ease), height .6s var(--ease), background-color .45s, color .45s;
}
.n-why-grid article.is-open { flex-grow: 1.7; height: 330px; background: var(--terracotta); color: var(--cream); cursor: default; }
.n-why-grid article:focus-visible { box-shadow: 0 0 0 3px var(--cream), 0 0 0 5px var(--terracotta); }
.n-why-grid .mono { font-family: var(--font-body); font-size: 14px; opacity: .7; }
.n-why-grid h3 { font-size: clamp(28px, 2.4vw, 34px); line-height: 1; margin: auto 0 0; transition: font-size .6s var(--ease); }
.n-why-grid article.is-open h3 { font-size: 44px; }
.n-why-grid p { margin: 12px 0 0; font-size: 16px; line-height: 1.4; opacity: .75; transition: opacity .45s; }
.n-why-grid article.is-open p { opacity: .92; }
@media (max-width: 1200px) {
  .n-why-grid { display: grid; grid-template-columns: repeat(2, 1fr); min-height: 0; }
  .n-why-grid article, .n-why-grid article.is-open {
    height: auto; min-height: 260px; background: var(--terracotta); color: var(--cream); cursor: default;
  }
  .n-why-grid h3, .n-why-grid article.is-open h3 { font-size: 38px; padding-top: 40px; }
  .n-why-grid p, .n-why-grid article.is-open p { margin-top: 14px; opacity: .92; }
}
@media (max-width: 600px) {
  .n-why-grid { grid-template-columns: 1fr; }
  .n-why-grid article, .n-why-grid article.is-open { min-height: 0; }
}

.n-facts-head { display: block; margin-bottom: 22px; opacity: .5; }
.n-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 80px; margin: 0; }
.n-facts > div { display: grid; grid-template-columns: 190px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid rgba(42, 29, 20, .15); }
.n-facts dt { font-family: var(--font-mono); font-size: 12px; opacity: .55; padding-top: 3px; }
.n-facts dd { margin: 0; font-size: 17px; }
.n-note { margin: 28px 0 0; opacity: .5; }
.n-dark .n-note { opacity: .45; }

/* ---------- Universities: the middle of the page ---------- */
.n-unis-sec { padding: 120px 0 110px; }
/* The Ukrainian heading is longer and wrapped its closing bracket onto a second line */
html[lang="uk"] .n-unis-sec .sec-head h2 { font-size: clamp(38px, 8vw, 72px); }
.n-unis-sec .sec-head h2 .br { white-space: nowrap; }

/* One feature tile, then equal tiles that fill whatever room is left. The rule is
   positional, not hand-placed, so three universities and nine both lay out properly —
   which matters, because the list keeps growing. */
.n-uni { text-align: left; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; background: var(--cream-2); border-radius: 28px; overflow: hidden; }
.n-uni-ph { position: relative; }
.n-uni-ph img { width: 100%; height: 100%; object-fit: cover; }
/* Small mono note at a photo's edge, the way the reference annotates its pictures */
.n-uni-tag { position: absolute; left: 16px; bottom: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .02em; text-transform: lowercase; color: var(--cream); text-shadow: 0 1px 10px rgba(42, 29, 20, .8); }
.n-uni .mono { color: var(--terracotta); }
.n-uni-more { display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 15px; padding-top: 18px; border-top: 1px solid rgba(42, 29, 20, .15); }
.n-uni-more::after { content: '→'; font-family: var(--font-mono); color: var(--terracotta); transition: transform .25s; }
.anim .n-uni { transition: transform .25s, background .25s; }
.anim .n-uni:hover { transform: translateY(-4px); background: #E6DCC8; }
.anim .n-uni:hover .n-uni-more::after { transform: translateX(6px); }
.n-uni:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 4px; }

.n-uni--feature { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: 32px; margin-bottom: 24px; width: 100%; }
.n-uni--feature .n-uni-ph { min-height: 440px; }
.n-uni--feature .n-uni-body { padding: 52px 52px 44px; display: flex; flex-direction: column; }
.n-uni--feature h3 { font-size: 58px; margin: 12px 0 14px; }
.n-uni--feature p { margin: 0 0 26px; font-size: 17px; opacity: .78; max-width: 420px; }
/* Two more pictures inside the tile: enough to show the place, not so many that the
   page turns into a gallery. The rest live in the side panel. */
.n-uni-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 24px; }
.n-uni-thumbs .ph { height: 96px; border-radius: 14px; }
.n-uni-thumbs .ph::after { display: none; }
.n-uni--feature .n-uni-more { margin-top: auto; }
/* The feature tile's short facts: city, language, intakes */
.n-uni-facts { margin: 0 0 24px; }
.n-uni-facts > div { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 9px 0; border-top: 1px solid rgba(42, 29, 20, .15); }
.n-uni-facts dt { font-family: var(--font-mono); font-size: 12px; opacity: .55; padding-top: 2px; }
.n-uni-facts dd { margin: 0; font-size: 15px; }

/* Flex, not grid: the last row stretches to fill instead of leaving an empty track,
   whatever number of universities happens to be on the page. */
.n-unis-rest { display: flex; flex-wrap: wrap; gap: 24px; }
.n-unis-rest .n-uni { flex: 1 1 300px; display: flex; flex-direction: column; }
.n-unis-rest .n-uni-ph { height: 224px; flex: none; }
/* Every third tile gets a taller picture — the mixed heights are what stop the row
   reading as a plain grid, and it still works at any count. */
.n-unis-rest .n-uni:nth-child(3n+2) .n-uni-ph { height: 304px; }
.n-unis-rest .n-uni-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.n-unis-rest h3 { font-size: 32px; margin: 10px 0 10px; }
.n-unis-rest p { margin: 0 0 20px; font-size: 16px; opacity: .75; flex: 1; }
.n-uni.is-hidden { display: none; }

.n-more { display: block; margin: 34px auto 0; background: none; border: 0; cursor: pointer; font-family: var(--font-mono); font-size: 13px; letter-spacing: .02em; text-transform: lowercase; color: var(--terracotta); padding: 14px 30px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(200, 82, 40, .35); transition: background .25s, box-shadow .25s; }
.n-more:hover { background: var(--cream-2); box-shadow: inset 0 0 0 1.5px var(--terracotta); }
.n-more[hidden] { display: none; }

/* ---------- Life day to day: three small working cards, then three open columns ---------- */
/* Top row: soft cards, centred text, and underneath each a very small piece of UI that
   shows the subject instead of a photo of it. Bottom row: no boxes at all, just
   hairlines between three columns of big serif titles and short lists. */
.n-life-sec { padding: 0 0 120px; }
.n-life-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.n-lc { background: var(--cream-2); border-radius: 28px; padding: 48px 34px 44px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.n-lc-num { font-family: var(--font-body); font-weight: 600; font-size: 22px; color: #B9623F; }
.n-lc h3 { font-size: 40px; margin: 8px 0 10px; }
.n-lc p { margin: 0; font-size: 16px; opacity: .75; }
.n-ui { margin-top: auto; padding-top: 44px; width: 100%; height: 280px; display: flex; flex-direction: column; justify-content: center; }

/* Three simple drawings (a shared kitchen table, a Dutch bike, a folded map).
   Each one is complete as it stands. It moves only when the visitor asks for it: on hover
   with a mouse, or once on a tap on a phone (.is-play, set in country-page-v2.js). No
   loops, nothing on scroll, and nothing at all without html.anim. */
.n-lc { --tile: #FCF9F3; --tile-2: #F3EADC; --line: rgba(42, 29, 20, .13); --clay: #B9623F; --clay-dk: #A9573A; }
.n-art svg { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto; overflow: visible; }
.n-art-ground { fill: rgba(42, 29, 20, .07); }
.n-art-tile { fill: var(--tile); stroke: var(--line); stroke-width: 1.2; stroke-linejoin: round; }
.n-art-tile-2 { fill: var(--tile-2); stroke: var(--line); stroke-width: 1.2; stroke-linejoin: round; }
.n-art-hair { fill: none; stroke: rgba(42, 29, 20, .16); stroke-width: 1.2; stroke-linecap: round; }
.n-art-clay { fill: url(#n-art-clay); stroke: var(--clay-dk); stroke-width: 1; }
.n-art-shine { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 1.4; stroke-linecap: round; }

/* 01 — two mugs on a kitchen table and three hellos above it */
.n-bubble text { font-family: var(--font-body); font-size: 14px; font-weight: 600; text-anchor: middle; fill: var(--ink); }
.n-bubble--clay text { fill: #FFF8F0; }
.n-steam { fill: none; stroke: rgba(42, 29, 20, .18); stroke-width: 1.4; stroke-linecap: round; }
.n-mug-handle { fill: none; stroke: var(--clay-dk); stroke-width: 4; stroke-linecap: round; }
.n-mug-handle--pale { stroke: rgba(42, 29, 20, .2); }

/* 02 — a Dutch bike with a crate on the front */
.n-bike-frame { fill: none; stroke: var(--clay); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.n-bike-tyre { fill: none; stroke: rgba(42, 29, 20, .62); stroke-width: 4; }
.n-bike-rim { fill: none; stroke: rgba(42, 29, 20, .18); stroke-width: 1.2; }
.n-bike-spokes { stroke: rgba(42, 29, 20, .25); stroke-width: 1; }
.n-bike-dark { fill: none; stroke: rgba(42, 29, 20, .62); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.n-bike-saddle { fill: rgba(42, 29, 20, .62); }
.n-road { stroke: rgba(42, 29, 20, .2); stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; }

/* Ireland uses the same set: a teapot on the kitchen table, a Dublin double-decker
   that rolls like the bike, and a stretch of coast whose pins drop like the map's */
.n-bus-tyre { fill: rgba(42, 29, 20, .62); }
.n-bus-door { stroke: var(--line); stroke-width: 1.2; }
.n-bus-blind { fill: #2E211A; }
.n-bus-dest { font-family: var(--font-mono); font-size: 7.5px; font-weight: 500; text-anchor: middle; fill: #F6C08F; }
.n-bus-lamp { fill: #FFF8F0; stroke: var(--clay-dk); stroke-width: 1; }
.n-art-sea { fill: #E9DBC5; }

/* 03 — a folded map with three pins and the route between them */
.n-map-water { fill: none; stroke: #E4D3BA; stroke-width: 9; }
.n-map-route { fill: none; stroke: var(--clay); stroke-width: 1.6; stroke-dasharray: 1 5; stroke-linecap: round; }
.n-pin-dot { fill: #FFF8F0; }
.n-pin-shadow { fill: rgba(42, 29, 20, .14); }

/* The movements. Transform-box makes each part turn or grow around its own centre. */
.n-bubble-in, .n-bike, .n-bus, .n-bike-spokes, .n-pin-in { transform-box: fill-box; }
.n-bubble-in { transform-origin: 50% 100%; }
.n-bike-spokes { transform-origin: center; }
.n-pin-in { transform-origin: 50% 100%; }

@keyframes n-pop { 0% { opacity: 0; transform: scale(.4) translateY(8px); } 70% { opacity: 1; transform: scale(1.06); } 100% { opacity: 1; transform: none; } }
@keyframes n-drop { 0% { opacity: 0; transform: translateY(-34px); } 60% { opacity: 1; transform: translateY(2px); } 80% { transform: translateY(-3px); } 100% { opacity: 1; transform: none; } }

.anim .n-bike, .anim .n-bus { transition: transform 1.1s cubic-bezier(.3, .7, .3, 1); }
.anim .n-bike-spokes { transition: transform 1.1s cubic-bezier(.3, .7, .3, 1); }

@media (hover: hover) {
  .anim .n-lc:hover .n-bubble-in { animation: n-pop .5s cubic-bezier(.2, .7, .2, 1) both; }
  .anim .n-lc:hover .n-bike, .anim .n-lc:hover .n-bus { transform: translateX(26px); }
  .anim .n-lc:hover .n-bike-spokes { transform: rotate(160deg); }
  .anim .n-lc:hover .n-pin-in { animation: n-drop .6s cubic-bezier(.3, .6, .3, 1) both; }
}
.anim .n-lc.is-play .n-bubble-in { animation: n-pop .5s cubic-bezier(.2, .7, .2, 1) both; }
.anim .n-lc.is-play .n-bike, .anim .n-lc.is-play .n-bus { transform: translateX(26px); }
.anim .n-lc.is-play .n-bike-spokes { transform: rotate(160deg); }
.anim .n-lc.is-play .n-pin-in { animation: n-drop .6s cubic-bezier(.3, .6, .3, 1) both; }
.anim .n-lc .n-bubble:nth-of-type(2) .n-bubble-in, .anim .n-lc .n-pin:nth-of-type(2) .n-pin-in { animation-delay: .18s; }
.anim .n-lc .n-bubble:nth-of-type(3) .n-bubble-in, .anim .n-lc .n-pin:nth-of-type(3) .n-pin-in { animation-delay: .36s; }

.n-life-say { text-align: center; max-width: 760px; margin: 0 auto; padding: 96px 0 88px; }
.n-life-say p { font-family: var(--font-head); font-size: clamp(26px, 3vw, 42px); line-height: 1.18; margin: 0; }
.n-life-say .mono { display: block; color: var(--terracotta); margin-bottom: 18px; }
/* The last word circled in pen, with a handwritten note below it pointing up with an arrow.
   The ring draws itself first, then the note is written in (.scrawl in animations.css). */
.n-ring { position: relative; white-space: nowrap; }
.n-ring-line { position: absolute; left: -.4em; top: .02em; width: calc(100% + .75em); height: calc(100% + .2em); overflow: visible; pointer-events: none;
  fill: none; stroke: var(--terracotta); stroke-width: 1.8; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.n-ring-line path { vector-effect: non-scaling-stroke; }
.n-ring-note { left: calc(100% + 34px); top: calc(100% + 30px); font-size: 26px; color: var(--terracotta); transform: rotate(-6deg); --scrawl-d: 1.3s; }
.n-ring-arrow { left: calc(100% - 4px); top: calc(100% + 4px); width: 54px; stroke: var(--terracotta); --scrawl-d: 1.3s; }
.anim .n-ring-line path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s cubic-bezier(.45, .05, .35, 1) .5s; }
.anim .is-in .n-ring-line path { stroke-dashoffset: 0; }

/* Bottom row: three open columns separated by hairlines */
/* Ireland has no first-year lines between the cards and the columns (they sit on the photo below) */
.n-life-cards + .n-life-cols { margin-top: 96px; }
.n-life-cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(42, 29, 20, .18); border-bottom: 1px solid rgba(42, 29, 20, .18); }
.n-col { padding: 46px 40px 56px; border-left: 1px solid rgba(42, 29, 20, .18); }
.n-col:first-child { border-left: 0; padding-left: 0; }
.n-col:last-child { padding-right: 0; }
.n-col h3 { font-size: clamp(38px, 3.6vw, 54px); line-height: 1.02; margin: 0; }
.n-col-meta { display: block; margin: 18px 0 30px; font-family: var(--font-mono); font-size: 12px; color: var(--terracotta); }
.n-col ul { list-style: none; margin: 0; padding: 0; }
.n-col li { font-size: 17px; line-height: 1.45; padding: 7px 0; opacity: .82; }
.n-col li:last-child { opacity: .45; }
/* A tip from us inside a list, in the handwriting of the notes (.scrawl) */
.n-tip { font-family: 'Bad Script', cursive; font-size: 1.3em; line-height: 1; color: var(--terracotta); }

/* ---------- Advice: one line, said properly ---------- */
/* The founders' voice used to be three equal cards inside the dark block. The dark
   block is spent by now, so this sits on cream: one quote at full size with a handwritten
   note beside it, and the other two underneath at a quieter size. */
.n-advice { padding: 20px 0 130px; }
.n-quote { position: relative; max-width: 940px; margin: 0 auto; text-align: center; }
/* A handwritten note in the margin with a pen-drawn arrow curling down into the quote
   (the look and the animation are shared: .scrawl in site.css and animations.css) */
.n-scrawl { left: -190px; top: -118px; text-align: left; transform: rotate(-9deg); }
.n-scrawl-arrow { left: -158px; top: -52px; width: 190px; stroke: var(--terracotta); }
.n-quote-text { font-family: var(--font-head); font-size: clamp(34px, 4.5vw, 68px); line-height: 1.1; margin: 0 0 38px; }
.n-quote-who { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.n-quote-who .ph { width: 52px; height: 52px; border-radius: 999px; flex: none; }
.n-quote-who .ph::after { display: none; }
.n-quote-who b { display: block; font-weight: 600; font-size: 16px; }
.n-quote-who span { display: block; font-family: var(--font-mono); font-size: 11px; opacity: .6; margin-top: 2px; }

.n-advice-more { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; max-width: 940px; margin: 110px auto 0; }
.n-advice-more article { padding-top: 26px; border-top: 1px solid rgba(42, 29, 20, .2); }
.n-advice-more .mono { color: var(--terracotta); }
.n-advice-more p { font-family: var(--font-head); font-size: 26px; line-height: 1.25; margin: 14px 0 26px; }

/* Netherlands: the whole advice block sits on a canal photo in a rounded card, with the
   text turned cream and a dark veil over the photo so it stays readable */
.n-advice--photo .n-advice-card {
  position: relative; border-radius: 28px; padding: 130px 60px 130px; color: var(--cream);
  background: linear-gradient(rgba(28, 19, 13, .22), rgba(28, 19, 13, .42)), url('assets/nl-advice-canal.jpg') center 58% / cover;
}
/* Ireland: the same card on the Griffith College gate, where we both studied */
[data-country="ie"] .n-advice--photo .n-advice-card {
  background-image: linear-gradient(rgba(28, 19, 13, .48), rgba(28, 19, 13, .62)), url('assets/griffith/griffith-02.jpg');
  background-position: center 62%;
}
/* Ireland puts the first-year lines on the photo instead of a quote: the text in cream,
   the ring and the note in the usual terracotta */
.n-advice--photo .n-life-say { padding: 0; max-width: 820px; }
.n-advice--photo .n-life-say p { font-size: clamp(28px, 3.4vw, 50px); text-shadow: 0 2px 18px rgba(20, 13, 8, .55); }
.n-advice--photo .n-life-say .mono { color: var(--cream); font-size: 13px; margin-bottom: 22px; text-shadow: 0 1px 10px rgba(20, 13, 8, .7); }
.n-advice--photo .n-ring-line { stroke-width: 2.2; }
.n-advice--photo .n-ring-note { text-shadow: 0 2px 14px rgba(20, 13, 8, .6); }
/* A soft shadow keeps the cream text readable on the lighter photo */
.n-advice--photo .n-quote-text, .n-advice--photo .n-quote-who { text-shadow: 0 2px 18px rgba(20, 13, 8, .55); }
.n-advice--photo .n-quote-who span { opacity: .85; }
/* The signature writes itself in, left to right, the first time the quote scrolls into
   view: the same reveal as the handwritten notes (.scrawl in animations.css), started
   after the quote has faded in */
.anim .n-sign { clip-path: inset(-20% 100% -20% -10%); transition: clip-path 1.4s cubic-bezier(.45, .05, .35, 1) .7s; }
.anim .is-in .n-sign { clip-path: inset(-20% -10% -20% -10%); }
.n-advice--photo .n-quote { max-width: 820px; }
.n-advice--photo .country-name { padding: 12px 24px; border-width: 2.5px; font-size: 18px; top: -16px; left: -18px; }
.n-advice--photo .n-quote-text { font-size: clamp(28px, 3.4vw, 50px); }
/* The signature under the quote: handwritten like the note, and tilted a touch */
.n-sign { display: inline-block; margin: 0; font-family: 'Bad Script', cursive; font-size: 28px; line-height: 1.2; transform: rotate(-4deg); text-shadow: 0 2px 18px rgba(20, 13, 8, .55); }

/* ---------- Temporary protection or a visa: the packages table from the main page ----------
   Same build as .cmp in v1-editorial.html: a cream panel with one row per topic, and the
   temporary-protection column as a terracotta strip standing out above and below it.
   The cells hold short text instead of ticks, so they are left-aligned and a little smaller. */
.n-paths-sec { padding: 0 0 150px; }
.n-cmp { --col: 360px; --pad: 56px; position: relative; }
.n-cmp::before { content: ''; position: absolute; z-index: 1; top: 0; bottom: -56px; right: calc(var(--pad) + var(--col)); width: var(--col);
  border-radius: 32px; background: var(--terracotta); box-shadow: 0 30px 50px -34px rgba(42, 29, 20, .55); }
.n-cmp-row { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr var(--col) var(--col); align-items: center; }
.n-cmp-row > :not(:first-child) { padding: 0 34px; }
.n-cmp-head { padding: 0 var(--pad); height: 128px; }
.n-cmp-head .tp { align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; color: var(--cream); }
.n-cmp-head .sp { align-self: end; padding-bottom: 22px; }
.n-cmp-head h3 { font-size: 34px; line-height: 1; }
.n-cmp-head .sp h3 { font-size: 30px; }
.n-cmp-head .badge { background: var(--cream); color: var(--terracotta); padding: 4px 12px; border-radius: 999px; }
.n-cmp-body { background: var(--cream-2); border-radius: 32px; padding: 0 var(--pad); }
.n-cmp-body .n-cmp-row { min-height: 96px; padding: 18px 0; font-size: 16px; line-height: 1.4; }
.n-cmp-body .n-cmp-row + .n-cmp-row { border-top: 1px solid rgba(42, 29, 20, .12); }
.n-cmp-body [role="rowheader"] { font-size: 18px; }
.n-cmp-body .tp { color: var(--cream); }
.n-cmp-body .sp { opacity: .8; }
.n-cmp .price { font-family: var(--font-head); font-size: 34px; line-height: 1; }
.n-paths-sec .c-note { margin-top: 88px; }

/* ---------- Narrower windows ---------- */
@media (max-width: 1060px) {
  .n-hero-row { flex-direction: column; align-items: flex-start; gap: 22px; }
  .n-hero-stats { justify-content: flex-start; flex-wrap: wrap; gap: 20px 0; }
  .n-hero-stat:first-child { padding-left: 0; }
  .n-dark-head, .n-uni--feature, .n-facts, .n-advice-more { grid-template-columns: 1fr; display: grid; }
  .n-dark-head { gap: 22px; }
  .n-dark-head h2 { font-size: 62px; }
  .n-dark--why .n-dark-head h2 { font-size: clamp(38px, 6vw, 60px); }
  .n-reasons li { grid-template-columns: 1fr; gap: 10px; }
  .n-reasons .mono { padding-top: 0; }
  .n-facts > div { grid-template-columns: 160px 1fr; }
  .n-uni--feature .n-uni-ph { min-height: 280px; }
  .n-uni--feature .n-uni-body { padding: 34px; }
  .n-uni--feature h3 { font-size: 44px; }
  .n-life-cards { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .n-ui { height: auto; }
  .n-life-say { padding: 64px 0; }
  .n-ring-note, .n-ring-arrow { display: none; }
  .n-cmp { --col: 240px; --pad: 24px; }
  .n-cmp-row > :not(:first-child) { padding: 0 18px; }
  .n-life-cols { grid-template-columns: 1fr; border-bottom: 0; }
  .n-life-cards + .n-life-cols { margin-top: 64px; }
  .n-col, .n-col:first-child, .n-col:last-child { padding: 34px 0 38px; border-left: 0; border-bottom: 1px solid rgba(42, 29, 20, .18); }
  .n-advice-more { gap: 34px; margin-top: 60px; }
  .n-scrawl { left: 0; top: -104px; font-size: 26px; }
  .n-scrawl-arrow { display: none; }
  .n-advice--photo .n-advice-card { padding: 90px 28px 72px; }
}
@media (max-width: 680px) {
  .n-facts > div { grid-template-columns: 1fr; gap: 4px; }
}

/* Hero title in the reference's rhythm: two big lines, the second stepping in, all in the left column */
.n-title { margin-bottom: 30px; }
.c-hero .n-title h1 { margin: 12px 0 0; font-size: 108px; line-height: .95; }
.n-title h1 span { display: block; }
.n-title-b { padding-left: 44px; font-style: italic; color: var(--terracotta); }
.n-hero-grid { align-items: stretch; }
.n-hero-side { display: flex; flex-direction: column; justify-content: center; }
.n-hero-side .lead { font-size: 21px; max-width: 460px; }
@media (max-width: 1060px) {
  .c-hero .n-title h1 { font-size: 84px; }
}
@media (max-width: 680px) {
  .c-hero .n-title h1 { font-size: 56px; }
  .n-title-b { padding-left: 24px; }
}
