:root {
  color-scheme: light;
  --ink: #24211d;
  --muted: #645f57;
  --paper: #d9d0c1;
  --surface: #e8e0d3;
  --surface-strong: #b9aa93;
  --accent: #813f2a;
  --accent-ink: #fffaf0;
  --line: #71685b;
  --shadow: #35302a;
  --display: Georgia, "Times New Roman", serif;
  --body: "Trebuchet MS", Arial, sans-serif;
  --brick-pattern:
    linear-gradient(335deg, rgb(255 255 255 / 7%) 23px, transparent 23px) 0 58px,
    linear-gradient(155deg, rgb(0 0 0 / 4%) 23px, transparent 23px) 0 58px,
    linear-gradient(335deg, rgb(255 255 255 / 7%) 23px, transparent 23px) 29px 87px,
    linear-gradient(155deg, rgb(0 0 0 / 4%) 23px, transparent 23px) 29px 87px;
  --image-filter: blur(1.8px) saturate(.62) contrast(1.08) sepia(.18);
  --image-overlay: linear-gradient(145deg, rgb(71 55 42 / 8%), rgb(35 30 25 / 38%));
  --radius: 0;
}

[data-theme="barbizon"] {
  --ink: #292619;
  --muted: #625c42;
  --paper: #c8b97f;
  --surface: #ded29e;
  --surface-strong: #807951;
  --accent: #394d35;
  --accent-ink: #fffbe5;
  --line: #5b5b3d;
  --shadow: #343725;
  --brick-pattern:
    radial-gradient(circle at 18% 15%, rgb(247 229 147 / 28%), transparent 28%),
    radial-gradient(circle at 82% 72%, rgb(47 75 51 / 14%), transparent 35%);
  --image-filter: blur(2.4px) saturate(.75) sepia(.35) contrast(1.05);
  --image-overlay: linear-gradient(130deg, rgb(228 172 62 / 16%), rgb(47 61 35 / 40%));
  --radius: 2px;
}

[data-theme="clear"] {
  color-scheme: light;
  --ink: #111827;
  --muted: #4b5563;
  --paper: #fff;
  --surface: #f3f4f6;
  --surface-strong: #dbeafe;
  --accent: #1456b8;
  --accent-ink: #fff;
  --line: #9ca3af;
  --shadow: #111827;
  --display: Arial, Helvetica, sans-serif;
  --body: Arial, Helvetica, sans-serif;
  --brick-pattern: none;
  --image-filter: none;
  --image-overlay: linear-gradient(0deg, rgb(0 0 0 / 12%), transparent 45%);
  --radius: 10px;
}

[data-theme="night"] {
  color-scheme: dark;
  --ink: #f0e6ce;
  --muted: #c0b69f;
  --paper: #131b24;
  --surface: #1c2932;
  --surface-strong: #2d3c42;
  --accent: #d18a49;
  --accent-ink: #17120d;
  --line: #6f786f;
  --shadow: #05090c;
  --brick-pattern:
    linear-gradient(335deg, rgb(255 255 255 / 3%) 23px, transparent 23px) 0 58px,
    linear-gradient(155deg, rgb(0 0 0 / 9%) 23px, transparent 23px) 0 58px;
  --image-filter: blur(2px) saturate(.55) brightness(.62) sepia(.2);
  --image-overlay: linear-gradient(135deg, rgb(12 31 46 / 20%), rgb(7 12 17 / 58%));
  --radius: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: var(--brick-pattern);
  background-size: 58px 58px, 58px 58px, 58px 58px, 58px 58px;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  transition: color 250ms ease, background-color 250ms ease;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: .98;
}

em { color: var(--accent); font-weight: 400; }

.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 20;
  padding: .6rem 1rem;
  color: var(--accent-ink);
  background: var(--accent);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 5.25rem;
  padding: 1rem clamp(1.25rem, 4vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--display);
  font-size: 1.25rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: .72rem;
  letter-spacing: .08em;
}

.theme-picker { display: flex; align-items: center; gap: .8rem; }

.theme-picker label,
.eyebrow,
.section-number,
.image-label,
.tag-list,
.tour-meta span,
.destination-list small {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

select {
  max-width: 15rem;
  padding: .58rem 2.1rem .58rem .75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background-color: var(--surface);
  font: inherit;
  font-size: .85rem;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(20rem, .9fr) minmax(28rem, 1.2fr);
  min-height: calc(100vh - 5.25rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  z-index: 2;
  align-self: center;
  padding: clamp(4rem, 9vw, 8rem) clamp(1.5rem, 5vw, 6rem);
}

.eyebrow, .section-number { margin-bottom: 1.5rem; color: var(--muted); }

.hero h1 {
  max-width: 9ch;
  margin-bottom: 2rem;
  font-size: clamp(3.6rem, 7.2vw, 7.7rem);
  letter-spacing: -.055em;
}

.hero-intro { max-width: 34rem; font-size: clamp(1rem, 1.3vw, 1.25rem); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-block;
  padding: .9rem 1.3rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent-ink);
  background: var(--accent);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover, .button:focus-visible { color: var(--accent); background: transparent; }
.text-link { text-underline-offset: .3rem; }
.hero-image { min-height: 38rem; margin: 0; }

.image-wash {
  position: relative;
  overflow: hidden;
  background: var(--surface-strong);
}

.image-wash::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: var(--image-overlay);
}

.image-wash img {
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  margin: -5px;
  object-fit: cover;
  filter: var(--image-filter);
  transform: scale(1.025);
}

.hero-image figcaption, .image-label {
  position: absolute;
  z-index: 2;
  right: 1.5rem;
  bottom: 1.25rem;
  left: 1.5rem;
  display: flex;
  justify-content: space-between;
  margin: 0;
  color: #fff;
  font-size: .72rem;
  letter-spacing: .05em;
  text-shadow: 0 1px 5px #000;
}

.hero-note {
  position: absolute;
  bottom: 1rem;
  left: .5rem;
  z-index: 2;
  margin: 0;
  font-family: var(--display);
  font-size: .72rem;
  font-style: italic;
  transform: rotate(-90deg) translateY(-100%);
  transform-origin: left top;
}

.premise, .guides, .coming-soon {
  padding: clamp(4rem, 9vw, 9rem) clamp(1.5rem, 7vw, 8rem);
}

.premise {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 3rem;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
}

.premise > div { max-width: 60rem; }

.premise h2, .section-heading h2, .coming-soon h2 {
  margin-bottom: 2rem;
  font-size: clamp(2.8rem, 5.5vw, 6rem);
  letter-spacing: -.04em;
}

.premise > div > p {
  max-width: 44rem;
  margin-left: auto;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 3rem;
}

.section-heading h2 { max-width: 10ch; margin: 0; text-align: right; }

.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: .65rem .65rem 0 color-mix(in srgb, var(--shadow) 55%, transparent);
}

.guide-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(8rem, .75fr) 1.25fr;
  min-height: 27rem;
  padding: clamp(2rem, 4vw, 4rem);
  overflow: hidden;
  background: var(--surface);
}

.guide-card-lauren { background: color-mix(in srgb, var(--surface-strong) 68%, var(--surface)); }

.guide-initial {
  align-self: center;
  margin: 0;
  color: color-mix(in srgb, var(--accent) 50%, transparent);
  font-family: var(--display);
  font-size: clamp(10rem, 18vw, 18rem);
  line-height: .7;
  transform: translateX(-20%);
}

.guide-copy { z-index: 1; align-self: center; }
.guide-copy h3 { margin-bottom: 1.5rem; font-size: clamp(3rem, 5vw, 5rem); }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.tag-list li { padding: .35rem .55rem; border: 1px solid var(--line); }

.featured-tour {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.tour-image { min-height: 56rem; }
.tour-copy { padding: clamp(4rem, 7vw, 8rem) clamp(1.5rem, 6vw, 7rem); }

.tour-copy h2 {
  margin-bottom: 2rem;
  font-size: clamp(3rem, 5vw, 5.5rem);
  letter-spacing: -.045em;
}

.tour-summary { max-width: 38rem; font-size: 1.1rem; }

.route-list {
  padding: 0;
  margin: 3rem 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.route-list li {
  display: grid;
  grid-template-columns: 4rem 1fr;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.route-list span { grid-row: span 2; color: var(--accent); font-family: var(--display); }
.route-list strong { font-family: var(--display); font-size: 1.15rem; font-weight: 400; }
.route-list small { color: var(--muted); }

.tour-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tour-meta p { margin: 0; font-size: .84rem; }
.tour-meta span { display: block; color: var(--muted); }

.coming-soon {
  display: grid;
  grid-template-columns: minmax(16rem, .75fr) 1.25fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
}

.coming-image {
  aspect-ratio: 4 / 5;
  border: .75rem solid var(--surface);
  box-shadow: .65rem .65rem 0 color-mix(in srgb, var(--shadow) 50%, transparent);
  transform: rotate(-2deg);
}

.destination-list {
  padding: 0;
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
  list-style: none;
}

.destination-list > li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 1.2rem;
}

.destination-list small { color: var(--accent); font-family: var(--body); }

footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem clamp(1.5rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
  font-size: .78rem;
}

.footer-title {
  margin-bottom: .25rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.1rem;
}

.credits { max-width: 42rem; justify-self: end; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (max-width: 900px) {
  .hero, .featured-tour { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-copy { min-height: 38rem; }
  .hero-image { min-height: 32rem; }
  .hero-note { display: none; }
  .guide-grid { grid-template-columns: 1fr; }
  .tour-image { min-height: 34rem; }
}

@media (max-width: 650px) {
  .site-header { align-items: flex-start; }

  .brand > span:last-child, .theme-picker label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  select { width: 12.5rem; }
  .hero-copy { min-height: 34rem; }
  .hero h1 { font-size: clamp(3.3rem, 17vw, 5.3rem); }
  .hero-image { min-height: 25rem; }
  .premise, .coming-soon, footer { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading h2 { text-align: left; }
  .guide-card { grid-template-columns: 1fr; min-height: 32rem; }
  .guide-initial { position: absolute; top: 4rem; left: 1rem; }
  .tour-meta { grid-template-columns: 1fr; }
  .coming-image { max-height: 30rem; }
  .credits { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
