:root {
  color-scheme: light;
  --ink: #1b292d;
  --muted: #626e6c;
  --paper: #f5f2eb;
  --white: #fffefa;
  --line: #d9d8ce;
  --green: #245c4b;
  --green-dark: #183e34;
  --orange: #c86542;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #c86542;
  outline-offset: 3px;
}

.shell {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.skip-link:focus {
  z-index: 100;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: white;
  clip: auto;
  clip-path: none;
}

.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-inner,
.brand,
.site-nav,
.footer-inner,
.footer-links {
  display: flex;
  align-items: center;
}

.header-inner {
  min-height: 82px;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  flex: none;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -1px;
}

.brand-name {
  display: grid;
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
}

.brand-name span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.site-nav {
  gap: clamp(18px, 3vw, 40px);
}

.site-nav a,
.footer-links a,
.footer-links button {
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
}

.site-nav a:not(.nav-cta):hover,
.footer-links a:hover,
.footer-links button:hover {
  color: var(--green);
}

.site-nav .nav-cta {
  padding: 10px 15px;
  border: 1px solid var(--green);
  border-radius: 2px;
  color: var(--green-dark);
  transition: background 150ms ease, color 150ms ease;
}

.site-nav .nav-cta:hover {
  background: var(--green);
  color: white;
}

.menu-toggle {
  display: none;
}

.news-section {
  padding-block: clamp(46px, 7vw, 88px) clamp(50px, 7vw, 82px);
}

.section-kicker,
.eyebrow,
.story-meta {
  color: var(--green);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  color: var(--muted);
}

.kicker-line {
  width: 27px;
  height: 1px;
  background: var(--orange);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 10px;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
}

h1,
.signature-copy h2,
.reasons-heading h2,
.about-inner h2,
.article-dialog h2,
.admin-dialog h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 700px;
  margin-bottom: 0;
  font-size: clamp(40px, 6.3vw, 76px);
  line-height: 1.02;
}

.heading-note {
  max-width: 320px;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 14px;
}

.news-state,
.reason-state {
  padding: 22px 0;
  color: var(--muted);
  font-size: 14px;
}

.news-state.is-error,
.reason-state.is-error {
  color: #963e2b;
}

.feature-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.78fr);
  min-height: 365px;
  background: var(--white);
  border: 1px solid var(--line);
}

.feature-story[hidden],
.feature-image[hidden],
.news-state[hidden],
.reason-state[hidden],
[hidden] {
  display: none !important;
}

.feature-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 62px);
}

.story-meta {
  margin-bottom: 17px;
  color: var(--orange);
}

.feature-copy h2 {
  max-width: 590px;
  margin: 0 0 17px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 45px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.story-excerpt {
  max-width: 560px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid var(--green);
  background: transparent;
  color: var(--green-dark);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}

.text-link:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.feature-image {
  min-height: 300px;
  margin: 0;
  background: #e7e2d5;
}

.feature-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.signature-band {
  overflow: hidden;
  background: var(--green-dark);
  color: white;
}

.signature-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) 1fr;
  align-items: center;
  gap: clamp(30px, 7vw, 96px);
  min-height: 245px;
  padding-block: 42px;
}

.signature-number {
  display: grid;
  align-content: center;
  justify-items: start;
}

.signature-number > span:first-child {
  color: #f4d9a8;
  font-family: var(--serif);
  font-size: clamp(68px, 11vw, 122px);
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.signature-label {
  margin-top: 8px;
  color: #e3e8df;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.signature-copy {
  max-width: 490px;
}

.signature-copy .eyebrow {
  color: #c3d6c6;
}

.signature-copy h2 {
  margin: 0 0 9px;
  color: white;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
}

.signature-copy p:last-child {
  max-width: 440px;
  margin-bottom: 0;
  color: #e3e8df;
  font-size: 15px;
}

.signature-rule {
  position: absolute;
  top: 16%;
  right: -5%;
  width: 190px;
  height: 190px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 50%;
  pointer-events: none;
}

.signature-rule::after {
  position: absolute;
  inset: 16px;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: inherit;
  content: "";
}

.reasons-section {
  padding-block: clamp(58px, 8vw, 105px);
}

.reasons-heading {
  margin-bottom: 34px;
}

.reasons-heading h2,
.about-inner h2 {
  margin: 0;
  font-size: clamp(36px, 5.3vw, 58px);
  line-height: 1.08;
}

.reason-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reason-item {
  min-height: 220px;
  padding: 25px clamp(18px, 3vw, 36px) 30px 0;
}

.reason-item + .reason-item {
  padding-left: clamp(18px, 3vw, 36px);
  border-left: 1px solid var(--line);
}

.reason-number {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--orange);
  font-family: var(--serif);
  font-size: 20px;
}

.reason-item h3 {
  margin-bottom: 9px;
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.18;
}

.reason-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.about-section {
  border-top: 1px solid var(--line);
  background: #ece9df;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.75fr);
  gap: clamp(40px, 9vw, 130px);
  padding-block: clamp(50px, 7vw, 82px);
}

.about-inner h2 {
  max-width: 550px;
}

.about-content {
  align-self: center;
  color: #495653;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.site-footer {
  background: var(--paper);
}

.footer-inner {
  min-height: 112px;
  justify-content: space-between;
  gap: 26px;
  padding-block: 25px;
}

.footer-inner > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.footer-links a,
.footer-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
}

dialog {
  width: min(680px, calc(100% - 30px));
  max-height: min(85vh, 850px);
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 25px 80px rgb(20 30 26 / 22%);
}

dialog::backdrop {
  background: rgb(23 37 32 / 55%);
}

.dialog-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  flex: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.article-dialog h2,
.admin-dialog h2 {
  margin: 7px 0 20px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.1;
}

.article-body {
  color: #46534f;
  font-size: 15px;
}

.article-body h2,
.article-body h3 {
  margin: 1.4em 0 0.5em;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
}

.article-body a {
  color: var(--green);
}

.admin-intro {
  color: var(--muted);
  font-size: 14px;
}

.admin-dialog form {
  display: grid;
  gap: 10px;
  margin-top: 25px;
}

.admin-dialog label {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
}

.admin-dialog input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: white;
  color: var(--ink);
}

.button {
  min-height: 43px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}

.button:disabled {
  cursor: progress;
  opacity: 0.65;
}

.button-dark {
  background: var(--green-dark);
  color: white;
}

.button-dark:hover {
  background: var(--green);
}

.button-light {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button-light:hover {
  background: #ece9df;
}

.form-error {
  margin: 5px 0;
  color: #963e2b;
  font-size: 13px;
}

.admin-session {
  display: grid;
  justify-items: start;
  gap: 14px;
  margin-top: 24px;
}

.admin-session p,
.firebase-status {
  color: var(--muted);
  font-size: 13px;
}

.firebase-status {
  margin: 18px 0 0;
}

.cookie-notice {
  position: fixed;
  z-index: 5;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  width: min(750px, calc(100% - 40px));
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 8px 28px rgb(27 41 45 / 12%);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.cookie-notice .cookie-title {
  margin-bottom: 3px;
  color: var(--ink);
  font-weight: 750;
}

.cookie-actions {
  display: flex;
  flex: none;
  gap: 8px;
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 36px, 600px);
  }

  .header-inner {
    min-height: 72px;
  }

  .menu-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    align-content: center;
    justify-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    width: 17px;
    height: 1px;
    background: var(--ink);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 8px 18px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 5px;
  }

  .site-nav .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .section-heading {
    display: block;
  }

  .heading-note {
    margin-top: 15px;
  }

  .feature-story {
    grid-template-columns: 1fr;
  }

  .feature-image {
    grid-row: 1;
    min-height: 220px;
  }

  .feature-image img {
    height: 250px;
    min-height: 0;
  }

  .feature-copy {
    padding: 26px;
  }

  .signature-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 40px;
  }

  .signature-number > span:first-child {
    font-size: 86px;
  }

  .signature-rule {
    top: 6%;
    right: -22%;
  }

  .reason-list {
    grid-template-columns: 1fr;
  }

  .reason-item {
    min-height: 0;
    padding: 22px 0 26px;
  }

  .reason-item + .reason-item {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .reason-number {
    margin-bottom: 14px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .cookie-notice {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
  }

  .cookie-actions {
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background:
    radial-gradient(ellipse at 80% 5%, rgb(193 218 207 / 38%), transparent 35rem),
    radial-gradient(ellipse at 8% 37%, rgb(235 222 196 / 36%), transparent 34rem),
    #f2f5f2;
}

.site-header {
  position: sticky;
  top: 12px;
  width: min(1280px, calc(100% - 32px));
  margin: 12px auto 0;
  border: 1px solid rgb(255 255 255 / 76%);
  border-radius: 24px;
  background: rgb(255 255 255 / 58%);
  box-shadow: 0 10px 35px rgb(35 59 51 / 7%), inset 0 1px rgb(255 255 255 / 85%);
  -webkit-backdrop-filter: blur(24px) saturate(1.45);
  backdrop-filter: blur(24px) saturate(1.45);
}

.header-inner {
  min-height: 72px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border: 1px solid rgb(36 92 75 / 22%);
  background: rgb(255 255 255 / 58%);
  box-shadow: inset 0 1px rgb(255 255 255 / 90%);
}

.brand-mark svg {
  width: 32px;
  height: 32px;
}

.brand-name {
  font-size: 14px;
}

.brand-name span {
  letter-spacing: 0.02em;
}

.site-nav .nav-cta {
  border-color: rgb(36 92 75 / 24%);
  border-radius: 99px;
  background: rgb(255 255 255 / 48%);
  box-shadow: inset 0 1px rgb(255 255 255 / 90%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero-intro {
  position: relative;
  display: grid;
  min-height: clamp(530px, 64vw, 720px);
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  align-items: center;
  overflow: hidden;
  margin-block: clamp(24px, 4vw, 48px) 22px;
  padding: clamp(38px, 8vw, 90px);
  border: 1px solid rgb(255 255 255 / 76%);
  border-radius: clamp(28px, 5vw, 54px);
  background:
    radial-gradient(ellipse at 80% 18%, rgb(255 255 255 / 72%), transparent 37%),
    radial-gradient(ellipse at 74% 86%, rgb(194 220 204 / 72%), transparent 38%),
    linear-gradient(135deg, #e8f0e9 0%, #e2eae1 44%, #d8e8e1 100%);
  box-shadow:
    0 28px 70px rgb(34 65 51 / 10%),
    inset 0 1px 1px rgb(255 255 255 / 95%),
    inset 0 -1px rgb(255 255 255 / 50%);
  isolation: isolate;
}

.hero-intro::before,
.hero-intro::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgb(255 255 255 / 56%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-intro::before {
  top: -190px;
  right: 7%;
  width: 530px;
  height: 530px;
}

.hero-intro::after {
  right: 11%;
  bottom: -260px;
  width: 620px;
  height: 620px;
  border-color: rgb(36 92 75 / 10%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 690px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 25px;
  color: #45685a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4d9073;
  box-shadow: 0 0 0 5px rgb(77 144 115 / 12%);
}

.hero-intro h1 {
  max-width: 690px;
  margin: 0;
  color: #18382f;
  font-family: var(--serif);
  font-size: clamp(48px, 7.2vw, 88px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.99;
}

.hero-intro h1 span {
  color: #4c7a66;
}

.hero-description {
  max-width: 510px;
  margin: 25px 0 0;
  color: #4f665d;
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-top: 29px;
}

.hero-actions a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 11px 18px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hero-actions a:hover {
  transform: translateY(-2px);
}

.hero-primary {
  border: 1px solid rgb(24 62 52 / 28%);
  background: rgb(28 72 58 / 94%);
  box-shadow: 0 8px 18px rgb(28 72 58 / 18%), inset 0 1px rgb(255 255 255 / 28%);
  color: white;
}

.hero-primary:hover {
  background: #245c4b;
  box-shadow: 0 12px 25px rgb(28 72 58 / 22%), inset 0 1px rgb(255 255 255 / 28%);
}

.hero-secondary {
  border: 1px solid rgb(255 255 255 / 80%);
  background: rgb(255 255 255 / 42%);
  box-shadow: inset 0 1px rgb(255 255 255 / 90%);
  color: #264d3f;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero-secondary:hover {
  background: rgb(255 255 255 / 72%);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  color: #50665d;
  font-size: 11px;
  line-height: 1.35;
}

.proof-number {
  color: #214d3d;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-art {
  position: relative;
  min-height: 330px;
  align-self: stretch;
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgb(255 255 255 / 64%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-one {
  top: 7%;
  right: 12%;
  width: 260px;
  height: 260px;
}

.hero-orbit-two {
  top: 17%;
  right: 2%;
  width: 340px;
  height: 340px;
  border-color: rgb(36 92 75 / 12%);
}

.hero-route {
  position: absolute;
  top: 48%;
  right: -4%;
  width: 112%;
  height: 76px;
  border: 1px solid rgb(36 92 75 / 26%);
  border-radius: 50%;
  transform: rotate(-30deg);
}

.route-back {
  top: 43%;
  right: -1%;
  height: 104px;
  border-color: rgb(255 255 255 / 78%);
  transform: rotate(-30deg) translateY(12px);
}

.route-front {
  top: 45%;
  right: -1%;
}

.route-stop {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  min-height: 33px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgb(255 255 255 / 86%);
  border-radius: 99px;
  background: rgb(255 255 255 / 62%);
  box-shadow: 0 7px 20px rgb(36 67 53 / 9%), inset 0 1px white;
  color: #426454;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.stop-vilassar {
  top: 21%;
  left: -6%;
}

.stop-barcelona {
  right: -5%;
  bottom: 22%;
}

.hero-bus {
  position: absolute;
  z-index: 2;
  top: 40%;
  right: 20%;
  display: grid;
  width: 126px;
  height: 92px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 82%);
  border-radius: 28px;
  background: linear-gradient(145deg, rgb(255 255 255 / 87%), rgb(232 243 236 / 65%));
  box-shadow: 0 22px 44px rgb(36 67 53 / 17%), inset 0 1px 1px white;
  color: #316b53;
  transform: rotate(-9deg);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
}

.hero-bus svg {
  width: 82px;
  height: 82px;
}

.art-caption {
  position: absolute;
  right: 0;
  bottom: 7%;
  color: rgb(42 85 65 / 64%);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.55;
  text-align: right;
}

.news-section {
  padding-top: clamp(62px, 9vw, 112px);
}

.section-kicker {
  margin-bottom: 25px;
}

.section-heading {
  margin-bottom: 27px;
}

.section-heading h2 {
  max-width: 700px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.feature-story {
  position: relative;
  display: block;
  min-height: clamp(480px, 58vw, 690px);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 76%);
  border-radius: clamp(28px, 4vw, 44px);
  background:
    radial-gradient(ellipse at 75% 15%, rgb(206 229 215 / 90%), transparent 38%),
    linear-gradient(145deg, #d8e7de 0%, #a8c8b3 53%, #71917d 100%);
  box-shadow: 0 24px 58px rgb(35 59 51 / 13%), inset 0 1px rgb(255 255 255 / 85%);
  isolation: isolate;
}

.feature-story[hidden] {
  display: none !important;
}

.feature-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: transparent;
}

.feature-image::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(11 30 26 / 33%), transparent 62%),
    linear-gradient(0deg, rgb(14 31 27 / 37%), transparent 70%);
  content: "";
  pointer-events: none;
}

.feature-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 43%;
  transform: scale(1.015);
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.feature-story:hover .feature-image img {
  transform: scale(1.045);
}

.story-art-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(ellipse at 25% 34%, rgb(255 255 255 / 85%), transparent 4%),
    radial-gradient(ellipse at 26% 34%, rgb(255 255 255 / 45%), transparent 20%),
    linear-gradient(160deg, #d9e9df 0%, #99bba5 57%, #547f69 100%);
}

.story-art-fallback[hidden] {
  display: none;
}

.fallback-sky,
.fallback-hill,
.fallback-sun {
  position: absolute;
  pointer-events: none;
}

.fallback-sky {
  inset: 0;
  background: linear-gradient(180deg, rgb(231 244 235 / 48%), transparent 66%);
}

.fallback-hill {
  right: -9%;
  bottom: -27%;
  left: -9%;
  height: 68%;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(140deg, #4a8061, #2b604b);
  transform: rotate(-4deg);
}

.fallback-sun {
  top: 13%;
  right: 21%;
  width: clamp(100px, 17vw, 210px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgb(255 250 225 / 72%);
  filter: blur(2px);
}

.fallback-bus {
  position: relative;
  z-index: 1;
  display: grid;
  width: clamp(150px, 26vw, 290px);
  aspect-ratio: 1.35;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 85%);
  border-radius: 35px;
  background: linear-gradient(140deg, rgb(255 255 255 / 92%), rgb(219 237 223 / 76%));
  box-shadow: 0 25px 55px rgb(29 66 47 / 22%), inset 0 1px white;
  color: #316b53;
  transform: rotate(-6deg);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}

.fallback-bus svg {
  width: 66%;
}

.fallback-label {
  position: absolute;
  right: 7%;
  bottom: 9%;
  z-index: 1;
  color: rgb(255 255 255 / 82%);
  font-size: clamp(12px, 2vw, 19px);
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-align: right;
}

.feature-copy {
  position: absolute;
  z-index: 1;
  bottom: clamp(20px, 4vw, 40px);
  left: clamp(20px, 4vw, 42px);
  display: flex;
  width: min(630px, calc(100% - 40px));
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgb(255 255 255 / 78%);
  border-radius: clamp(23px, 3vw, 34px);
  background: linear-gradient(145deg, rgb(255 255 255 / 80%), rgb(255 255 255 / 60%));
  box-shadow: 0 18px 46px rgb(17 35 30 / 18%), inset 0 1px rgb(255 255 255 / 94%);
  -webkit-backdrop-filter: blur(25px) saturate(1.4);
  backdrop-filter: blur(25px) saturate(1.4);
}

.story-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 10px;
  border: 1px solid rgb(255 255 255 / 82%);
  border-radius: 99px;
  background: rgb(255 255 255 / 54%);
  color: #426454;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-badge span {
  color: #c86542;
}

.feature-copy .story-meta {
  margin-bottom: 10px;
}

.feature-copy h2 {
  max-width: 550px;
  margin: 0 0 12px;
  color: #19372f;
  font-size: clamp(29px, 4.2vw, 48px);
  line-height: 1.04;
}

.story-excerpt {
  margin-bottom: 17px;
  color: #465c53;
  font-size: 14px;
}

.feature-copy .text-link {
  border-radius: 0;
  background: transparent;
}

.news-state {
  width: fit-content;
  padding: 15px 20px;
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: 18px;
  background: rgb(255 255 255 / 55%);
  color: #4d6258;
  box-shadow: inset 0 1px rgb(255 255 255 / 90%);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.signature-band {
  background:
    radial-gradient(ellipse at 80% 30%, rgb(98 153 121 / 28%), transparent 34rem),
    linear-gradient(125deg, #183e34, #1b4a3c);
}

.signature-inner {
  min-height: 265px;
}

.signature-number > span:first-child {
  text-shadow: 0 5px 25px rgb(244 217 168 / 14%);
}

.reason-item {
  border-radius: 22px;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.reason-item:hover {
  background: rgb(255 255 255 / 46%);
  box-shadow: 0 12px 28px rgb(35 59 51 / 6%), inset 0 1px rgb(255 255 255 / 90%);
  transform: translateY(-3px);
}

.about-section {
  border: 1px solid rgb(255 255 255 / 80%);
  background: rgb(255 255 255 / 42%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.site-footer {
  background: transparent;
}

dialog {
  border-radius: 28px;
  background: rgb(255 255 255 / 88%);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  backdrop-filter: blur(24px) saturate(1.3);
}

.admin-dialog input {
  border-radius: 12px;
}

.button,
.cookie-notice {
  border-radius: 99px;
}

.cookie-notice {
  border-color: rgb(255 255 255 / 85%);
  background: rgb(255 255 255 / 78%);
  box-shadow: 0 16px 44px rgb(27 41 45 / 14%), inset 0 1px white;
  -webkit-backdrop-filter: blur(25px) saturate(1.5);
  backdrop-filter: blur(25px) saturate(1.5);
}

@media (max-width: 760px) {
  .site-header {
    top: 8px;
    width: calc(100% - 20px);
    margin-top: 8px;
    border-radius: 19px;
  }

  .header-inner {
    min-height: 64px;
  }

  .brand-mark {
    width: 41px;
    height: 41px;
  }

  .brand-mark svg {
    width: 29px;
    height: 29px;
  }

  .site-nav {
    top: calc(100% + 9px);
    right: 0;
    left: 0;
    padding: 12px 15px 16px;
    border: 1px solid rgb(255 255 255 / 82%);
    border-radius: 20px;
    background: rgb(248 251 248 / 89%);
    box-shadow: 0 14px 32px rgb(35 59 51 / 12%), inset 0 1px white;
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
  }

  .hero-intro {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 18px;
    padding: 34px 27px 25px;
    border-radius: 32px;
  }

  .hero-kicker {
    max-width: 280px;
    font-size: 10px;
  }

  .hero-intro h1 {
    font-size: clamp(47px, 12vw, 70px);
  }

  .hero-description {
    margin-top: 18px;
    font-size: 15px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-actions a {
    min-height: 44px;
    padding-inline: 14px;
    font-size: 12px;
  }

  .hero-proof {
    margin-top: 23px;
  }

  .hero-art {
    min-height: 205px;
    margin: 14px 0 0;
  }

  .hero-orbit-one {
    top: -3%;
    right: 19%;
    width: 185px;
    height: 185px;
  }

  .hero-orbit-two {
    top: 2%;
    right: 2%;
    width: 250px;
    height: 250px;
  }

  .hero-route {
    top: 44%;
    right: -10%;
    width: 110%;
    height: 50px;
  }

  .route-back {
    top: 40%;
    height: 75px;
  }

  .stop-vilassar {
    top: 8%;
    left: -2%;
  }

  .stop-barcelona {
    right: -3%;
    bottom: 7%;
  }

  .hero-bus {
    top: 31%;
    right: 24%;
    width: 91px;
    height: 68px;
    border-radius: 21px;
  }

  .hero-bus svg {
    width: 57px;
    height: 57px;
  }

  .art-caption {
    right: 0;
    bottom: 1%;
    font-size: 8px;
  }

  .news-section {
    padding-top: 55px;
  }

  .section-kicker {
    margin-bottom: 19px;
  }

  .section-heading h2 {
    font-size: clamp(36px, 9vw, 49px);
  }

  .feature-story {
    min-height: 510px;
    border-radius: 29px;
  }

  .feature-image {
    grid-row: auto;
    min-height: 0;
  }

  .feature-image img {
    height: 100%;
    min-height: 0;
  }

  .feature-copy {
    bottom: 16px;
    left: 16px;
    width: calc(100% - 32px);
    padding: 23px;
    border-radius: 25px;
  }

  .story-badge {
    margin-bottom: 12px;
  }

  .feature-copy h2 {
    font-size: clamp(29px, 8vw, 39px);
  }

  .story-excerpt {
    font-size: 13px;
  }

  .signature-inner {
    gap: 24px;
    padding-block: 34px;
  }

  .signature-rule {
    top: 4%;
    right: -30%;
  }

  .reason-item:hover {
    transform: none;
  }

  .cookie-notice {
    border-radius: 22px;
  }
}

@media (max-width: 380px) {
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions a {
    width: 100%;
  }

  .feature-story {
    min-height: 540px;
  }

  .feature-copy {
    padding: 20px;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header,
  .feature-copy,
  .hero-secondary,
  .cookie-notice {
    background: rgb(248 250 247 / 96%);
  }
}

.hero-intro {
  min-height: 0;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 5vw, 65px);
  padding: clamp(32px, 5vw, 68px);
}

.hero-content {
  max-width: 610px;
}

.hero-intro h1 {
  font-size: clamp(48px, 6.15vw, 76px);
}

.hero-proof {
  padding-top: 19px;
  border-top: 1px solid rgb(36 92 75 / 15%);
}

.hero-news {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-news-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 4px 13px;
}

.hero-news-kicker,
.hero-news-latest {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #385b4b;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-spark {
  color: #c86542;
  font-size: 14px;
}

.hero-news-latest {
  color: #668075;
  font-size: 9px;
  letter-spacing: 0.07em;
}

.hero-news .news-state {
  margin: 0;
}

.hero-news .feature-story {
  min-height: clamp(455px, 48vw, 590px);
  border-radius: clamp(25px, 3vw, 36px);
  box-shadow: 0 24px 56px rgb(27 58 42 / 22%), inset 0 1px rgb(255 255 255 / 85%);
}

.hero-news .feature-image img {
  object-position: center;
}

.hero-news .feature-image::after {
  background:
    linear-gradient(180deg, rgb(12 28 24 / 10%), transparent 25%),
    linear-gradient(0deg, rgb(10 28 23 / 24%), transparent 72%);
}

.hero-news .feature-copy {
  bottom: 17px;
  left: 17px;
  width: calc(100% - 34px);
  padding: clamp(20px, 2.5vw, 29px);
  border-radius: clamp(20px, 2.4vw, 28px);
}

.hero-news .feature-copy h2 {
  font-size: clamp(27px, 3.2vw, 39px);
}

.hero-news .story-excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.hero-news .story-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  margin: 0;
  box-shadow: 0 5px 20px rgb(18 36 30 / 12%);
}

.hero-news .news-state {
  max-width: 420px;
}

@media (max-width: 900px) {
  .hero-intro {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: clamp(30px, 6vw, 54px);
  }

  .hero-content {
    max-width: 700px;
  }

  .hero-intro h1 {
    max-width: 680px;
    font-size: clamp(52px, 8vw, 76px);
  }

  .hero-news .feature-story {
    min-height: clamp(430px, 62vw, 590px);
  }

  .hero-news .feature-copy h2 {
    font-size: clamp(32px, 5vw, 46px);
  }
}

@media (max-width: 760px) {
  .hero-intro {
    gap: 26px;
    padding: 32px 22px 22px;
  }

  .hero-intro h1 {
    max-width: 600px;
    font-size: clamp(45px, 11.7vw, 65px);
  }

  .hero-news-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .hero-news .feature-story {
    min-height: 510px;
  }

  .hero-news .feature-copy {
    bottom: 12px;
    left: 12px;
    width: calc(100% - 24px);
    padding: 21px;
  }

  .hero-news .feature-copy h2 {
    font-size: clamp(30px, 8vw, 40px);
  }
}
