:root {
  --ink: #0b3029;
  --ink-deep: #071f1b;
  --paper: #f7f3e9;
  --peach: #f4a06b;
  --peach-light: #ffd3b7;
  --blue: #8db9ff;
  --line: rgba(11, 48, 41, .2);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 1rem; line-height: 1.65; }
a { color: inherit; }
button { font: inherit; }
.skip { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: white; padding: .7rem 1rem; }
.skip:focus { top: 1rem; }
.site-header { height: 5rem; padding: 0 clamp(1.2rem, 4vw, 4.5rem); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(247,243,233,.25); color: white; position: absolute; inset: 0 0 auto; z-index: 10; }
.brand { display: flex; gap: .7rem; align-items: center; text-decoration: none; font-weight: 700; line-height: 1.05; letter-spacing: -.02em; }
.brand small { font-weight: 450; opacity: .75; }
.brand-mark { width: 2.4rem; height: 2.4rem; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: .85rem; }
nav { display: flex; gap: 2rem; }
nav a { text-decoration: none; font-size: .85rem; font-weight: 650; }
nav a:hover { color: var(--peach-light); }
.header-cta { border: 1px solid rgba(255,255,255,.65); border-radius: 999px; padding: .55rem 1rem; text-decoration: none; font-size: .84rem; }
.hero { min-height: 100svh; position: relative; background: var(--ink); color: white; display: grid; align-items: end; overflow: hidden; }
.hero-image { position: absolute; inset: 0; background-image: url('assets/monchique-town-hero.jpg'); background-size: cover; background-position: center 45%; transform: scale(1.01); }
.hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,31,27,.9) 0%, rgba(7,31,27,.55) 45%, rgba(7,31,27,.08) 75%), linear-gradient(0deg, rgba(7,31,27,.75), transparent 45%); }
.hero-copy { position: relative; z-index: 1; padding: 9rem clamp(1.2rem, 8vw, 8rem) 6rem; max-width: 57rem; }
.eyebrow, .section-number { margin: 0 0 1.5rem; text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 750; }
.hero h1 { font-family: var(--serif); font-size: clamp(4rem, 9vw, 8.6rem); line-height: .79; letter-spacing: -.065em; font-weight: 400; margin: 0 0 2.5rem; }
.hero h1 em { color: var(--peach); font-weight: 400; }
.hero-intro { max-width: 39rem; font-size: clamp(1.05rem, 1.8vw, 1.35rem); line-height: 1.5; margin: 0 0 2rem; color: rgba(255,255,255,.87); }
.button { display: inline-flex; align-items: center; gap: 1.4rem; border-radius: 999px; padding: .9rem 1.25rem; text-decoration: none; border: 0; font-weight: 750; cursor: pointer; }
.button-light { color: var(--ink-deep); background: var(--paper); }
.button-light:hover { background: var(--peach-light); }
.button-dark { color: white; background: var(--ink-deep); }
.button-dark:hover { background: #143f36; }
.hero-note { position: absolute; z-index: 1; right: clamp(1.2rem, 4vw, 4.5rem); bottom: 4rem; display: grid; text-align: right; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.7); }
.hero-note strong { color: white; font-family: var(--serif); text-transform: none; font-size: 1.35rem; letter-spacing: 0; font-weight: 400; }
.section-pad { padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 8vw, 8rem); }
.section-number { color: #517169; }
.manifesto-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(20rem, .7fr); gap: clamp(3rem, 10vw, 10rem); align-items: start; }
h2 { margin: 0; font-family: var(--serif); font-size: clamp(3rem, 6.4vw, 6.7rem); line-height: .95; letter-spacing: -.055em; font-weight: 400; }
.lead { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.15; margin-top: .5rem; }
.manifesto-grid p:not(.lead) { max-width: 39rem; font-size: 1.08rem; }
.week-section { color: white; background: var(--ink); }
.week-section .section-number { color: var(--blue); }
.week-heading { padding-bottom: 3rem; }
.week-heading p:last-child { max-width: 38rem; color: rgba(255,255,255,.7); }
.day-explorer { padding-top: 0; }
.day-tabs { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.day-tabs button { color: rgba(255,255,255,.45); background: transparent; border: 0; border-right: 1px solid rgba(255,255,255,.15); padding: 1.1rem .7rem; text-align: left; cursor: pointer; font-size: .78rem; }
.day-tabs button:last-child { border-right: 0; }
.day-tabs button span { display: block; color: inherit; font-family: var(--serif); font-size: clamp(1rem, 1.8vw, 1.5rem); }
.day-tabs button[aria-selected="true"] { background: var(--peach); color: var(--ink-deep); }
.day-tabs button:hover:not([aria-selected="true"]) { color: white; background: rgba(255,255,255,.05); }
.day-panel { min-height: 27rem; display: grid; grid-template-columns: .7fr 2fr; gap: 4rem; padding-top: 4rem; }
.day-index { font-family: var(--serif); color: var(--peach); font-size: clamp(3.6rem, 9vw, 8rem); line-height: 1; }
.day-content { max-width: 48rem; }
.day-content .eyebrow { color: var(--blue); margin-bottom: .7rem; }
.day-content h3 { font-family: var(--serif); font-size: clamp(3.4rem, 7vw, 6.3rem); line-height: 1; margin: 0 0 1.2rem; font-weight: 400; }
.day-content > p:not(.eyebrow) { color: rgba(255,255,255,.78); font-size: 1.12rem; max-width: 43rem; }
.day-tags { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.7rem; }
.day-tags span { border: 1px solid rgba(255,255,255,.27); border-radius: 999px; padding: .35rem .8rem; font-size: .78rem; }
.rhythm { background: var(--peach); }
.rhythm .section-number { color: var(--ink); opacity: .7; }
.rhythm-grid { display: grid; grid-template-columns: minmax(20rem, 1fr) minmax(24rem, .8fr); gap: clamp(4rem, 10vw, 10rem); align-items: start; }
.rhythm-grid > div > p { max-width: 37rem; }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--ink); }
.timeline time { text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; padding-top: .25rem; }
.timeline div { display: grid; }
.timeline strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.timeline span { font-size: .84rem; }
.pause { min-height: 44rem; display: grid; grid-template-columns: 1fr 1fr; color: white; background: var(--blue); }
.pause-copy { padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 8vw, 8rem); background: #294ec1; }
.pause-copy .section-number { color: var(--peach-light); }
.pause-copy p:not(.section-number) { max-width: 36rem; }
.timer-actions { display: flex; align-items: center; gap: 1.2rem; margin-top: 2rem; }
.text-button { color: white; background: transparent; border: 0; text-decoration: underline; cursor: pointer; }
.breath-stage { display: grid; place-items: center; min-height: 34rem; overflow: hidden; }
.breath-orbit { width: min(50vw, 24rem); aspect-ratio: 1; border: 1px solid rgba(7,31,27,.55); border-radius: 50%; display: grid; place-content: center; text-align: center; position: relative; transition: transform 4s ease-in-out, background-color 1s ease; }
.breath-orbit::before, .breath-orbit::after { content: ''; position: absolute; border: 1px solid rgba(7,31,27,.2); border-radius: 50%; inset: 13%; }
.breath-orbit::after { inset: 27%; }
.breath-orbit.inhale { transform: scale(1.12); background: rgba(255,255,255,.13); }
.breath-orbit.exhale { transform: scale(.9); background: rgba(255,255,255,.03); }
.breath-orbit span { font-family: var(--serif); font-size: clamp(4rem, 8vw, 7rem); line-height: 1; }
.breath-orbit small { text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; margin-top: .8rem; }
.details-grid { display: grid; grid-template-columns: minmax(20rem, .9fr) minmax(24rem, 1fr); gap: clamp(4rem, 9vw, 9rem); }
.details-grid > div > p { max-width: 37rem; }
.accordions { border-top: 1px solid var(--ink); }
details { border-bottom: 1px solid var(--ink); padding: 1.1rem 0; }
summary { cursor: pointer; font-family: var(--serif); font-size: 1.6rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary span { transition: transform .2s; }
details[open] summary span { transform: rotate(45deg); }
details ul { padding-left: 1.2rem; }
.closing { text-align: center; color: white; background: var(--ink-deep); padding: clamp(6rem, 13vw, 12rem) 1.2rem; }
.closing .eyebrow { color: var(--peach); }
.closing h2 { max-width: 68rem; margin: 0 auto 2.25rem; }
.closing-price { max-width: 42rem; margin: 0 auto 2rem; }
.closing-price-amount { margin: 0 0 .55rem; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; }
.closing-price-note { margin: 0; color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.55; }
.booking-note { max-width: 42rem; margin: 1rem auto 0; color: rgba(255,255,255,.68); font-size: .9rem; line-height: 1.5; }
.closing-note { margin-top: 2.5rem; color: rgba(255,255,255,.55); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
footer { color: white; background: var(--ink-deep); border-top: 1px solid rgba(255,255,255,.16); padding: 1.5rem clamp(1.2rem, 4vw, 4.5rem); display: flex; justify-content: space-between; gap: 1rem; font-size: .78rem; color: rgba(255,255,255,.6); }

@media (max-width: 820px) {
  nav { display: none; }
  .site-header { height: 4.5rem; }
  .header-cta { font-size: .75rem; }
  .hero { min-height: 48rem; }
  .hero-copy { padding-bottom: 4rem; }
  .hero-note { display: none; }
  .manifesto-grid, .rhythm-grid, .details-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .day-tabs { overflow-x: auto; grid-template-columns: repeat(6, minmax(7rem, 1fr)); }
  .day-panel { grid-template-columns: 1fr; gap: 1rem; min-height: 34rem; }
  .day-index { font-size: 3.5rem; }
  .pause { grid-template-columns: 1fr; }
  .breath-stage { min-height: 28rem; }
  .breath-orbit { width: min(72vw, 21rem); }
  footer { flex-direction: column; }
}

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