/* Layout idea: dark green bands with white type alternate with white bands
   carrying heavy black headings; a scalloped tent edge joins each pair. */
:root {
  color-scheme: light;
  --green: #0e3b2a;        /* garden green, the main ground */
  --green-deep: #092a1e;   /* footer and pressed states */
  --green-soft: #1d5a42;   /* borders and quiet fills on green */
  --leaf: #cfe6d8;         /* pale leaf, secondary text on green */
  --white: #ffffff;
  --black: #0b0d0c;
  --ink-soft: #46524c;     /* secondary text on white, biased green */
  --line: #dfe7e2;         /* hairlines on white */
  --warn: #9a5b00;
  --maroon: #671b28;       /* from the Masharu mark */
  --gold: #c4901a;         /* from the Masharu wordmark */
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Hanken Grotesk", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--green);
  color: var(--white);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid #ffd35a; outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- Contact bar ---------- */
.contactbar { background: var(--green-deep); font-size: 14px; }
.contactbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-top: 7px; padding-bottom: 7px; }
.contactbar strong { color: var(--gold); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; margin-right: 6px; }
.contactbar a { text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.contactbar a:hover { text-decoration: underline; }

.langs { display: inline-flex; gap: 4px; }
.langs button {
  font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .08em; cursor: pointer;
  color: var(--white); background: transparent; border: 1.5px solid var(--green-soft);
  border-radius: 999px; padding: 2px 10px; line-height: 1.5;
}
.langs button:hover { border-color: var(--white); }
.langs button[aria-pressed="true"] { background: var(--white); color: var(--green-deep); border-color: var(--white); }

/* ---------- Top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: var(--white); color: var(--black);
  border-bottom: 3px solid var(--gold);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; flex-direction: column; gap: 3px; text-decoration: none; color: var(--black); }
.brand img { display: block; height: 24px; width: auto; }
.brand span { font-family: var(--display); font-weight: 900; font-stretch: 85%; font-size: 12px; letter-spacing: .42em; text-transform: uppercase; line-height: 1; }
.nav { display: flex; align-items: center; gap: 8px 22px; flex-wrap: wrap; font-weight: 700; font-size: 15px; }
.nav a { text-decoration: none; }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 5px; }
.nav .btn { background: var(--green); color: var(--white); border-color: var(--green); }
.nav .btn:hover { background: var(--green-deep); border-color: var(--green-deep); }

.btn {
  display: inline-block; cursor: pointer; border: 2px solid var(--white);
  background: var(--white); color: var(--black);
  font-family: var(--body); font-weight: 700; font-size: 16px;
  padding: 11px 22px; border-radius: 999px; text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--leaf); border-color: var(--leaf); }
.btn.ghost { background: transparent; color: var(--white); }
.btn.ghost:hover { background: var(--green-soft); border-color: var(--white); }
.btn.dark { background: var(--green); color: var(--white); border-color: var(--green); }
.btn.dark:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn.small { padding: 6px 14px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
/* the M mark, large and faint, behind the hero */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/mark-white.svg") no-repeat center 58% / min(1100px, 130%) auto;
  opacity: .07; pointer-events: none;
}
.hero > .wrap { position: relative; padding-top: 48px; padding-bottom: 68px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.lockup { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 44px; margin-bottom: 34px; }
.lockup::before, .lockup::after { content: ""; position: absolute; width: 70px; height: 34px; border: 0 solid var(--gold); }
.lockup::before { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.lockup::after { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.lockup img { display: block; width: min(380px, 62vw); height: auto; }
.lockup-rule { width: 100%; height: 1px; background: var(--white); opacity: .6; }
.lockup-sub { font-family: var(--display); font-weight: 900; font-stretch: 78%; text-transform: uppercase; font-size: clamp(26px, 6vw, 44px); line-height: 1; letter-spacing: .12em; margin-right: -.12em; }
.cta { justify-content: center; }
.strip ul { justify-content: center; }
.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); filter: brightness(1.35); }
.hero h1 {
  font-weight: 900; font-stretch: 78%;
  font-size: clamp(44px, 9vw, 104px); line-height: .95;
  text-transform: uppercase; letter-spacing: -.01em;
  margin: 14px 0 22px; max-width: 14ch;
}
.hero p.lead { font-size: clamp(18px, 2.2vw, 21px); max-width: 56ch; color: var(--leaf); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.strip { border-top: 1px solid var(--green-soft); }
.strip ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; gap: 10px 34px; font-family: var(--display); font-weight: 800; font-stretch: 85%; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; }
.strip li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); margin-right: 10px; vertical-align: 2px; }

/* ---------- Bands ---------- */
.band { padding: 72px 0; }
.band.white { background: var(--white); color: var(--black); position: relative; }
/* tent valance: green scallops hanging onto the white band */
.band.white::before, .band.white::after {
  content: ""; position: absolute; left: 0; right: 0; height: 18px;
  background-size: 36px 18px; background-repeat: repeat-x;
}
.band.white::before { top: 0; background-image: radial-gradient(circle at 18px 0, var(--green) 17px, transparent 18px); }
.band.white::after { bottom: 0; background-image: radial-gradient(circle at 18px 18px, var(--green) 17px, transparent 18px); }
.band h2 { font-weight: 900; font-stretch: 82%; text-transform: uppercase; font-size: clamp(32px, 5vw, 54px); line-height: 1; }
.band .intro { max-width: 60ch; margin-top: 14px; }
.band.white .intro { color: var(--ink-soft); }
.band.green .intro { color: var(--leaf); }

/* services */
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin-top: 40px; border-top: 3px solid var(--black); }
.service { grid-column: span 2; padding: 26px 26px 30px 0; border-bottom: 1px solid var(--line); }
.service.wide { grid-column: span 3; }
.service h3 { font-weight: 900; font-stretch: 88%; font-size: 24px; line-height: 1.1; color: var(--black); }
.service p { margin-top: 10px; color: var(--ink-soft); max-width: 44ch; }
.service .tag { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); border: 1.5px solid var(--green); border-radius: 999px; padding: 2px 10px; }
@media (max-width: 820px) { .service, .service.wide { grid-column: span 6; padding-right: 0; } }

/* occasions */
.occasions { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.occasions li { border: 1.5px solid var(--green-soft); border-radius: 999px; padding: 8px 18px; font-weight: 500; }
.occasions li.main { background: var(--white); color: var(--black); border-color: var(--white); font-weight: 700; }

/* grounds video under the events heading */
.tour { margin: 34px 0 0; max-width: 900px; }
.tour video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--green-deep); border-radius: 18px; border: 3px solid var(--white); }
.tour figcaption { margin-top: 10px; font-size: 14px; color: var(--leaf); }

/* steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.steps li { counter-increment: s; border-top: 3px solid var(--black); padding-top: 14px; }
.steps li::before { content: counter(s); font-family: var(--display); font-weight: 900; font-size: 40px; line-height: 1; color: var(--green); display: block; }
.steps h3 { font-weight: 900; font-stretch: 88%; font-size: 20px; margin-top: 8px; }
.steps p { color: var(--ink-soft); margin-top: 6px; }

/* ---------- Booking ---------- */
.book-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; margin-top: 8px; align-items: start; }
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; } }
.book-side ul { margin: 22px 0 0; padding-left: 20px; color: var(--leaf); }
.book-side li { margin-bottom: 6px; }
.panel { background: var(--white); color: var(--black); border-radius: 18px; padding: 28px; }
.panel h3 { font-weight: 900; font-stretch: 88%; font-size: 24px; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { form .row { grid-template-columns: 1fr; } .panel { padding: 22px 18px; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
label, legend { font-weight: 700; font-size: 15px; color: var(--black); }
.hint { font-weight: 400; color: var(--ink-soft); }
input[type=text], input[type=tel], input[type=email], input[type=date], input[type=number], select, textarea {
  font: inherit; color: var(--black); background: var(--white);
  border: 1.5px solid #9fb0a7; border-radius: 10px; padding: 10px 12px; width: 100%;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--green); outline-offset: 1px; border-color: var(--green); }
input[type=text], input[type=tel], input[type=email], input[type=date], input[type=number], select {
  height: 48px; line-height: 1.3; margin: 0; -webkit-appearance: none; appearance: none;
}
input[type=date] { display: block; min-width: 0; }
select {
  padding-right: 38px; text-overflow: ellipsis; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230b0d0c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
form .row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
form .row.three label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) { form .row.three { grid-template-columns: 1fr; } }
.field label { line-height: 1.3; }
.help { margin: 8px 0 0; font-size: 14px; font-weight: 700; color: #c01818; }
textarea { min-height: 90px; resize: vertical; display: block; }
fieldset { border: 0; padding: 0; margin: 18px 0 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); flex: none; }
.check small { display: block; font-weight: 400; color: var(--ink-soft); }
.form-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.msg { font-weight: 500; }
.msg.err { color: #a11a1a; }
.msg.ok { color: var(--green); font-weight: 700; }
.notice { border: 1.5px solid var(--warn); color: var(--warn); border-radius: 10px; padding: 10px 14px; margin-top: 16px; font-weight: 500; }

.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.date-note { margin: 0; font-size: 14px; font-weight: 700; color: #a11a1a; }
input.taken { border-color: #a11a1a; background: #fdf1f1; }

.nights-note { margin: 0; font-size: 14px; color: var(--ink-soft); }
.nights-note.extra { color: var(--warn); font-weight: 700; }

/* requests list */
.requests { margin-top: 28px; }
.requests-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.count { color: var(--ink-soft); font-size: 15px; font-variant-numeric: tabular-nums; }
.req { border-top: 1px solid var(--line); padding: 16px 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 18px; }
.req:first-of-type { margin-top: 14px; border-top: 3px solid var(--black); }
.req .when { font-family: var(--display); font-weight: 900; font-stretch: 88%; font-size: 19px; }
.req .who, .req .extras, .req .note { color: var(--ink-soft); font-size: 15px; overflow-wrap: anywhere; }
.req .side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.req .actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 3px 12px; border: 1.5px solid var(--black); white-space: nowrap; }
.pill.pending { border-style: dashed; }
.pill.confirmed { background: var(--green); border-color: var(--green); color: var(--white); }
.pill.declined, .pill.cancelled { border-color: #9aa5a0; color: #6b7671; text-decoration: line-through; }
.clash { color: var(--warn); font-weight: 700; font-size: 14px; }
.empty { color: var(--ink-soft); margin-top: 12px; }
@media (max-width: 560px) { .req { grid-template-columns: 1fr; } .req .side { align-items: flex-start; } .req .actions { justify-content: flex-start; } }

/* mark story */
.story { display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr); gap: 28px 48px; align-items: start; }
.story img { width: 100%; height: auto; margin-top: 6px; }
.story img.h-mark { display: inline-block; height: .78em; width: auto; max-width: none; vertical-align: -.04em; margin: 0 .08em; }
.meanings { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px 36px; margin-top: 28px; }
.meanings > div { border-top: 3px solid var(--maroon); padding-top: 12px; }
.meanings h3 { font-weight: 900; font-stretch: 88%; font-size: 22px; }
.meanings p { color: var(--ink-soft); margin-top: 8px; max-width: 46ch; }
.faq-title { margin-top: 72px; scroll-margin-top: 90px; }
@media (max-width: 640px) { .story { grid-template-columns: 1fr; } .story img { max-width: 150px; } }
section[id] { scroll-margin-top: 70px; }

/* find us */
.find { max-width: 760px; }
.find-cta { justify-content: flex-start; margin-top: 24px; }
.find .address { order: 0; }
.address { margin-top: 22px; font-weight: 700; font-size: 18px; }
.address + .coords { margin-top: 4px; }
.coords { margin-top: 18px; font-size: 14px; color: var(--leaf); font-variant-numeric: tabular-nums; }

/* FAQ */
.faq { margin-top: 34px; border-top: 3px solid var(--black); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 800; font-stretch: 90%; font-size: 20px; }
.faq p { margin-top: 10px; color: var(--ink-soft); max-width: 65ch; }

/* footer */
footer { background: var(--green-deep); padding: 56px 0 40px; }
.foot { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.foot-brand { display: inline-flex; flex-direction: column; gap: 6px; }
.foot-brand img { display: block; width: 190px; max-width: 100%; height: auto; }
.foot-brand span { font-family: var(--display); font-weight: 900; font-stretch: 85%; text-transform: uppercase; letter-spacing: .5em; font-size: 15px; line-height: 1; }
footer a { text-decoration: none; overflow-wrap: anywhere; }
footer a:hover { text-decoration: underline; }
.phones { font-variant-numeric: tabular-nums; }
footer h3 { font-family: var(--body); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf); font-weight: 700; margin-bottom: 8px; }
footer p { color: var(--white); }
.todo { border-bottom: 1.5px dashed var(--leaf); color: var(--leaf); }
.fine { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--green-soft); color: var(--leaf); font-size: 14px; }

/* ---------- Phones ---------- */
.menu-toggle, .mobile-book { display: none; }
@media (max-width: 760px) {
  /* top bar: one short line, the email is in the footer */
  .contactbar .wrap { flex-wrap: nowrap; align-items: center; gap: 10px; }
  .contactbar .wrap > span:nth-child(2) { display: none; }
  .contactbar .wrap > span:first-child strong { display: none; }
  .contactbar .wrap > span:first-child { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .contactbar .wrap > span:first-child a ~ a, .contactbar .wrap > span:first-child [aria-hidden] { display: none; }
  .langs { margin-left: auto; flex: none; }

  /* header: logo, Book a date, Menu */
  .top .wrap { flex-wrap: nowrap; padding-top: 8px; padding-bottom: 8px; }
  .brand img { height: 20px; }
  .brand span { font-size: 10px; }
  .mobile-book { display: inline-block; margin-left: auto; padding: 7px 14px; font-size: 14px; white-space: nowrap;
    background: var(--green); color: var(--white); border-color: var(--green); }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px; flex: none;
    font: inherit; font-weight: 700; font-size: 14px; color: var(--black);
    background: transparent; border: 1.5px solid var(--line); border-radius: 999px;
    padding: 7px 12px; cursor: pointer;
  }
  .menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after {
    display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
  }
  .menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle .bars::before { top: -5px; }
  .menu-toggle .bars::after { top: 5px; }
  .menu-toggle[aria-expanded="true"] .bars { background: transparent; }
  .brand { flex: none; }
  .menu-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

  .top { position: sticky; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 3px solid var(--gold);
    box-shadow: 0 12px 24px rgba(0,0,0,.12); padding: 6px 20px 14px;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { display: none; }

  /* opening section a little calmer */
  .hero > .wrap { padding-top: 32px; padding-bottom: 48px; }
  .lockup { padding: 16px 26px; margin-bottom: 26px; }
  .hero h1 { font-size: clamp(36px, 11vw, 52px); }
  .cta .btn { min-width: 220px; text-align: center; }

  /* the heading already shows the M, so hide the large one */
  .story > img { display: none; }

  .band { padding: 56px 0; }
}
@media (max-width: 440px) {
  .menu-toggle { padding: 10px 11px; }
  .menu-toggle .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
