:root {
  --ink: #141414;
  --bone: #FAFAF7;
  --stone: #E4E1D8;
  --paper: #F4F2EC;
  --night: #121826;
  --grey: #7C7972;
  --line: rgba(20, 20, 20, .14);
  --nline: rgba(250, 250, 247, .14);
  /* seasonal accents: one at a time, only on the lit month stroke (and the day number on night cards) */
  --jar: #D4512B;
  --floare: #E9A3A0;
  --frunza: #6F8F3A;
  --suc: #E0A63A;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(20px, 4vw, 48px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { font-family: var(--sans); background: var(--paper); color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
.mono { font-family: var(--mono); }
.small { font-size: 12.5px; }
.muted { color: var(--grey); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; background: var(--ink); color: var(--bone); padding: 8px 12px; z-index: 100; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.night :focus-visible { outline-color: var(--bone); }
[hidden] { display: none !important; }

/* months mark */
.mo { display: inline-flex; gap: .064em; height: .72em; vertical-align: baseline; font-size: 26px; }
.mo i { display: block; min-width: 1px; width: .0434em; background: currentColor; }

/* header */
.hdr { position: sticky; top: 0; z-index: 30; background: rgba(244, 242, 236, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
.hdr .logo img { height: 22px; }
.hdr nav { display: flex; gap: 24px; align-items: center; font-family: var(--mono); font-size: 12.5px; }
.hdr nav a { text-decoration: none; opacity: .7; white-space: nowrap; }
.hdr nav a:hover, .hdr nav a[aria-current] { opacity: 1; }
.langs { display: inline-flex; border: 1px solid var(--ink); }
.langs button { background: none; border: 0; padding: 5px 9px; font-family: var(--mono); font-size: 11.5px; cursor: pointer; }
.langs button[aria-pressed="true"] { background: var(--ink); color: var(--bone); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; padding: 12px 18px; background: var(--ink); color: var(--bone); border: 1px solid var(--ink); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: #2a2a2a; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bone); }
.btn.sm { padding: 8px 12px; font-size: 11.5px; }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn.light { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn.light:hover { background: #fff; }
.btn.light.ghostl { background: transparent; color: var(--bone); border-color: rgba(250,250,247,.5); }
.btn.light.ghostl:hover { border-color: var(--bone); }
.btn.wa { background: #1F7A4D; border-color: #1F7A4D; }

/* sections */
.sec { padding: clamp(70px, 9vw, 120px) 0; border-top: 1px solid var(--line); position: relative; }
.eyebrow { font-family: var(--mono); font-size: 12px; color: var(--grey); margin-bottom: 18px; }
.eyebrow.light, .night .eyebrow { color: rgba(250,250,247,.6); }
h1, h2 { font-weight: 500; letter-spacing: -.05em; line-height: .98; }
h2 { font-size: clamp(40px, 6vw, 80px); margin-bottom: 22px; }
h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; max-width: 50ch; }
.ctas { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }

/* night */
.night { background: var(--night); color: var(--bone); border-top: 0; }
.night .muted { color: rgba(250,250,247,.6); }
.sky { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#dormi { overflow: hidden; min-height: 760px; display: flex; align-items: flex-start; }
#dormi .wrap { position: relative; z-index: 1; width: 100%; }

/* hero */
.hero { padding: clamp(50px, 8vw, 100px) 0 clamp(50px, 7vw, 80px); }
.hero .wrap { display: grid; gap: 30px; }
.hero .wrap > div:last-child { max-width: 480px; justify-self: end; }
.hero h1 { font-size: clamp(50px, 9.5vw, 128px); }

/* calendar */
.elist { width: 100%; border-collapse: collapse; }
.elist th { font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--grey); text-align: left; padding: 0 12px 12px 0; border-bottom: 1px solid var(--ink); }
.elist td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.elist tr.link { cursor: pointer; }
.elist tr.link:hover td { background: rgba(20,20,20,.03); }
.elist .n { font-size: clamp(34px, 4vw, 48px); font-weight: 500; letter-spacing: -.06em; line-height: 1; width: 1%; padding-right: 28px; white-space: nowrap; }
.elist .n a { text-decoration: none; }
.elist .v { font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.elist .d { font-family: var(--mono); font-size: 12px; margin-top: 2px; }
.elist .act { text-align: right; white-space: nowrap; }
.elist tr.off td { color: var(--grey); }
.elist .mo { font-size: 30px; }
.tag { font-family: var(--mono); font-size: 10.5px; border: 1px solid currentColor; padding: 1px 6px; margin-left: 10px; vertical-align: middle; letter-spacing: 0; }
.stock { width: 110px; height: 4px; background: var(--stone); position: relative; }
.stock i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); }
.status { font-family: var(--mono); font-size: 11.5px; white-space: nowrap; }
.status.off { text-decoration: line-through; color: var(--grey); }
.status.hot { font-weight: 500; }

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 60px; }
.how div { background: var(--paper); padding: 26px; }
.how b { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--grey); display: block; margin-bottom: 30px; }
.how h3 { margin-bottom: 6px; }

/* facts */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 34px; max-width: 620px; }
.facts div { background: var(--paper); padding: 18px; }
.facts b { display: block; font-size: 36px; font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.facts span { font-family: var(--mono); font-size: 11px; color: var(--grey); }
.facts.dark { background: var(--nline); border-color: var(--nline); }
.facts.dark div { background: rgba(18,24,38,.72); backdrop-filter: blur(2px); }
.facts.dark span { color: rgba(250,250,247,.65); }

/* forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--mono); font-size: 11px; color: var(--grey); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; background: var(--bone); border: 1px solid var(--line); padding: 11px 12px; font-size: 15px; border-radius: 0; }
.field input:focus, .field select:focus { border-color: var(--ink); outline: none; }
.field .err { font-family: var(--mono); font-size: 11px; color: #B3261E; margin-top: 4px; }
.field.bad input, .field.bad select { border-color: #B3261E; }
.consent label, label.check { display: flex; gap: 10px; align-items: flex-start; font-family: var(--sans); font-size: 13.5px; color: var(--ink); cursor: pointer; }
.consent input, label.check input { width: auto; margin-top: 3px; accent-color: var(--ink); }
.field.bad.consent label { color: #B3261E; }
.card-form { background: var(--bone); border: 1px solid var(--line); padding: 26px; }
.wl { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.nform { display: grid; gap: 12px; }
.ok { font-family: var(--mono); font-size: 12px; min-height: 18px; }
.ok.bad { color: #B3261E; }
.hint { font-family: var(--mono); font-size: 11px; color: var(--grey); margin-top: 12px; }
.sendbox { display: grid; gap: 10px; margin-top: 16px; }
.reqtext { font-family: var(--mono); font-size: 12px; line-height: 1.7; background: var(--bone); border: 1px solid var(--line); padding: 16px; white-space: pre-wrap; }
.done { background: var(--ink); color: var(--bone); padding: 26px; }
.done-num { font-size: 44px; font-weight: 500; letter-spacing: -.05em; line-height: 1; margin-bottom: 8px; }
.sum .tot { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 15px; font-weight: 500; border-top: 1px solid var(--ink); padding-top: 10px; }

/* orchard */
.orch { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.photo { aspect-ratio: 4/3; background: repeating-linear-gradient(-8deg, #D9D5CA 0 16px, #D1CCC0 16px 32px); display: flex; align-items: flex-end; padding: 14px; font-family: var(--mono); font-size: 11px; color: var(--grey); }
.dt { font-family: var(--mono); font-size: 12.5px; margin-top: 22px; }
.dt div { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.dt div span:first-child { color: var(--grey); white-space: nowrap; }
.dt div span:last-child { text-align: right; }
.night .dt div { border-color: var(--nline); }
.night .dt div span:first-child { color: rgba(250,250,247,.55); }

/* notify band */
.news { background: var(--ink); color: var(--bone); padding: clamp(60px, 8vw, 100px) 0; }
.news .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.news .row { display: flex; }
.news input[type=email] { flex: 1; background: transparent; border: 1px solid rgba(250,250,247,.4); border-right: 0; padding: 13px 14px; color: var(--bone); font-size: 15px; }
.news input::placeholder { color: rgba(250,250,247,.45); }
.news .btn { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.news .consent label { color: rgba(250,250,247,.75); margin-top: 12px; }
.news .consent input { accent-color: var(--bone); }
.news label.consent { display: flex; gap: 10px; margin-top: 12px; font-size: 13px; color: rgba(250,250,247,.75); }
.news .ok { margin-top: 10px; }
.news .ok.bad { color: #F2A08F; }

footer { background: var(--ink); color: var(--bone); border-top: 1px solid var(--nline); padding: 44px 0; font-family: var(--mono); font-size: 12px; }
footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; }
footer a { text-decoration: none; opacity: .7; display: block; line-height: 2; cursor: pointer; }
footer a:hover { opacity: 1; }
footer .dim { opacity: .6; }
footer .small { opacity: .5; margin-top: 20px; grid-column: 1 / -1; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); background: var(--ink); color: var(--bone); font-family: var(--mono); font-size: 12.5px; padding: 12px 18px; opacity: 0; transition: all .25s; z-index: 60; pointer-events: none; }
.previewbadge { position: fixed; left: 16px; bottom: 16px; z-index: 40; font-family: var(--mono); font-size: 11px; background: var(--floare); color: var(--ink); padding: 7px 10px; text-decoration: none; }

/* edition page */
.crumb { font-family: var(--mono); font-size: 12px; padding-top: 26px; }
.crumb a { text-decoration: none; color: var(--grey); }
.ehero { display: grid; grid-template-columns: minmax(300px, 440px) 1fr; gap: clamp(30px, 6vw, 90px); padding-top: 30px; padding-bottom: 90px; align-items: start; }
.edcard { background: var(--bone); padding: 28px; font-family: var(--mono); font-size: 12.5px; display: flex; flex-direction: column; box-shadow: 0 30px 50px -30px rgba(0,0,0,.35); position: sticky; top: 90px; }
.edcard .hd { display: flex; justify-content: space-between; align-items: center; }
.edcard .hd img { height: 22px; }
.edcard .bignum { font-family: var(--sans); font-size: clamp(150px, 18vw, 230px); font-weight: 500; letter-spacing: -.07em; line-height: .78; margin: 60px 0 0 -.03em; }
.edcard .var { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--sans); font-size: 30px; font-weight: 500; letter-spacing: -.03em; margin: 16px 0 12px; }
.edcard .var .mo { font-size: 34px; flex: none; }
.edcard .dg { display: grid; grid-template-columns: auto 1fr; column-gap: 1.4em; border-top: 1px solid currentColor; padding-top: 10px; line-height: 1.8; }
.edcard .ft { border-top: 1px solid currentColor; display: flex; justify-content: space-between; margin-top: 12px; padding-top: 8px; font-size: 11px; }
.edcard.inv { background: var(--night); color: var(--bone); }
.quote { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; letter-spacing: -.025em; max-width: 30ch; }
.prog { margin-top: 14px; border-top: 1px solid var(--ink); }
.prog div { display: grid; grid-template-columns: 80px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.prog span:first-child { font-family: var(--mono); font-size: 13px; }
.buy { background: var(--bone); border: 1px solid var(--line); padding: 26px; }
.buy .ed { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--grey); }
.buy .price { font-size: 52px; font-weight: 500; letter-spacing: -.05em; line-height: 1; margin: 18px 0 14px; }
.buy .price small { font-family: var(--mono); font-size: 12px; letter-spacing: 0; color: var(--grey); }
.buy .stock { width: 100%; }
.soldout { background: var(--ink); color: var(--bone); padding: 18px 20px; margin-top: 16px; font-size: 14px; }
.egrid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); }
.others { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.ocard { background: var(--bone); border: 1px solid var(--line); padding: 18px; text-decoration: none; display: flex; flex-direction: column; min-height: 210px; }
.ocard:hover { border-color: var(--ink); }
.ocard .n { font-size: 72px; font-weight: 500; letter-spacing: -.065em; line-height: .8; margin-top: auto; }
.ocard .v { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 10px; font-weight: 500; }
.ocard .mo { font-size: 20px; flex: none; }
.ocard.off { opacity: .5; }
.notfound { padding-top: 120px; padding-bottom: 120px; }

/* camping page */
.dhero { padding-top: clamp(50px, 7vw, 90px); }
.dhero h1 { font-size: clamp(44px, 7.5vw, 100px); margin-bottom: 24px; }
@media (min-width: 600px) { .nw { white-space: nowrap; } }
.dhero .lead { color: rgba(250,250,247,.85); }
.hill { position: relative; height: clamp(420px, 48vw, 600px); margin-top: 40px; overflow: hidden; }
.hill::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 140px; background: linear-gradient(var(--night), rgba(18,24,38,0)); z-index: 1; }
.pins { position: absolute; inset: 0; z-index: 2; }
.pin { position: absolute; transform: translate(-13px, -13px); display: flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--bone); font-family: var(--mono); font-size: 11.5px; cursor: pointer; }
.pin b { width: 28px; height: 28px; border: 1px solid var(--bone); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 500; background: rgba(18,24,38,.7); }
.pin:hover b, .pin.sel b { background: var(--bone); color: var(--ink); }
.tent { position: absolute; width: clamp(84px, 8vw, 120px); transform: translate(-58%, calc(-100% - 12px)); pointer-events: none; }
.tent svg { display: block; width: 100%; height: auto; }
.sky .tw { animation: tw 5s ease-in-out infinite; }
@keyframes tw { 50% { opacity: .2; } }
@media (prefers-reduced-motion: reduce) { .sky .tw { animation: none; } }
.pin-city { position: absolute; left: 30%; top: 30%; transform: translate(-50%, -100%); white-space: nowrap; z-index: 2; font-family: var(--mono); font-size: 11px; color: rgba(250,250,247,.7); }
.placegrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--nline); border: 1px solid var(--nline); }
.place { background: var(--night); padding: 22px; display: flex; flex-direction: column; }
.place.sel { background: #1B2335; }
.place .pn { font-size: 64px; font-weight: 500; letter-spacing: -.065em; line-height: .8; }
.place h3 { margin: 14px 0 0; font-size: 19px; }
.place .dt { font-size: 11px; margin: 12px 0 18px; flex: 1; }
.place .dt div { display: block; }
.place .dt div span { display: block; text-align: left !important; }
.book { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.book h2 { font-size: clamp(34px, 4.5vw, 56px); }
.cal { margin-top: 26px; max-width: 520px; }
.calhd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-family: var(--mono); font-size: 13px; }
.calhd button { background: none; border: 1px solid var(--line); width: 36px; height: 36px; cursor: pointer; font-size: 16px; }
.calhd button:disabled { opacity: .3; cursor: default; }
.calgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.calgrid .dow { font-family: var(--mono); font-size: 10.5px; color: var(--grey); text-align: center; padding-bottom: 4px; }
.calgrid button { aspect-ratio: 1; font-family: var(--mono); font-size: 12.5px; background: var(--bone); border: 1px solid var(--line); cursor: pointer; }
.calgrid button:hover:not(:disabled) { border-color: var(--ink); }
.calgrid button:disabled { cursor: default; }
.calgrid .night-out { background: transparent; border-color: transparent; color: #BDB9AF; }
.calgrid .night-taken { background: var(--stone); border-color: transparent; color: var(--grey); text-decoration: line-through; }
.calgrid .night-ev { background: var(--night); border-color: var(--night); color: rgba(250,250,247,.6); }
.calgrid .night-free:disabled { color: var(--grey); }
.calgrid button.sel { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; color: var(--grey); }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }
.legend .sw { width: 12px; height: 12px; display: inline-block; border: 1px solid var(--line); }
.legend .sw.free { background: var(--bone); }
.legend .sw.taken { background: var(--stone); }
.legend .sw.ev { background: var(--night); }
.has2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 30px; }
.kv { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 13px; }
.kv td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.kv td:first-child { color: var(--grey); width: 42%; }
.kv.no td:last-child { color: var(--grey); }
.rules { margin: 18px 0 0 1.2em; max-width: 70ch; display: grid; gap: 8px; }
.rules li::marker { font-family: var(--mono); color: var(--grey); }

@media (max-width: 1000px) {
  .placegrid { grid-template-columns: repeat(3, 1fr); }
  .others { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hdr nav a:not(.keep) { display: none; }
  .hdr nav { gap: 14px; }
  .hdr .logo img { height: 18px; }
  .hero .wrap > div:last-child { justify-self: start; }
  .orch, .news .wrap, .ehero, .egrid, .wl, .book, .has2 { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  .edcard { position: static; }
  .elist .hide-m { display: none; }
  .pin span { display: none; }
}
@media (max-width: 700px) {
  .placegrid { grid-template-columns: 1fr 1fr; }
  .elist thead { display: none; }
  .elist, .elist tbody { display: block; }
  .elist tr { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .elist td { padding: 0; border: 0; }
  .elist td.hide-m { display: none; }
  .elist .n { padding-right: 0; }
  .elist td:nth-child(5) { grid-column: 2; }
  .elist .act { grid-column: 1 / -1; text-align: left; margin-top: 12px; }
  .news .row { flex-direction: column; gap: 8px; }
  .news input[type=email] { border-right: 1px solid rgba(250,250,247,.4); }
}
