
/* pascaldury.com — shared stylesheet
   Three text levels: headline, section heading, body. One small size for meta only. */

:root {
  --ink: #2F2E2C;
  --muted: #5E5D59;
  --ground: #F4F3F0;
  --stone: #E6E4DF;
  --white: #FFFFFF;
  --line: #DAD8D3;
  --line-soft: #E5E3DE;
  --rule: #D7D5D0;
  --cta: #C9DDEE;
  --accent: #7E2F3F;
  --sky-top: #D7E6F1;

  --fs-headline: clamp(40px, 5vw, 72px);
  --fs-heading: 34px;
  --fs-body: 19px;
  --fs-meta: 14px;

  --space-section: 120px;
  --max: 1200px;
  --gutter: 32px;
  --radius-panel: 8px;
  --radius-control: 4px;
  --font: Jost, "Futura", "Century Gothic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--ink); text-decoration: none; transition: opacity .15s ease; }
a:hover { opacity: .78; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.muted { color: var(--muted); }

/* ---------- Three text levels ---------- */
.headline { font-weight: 300; font-size: var(--fs-headline); line-height: 1.08; letter-spacing: -.02em; max-width: 13em; }
.heading { font-weight: 300; font-size: var(--fs-heading); line-height: 1.15; letter-spacing: -.01em; }
.strong { font-weight: 500; font-size: var(--fs-body); }
.eyebrow { font-size: var(--fs-meta); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* Every section: heading left, content right, ruled above. */
.row { padding-top: var(--space-section); }
.row__grid {
  padding-top: 40px; border-top: 1px solid var(--ink);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px 64px;
}
.row__body { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.row--last { padding-bottom: 140px; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 54px; padding: 0 28px;
  border-radius: var(--radius-control);
  font-size: 17px; line-height: 1.2;
}
.btn--primary { background: var(--accent); color: var(--white); }
.link-rule { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border-bottom: 1px solid var(--ink); }

/* Ruled list of links (programmes, essays) */
.list { width: 100%; border-top: 1px solid var(--rule); }
.list a { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.list a > span:first-child { display: flex; flex-direction: column; }
.list .arrow { color: var(--muted); }

/* ---------- Sky and clouds ---------- */
.sky { position: relative; background: linear-gradient(180deg, var(--sky-top) 0%, #E6EFF5 40%, #F1F2F1 76%, var(--ground) 100%); }
.sky--end { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--ground) 0%, #E8EEF2 50%, var(--sky-top) 100%); }
.clouds { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero, .page-hero, .contact { position: relative; z-index: 1; }
.cloud { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,0)); filter: blur(5px); }
.c1 { left: -8%; top: 58%; width: 52%; height: 220px; }
.c2 { left: 16%; top: 72%; width: 40%; height: 160px; opacity: .9; }
.c3 { left: 48%; top: 12%; width: 30%; height: 110px; opacity: .7; filter: blur(8px); }
.c4 { right: -10%; top: 26%; width: 44%; height: 190px; opacity: .85; }
.c5 { left: 30%; top: 86%; width: 70%; height: 190px; }
.c6 { left: -10%; bottom: -80px; width: 60%; height: 280px; }
.c7 { right: -8%; bottom: -60px; width: 58%; height: 260px; }
.c8 { left: 52%; top: 34%; width: 30%; height: 120px; opacity: .7; filter: blur(7px); }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 10; padding: 20px 20px 0; font-size: 17px; }
.bar {
  max-width: var(--max); margin: 0 auto;
  padding: 10px 10px 10px 24px;
  border-radius: var(--radius-panel);
  background: rgba(255,255,255,.6);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,.9);
  display: flex; align-items: center; justify-content: space-between; gap: 12px 28px;
}
.brand { font-weight: 500; font-size: var(--fs-body); }
.nav { display: flex; align-items: center; gap: 4px 28px; }
.nav > a, .dropdown > summary { min-height: 44px; display: inline-flex; align-items: center; }
.nav__contact { padding: 0 20px; border-radius: var(--radius-control); background: var(--cta); }

details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.dropdown { position: relative; }
.dropdown > summary { gap: 6px; }
.caret { color: var(--muted); display: inline-block; transition: transform .15s ease; }
details[open] > summary .caret { transform: rotate(180deg); }
.dropdown__panel {
  position: absolute; top: calc(100% + 8px); left: -18px; width: 300px;
  padding: 8px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-panel);
  display: flex; flex-direction: column;
}
.dropdown__panel a { padding: 12px 14px; border-radius: var(--radius-control); }
.dropdown__panel a:hover { background: var(--ground); opacity: 1; }
.dropdown__panel .all { border-top: 1px solid var(--line-soft); color: var(--muted); }
.menu { display: none; }

/* ---------- Hero ---------- */
.hero { padding-top: 96px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 32px; }
.hero__text { display: flex; flex-direction: column; gap: 14px; max-width: 31em; color: var(--muted); }
.hero__action { padding-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.hero__link { font-size: 17px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); border-bottom: 1px solid transparent; }
.hero__link:hover { border-bottom-color: var(--muted); opacity: 1; }
#approach.row { padding-top: 64px; }

/* ---------- Approach columns ---------- */
.dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; width: 100%; padding-top: 24px; }
.dims > div { display: flex; flex-direction: column; gap: 6px; }

/* ---------- Contact ---------- */
.contact { padding-top: 120px; padding-bottom: 160px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.contact p { max-width: 30em; }
.contact__actions { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; font-size: 17px; }
.contact__actions a:not(.btn) { min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--stone); }
.site-footer .wrap { padding-block: 34px 42px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 40px; font-size: var(--fs-meta); color: var(--muted); }

/* ---------- Tablet ---------- */
@media (max-width: 980px) {
  .row__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .nav { gap: 4px 20px; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  :root {
    --gutter: 20px;
    --fs-headline: clamp(32px, 9vw, 44px);
    --fs-heading: 28px;
    --fs-body: 17px;
    --space-section: 72px;
  }
  .site-header { padding: 12px 12px 0; }
  .bar { padding: 8px 8px 8px 16px; }
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu > summary { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; border-radius: var(--radius-control); background: var(--cta); }
  .menu__panel {
    position: absolute; right: 0; top: calc(100% + 8px); width: min(86vw, 340px);
    padding: 8px; background: var(--white);
    border: 1px solid var(--line); border-radius: var(--radius-panel);
    display: flex; flex-direction: column;
  }
  .menu__panel a { padding: 12px 14px; min-height: 44px; border-radius: var(--radius-control); }
  .menu__panel .sub { padding-left: 30px; color: var(--muted); }
  .menu__panel hr { border: 0; border-top: 1px solid var(--line-soft); margin: 6px 0; }

  .hero { padding-top: 64px; padding-bottom: 72px; gap: 22px; }
  .hero__action .btn { width: 100%; justify-content: center; }
  .row__grid { padding-top: 28px; }
  .row--last { padding-bottom: 88px; }
  .dims { grid-template-columns: minmax(0, 1fr); gap: 20px; }

  .contact { padding-top: 72px; padding-bottom: 104px; }
  .contact__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .contact__actions .btn, .contact__actions a:not(.btn) { justify-content: center; }
  .site-footer .wrap { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a, .caret { transition: none; }
}


/* Subpages only: shared V6 typography and navigation, additional layout rules */
.page-hero { padding-top: 102px; padding-bottom: 72px; display: flex; flex-direction: column; align-items: flex-start; gap: 23px; }
.page-hero .headline { max-width: 14em; }
.page-lead { max-width: 38em; color: var(--muted); font-size: var(--fs-body); }
.page-body { padding-top: 12px; padding-bottom: 120px; }
.page-body .row__grid { margin-bottom: 72px; }
.page-body .row__body { align-items: stretch; }
.page-body .row__body p { max-width: 44em; }
.page-body .row__body p + p { margin-top: 6px; }
.page-body .row__body ol { list-style: decimal; margin: 0 0 0 1.45em; padding: 0; }
.page-body .row__body ol li { margin-bottom: 24px; padding-left: 7px; }
.page-body .row__body ol li:last-child { margin-bottom: 0; }
.page-body .row__body .section-list { margin-top: 12px; }
.page-body .row__body .section-list a { max-width: 100%; }
.page-body .mini { font-size: var(--fs-meta); color: var(--muted); }
.page-body .inline-links { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; padding-top: 8px; }
.page-body .inline-links a { min-height: 44px; display: inline-flex; align-items: center; }
.page-body .section-break { border-top: 1px solid var(--rule); padding-top: 24px; margin-top: 14px; }
.longform { max-width: 770px; margin: 0 auto; padding: 0 var(--gutter) 110px; }
.longform p { margin: 0 0 1.2em; }
.longform h2 { font-size: 26px; font-weight: 400; line-height: 1.3; margin: 54px 0 20px; }
.longform ul { margin: 8px 0 24px; padding-left: 24px; list-style: disc; }
.longform li { margin-bottom: 12px; }
.longform .source-note { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 16px; color: var(--muted); }
.longform .reading-nav { margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 16px 30px; justify-content: space-between; }
.breadcrumb { font-size: var(--fs-meta); }
.breadcrumb a { border-bottom: 1px solid var(--rule); }
.pill-note { font-size: 16px; color: var(--muted); }
.reading-header { padding: 92px 0 46px; }
.reading-header .headline { max-width: 14em; }
.reading-subtitle { margin-top: 22px; color: var(--muted); max-width: 36em; }
.reading-meta { margin-top: 14px; font-size: var(--fs-meta); color: var(--muted); }
@media (max-width: 760px){
  .page-hero { padding-top: 62px; padding-bottom: 40px; }
  .page-body { padding-bottom: 60px; }
  .page-body .row__grid { margin-bottom: 54px; }
  .reading-header { padding-top: 60px; }
  .longform h2 { font-size: 23px; margin-top: 42px; }
}

/* ---------- Editorial sections (v3) ---------- */
.label { font-size: var(--fs-meta); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); line-height: 1.6; padding-top: 10px; }
.row__body > .heading { max-width: 18em; }
.prose { display: flex; flex-direction: column; gap: 14px; max-width: 34em; }
.routes { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 16px; }
.routes a { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 1px solid var(--ink); }
.routes .go { margin-top: 8px; font-size: var(--fs-meta); letter-spacing: .04em; }
.progs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 16px; }
.prog { display: flex; flex-direction: column; gap: 6px; padding: 36px 40px 32px; background: var(--white); border-radius: var(--radius-panel); }
.prog .no { font-size: var(--fs-meta); letter-spacing: .14em; color: var(--accent); font-weight: 500; }
.prog .sub { margin-bottom: 10px; }
.prog .links { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 4px 32px; }
.progs-meta { grid-column: 1 / -1; }
.meta { font-size: var(--fs-meta); color: var(--muted); }
.list--desc a { padding: 22px 0; }
.list--desc .muted { margin-top: 4px; max-width: 34em; }
.page-body .label { padding-top: 6px; }
@media (max-width: 760px) {
  .progs { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .prog { padding: 28px 24px; }
  #approach.row { padding-top: 48px; }
  .routes { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .label { padding-top: 0; }
}
