/* ==========================================================
   emanuelmoench.com — site styles
   Colours and fonts follow the previous Webflow design.
   ========================================================== */

/* ---------- Fonts (self-hosted, no Google requests) ---------- */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-ext-400-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF; }
@font-face { font-family: "Archivo Narrow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/archivo-narrow-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo Narrow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/archivo-narrow-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF; }
@font-face { font-family: "Archivo Narrow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/archivo-narrow-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo Narrow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/archivo-narrow-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF; }
@font-face { font-family: "Archivo Narrow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/archivo-narrow-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo Narrow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/archivo-narrow-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF; }

/* ---------- Design tokens ---------- */
:root {
  --blue: #084369;          /* main colour: active nav, footer, links */
  --navy: #223e66;          /* menu button, dark accents */
  --cyan: #00bbd6;          /* buttons */
  --cyan-hover: #00a3bb;
  --tint: #e6eff0;          /* light section background */
  --pale: #f7fcff;          /* abstract panels */
  --ink: #333333;           /* body text */
  --muted: #5f6b73;
  --line: #d7e2e5;
  --paper: #ffffff;

  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Archivo Narrow", "Arial Narrow", Arial, sans-serif;

  --gutter: clamp(16px, 10vw, 144px);
  --header-h: 112px;
  --radius: 20px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.25; color: var(--ink); margin: 0 0 .6em; }
h2 { font-size: clamp(26px, 3vw, 34px); }
h3 { font-size: clamp(19px, 2vw, 23px); }
p { margin: 0 0 1em; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 16px; top: 16px; }

.button {
  display: inline-block;
  background: var(--cyan);
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .02em;
  padding: 9px 22px;
  border-radius: var(--radius);
  border: 0;
  cursor: pointer;
  transition: background .2s;
}
.button:hover { background: var(--cyan-hover); text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  box-shadow: 0 2px 14px rgba(8, 67, 105, .08);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  min-height: var(--header-h);
  padding: 10px clamp(16px, 5vw, 72px);
}
.logo { flex: none; }
.logo img { width: 120px; height: auto; }

.site-nav { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-link {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  color: #000;
  padding: 10px 20px;
  border-radius: 50px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav-link:hover, .nav-link.is-active { background: var(--blue); color: #fff; text-decoration: none; }

.sub-toggle { background: none; border: 0; padding: 8px 6px; margin-left: -2px; cursor: pointer; color: #222; display: flex; }
.sub-list {
  list-style: none; margin: 0; padding: 10px;
  position: absolute; top: 100%; left: 0;
  min-width: 270px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(8, 67, 105, .16);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.sub-list .nav-link { display: block; font-size: 15px; }
.sub-list .nav-link.is-current { color: var(--blue); font-weight: 600; }
.sub-list .nav-link.is-current:hover { color: #fff; }
.has-sub:hover .sub-list, .has-sub:focus-within .sub-list, .has-sub.is-open .sub-list { opacity: 1; visibility: visible; transform: none; }

.header-tools { display: flex; align-items: center; gap: 14px; }
.flag { display: flex; border-radius: 3px; overflow: hidden; opacity: .55; transition: opacity .2s; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.flag:hover, .flag.is-current { opacity: 1; }
.tool-icon { color: #111; display: flex; transition: color .2s; }
.tool-icon:hover { color: var(--blue); }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 64px; height: 64px;
  background: var(--navy);
  border: 0; border-radius: 12px;
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span { display: block; width: 26px; height: 3px; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1240px) {
  :root { --header-h: 96px; }
  .logo img { width: 104px; }
  .menu-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: #fff;
    padding: 12px clamp(16px, 5vw, 72px) 24px;
    box-shadow: 0 12px 24px rgba(8, 67, 105, .12);
    display: none;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list > li { flex-wrap: wrap; }
  .nav-list > li > .nav-link { flex: 1; }
  .sub-toggle { margin-left: 0; padding: 12px 16px; }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sub-list {
    position: static; flex-basis: 100%;
    box-shadow: none; padding: 0 0 0 18px; min-width: 0;
    opacity: 1; visibility: visible; transform: none;
    display: none;
  }
  .has-sub:hover .sub-list, .has-sub:focus-within .sub-list { display: none; }
  .has-sub.is-open .sub-list { display: block; }
  .header-tools { padding: 8px 20px 0; border-top: 1px solid var(--line); padding-top: 18px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(320px, 47vw, 675px);
  background: #6f7378 var(--hero-img) no-repeat;
  background-size: cover;
  background-position: var(--hero-pos, center 25%);
  display: flex; align-items: flex-end;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.2) 45%, rgba(0,0,0,.1) 100%); }
.hero-inner { position: relative; padding: 0 var(--gutter) clamp(36px, 7vw, 90px); }
.hero h1 {
  color: #fff;
  font-size: clamp(34px, 5.2vw, 72px);
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: 0;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
  overflow-wrap: break-word;
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(56px, 9vw, 130px) var(--gutter); overflow: hidden; }
.section--tint { background: var(--tint); }
.container { max-width: 1180px; margin: 0 auto; position: relative; z-index: 1; }
.section--narrow .container { max-width: 820px; }
.section-title { margin-bottom: 1.1em; }
.section-title::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 2px; background: var(--cyan); margin-top: 14px; }
.prose { font-size: 16px; line-height: 1.7; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }

/* decorative ring (as on the old site) */
.ring { position: absolute; width: 460px; height: 460px; right: -170px; top: -120px; border-radius: 50%; border: 70px solid rgba(255,255,255,.6); pointer-events: none; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.about-text .button { margin-top: 10px; }
.about-photo { margin: 0; }
.about-photo img { border-radius: 24px; box-shadow: 0 24px 50px rgba(8, 67, 105, .18); aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 30%; width: 100%; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-photo { max-width: 460px; } }

/* ---------- Quick links ---------- */
.quick-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.quick-tile { display: flex; flex-direction: column; align-items: center; gap: 18px; color: var(--ink); text-align: center; }
.quick-tile:hover { text-decoration: none; }
.quick-circle {
  width: clamp(120px, 14vw, 170px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--tint);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, transform .25s;
}
.quick-circle svg { width: 42%; height: 42%; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }
.quick-tile:hover .quick-circle { background: var(--blue); transform: translateY(-4px); }
.quick-tile:hover .quick-circle svg { stroke: #fff; }
.quick-label { font-family: var(--font-head); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: .03em; }
@media (max-width: 760px) { .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } }

/* ---------- Research tiles ---------- */
.research-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.research-tiles a {
  display: flex; flex-direction: column; gap: 14px;
  padding: 34px 30px;
  background: var(--tint); border-radius: 24px;
  color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: 24px; line-height: 1.2;
  transition: background .25s, color .25s, transform .25s;
}
.research-tiles a small { font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--muted); }
.research-tiles a:hover { background: var(--blue); color: #fff; text-decoration: none; transform: translateY(-4px); }
.research-tiles a:hover small { color: rgba(255,255,255,.8); }
.research-tiles a:hover .pub-icon { background-color: #fff; }
@media (max-width: 860px) { .research-tiles { grid-template-columns: 1fr; } }

/* ---------- Publication lists ---------- */
.pub-list { list-style: none; margin: 0; padding: 0; }
.pub { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pub:first-child { padding-top: 0; }
.pub-icon {
  width: 30px; height: 30px; margin-top: 2px;
  background-color: var(--blue);
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.pub-icon--doc  { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M14 2.5H6.5a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2.5V8h5.5M8 12.5h8M8 16h8M8 9h3'/%3E%3C/svg%3E"); }
.pub-icon--draft { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5'/%3E%3Cpath d='M8.5 10h7M8.5 14h5'/%3E%3C/svg%3E"); }
.pub-icon--note { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M5 3.5h14v17H5z'/%3E%3Cpath d='M8.5 8h7M8.5 12h7M8.5 16h4'/%3E%3C/svg%3E"); }
.pub-cite { margin: 0 0 10px; font-size: 15.5px; line-height: 1.6; }
.pub-title { font-weight: 600; color: var(--blue); }
.pub-cite em { font-style: italic; }
.pub-cite strong { font-weight: 600; }
.pub-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font-body); font-size: 12.5px; font-weight: 500; letter-spacing: .03em; text-transform: uppercase;
  border: 1.5px solid var(--blue); color: var(--blue); background: transparent;
  padding: 4px 14px; border-radius: 30px; cursor: pointer; line-height: 1.5;
  transition: background .2s, color .2s;
}
.chip:hover, .chip[aria-expanded="true"] { background: var(--blue); color: #fff; text-decoration: none; }
.chip--link { background: var(--cyan); border-color: var(--cyan); color: #fff; }
.chip--link:hover { background: var(--cyan-hover); border-color: var(--cyan-hover); }
.pub-panel { margin-top: 14px; padding: 18px 22px; background: var(--pale); border-left: 4px solid var(--cyan); border-radius: 0 12px 12px 0; position: relative; }
.pub-panel h3 { font-size: 18px; margin-bottom: .4em; }
.pub-panel p { margin: 0; font-size: 14.5px; line-height: 1.7; }
.pub-panel--bib pre { margin: 0; overflow-x: auto; font-size: 12.5px; line-height: 1.55; white-space: pre; }
.copy-btn { position: absolute; top: 10px; right: 10px; font: 500 12px var(--font-body); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 3px 12px; cursor: pointer; color: var(--blue); }
.copy-btn:hover { border-color: var(--blue); }
@media (max-width: 560px) { .pub { grid-template-columns: 1fr; gap: 8px; } .pub-icon { width: 24px; height: 24px; } }

/* ---------- Other (roles + logos) ---------- */
.lead-in { font-size: 17px; margin-bottom: .4em; }
.roles { list-style: none; margin: 0 0 48px; padding: 0; font-size: 17px; }
.roles li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); position: relative; }
.roles li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); }
.roles a { font-weight: 600; }
.logo-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: center; }
.logo-row a { display: flex; align-items: center; justify-content: center; height: 120px; padding: 18px 28px; border-radius: 14px; background: #fff; box-shadow: 0 4px 16px rgba(8,67,105,.07); }
.logo-row img { max-height: 76px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(.2); transition: filter .2s; }
.logo-row a:hover img { filter: none; }
@media (max-width: 760px) { .logo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .logo-row a { height: 96px; padding: 14px; } }

/* ---------- Media ---------- */
.media-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px; }
.media-card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 6px 22px rgba(8,67,105,.09); color: var(--ink); transition: transform .2s, box-shadow .2s; }
.media-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(8,67,105,.16); text-decoration: none; }
.media-thumb { display: block; aspect-ratio: 16 / 10; background: var(--tint); overflow: hidden; }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.media-meta { display: block; padding: 16px 18px 4px; font-size: 13px; color: var(--muted); }
.media-meta strong { color: var(--blue); font-weight: 600; }
.media-title { display: block; padding: 0 18px 18px; font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.3; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact-title { font-size: clamp(36px, 5vw, 60px); text-transform: uppercase; color: var(--blue); }
.contact-lead { font-size: 17px; margin-bottom: 2em; }
.contact-intro h2 { margin-bottom: .2em; }
.contact-role { color: var(--muted); margin-bottom: 1.6em; }
.contact-card { background: var(--blue); color: #fff; border-radius: 26px; padding: clamp(28px, 4vw, 48px); display: grid; gap: 28px; }
.contact-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; }
.contact-item svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-item h3 { color: #fff; font-size: 20px; margin-bottom: .2em; }
.contact-item p { margin: 0; }
.contact-item a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Call to action band ---------- */
.cta {
  position: relative;
  min-height: clamp(380px, 48vw, 640px);
  background: #e9e9e9 var(--cta-img) no-repeat left 30% / cover;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 60px var(--gutter);
}
.cta-inner { width: min(560px, 100%); }
.cta-text { text-align: center; }
.cta h2 { font-size: clamp(26px, 3.2vw, 40px); color: #333; margin-bottom: .3em; }
.cta h3 { font-size: clamp(18px, 2vw, 24px); color: #333; font-weight: 600; margin-bottom: 1.2em; }
@media (max-width: 760px) {
  .cta { align-items: flex-end; background-position: 15% center; }
  .cta-inner { background: rgba(255,255,255,.88); border-radius: 20px; padding: 24px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--blue); color: #fff; padding: 44px var(--gutter) 28px; font-size: 14.5px; }
.footer-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1em; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0 0 .8em; }
.footer-copy { max-width: 1180px; margin: 28px auto 0 !important; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); font-size: 12.5px; opacity: .75; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 8px; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .cta, .site-footer, .pub-actions { display: none; } .hero { min-height: 0; background: none; } .hero h1 { color: #000; text-shadow: none; } }
