/* HIMA: dark room, warm light (the look Roomful called "ember").
   Loaded on HIMA's own pages and, after Roomful's own style sheet, on Roomful's pages too (booking, account, events):
   everything here is under a class of ours (h-…), so Roomful's pages only take the fonts, header and footer. */

@font-face { font-family: "HIMA Archivo"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url(/fonts/archivo-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "HIMA Archivo"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url(/fonts/archivo-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "HIMA Manrope"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/fonts/manrope-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "HIMA Manrope"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/fonts/manrope-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* One language at a time. Every text is written twice, lang="en" and lang="nl" side by side; Roomful's language
   switch sets the page's own lang, and the other language stays hidden. English until it does. */
html:not([lang="nl"]) [lang="nl"]:not(html),
html[lang="nl"] [lang="en"]:not(html) { display: none !important; }

.h-page, .h-header, .h-footer {
  --h-bg: #110c09; --h-bg-2: #17100c; --h-line: #3d2c21; --h-card: #1d1510;
  --h-ink: #f7ede2; --h-ink-soft: #bba999;
  --h-fire: #ff8242; --h-wood: #e9b06a; --h-ice: #9fd3e6;
  --h-display: "HIMA Archivo", "Helvetica Neue", Arial, sans-serif;
  --h-text: "HIMA Manrope", "Helvetica Neue", Arial, sans-serif;
  --h-gutter: clamp(16px, 4vw, 48px);
}

.h-page { margin: 0; background: var(--h-bg); color: var(--h-ink); font: 400 17px/1.6 var(--h-text); color-scheme: dark; }
.h-page img { display: block; max-width: 100%; }
.h-page a { color: inherit; }
.h-page :focus-visible, .h-header :focus-visible, .h-footer :focus-visible { outline: 2px solid var(--h-fire); outline-offset: 3px; }
.h-wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--h-gutter); }
.h-band { padding: clamp(64px, 10vw, 128px) 0; }
.h-band.h-warm { background: var(--h-bg-2); border-block: 1px solid var(--h-line); }
.h-muted { color: var(--h-ink-soft); }
.h-mark { display: inline-block; font: 500 13px/1 var(--h-text); letter-spacing: 0.24em; text-transform: uppercase; color: var(--h-fire); }

.h-page h1, .h-page h2, .h-page h3 { font-family: var(--h-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; margin: 0; }
.h-page h1 { font-size: clamp(46px, 8.6vw, 124px); line-height: 0.88; }
.h-page h2 { font-size: clamp(32px, 4.6vw, 64px); line-height: 0.95; }
.h-page h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.1; }
.h-page p { margin: 16px 0 0; max-width: 62ch; }
.h-lead { font-size: clamp(18px, 1.6vw, 21px); }

.h-btn, .h-page .h-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 4px; background: var(--h-fire); color: #1a0d05; font: 600 15px/1 var(--h-text); text-decoration: none; letter-spacing: 0.02em; }
.h-btn:hover { background: var(--h-wood); }
.h-btn.h-ghost { background: transparent; color: var(--h-ink); box-shadow: inset 0 0 0 1px var(--h-line); }
.h-btn.h-ghost:hover { box-shadow: inset 0 0 0 1px var(--h-wood); }
.h-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* the header: on Roomful's pages too (#543), where Roomful's own script opens data-roomful-menu on a phone */
.h-header { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px var(--h-gutter); background: var(--h-bg); color: var(--h-ink); font: 500 15px/1 var(--h-text); }
.h-logo img { display: block; height: 34px; width: auto; filter: invert(1) brightness(1.6); }
.h-nav { display: flex; align-items: center; gap: 24px; }
.h-nav a { color: var(--h-ink); text-decoration: none; }
.h-nav a:hover { color: var(--h-wood); }
.h-nav a.h-btn { color: #1a0d05; }
.h-page .h-header { position: absolute; left: 0; right: 0; top: 0; background: transparent; }

/* the menu on a phone: Roomful's script puts a Menu button before the nav marked data-roomful-menu (#543), on HIMA's own
   pages and on Roomful's, and opens the nav as a panel. Without the script the nav stays as it is, wrapped. */
.h-header .roomful-menu-button { display: none; }
.h-nav [data-roomful="account"] { display: contents; }
.h-nav [data-roomful="language"]:empty { display: none; }
.h-header .roomful-language { display: inline-flex; gap: 2px; }
.h-header .roomful-language button { padding: 6px; border: 0; background: none; color: var(--h-ink-soft); font: 600 13px/1 var(--h-text); letter-spacing: 0.12em; cursor: pointer; }
.h-header .roomful-language button[aria-pressed="true"] { color: var(--h-fire); }
.h-header .roomful-language button:hover { color: var(--h-wood); }
@media (max-width: 820px) {
  .h-header .h-nav { flex-wrap: wrap; justify-content: flex-end; gap: 14px; }
  .h-header .roomful-menu-button { display: inline-flex; align-items: center; padding: 10px 14px; border: 0; border-radius: 4px; background: none; color: var(--h-ink); font: 500 15px/1 var(--h-text); box-shadow: inset 0 0 0 1px var(--h-line); cursor: pointer; }
  .h-header .roomful-menu-button + .h-nav:not([data-open]) { display: none !important; }
  .h-header .h-nav[data-open] { display: flex; flex-direction: column; align-items: stretch; gap: 4px; position: absolute; z-index: 50; top: calc(100% - 8px); left: auto; right: var(--h-gutter); min-width: 220px; padding: 12px; border-radius: 6px; background: var(--h-card); box-shadow: 0 0 0 1px var(--h-line), 0 30px 80px -30px rgba(255, 130, 66, 0.35); }
  .h-header .h-nav[data-open] a { padding: 10px 8px; }
  .h-header .h-nav[data-open] .roomful-language { padding: 4px 2px; }
}

/* the hero */
.h-hero { position: relative; min-height: min(100svh, 940px); display: grid; align-items: end; }
.h-hero-photo { position: absolute; inset: 0; }
.h-hero-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.h-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 12, 9, 0.2) 0%, rgba(17, 12, 9, 0.35) 45%, #110c09 100%); }
.h-hero-text { position: relative; padding-block: 140px clamp(48px, 8vw, 96px); }
.h-hero-text h1 { margin-top: 20px; }

/* two columns, photo and text */
.h-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.h-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.h-photo.h-square img { aspect-ratio: 1; }
@media (max-width: 760px) { .h-two { grid-template-columns: 1fr; } }

/* how a session goes */
.h-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; counter-reset: h-step; }
.h-steps > div { padding: 28px; border-radius: 6px; background: var(--h-card); box-shadow: 0 0 0 1px var(--h-line); }
.h-steps > div::before { counter-increment: h-step; content: counter(h-step); display: block; font: 800 44px/1 var(--h-display); color: var(--h-fire); margin-bottom: 16px; }
@media (max-width: 760px) { .h-steps { grid-template-columns: 1fr; } }

/* the places Roomful fills with the studio's own data (#541); until it does, what is written in them shows. Roomful's
   markup in them has classes roomful-…, styled here on HIMA's pages only */
.h-band [data-roomful] { margin-top: 32px; }
.h-page .roomful-sessions, .h-page .roomful-events, .h-page .roomful-packages { list-style: none; margin: 0; padding: 0; }
.h-page .roomful-sessions, .h-page .roomful-packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.h-page .roomful-session, .h-page .roomful-package { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: 6px; background: var(--h-card); box-shadow: 0 0 0 1px var(--h-line); }
.h-page .roomful-session .roomful-length { order: -1; font: 500 13px/1 var(--h-text); letter-spacing: 0.24em; text-transform: uppercase; color: var(--h-fire); }
.h-page .roomful-session .roomful-name, .h-page .roomful-package .roomful-name { font: 800 22px/1.1 var(--h-display); text-transform: uppercase; }
.h-page .roomful-blurb { color: var(--h-ink-soft); }
.h-page .roomful-session .roomful-price, .h-page .roomful-package .roomful-price { margin-top: auto; padding-top: 12px; font-weight: 600; }
.h-page a.roomful-book, .h-page a.roomful-buy { align-self: flex-start; padding: 12px 20px; border-radius: 4px; background: var(--h-fire); color: #1a0d05; font: 600 15px/1 var(--h-text); text-decoration: none; }
.h-page a.roomful-book:hover, .h-page a.roomful-buy:hover { background: var(--h-wood); }
.h-page .roomful-event { display: grid; grid-template-columns: 150px 1fr auto; gap: 6px 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--h-line); }
.h-page .roomful-event:first-child { border-top: 1px solid var(--h-line); }
.h-page .roomful-event .roomful-when { grid-column: 1; grid-row: 1 / span 2; font: 500 13px/1.5 var(--h-text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--h-fire); }
.h-page .roomful-event .roomful-name { grid-column: 2; grid-row: 1; font: 800 22px/1.1 var(--h-display); text-transform: uppercase; text-decoration: none; }
.h-page .roomful-event .roomful-name:hover { color: var(--h-wood); }
.h-page .roomful-event .roomful-host { grid-column: 2; grid-row: 2; color: var(--h-ink-soft); }
.h-page .roomful-event .roomful-price { grid-column: 3; grid-row: 1; font-weight: 600; text-align: right; }
.h-page .roomful-event .roomful-spots { grid-column: 3; grid-row: 2; color: var(--h-ink-soft); font-size: 14px; text-align: right; }
.h-page .roomful-event .roomful-spots[data-full] { color: var(--h-wood); }
@media (max-width: 760px) {
  .h-page .roomful-event { grid-template-columns: 1fr auto; }
  .h-page .roomful-event .roomful-when { grid-column: 1 / -1; grid-row: auto; }
  .h-page .roomful-event .roomful-name, .h-page .roomful-event .roomful-host { grid-column: 1; grid-row: auto; }
  .h-page .roomful-event .roomful-price, .h-page .roomful-event .roomful-spots { grid-column: 2; grid-row: auto; }
}
.h-page .roomful-hours, .h-page .roomful-prices { display: grid; grid-template-columns: auto 1fr; gap: 10px 32px; margin: 0; }
.h-page .roomful-price-line { display: contents; }
.h-page .roomful-hours dt, .h-page .roomful-prices dt { color: var(--h-ink-soft); }
.h-page .roomful-hours dd, .h-page .roomful-prices dd { margin: 0; font-weight: 600; }
.h-price { align-self: center; color: var(--h-ink-soft); }
.h-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 40px; }
.h-facts div { padding: 20px; border-left: 2px solid var(--h-fire); }
.h-facts strong { display: block; font: 800 28px/1 var(--h-display); text-transform: uppercase; }

/* the footer: on Roomful's pages too */
.h-footer { padding: 64px 0; background: var(--h-bg); color: var(--h-ink); border-top: 1px solid var(--h-line); font: 400 15px/1.6 var(--h-text); }
.h-footer .h-wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--h-gutter); }
.h-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.h-footer p { margin: 0 0 12px; }
.h-footer a { color: var(--h-ink); text-decoration: none; }
.h-footer a:hover { color: var(--h-wood); }
.h-footer-logo { height: 28px; width: auto; margin-bottom: 12px; filter: invert(1) brightness(1.6); }
.h-footer .h-muted { color: var(--h-ink-soft); }
.h-footer [data-roomful="credit"]:empty { display: none; }
.h-footer .roomful-credit { color: var(--h-ink-soft); font-size: 13px; }
.h-footer .roomful-credit a { text-decoration: underline; }
@media (max-width: 760px) { .h-footer-grid { grid-template-columns: 1fr; } }
