/* mother — shared styles */

:root {
  --creme: #efe9dc;      /* all "white" / negative space */
  --ink: #1b1916;
  --ink-soft: #6b655b;
  --line: #cfc7b6;
  --mono: "Courier Prime", "Courier New", Courier, monospace;

  /* header sizing, matched to the 1080 reference video (1920px wide frame) */
  --pad-x: clamp(20px, 3.75vw, 72px);
  --pad-y: clamp(18px, 2.35vw, 45px);
  --logo-w: clamp(38px, 3.25vw, 62px);
  --nav-size: clamp(14px, 1.15vw, 22px);
  --nav-gap: clamp(16px, 2.3vw, 44px);
}

* { box-sizing: border-box; }

html { background: var(--creme); }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--creme);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 17px;
  line-height: 1.6;
  text-transform: lowercase;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
a:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

/* ---------- header ---------- */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--pad-y) var(--pad-x);
}

.logo { display: block; line-height: 0; }
.logo img { width: var(--logo-w); height: auto; display: block; }

.site-header nav {
  display: flex;
  gap: var(--nav-gap);
  padding-top: calc(var(--logo-w) * 0.5);
  font-size: var(--nav-size);
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
}

.site-header nav a { text-decoration: none; padding: 6px 0; }
.site-header nav a:hover,
.site-header nav a[aria-current="page"] { text-decoration: underline; }

/* ---------- home ---------- */

.home .site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
  color: #fff;
}

.hero {
  flex: 1;
  position: relative;
  height: 100vh;
  height: 100dvh;
  background: #0d0c0b;
  overflow: hidden;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ---------- inner pages ---------- */

.page {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(32px, 7vh, 96px) var(--pad-x) 80px;
}

h1 {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin: 0 0 1.4em;
}

p { margin: 0 0 1.4em; }
.lede { font-size: 1.15em; }
.small, .note { font-size: 0.88em; color: var(--ink-soft); }

.button {
  display: inline-block;
  padding: 0.9em 1.6em;
  border: 1px solid var(--ink);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: background 0.15s, color 0.15s;
}
.button:hover { background: var(--ink); color: var(--creme); }

.reserve { margin: 2.2em 0 2.6em; }
.reserve .note { margin-top: 1em; }

/* contact */
.contact p { font-size: clamp(18px, 2vw, 24px); margin-bottom: 0.6em; }
.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; }

/* what's on */
.events { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.events li {
  display: grid;
  grid-template-columns: 9.5em 1fr;
  gap: 0 1.5em;
  padding: 1.3em 0;
  border-bottom: 1px solid var(--line);
}
.events .when { color: var(--ink-soft); font-size: 0.9em; padding-top: 0.15em; }
.events .when b { display: block; font-weight: 400; color: var(--ink); font-size: 1.1em; }
.events h2 { font-size: 1.15em; font-weight: 700; margin: 0; }
.events .desc { margin: 0.4em 0 0; font-size: 0.9em; color: var(--ink-soft); }
.events .loading, .events .empty { display: block; color: var(--ink-soft); }
.gcal-embed { width: 100%; height: 640px; border: 1px solid var(--line); }

@media (max-width: 520px) {
  .events li { grid-template-columns: 1fr; }
  .events .when { margin-bottom: 0.4em; }
  .events .when b { display: inline; margin-right: 0.6em; }
}

/* holiday */
.holiday { max-width: 900px; }
.photo { display: block; width: 100%; height: auto; margin: 0 0 1.8em; }
.photo.placeholder {
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  color: var(--ink-soft);
  font-size: 0.85em;
}
.photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2em; }
.photo-row .photo.placeholder { aspect-ratio: 4 / 5; }
.cta { margin-top: 2.6em; }

/* ---------- footer ---------- */

.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5em 2em;
  padding: var(--pad-y) var(--pad-x);
  font-size: 0.82em;
  color: var(--ink-soft);
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- small-screen and framing tweaks ---------- */

/* keep the "Mother" lettering in frame when the window is narrower than the video */
.hero video { object-position: left center; }

@media (max-width: 480px) {
  :root { --nav-size: 13px; --nav-gap: 13px; }
  .site-header nav { letter-spacing: 0.02em; }
}

/* visit: hours */
.subhead { font-size: 1.15em; font-weight: 700; letter-spacing: 0.04em; margin: 2.4em 0 0.8em; }
.hours { border-collapse: collapse; width: 100%; max-width: 460px; margin: 0 0 2.6em; border-top: 1px solid var(--line); }
.hours th, .hours td { padding: 0.75em 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; font-weight: 400; }
.hours th { width: 9em; padding-right: 1em; }
.address { margin-bottom: 2.6em; }
.address a { text-decoration: none; }
.address a:hover { text-decoration: underline; }
.hours { margin-bottom: 0; }

/* holiday headline */
:root { --red: #c4261d; }
.headline { font-size: clamp(22px, 3vw, 34px); line-height: 1.3; margin: 0 0 1.4em; }
.headline s { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 0.09em; }
.red { color: var(--red); }

/* holiday headline: red-pen edit */
.headline .pen-strike { position: relative; text-decoration: none; display: inline-block; }
.pen-strike svg {
  position: absolute; left: -18%; top: -10%; width: 136%; height: 120%;
  overflow: visible; pointer-events: none;
}
.pen-strike path {
  fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.pen-word {
  font-family: "Nothing You Could Do", "Bradley Hand", cursive;
  color: var(--red);
  font-size: 1.45em; letter-spacing: -0.04em;
  line-height: 0;
  display: inline-block;
  transform: rotate(-7deg) skewX(-8deg) translateY(0.05em);
  margin-left: 0.1em;
  text-transform: uppercase;
}

/* holiday: special event */
.special { margin-top: 3.2em; padding-top: 0.4em; border-top: 1px solid var(--line); }
.special .button { margin-top: 0.4em; }

/* ---------- holiday: full-bleed banner ---------- */
.has-banner .site-header { position: absolute; inset: 0 0 auto 0; z-index: 2; color: #fff; }
.banner {
  position: relative;
  height: clamp(380px, 78vh, 820px);
  background: #120d09;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.banner img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 30% center;
}
/* darken the left side a touch so the headline always reads */
.banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12, 9, 6, 0.55) 0%, rgba(12, 9, 6, 0.25) 38%, rgba(12, 9, 6, 0) 60%),
              linear-gradient(180deg, rgba(12, 9, 6, 0.45) 0%, rgba(12, 9, 6, 0) 28%);
}
.banner-copy { position: relative; z-index: 1; }
/* countdown clock under the "holiday launches in..." headline */
.countdown {
  display: flex; gap: clamp(18px, 2.6vw, 44px);
  padding: 0 var(--pad-x); margin-top: clamp(14px, 2vw, 28px);
  color: var(--creme);
}
.countdown .unit { display: flex; flex-direction: column; align-items: center; }
.countdown b { font-size: clamp(34px, 5.2vw, 84px); font-weight: 400; line-height: 1.1; }
.countdown small { font-size: clamp(11px, 1vw, 15px); letter-spacing: 0.12em; opacity: 0.85; }
.banner .headline {
  margin: 0; padding: 0 var(--pad-x);
  color: var(--creme);
  font-size: clamp(25px, 3.5vw, 56px);
  font-weight: 400; letter-spacing: 0.02em; line-height: 1.45;
  --red: #e5382b; /* brighter red so the pen marks show on the dark photo */
}
.has-banner .page { padding-top: clamp(32px, 6vh, 72px); }

/* ---------- home: instagram ---------- */
.home .hero { flex: none; }
.insta { padding: clamp(48px, 9vh, 110px) var(--pad-x); text-align: center; }
.insta h2 { font-size: clamp(20px, 2.2vw, 30px); font-weight: 400; letter-spacing: 0.04em; margin: 0 0 0.3em; }
.insta h2 a { text-decoration: none; }
.insta h2 a:hover { text-decoration: underline; }
.insta-embed { max-width: 540px; margin: 2em auto 0; }
.insta-embed blockquote { margin: 0; padding: 2em 1em; border: 1px solid var(--line); }
.insta-embed iframe { margin: 0 auto !important; }

/* ---------- home: about blurb ---------- */
.about { max-width: 760px; margin: 0 auto; padding: clamp(56px, 10vh, 120px) var(--pad-x) 0; text-align: center; }
.about p { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.75; margin: 0; }

/* home video: always edge to edge, never cropped at the sides. The full frame
   shows until the window is wider (desktop) or shorter (phone) than the video;
   only then is it cropped, evenly from the top and bottom.
   Wide screens get the 16:9 video, tall screens (phones) the 9:16 one —
   index.html picks the file using the same 4/5 breakpoint. */
.home .hero video { object-position: center center; }
.home .hero { height: min(100vh, 56.25vw); }
@supports (height: 100dvh) { .home .hero { height: min(100dvh, 56.25vw); } }
@media (max-aspect-ratio: 4/5) {
  .home .hero { height: min(100vh, 177.78vw); }
  @supports (height: 100dvh) { .home .hero { height: min(100dvh, 177.78vw); } }
}

/* ---------- shop ---------- */
.product { padding: 2em 0 1.2em; border-top: 1px solid var(--line); }
.product .subhead { margin-top: 0; }
.product .price { color: var(--ink-soft); }
