/* Founders Outside, foundersoutsi.de */

@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/josefin-sans-700-latin.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: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.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;
}

:root {
  --paper: #F4EEE4;
  --ink: #12324F;
  --ink-soft: #4A5D6F;
  --sun: #E08A2E;
  --rule: rgba(18, 50, 79, .18);
  --sand: #F1E3CF;
  --on-ink-soft: rgba(244, 238, 228, .76);
  --on-ink-rule: rgba(244, 238, 228, .24);
  --sun-d: clamp(72px, 15vw, 200px);
  --display: "Josefin Sans", Futura, "Century Gothic", sans-serif;
  --text: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(20px, 5.5vw, 72px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 18px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
::selection { background: var(--sun); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Wordmark: founders outside, with the setting sun as the o and the underline as the horizon.
   One line on phones, stacked from 900px on the homepage. */
.wm { margin: 0; font-family: var(--display); font-weight: 700; line-height: .8; letter-spacing: -.035em; color: var(--ink); }
.wm-art { display: inline-block; white-space: nowrap; }
.wm-line { display: inline; }
.wm-out { position: relative; display: inline-block; }
.wm-out::after { content: ""; position: absolute; left: -.02em; right: -.06em; bottom: .07em; height: .03em; background: currentColor; border-radius: 1em; }
.wm-sun { display: inline-block; width: .47em; height: .47em; border-radius: 50%; background: var(--sun); margin-right: .03em; position: relative; top: .05em; clip-path: inset(0 0 .07em 0); }

/* Cover: the words first, then the photographs at their own proportions */
.hero-text { container-type: inline-size; padding: 22px var(--gutter) 26px; }
.hero-text .wm { font-size: 10.6vw; font-size: min(11.6cqi, 60px); }
.hero-cta { margin-top: 22px; }
.lede { font-size: clamp(19px, 2vw, 27px); line-height: 1.34; font-weight: 500; letter-spacing: -.01em; margin: 0 0 20px; max-width: 22em; text-wrap: pretty; }
.btn { display: inline-block; font-family: var(--text); font-weight: 600; font-size: 17px; line-height: 1.2; padding: 15px 24px; border-radius: 999px; text-decoration: none; background: var(--ink); color: var(--paper); }
.btn:hover { background: #0B2238; }
.btn-line { font-size: 15.5px; padding: 13px 20px; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.hint { font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); margin: 10px 0 0; }
.more { font-size: 15px; font-weight: 600; margin: 14px 0 0; }
.more a { text-underline-offset: 3px; }

.cover { margin: 0; }
.frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #D8CEBF; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); opacity: 0; transition: opacity 1.4s ease; }
.slide.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }
.meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px var(--gutter) 0; }
.credit { font-size: 12.5px; line-height: 1.4; margin: 0; color: var(--ink-soft); }
.pause { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--rule); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; }
.pause:hover { background: rgba(18, 50, 79, .06); }
.pause svg { width: 11px; height: 11px; }
.pause .play { display: none; }
.pause[aria-pressed="true"] .play { display: block; }
.pause[aria-pressed="true"] .bars { display: none; }

@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(36px, 4.4vw, 72px); max-width: 1500px; margin: 0 auto; padding: clamp(36px, 4vw, 60px) var(--gutter) 0; }
  .hero-text { padding: 0 0 44px; display: flex; flex-direction: column; justify-content: space-between; }
  .hero-text .wm { font-size: 8.4vw; font-size: 23.5cqi; margin-top: .14em; }
  .hero-text .wm-line:first-child { display: block; }
  .hero-cta { margin-top: 32px; }
  .meta { padding: 10px 0 0; }
}

/* Sections */
.wrap { max-width: 64rem; margin: 0 auto; padding: 0 var(--gutter); }
main section { padding: clamp(56px, 9vw, 120px) 0; }
.kicker { font-family: var(--text); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 20px; }
.big { font-size: clamp(22px, 2.7vw, 34px); line-height: 1.42; font-weight: 500; letter-spacing: -.015em; margin: 0 0 28px; max-width: 28em; text-wrap: pretty; }
main section p { margin: 0; max-width: 36em; text-wrap: pretty; }
main section p.by { margin-top: 14px; font-size: 16px; color: var(--ink-soft); }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4.2vw, 48px); line-height: 1; letter-spacing: -.02em; margin: 0 0 16px; }

/* Founder stories: a sand panel, with the heading beside the words on wide screens */
main section.stories { background: var(--sand); border-radius: clamp(20px, 3vw, 36px); padding: clamp(28px, 5.5vw, 68px); }
.stories p { margin-bottom: 26px; }
@media (min-width: 900px) {
  main section.stories { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(36px, 4.4vw, 72px); align-items: start; }
  .stories h2 { margin: 0; }
}

/* Next walks: one row per walk, each with a calendar-leaf date */
.walks { list-style: none; margin: 0; padding: 0; }
.walk { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(16px, 2.6vw, 30px); padding: clamp(22px, 3vw, 32px) 0; border-top: 1px solid var(--rule); }
.date { width: 66px; margin: 4px 0 0; text-align: center; border: 1.5px solid var(--ink); border-radius: 12px; overflow: hidden; align-self: start; background: #FBF8F2; line-height: 1; }
.date .m { display: block; background: var(--ink); color: var(--paper); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 5px 0 4px; }
.date .d { display: block; font-family: var(--display); font-weight: 700; font-size: 31px; padding: 9px 0 3px; }
.date .w { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink-soft); padding: 0 0 8px; }
.walk h3 { font-family: var(--display); font-weight: 700; font-size: clamp(23px, 2.6vw, 30px); line-height: 1.1; letter-spacing: -.012em; margin: 0 0 6px; }
main section .walk .time { font-weight: 600; margin: 0 0 6px; }
.walk > .btn { grid-column: 2; justify-self: start; margin-top: 16px; }
@media (min-width: 700px) {
  .walk { grid-template-columns: auto minmax(0, 1fr) auto; }
  .walk > .btn { grid-column: 3; align-self: center; margin-top: 0; }
}
/* The last section leaves room for the sun that sits on the footer's top edge */
main section:last-child, .page { padding-bottom: calc(var(--sun-d) * .58 + clamp(30px, 4vw, 52px)); }
main section p.none { padding-top: 22px; border-top: 1px solid var(--rule); }

/* Footer: a harbour-blue block as wide as the cover, with the sun setting on its top edge */
.foot { position: relative; background: var(--ink); color: var(--paper); padding: clamp(44px, 6.5vw, 84px) 0 clamp(26px, 3vw, 40px); }
.foot::before { content: ""; position: absolute; right: max(var(--gutter), calc((100% - 1500px) / 2 + var(--gutter))); bottom: calc(100% - var(--sun-d) * .42); width: var(--sun-d); height: var(--sun-d); border-radius: 50%; background: var(--sun); clip-path: inset(0 0 42% 0); pointer-events: none; }
.foot-in { container-type: inline-size; max-width: 1500px; margin: 0 auto; padding: 0 var(--gutter); }
.foot .btn { background: var(--paper); color: var(--ink); }
.foot .btn:hover { background: #fff; }
/* The credits sit under the Follow button: stacked on phones, with the two collaborators side by side from 640px, the three partners in one row from 900px, and all four credits in one row from 1280px. */
.foot-credits { display: grid; gap: 36px clamp(40px, 4vw, 64px); margin-top: 40px; }
.foot-label { font-size: 12.5px; line-height: 1.4; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-soft); margin: 0 0 8px; }
.foot-name { font-size: clamp(20px, 1.7vw, 23px); line-height: 1.35; font-weight: 500; margin: 0 0 14px; }
.foot-name a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
/* The TrekMeet logo file carries the brand's clear space as transparent padding (10% at each side, 31% above and below). It is shown whole and never cropped, and nothing else may sit inside that padding: the negative side margins line the visible logo up with the label, and the line under it starts exactly where the padding ends. */
.foot-logo { display: block; width: 291px; margin: 0 -29px -16px; }
/* The AI Learners Club wordmark is their own file for dark backgrounds, also shown whole: its transparent padding is 9% on the left, 6% on the right, 33% above and 26% below. */
.foot-logo-ailc { width: 250px; margin: -5px -16px -20px -22px; }
/* The co.day mark (their koala icon beside their wordmark) has no padding. Its top margin lines it up with the AI Learners Club wordmark. Its bottom margin merges with the top margin of the line under it, so that line starts 22px below the mark, level with the other two partners' lines. */
.foot-logo-coday { width: 160px; margin: 30px 0 22px; }
.foot-logo img { width: 100%; height: auto; }
.foot-credit:has(.foot-logo) .foot-label { margin-bottom: 0; }
/* On phones the partners stack, and the AI Learners Club file's own transparent padding adds the rest of the space above it. */
.foot-partners { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px 40px; }
.foot-about { font-size: 15px; line-height: 1.55; color: var(--on-ink-soft); max-width: 32em; margin: 16px 0 0; text-wrap: pretty; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--on-ink-rule); display: grid; place-items: center; color: var(--paper); }
.social a:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.social svg { width: 18px; height: 18px; }
/* The address fills the block's width up to 148px type: its 16 characters are 7.34 times as wide as the type is tall. */
.address { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 11.6vw, 112px); font-size: min(13.4cqi, 148px); line-height: 1; letter-spacing: -.03em; margin: clamp(44px, 6vw, 84px) 0 0; overflow-wrap: anywhere; }
.foot-end { margin-top: clamp(20px, 2.6vw, 36px); padding-top: 22px; border-top: 1px solid var(--on-ink-rule); }
.ack { font-size: 15px; line-height: 1.6; color: var(--on-ink-soft); max-width: 46em; margin: 0; text-wrap: pretty; }
.legal { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 18px 0 0; font-size: 14px; font-weight: 600; color: var(--on-ink-soft); }
.legal a { text-underline-offset: 3px; }
.legal a:hover { color: var(--paper); }
@media (min-width: 640px) {
  .foot-partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* From 900px co.day, AI Learners Club and TrekMeet share a row: "In collaboration with" spans two of the three columns and hands them down to its list, so all three partners are the same width. "Organised by" has the row above to itself until 1280px. */
@media (min-width: 900px) {
  .foot-credits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-credits > :first-child { grid-column: 1 / -1; }
  .foot-collab { grid-column: span 2; display: grid; grid-template-columns: subgrid; align-content: start; }
  .foot-collab > .foot-label, .foot-partners { grid-column: 1 / -1; }
  .foot-partners { grid-template-columns: subgrid; column-gap: normal; }
}
@media (min-width: 1280px) {
  .foot-credits { grid-template-columns: max-content repeat(3, minmax(0, 1fr)); }
  .foot-credits > :first-child { grid-column: auto; }
}
@media (min-width: 900px) {
  .foot-end { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
  .legal { flex: none; margin: 0; }
}

/* Privacy, terms and the not-found page */
.bar { border-bottom: 1px solid var(--rule); }
.bar .wrap { padding-top: 18px; padding-bottom: 18px; }
.home { display: inline-block; text-decoration: none; }
.bar .wm { font-size: 32px; }
.page { padding-top: clamp(40px, 7vw, 88px); }
.page h1 { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 6vw, 64px); line-height: 1; letter-spacing: -.02em; margin: 0 0 14px; }
.page .updated { font-size: 14px; color: var(--ink-soft); margin: 0 0 clamp(28px, 4vw, 44px); }
.page .intro { font-size: clamp(19px, 2vw, 22px); line-height: 1.5; font-weight: 500; max-width: 34em; margin: 0 0 8px; }
.page h2 { font-family: var(--text); font-size: 19px; font-weight: 700; letter-spacing: 0; line-height: 1.3; margin: 36px 0 8px; }
.page p { margin: 0 0 12px; max-width: 38em; text-wrap: pretty; }
.page .btn { margin-top: 14px; }
