:root {
  --bg: #F3F2EE;
  --panel: #FFFEFB;
  --ink: #1A1A1A;
  --muted: #4E5656;
  --pine: #1F4F52;
  --pine-d: #14373A;
  --mint: #DBE8E8;
  --mint-2: #EDF4F4;
  --saffron: #EE9A62;
  --saffron-d: #B4521F;
  --line: #E1DED6;
  --on-pine: #FFFEFB;
  --radius: 18px;
  --head: "Funnel Display", "Segoe UI", sans-serif;
  --body: "Funnel Sans", "Segoe UI", sans-serif;
}

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

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  background: var(--panel);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}

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

h1,
h2,
h3 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

a {
  color: var(--pine);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--pine);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Pills */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.pill-line {
  min-height: 38px;
  padding: 0 18px;
  font-size: .92rem;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.pill-line:hover {
  background: var(--ink);
  color: var(--panel);
}

.pill-solid {
  min-height: 54px;
  padding: 0 34px;
  background: var(--ink);
  color: var(--panel);
  font-size: 1.05rem;
}

.pill-solid:hover {
  background: var(--pine-d);
}

.pill:focus-visible {
  outline: 3px solid var(--pine);
  outline-offset: 3px;
  border-radius: 999px;
}

/* Header: logo left, small centred links, outlined pill right */
.top {
  position: static;
  background: var(--panel);
}

.top-in {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 14px 28px;
}

.brand {
  justify-self: start;
}

.brand img {
  height: 34px;
  width: auto;
}

.top-nav {
  display: flex;
  gap: 30px;
}

.top-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
}

.top-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.top-in > .pill {
  justify-self: end;
}

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.foot-in {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px 48px;
  padding: 48px 28px 28px;
}

.foot-brand img {
  height: 28px;
  width: auto;
}

.foot-brand p {
  margin: 14px 0 0;
  max-width: 40ch;
  color: var(--muted);
  font-size: .92rem;
}

.foot-nav {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 10px 36px;
  align-content: start;
}

.foot-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: .92rem;
}

.foot-nav a:hover {
  color: var(--pine);
  text-decoration: underline;
}

.copy {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px 36px;
  font-size: .85rem;
  color: var(--muted);
}

@media (max-width: 760px) {
  .top-in {
    grid-template-columns: 1fr auto;
    padding: 12px 16px;
  }

  .top-nav {
    display: none;
  }

  .brand img {
    height: auto;
    width: min(170px, 46vw);
  }

  .foot-in {
    padding: 40px 16px 24px;
  }

  .foot-nav {
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
  }

  .copy {
    padding: 0 16px 28px;
  }
}

/* Hero */
.hero {
  text-align: center;
}

.hero-photo img {
  width: 100%;
  height: min(70svh, 760px);
  min-height: 380px;
  object-fit: cover;
}

.hero-text {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 16px 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-text > p {
  max-width: 52ch;
  margin: 22px auto 30px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-text .hero-note {
  margin: 14px auto 0;
  font-size: .85rem;
}

/* Quiet blocks */
.block {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 28px 0;
}

.block h2,
.closing h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.block-head p,
.how-text > p,
.closing-text > p {
  max-width: 54ch;
  margin: 14px 0 0;
  color: var(--muted);
}

/* Example trips */
.trips {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.trip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

.trip h3 {
  margin-top: 18px;
  font-size: 1.15rem;
}

.trip p {
  margin: 6px 0 0;
  color: var(--muted);
  max-width: 40ch;
}

/* How it works */
.how {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.how-photo {
  margin: 0;
}

.how-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.steps {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  counter-reset: s;
}

.steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.steps li::before {
  content: counter(s);
  grid-row: span 2;
  font-family: var(--head);
  font-weight: 600;
  color: var(--pine);
}

.steps h3 {
  font-size: 1.1rem;
}

.steps p {
  margin: 4px 0 0;
  color: var(--muted);
}

/* FAQ */
.faq {
  max-width: 820px;
}

.faq-list {
  margin-top: 28px;
  border-bottom: 1px solid var(--line);
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-weight: 400;
  color: var(--pine);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: -6px 0 20px;
  max-width: 62ch;
  color: var(--muted);
}

/* Closing */
.closing {
  max-width: 1200px;
  margin: 96px auto 0;
  padding: 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
}

.closing img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

.closing-text .pill {
  margin-top: 26px;
}

.closing-text .fine {
  margin-top: 14px;
  font-size: .85rem;
}

@media (max-width: 860px) {
  .trips {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .trip img {
    aspect-ratio: 4 / 3;
  }

  .how,
  .closing {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .how-photo img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .hero-photo img {
    height: min(58svh, 460px);
    min-height: 320px;
  }

  .hero-text {
    padding-top: 40px;
  }

  .hero-text > p {
    font-size: 1.02rem;
  }

  .block {
    padding: 72px 16px 0;
  }

  .closing {
    margin-top: 72px;
    padding: 0 16px;
  }
}

/* Header: on phones only the Blog link stays visible next to the pill */
@media (max-width: 760px) {
  .top-in {
    grid-template-columns: 1fr auto auto;
    gap: 14px;
  }

  .top-nav {
    display: flex;
  }

  .top-nav a:not(.nav-blog) {
    display: none;
  }
}

/* Homepage: latest blog posts as quiet ruled rows */
.bl {
  max-width: 1000px;
}

.bl-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.bl-all {
  font-weight: 600;
  white-space: nowrap;
}

.bl-rows {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}

.bl-rows li {
  border-top: 1px solid var(--line);
}

.bl-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 18px 0;
  color: inherit;
  text-decoration: none;
}

.bl-thumb img {
  width: 120px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

.bl-text {
  display: grid;
  gap: 6px;
}

.bl-label {
  font-size: .82rem;
  color: var(--muted);
}

.bl-title {
  font-family: var(--head);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}

.bl-arrow {
  font-size: 1.3rem;
  color: var(--pine);
  transition: transform .2s ease;
}

.bl-row:hover .bl-title {
  text-decoration: underline;
  text-decoration-color: var(--saffron);
  text-underline-offset: 4px;
}

.bl-row:hover .bl-arrow {
  transform: translateX(4px);
}

@media (max-width: 760px) {
  .bl-row {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 16px;
  }

  .bl-thumb img {
    width: 84px;
  }

  .bl-title {
    font-size: 1.05rem;
  }

  .bl-arrow {
    display: none;
  }
}
