/* Modern editorial redesign for Perché no!... */
:root {
  --navy: #17284b;
  --navy-2: #0f1d38;
  --ink: #15171b;
  --muted: #6c7179;
  --paper: #f7f4ee;
  --white: #ffffff;
  --orange: #e58a1f;
  --line: #d9dde3;
  --soft-blue: #eaf0f7;
  --max: 1200px;
  --font: "PT Sans", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.site-header { background: var(--navy); color: #fff; position: relative; z-index: 30; }
.header-top { min-height: 92px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { text-align: center; line-height: .9; letter-spacing: -.04em; font-weight: 800; font-size: clamp(2rem, 4vw, 3.2rem); }
.brand span { display: block; margin-top: 10px; font-size: .68rem; font-weight: 500; letter-spacing: .02em; opacity: .78; }
.header-left, .header-right { display: flex; align-items: center; gap: 12px; font-size: .8rem; }
.header-right { justify-content: flex-end; }
.header-badge { border: 1px solid rgba(255,255,255,.35); padding: 9px 12px; border-radius: 999px; }

.nav-wrap { border-top: 1px solid rgba(255,255,255,.35); }
.primary-nav { display: flex; justify-content: center; align-items: center; gap: 34px; min-height: 48px; font-size: .86rem; font-weight: 700; }
.primary-nav a { position: relative; padding: 14px 0 12px; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 7px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle { display: none; background: transparent; border: 0; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }

.hero-media { position: relative; height: clamp(430px, 63vw, 760px); background: var(--navy-2); overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,20,42,.25)); pointer-events: none; }
.hero-copy { padding: 28px 0 36px; border-bottom: 1px solid var(--line); }
.hero-copy-inner { max-width: 900px; }
.hero-copy h1 { margin: 0 0 10px; color: var(--navy); font-size: clamp(2rem, 4.6vw, 4.2rem); line-height: .98; letter-spacing: -.045em; }
.hero-copy p { max-width: 780px; margin: 0; font-size: clamp(1rem, 1.8vw, 1.25rem); color: #383d45; }
.meta { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); font-size: .79rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; }
.meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }

.section { padding: 68px 0; }
.section-tight { padding: 50px 0; }
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; border-bottom: 2px solid var(--navy); padding-bottom: 12px; margin-bottom: 26px; }
.section-head h2 { margin: 0; color: var(--navy); font-size: clamp(1.45rem, 3vw, 2.3rem); line-height: 1.05; }
.section-head a { color: var(--orange); font-weight: 800; font-size: .82rem; }

.story-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.story-card { grid-column: span 6; min-width: 0; }
.story-card:nth-child(1) { grid-column: span 7; }
.story-card:nth-child(2) { grid-column: span 5; }
.story-card img { aspect-ratio: 16/10; object-fit: cover; background: #ececec; }
.story-card h3 { margin: 12px 0 6px; color: var(--navy); font-size: clamp(1.25rem, 2.2vw, 1.9rem); line-height: 1.08; letter-spacing: -.02em; }
.story-card p { margin: 0; color: #4d525b; }
.story-card .kicker { margin-top: 13px; color: var(--orange); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.story-card a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.feature-split { background: var(--paper); }
.feature-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(320px,.95fr); align-items: stretch; }
.feature-grid img { height: 100%; min-height: 470px; object-fit: cover; }
.feature-copy { padding: clamp(36px, 6vw, 78px); display: flex; flex-direction: column; justify-content: center; }
.feature-copy h2 { margin: 0 0 18px; color: var(--navy); font-size: clamp(2rem,4vw,3.6rem); line-height: .98; letter-spacing: -.04em; }
.feature-copy p { color: #444a53; font-size: 1.06rem; }
.button { display: inline-flex; width: fit-content; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 16px; background: var(--navy); color: white; font-weight: 800; border-radius: 2px; }
.button:hover { background: var(--orange); }

.flavor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.flavor-card { position: relative; min-height: 360px; overflow: hidden; background: var(--navy); color: white; }
.flavor-card img { position: absolute; inset: 0; height: 100%; object-fit: cover; transition: transform .45s ease; }
.flavor-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8,14,29,.84)); }
.flavor-card div { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; }
.flavor-card h3 { margin: 0; font-size: 1.7rem; }
.flavor-card p { margin: 4px 0 0; opacity: .84; }
.flavor-card:hover img { transform: scale(1.035); }

.press-strip { background: var(--navy); color: white; }
.press-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; }
.press-grid h2 { margin: 0 0 10px; font-size: clamp(2rem,4vw,3.3rem); line-height: 1; }
.press-grid p { opacity: .8; max-width: 650px; }
.press-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.press-mini img { aspect-ratio: 4/3; object-fit: cover; }

.page-hero { background: var(--paper); padding: 62px 0 48px; border-bottom: 1px solid var(--line); }
.page-hero .crumbs { font-size: .78rem; font-weight: 700; color: var(--muted); margin-bottom: 22px; }
.page-hero h1 { margin: 0; max-width: 980px; color: var(--navy); font-size: clamp(2.35rem,6vw,5.4rem); line-height: .95; letter-spacing: -.05em; }
.page-hero p { max-width: 780px; margin: 20px 0 0; font-size: 1.18rem; color: #41464d; }

.article-cover { width: min(calc(100% - 40px), 1320px); margin: 34px auto 0; }
.article-cover img { max-height: 720px; aspect-ratio: 16/9; object-fit: cover; }
.article-wrap { width: min(calc(100% - 40px), 780px); margin: 0 auto; padding: 52px 0 80px; }
.article-wrap .lead { font-size: 1.2rem; color: #343a42; }
.article-wrap h2 { color: var(--navy); font-size: clamp(1.6rem,3vw,2.35rem); line-height: 1.08; margin: 42px 0 14px; }
.article-wrap h3 { color: var(--navy); font-size: 1.25rem; margin-top: 30px; }
.article-wrap p, .article-wrap li { font-size: 1.04rem; }
.article-wrap ul { padding-left: 22px; }
.callout { margin: 34px 0; padding: 24px 26px; background: var(--soft-blue); border-left: 4px solid var(--orange); }
.callout strong { color: var(--navy); }

.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.simple-card { border-top: 3px solid var(--navy); padding-top: 14px; }
.simple-card h3 { color: var(--navy); margin: 0 0 6px; font-size: 1.25rem; }
.simple-card p { color: var(--muted); margin: 0; }

.gallery-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 14px; }
.gallery-grid figure { margin: 0; grid-column: span 4; }
.gallery-grid figure:nth-child(1), .gallery-grid figure:nth-child(6) { grid-column: span 8; }
.gallery-grid img { aspect-ratio: 4/3; object-fit: cover; height: 100%; }
.gallery-grid figcaption { font-size: .78rem; color: var(--muted); margin-top: 5px; }

.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.info-panel { background: var(--paper); padding: 28px; }
.info-panel h2 { color: var(--navy); margin-top: 0; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 11px 0; border-top: 1px solid #d8d4cd; }

.site-footer { background: var(--navy-2); color: #fff; padding: 52px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 36px; }
.footer-brand { font-size: 2.15rem; font-weight: 800; letter-spacing: -.04em; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.72); }
.site-footer h3 { margin-top: 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--orange); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 7px 0; }
.footer-bottom { margin-top: 38px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.48); font-size: .78rem; }

@media (max-width: 900px) {
  .header-top { grid-template-columns: auto 1fr auto; min-height: 76px; }
  .header-left { display: none; }
  .brand { text-align: left; font-size: 2rem; }
  .brand span { font-size: .6rem; }
  .menu-toggle { display: inline-flex; }
  .nav-wrap { border-top: 0; }
  .primary-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--navy); border-top: 1px solid rgba(255,255,255,.25); padding: 12px 20px 20px; flex-direction: column; gap: 0; align-items: stretch; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .header-badge { display: none; }
  .story-card, .story-card:nth-child(1), .story-card:nth-child(2) { grid-column: span 6; }
  .feature-grid, .press-grid, .visit-grid { grid-template-columns: 1fr; }
  .feature-grid img { min-height: 360px; }
  .flavor-grid, .cards-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .hero-media { height: 54vh; min-height: 390px; max-height: 590px; }
  .hero-copy { padding: 24px 0 30px; }
  .section { padding: 50px 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .story-grid { gap: 32px; }
  .story-card, .story-card:nth-child(1), .story-card:nth-child(2) { grid-column: 1 / -1; }
  .story-card img { aspect-ratio: 4/3; }
  .feature-copy { padding: 34px 22px; }
  .flavor-grid, .cards-3 { grid-template-columns: 1fr; }
  .flavor-card { min-height: 320px; }
  .press-mini { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 44px 0 36px; }
  .article-cover { width: 100%; margin-top: 0; }
  .article-cover img { border-radius: 0; aspect-ratio: 4/3; }
  .article-wrap { width: min(calc(100% - 30px),780px); padding-top: 38px; }
  .gallery-grid figure, .gallery-grid figure:nth-child(1), .gallery-grid figure:nth-child(6) { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
}
