/* But How…? Podcast – static site styles
   Recreated from the original Squarespace theme
   (Libre Baskerville headings, Almarai body, light grey / rust / lavender palette). */

:root {
  --white: #ffffff;
  --black: #000000;
  --light: #ebeaeb;          /* lightAccent – page background */
  --accent: #bcb1c3;         /* lavender accent */
  --dark-accent: #5c5852;
  --rust: #bc522f;
  --text: #000000;
  --muted: #3d3d3d;

  --heading-font: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --body-font: "Almarai", "Helvetica Neue", Arial, sans-serif;

  --h1: clamp(2.6rem, 2rem + 3vw, 4rem);
  --h2: clamp(2rem, 1.6rem + 1.8vw, 2.8rem);
  --h3: clamp(1.6rem, 1.35rem + 1.2vw, 2.2rem);
  --h4: clamp(1.3rem, 1.15rem + .6vw, 1.6rem);
  --large: clamp(1.15rem, 1.05rem + .5vw, 1.4rem);

  --gutter: clamp(16px, 4vw, 58px);
  --max: 1440px;
  --header-h: 85px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--light);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--heading-font);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin: 0 0 .6em;
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }
p  { margin: 0 0 1em; }
.large { font-size: var(--large); line-height: 1.5; }

a { color: inherit; }
p a, li a, figcaption a { text-decoration: underline; text-underline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--black); color: var(--white); padding: .6em 1em; border-radius: 6px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--body-font); font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  padding: .85em 2.2em; border-radius: 300px;
  border: 1px solid var(--black);
  transition: background-color .2s, color .2s, opacity .2s;
}
.btn--primary { background: var(--black); color: var(--white); }
.btn--primary:hover { opacity: .8; }
.btn--secondary { background: transparent; color: var(--black); }
.btn--secondary:hover { background: var(--black); color: var(--white); }
.btn--header { border-radius: 10px; padding: 1.15em 2.2em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--light);
  box-shadow: 0 3px 12px rgba(0,0,0,.25);
}
.site-header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: var(--header-h); gap: 1rem;
}
.site-title {
  font-family: var(--heading-font); font-size: 1.6rem; letter-spacing: -.02em;
  text-decoration: none; white-space: nowrap;
}
.site-nav { display: flex; gap: 1.1rem; }
.site-nav a { text-decoration: none; padding-bottom: 2px; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: currentColor; }
.site-header__actions { justify-self: end; display: flex; align-items: center; gap: 1rem; }

.menu-toggle {
  display: none; justify-self: end;
  width: 44px; height: 44px; padding: 10px; border: 0; background: none; cursor: pointer;
}
.menu-toggle span { display: block; height: 1px; background: var(--black); margin: 7px 0; transition: transform .25s, opacity .25s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--light); padding: 3rem var(--gutter);
  flex-direction: column; align-items: center; gap: 1.5rem;
}
.mobile-menu a:not(.btn) { font-family: var(--heading-font); font-size: 2rem; text-decoration: none; }
.mobile-menu .btn { margin-top: 1rem; width: 100%; max-width: 360px; }
.menu-open .mobile-menu { display: flex; }
.menu-open { overflow: hidden; }

@media (max-width: 799px) {
  :root { --header-h: 70px; }
  .site-header__inner { grid-template-columns: 1fr auto; }
  .site-nav, .site-header__actions { display: none; }
  .menu-toggle { display: block; }
  .site-title { font-size: 1.35rem; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(4rem, 8vw, 7rem) 0; }
.section--white { background: var(--white); }
.section--dark  { background: var(--black); color: var(--white); }
.center { text-align: center; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100svh - var(--header-h));
  display: grid; place-items: center; text-align: center;
  padding: 6rem 0;
  background:
    radial-gradient(ellipse 45% 55% at 52% 40%, rgba(255,255,255,.65), transparent 70%),
    conic-gradient(from 200deg at 50% 45%, #eaeaeb 0deg, var(--rust) 110deg, var(--rust) 210deg, #eaeaeb 320deg);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__content { position: relative; z-index: 1; max-width: 720px; }
.hero h1 { margin-bottom: .5em; }
.hero .large { margin-bottom: 1.6rem; }
.hero__buttons { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; max-width: 520px; margin: 0 auto; }
.hero__buttons .btn { padding: .55em 1em; font-size: .9rem; }
.hero__pause {
  position: absolute; right: 24px; bottom: 24px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0,0,0,.45); color: #fff; display: grid; place-items: center;
}
.hero__pause svg { width: 12px; height: 12px; fill: currentColor; }
@media (max-width: 599px) { .hero__buttons { grid-template-columns: 1fr; } }

/* Hand-drawn text highlights */
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  background-repeat: no-repeat; background-size: 100% 100%;
}
.hl--circle { margin: 0 .3em; }
.hl--circle::after {
  left: -8%; right: -6%; top: -18%; bottom: -24%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60' preserveAspectRatio='none'%3E%3Cpath d='M106 6C60 2 10 10 5 30c-4 18 50 26 98 25 46-1 95-8 92-27C192 10 140 3 84 6' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}
.hl--underline::after {
  left: 0; right: 0; bottom: -.28em; height: .35em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 7c40-4 120-5 196-1' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}
.hl--scribble::after {
  left: 0; right: 0; bottom: -.32em; height: .4em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M2 8q8-6 16 0t16 0 16 0 16 0 16 0 16 0 16 0 16 0 16 0 16 0 16 0 16 0 16 0' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}
.section--dark .hl::after { filter: invert(1); }

/* Why section */
.why__eyebrow { font-weight: 700; margin-bottom: .8em; }
.why__lead { max-width: 960px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.cards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 440px));
  justify-content: center; gap: clamp(1.5rem, 4vw, 3.5rem) clamp(1.5rem, 9vw, 7.5rem);
}
.card {
  background: var(--white); border-radius: 10px;
  box-shadow: 2px 3px 6px rgba(0,0,0,.3);
  padding: 2.4rem 3.4rem 2.2rem;
  font-size: .9rem; line-height: 1.6;
}
.card h3 { font-family: var(--body-font); font-weight: 700; font-size: 1.15rem; letter-spacing: 0; margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
@media (max-width: 799px) {
  .cards { grid-template-columns: minmax(0, 520px); }
  .card { padding: 2rem 1.75rem; }
}

/* Team */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 440px)); justify-content: center; gap: 3rem clamp(1.5rem, 9vw, 7.5rem); margin-top: 2.5rem; }
.member__photo {
  aspect-ratio: 0.81; width: 100%; object-fit: cover;
  clip-path: url(#portrait-clip);
}
.member h3 { font-size: var(--h4); text-align: center; margin: .9em 0 .5em; }
.member p { font-size: .9rem; max-width: 330px; margin: 0 auto; }
@media (max-width: 699px) { .team { grid-template-columns: minmax(0, 360px); } }

/* Key reasons */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 4vw, 4rem); margin-top: 1.5rem; }
.reason img { width: 72px; height: 72px; margin: 0 0 .6rem 4px; }
.reason h3 { font-size: var(--h4); margin-bottom: 1.4rem; }
.reason p { font-size: .9rem; }
@media (max-width: 799px) { .reasons { grid-template-columns: 1fr; } }

.wave-divider { position: absolute; left: 0; right: 0; top: -1px; width: 100%; height: clamp(40px, 6vw, 90px); display: block; z-index: 1; }

/* Quote */
.quote {
  position: relative; display: grid; place-items: center; text-align: center;
  min-height: clamp(440px, 66vh, 680px);
  padding: 8rem 0 6rem; color: var(--white); overflow: hidden;
  background: #43515a url("../img/quote-lake.jpg") center / cover no-repeat;
}
.quote::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.15); }
.quote blockquote { position: relative; margin: 0 auto; max-width: 1000px; }
.quote blockquote p:first-child { font-family: var(--heading-font); font-size: var(--h2); line-height: 1.15; letter-spacing: -.02em; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.quote cite { font-style: normal; font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--light); padding: clamp(3rem, 6vw, 5rem) 0 3.5rem; }
.site-footer__inner {
  display: grid; gap: 2rem 3rem; align-items: start;
  grid-template-columns: 1.4fr 1.1fr .6fr 1fr;
}
.site-footer__brand h2 { font-size: var(--h3); margin-bottom: .1em; }
.site-footer__brand p { margin: 0; }
.footer-link {
  display: block; text-align: center; text-decoration: none;
  border-bottom: 2px solid var(--black); padding: .3em 0 .45em; margin-top: .4em;
}
.footer-link:hover { opacity: .65; }
.site-footer__contact h2 { font-size: var(--h4); margin-bottom: 1.1em; }
.site-footer__contact a { text-decoration: none; }
.site-footer__contact a:hover { text-decoration: underline; }
.site-footer__spotify { display: inline-flex; gap: .5rem; align-items: center; text-decoration: none; margin-top: .4em; }
.site-footer__spotify svg { width: 20px; height: 20px; }
@media (max-width: 899px) {
  .site-footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer-link { max-width: 320px; margin: 0 auto; }
}

/* ---------- Blog list ---------- */
.blog-list { padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(4rem, 9vw, 8rem); }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5rem clamp(1.5rem, 3.4vw, 3.4rem); }
.post-card { text-align: center; }
.post-card__thumb { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #ddd; margin-bottom: 2.2rem; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card__thumb:hover img { transform: scale(1.03); }
.post-card time { font-size: .85rem; display: block; margin-bottom: 1.5rem; }
.post-card h2 { font-size: clamp(1.5rem, 1.3rem + .7vw, 2rem); margin-bottom: .8em; }
.post-card h2 a { text-decoration: none; }
.post-card__excerpt { font-size: .85rem; max-width: 34ch; margin: 0 auto 1.4em; }
.read-more { font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; }
.tag-filter { margin: 0 0 2.5rem; text-align: center; font-size: .95rem; }
.tag-filter a { margin-left: .5em; }
.tag-filter[hidden] { display: none; }
@media (max-width: 999px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .posts { grid-template-columns: 1fr; gap: 4rem; } }

/* ---------- Blog post ---------- */
.post { padding: clamp(2.5rem, 5vw, 3.5rem) 0 2rem; }
.post__inner { max-width: 1000px; margin: 0 auto; }
.post__meta { font-size: .95rem; margin-bottom: 1.5rem; }
.post__title { font-size: var(--h1); margin-bottom: .9em; }
.post__body { font-size: 1rem; line-height: 1.6; }
.post__body h2 { margin-top: 1.1em; font-size: var(--h3); }
.post__body h3 { margin-top: 1em; font-size: var(--h4); }
.post__body ul, .post__body ol { padding-left: 1.6em; margin: 0 0 1em; }
.post__body li p { margin: 0 0 .4em; }
.post__body a[href^="http"]:not([href*="but-how-podcast"]) { word-break: break-word; }
.post__body figure {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 7vw, 6rem);
  align-items: center; margin: 3.5rem 0;
}
.post__body figure img { width: 100%; }
.post__body figcaption { font-size: .95rem; }
.post__body figcaption p:last-child { margin-bottom: 0; }
@media (max-width: 699px) { .post__body figure { grid-template-columns: 1fr; } }
.post__body .gtd-container { margin-top: 3rem; border-top: 1px solid #0003; }

.post__tags { margin: 3.5rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .3rem 0; font-size: .95rem; }
.post__tags li + li::before { content: "•"; margin: 0 .55em; font-size: .7em; vertical-align: middle; }
.post__tags a { text-decoration: none; }
.post__tags a:hover { text-decoration: underline; }

.pager { display: flex; justify-content: space-between; gap: 2rem; padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: 2rem; }
.pager a {
  display: flex; align-items: center; gap: 1.4rem; text-decoration: none;
  font-family: var(--heading-font); font-size: clamp(1.3rem, 1rem + 1.4vw, 2.4rem); line-height: 1.05; letter-spacing: -.02em;
  max-width: 48%;
}
.pager a:hover { opacity: .65; }
.pager svg { flex: none; width: 14px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.pager__next { margin-left: auto; text-align: right; }
@media (max-width: 599px) { .pager a { font-size: 1.15rem; } }

/* ---------- Plain page (Impressum) ---------- */
.page { padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.page__inner { max-width: 820px; }
.page__inner h1 { font-size: var(--h2); }
.page__inner h2 { font-size: var(--h4); margin-top: 1.8em; margin-bottom: .5em; }
.page__inner p { line-height: 1.65; }
.page__inner address { font-style: normal; margin-bottom: 1em; }
