/* ==========================================================================
   Hlégarður — theme styles
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-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: "Montserrat";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/montserrat-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;
}

:root {
  --black: #020202;
  --white: #ffffff;
  --grey-200: #dfdfdf;
  --grey-400: #a7a7a7;
  --grey-700: #494949;
  --grey-900: #1b1b1b;
  --taupe-100: #e7e2e1;
  --taupe-200: #cfc5c3;
  --taupe-300: #a28f8b;
  --taupe-400: #705d59;
  --paper: #f4f1f0;
  --ink: #1b1b1b;
  --ink-muted: #494949;
  --rule: #a28f8b;
  --serif: "Cormorant Garamond", Garamond, Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

/* Base
   ========================================================================== */

body { margin: 0; }
a { color: var(--ink); }
a:hover { color: var(--taupe-400); }

.hg {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
.hg *, .hg *::before, .hg *::after { box-sizing: border-box; }
/* :where() keeps this reset at class-level specificity so component margins below override it. */
.hg :where(h1, h2, h3, p, ul, ol, dl, dd, blockquote, figure) { margin: 0; }
.hg img { display: block; max-width: 100%; height: auto; }
.hg :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* Sections focused after an in-page link don't need a ring around them. */
.hg [tabindex="-1"]:focus { outline: none; }

.hg-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.hg-skip:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  clip: auto;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
}

/* Type */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.serif {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.hg-h1 { font-size: 60px; }
.hg-h2 { font-size: 48px; }
.hg-muted { color: var(--ink-muted); }
.hg-kicker { margin-bottom: -10px; }

/* Rich text from ACF wysiwyg */
.hg-prose { display: flex; flex-direction: column; gap: 1em; color: var(--ink-muted); }
.hg-prose:empty { display: none; }
.hg-prose ul, .hg-prose ol { padding-left: 18px; }
.hg-prose strong { color: var(--ink); }

/* Layout */
.hg-wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.hg-stack { display: flex; flex-direction: column; gap: 24px; }
.hg-stack--sm { gap: 16px; }
.hg-sechead { display: flex; flex-direction: column; gap: 16px; }
.hg-bg-taupe { background: var(--taupe-100); }
.hg-bg-white { background: var(--white); }
.hg-bg-dark { background: var(--grey-900); color: var(--paper); }
.hg-rule-b { border-bottom: 1px solid var(--rule); }
.hg-rule-y { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.hg-section { padding: 120px 0; }
.hg-section--md { padding: 112px 0; }
.hg-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: 50% 50%;
}

/* Buttons */
.hg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.hg-btn:hover { background: transparent; color: var(--ink); }
.hg-btn--ghost { background: transparent; color: var(--ink); }
.hg-btn--ghost:hover { background: var(--ink); color: var(--paper); }
.hg-btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.hg-btn--light:hover { background: transparent; color: var(--paper); }
.hg-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header
   ========================================================================== */


.hg-header { position: relative; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--rule); }
.hg-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 88px;
  padding: 0 40px;
}
.hg-header__logo { display: inline-flex; flex: none; }
.hg-header__logo img { height: 52px; width: auto; }
.hg-header__right { display: flex; align-items: center; gap: 32px; }

.hg-nav ul, .hg-menu ul { list-style: none; padding: 0; margin: 0; }
.hg-nav ul { display: flex; gap: 36px; align-items: center; }
.hg-nav a, .hg-menu a {
  display: block;
  padding: 8px 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid transparent;
}
.hg-nav a:hover { border-bottom-color: var(--ink); color: var(--ink); }
.hg-nav a[aria-current="page"], .hg-menu a[aria-current="page"] { border-bottom-color: var(--ink); }
.hg-nav .hg-nav__cta {
  padding: 18px 32px;
  border-radius: 5px;
  color: var(--paper);
  background: var(--grey-900);
  border: 1px solid var(--grey-900);
}
.hg-nav .hg-nav__cta:hover { background: var(--white); color: var(--grey-900); border-color: var(--grey-900); }

.hg-menu { display: none; }
.hg-menu summary { list-style: none; cursor: pointer; }
.hg-menu summary::-webkit-details-marker { display: none; }
.hg-menu__close, .hg-menu[open] .hg-menu__open { display: none; }
.hg-menu[open] .hg-menu__close { display: contents; }

/* Square icon buttons (mobile header) */
.hg-iconbtn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  transition: background-color .15s, color .15s;
}
.hg-iconbtn svg { display: block; }
.hg-iconbtn:hover { background: var(--ink); color: var(--paper); }
.hg-iconbtn--dark { background: var(--grey-900); border-color: var(--grey-900); color: var(--paper); }
.hg-iconbtn--dark:hover { background: transparent; color: var(--ink); }
.hg-header__contact { display: none; }
.hg-menu__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 8px 24px 24px;
}
.hg-menu li + li { border-top: 1px solid var(--taupe-200); }
.hg-menu a { padding: 16px 0; }

.hg-social { display: flex; }
.hg-social a { display: inline-grid; place-items: center; width: 40px; height: 44px; color: var(--ink-muted); }
.hg-social a:hover { color: var(--ink); }

/* Footer
   ========================================================================== */

.hg-footer { background: var(--grey-900); color: var(--white); padding: 112px 40px 40px; }
.hg-footer__inner { max-width: 1200px; margin: 0 auto; }
.hg-footer__cols { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; align-items: flex-start; }
.hg-footer__logo { flex: none; }
.hg-footer__logo img { width: 150px; height: auto; }
.hg-footer__col { display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.hg-footer__col h2 { color: var(--grey-400); }
.hg-footer__col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.hg-footer a { color: var(--white); text-decoration: none; }
.hg-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.hg-footer :focus-visible { outline-color: var(--white); }
.hg-footer .hg-social { margin-left: -12px; }
.hg-footer .hg-social a { color: var(--grey-400); }
.hg-footer .hg-social a:hover { color: var(--white); }
.hg-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 88px;
  padding-top: 24px;
  border-top: 1px solid var(--grey-700);
  color: var(--grey-400);
  font-size: 13px;
}
.hg-footer__bottom a { color: var(--grey-400); }

/* Layout: split (image + text)
   ========================================================================== */

.hg-split { display: flex; flex-wrap: wrap; }
.hg-split--rev { flex-direction: row-reverse; }
.hg-split__media {
  flex: 1 1 520px;
  min-width: 0;
  position: relative;
  min-height: 560px;
  background: var(--taupe-100);
  overflow: hidden;
  border-right: 1px solid var(--rule);
}
.hg-split--rev .hg-split__media { border-right: 0; border-left: 1px solid var(--rule); }
.hg-split__body { flex: 1 1 480px; min-width: 0; display: flex; align-items: center; padding: 80px 48px; }
.hg-split__inner { display: flex; flex-direction: column; gap: 24px; max-width: 460px; margin: 0 auto; }

/* Image and Text element: image and text share the width equally. */
.hg-split--half .hg-split__media,
.hg-split--half .hg-split__body { flex: 1 1 440px; }
.hg-split--half .hg-split__media { background: var(--taupe-200); }
/* Text column spaced like Text and Two Images: 120px top and bottom, 520px
   wide, lined up with the 1200px content grid on the outer side. */
.hg-split--half .hg-split__body { padding: 120px max(40px, calc((100vw - 1120px) / 2)) 120px 64px; }
.hg-split--half.hg-split--rev .hg-split__body { padding: 120px 64px 120px max(40px, calc((100vw - 1120px) / 2)); }
.hg-split--half .hg-split__inner { max-width: 520px; margin: 0; }

/* Layout: headline
   ========================================================================== */

.hg-headline { padding: 112px 24px 104px; text-align: center; }
.hg-headline .serif { font-size: 45px; line-height: 1.12; max-width: 30ch; margin: 0 auto; }

/* Layout: text + two images
   ========================================================================== */

.hg-duo { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.hg-duo--rev { flex-direction: row-reverse; }
.hg-duo__text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 24px; max-width: 520px; }
.hg-duo__media { flex: 1 1 440px; min-width: 0; position: relative; padding-bottom: 64px; }
.hg-duo__main {
  position: relative;
  width: 82%;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--rule);
  overflow: hidden;
  background: var(--taupe-100);
}
.hg-duo__main--wide { aspect-ratio: 5 / 4; background: var(--paper); }
.hg-inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--rule);
  outline: 10px solid var(--paper);
  overflow: hidden;
  background: var(--taupe-100);
}
.hg-bg-taupe .hg-inset { outline-color: var(--taupe-100); background: var(--paper); }

/* Layout: facts
   ========================================================================== */

.hg-facts { display: flex; background: var(--taupe-100); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.hg-facts__side {
  flex: none;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: center;
  padding: 24px 18px;
  border-left: 1px solid var(--rule);
}
.hg-facts__cell {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 64px 24px;
  text-align: center;
  border-left: 1px solid var(--rule);
}
.hg-facts__cell strong { font-size: 52px; }
.hg-facts__cell p { max-width: 22ch; line-height: 1.8; }

/* Layout: carousel
   ========================================================================== */

.hg-carousel { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
.hg-carousel__head {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 40px;
}
.hg-carousel__head .hg-kicker { margin-bottom: -6px; }
.hg-carousel__head h2 { font-size: 36px; }
.hg-carousel__head .hg-carousel__text { font-size: 13px; color: var(--ink-muted); max-width: 30ch; }
.hg-carousel__controls { display: flex; align-items: center; gap: 12px; }
.hg-carousel__controls[hidden] { display: none; }
.hg-carousel__btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.hg-carousel__btn--next { background: var(--ink); color: var(--paper); }
.hg-carousel__btn:disabled { opacity: .35; cursor: default; }
.hg-carousel__viewport { flex: 999 1 600px; min-width: 0; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; }
.hg-carousel__viewport.is-dragging { cursor: grabbing; }
.hg-carousel__viewport.is-dragging .hg-carousel__track { transition: none; }
.hg-carousel__track {
  list-style: none;
  padding: 0;
  display: flex;
  transition: transform .48s cubic-bezier(.2, .7, .2, 1);
}
.hg-slide {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 48px 32px;
  border-left: 1px solid var(--rule);
}
.hg-slide__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--taupe-200);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.hg-slide__num { color: var(--ink-muted); font-size: 10px; }
.hg-slide h3 { font-size: 28px; margin-top: -8px; }
.hg-slide p:last-child { font-size: 13px; color: var(--ink-muted); }

/* Layout: numbered list
   ========================================================================== */

.hg-numbered { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.hg-numbered__media { flex: 1 1 380px; min-width: 0; }
.hg-numbered__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--rule);
  overflow: hidden;
  background: var(--taupe-100);
}
.hg-numbered__body { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hg-numbered--split { gap: 48px 80px; align-items: flex-start; }
.hg-numbered--split .hg-numbered__intro { flex: 4 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hg-numbered--split .hg-num { flex: 7 1 520px; min-width: 0; margin-top: 0; }

.hg-num { list-style: none; padding: 0; border-top: 1px solid var(--rule); margin-top: 8px; }
.hg-num li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px 16px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.hg-num strong { font-family: var(--serif); font-size: 44px; font-weight: 300; line-height: 1; }
.hg-num__body { display: flex; flex-direction: column; gap: 6px; }
.hg-num h3 { font-weight: 600; }
.hg-num h3 a { text-decoration: none; }

/* Linked items: the whole row is the link, with an arrow on hover */
.hg-num .hg-num__item--link { position: relative; grid-template-columns: 72px 1fr 24px; }
.hg-num__item--link h3 a::after { content: ""; position: absolute; inset: 0; }
.hg-num__item--link h3 a:focus-visible { outline: none; }
.hg-num__item--link:has(a:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.hg-num__item--link strong,
.hg-num__item--link h3 a { transition: color .25s ease; }
.hg-num__arrow {
  align-self: center;
  justify-self: end;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity .25s ease, transform .25s ease;
}
.hg-num__item--link:hover strong,
.hg-num__item--link:hover h3 a { color: var(--taupe-400); }
.hg-num__item--link:hover .hg-num__arrow,
.hg-num__item--link:has(a:focus-visible) .hg-num__arrow { opacity: 1; transform: none; }
@media (hover: none) {
  .hg-num__arrow { opacity: 1; transform: none; }
}

/* Layout: contact + map
   ========================================================================== */

.hg-contact { display: flex; flex-wrap: wrap; }
.hg-contact__body { flex: 1 1 420px; min-width: 0; display: flex; align-items: center; padding: 96px 48px; }
.hg-contact__inner { display: flex; flex-direction: column; gap: 24px; max-width: 440px; margin: 0 auto; }
.hg-contact__email {
  font-size: 30px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  overflow-wrap: anywhere;
}
.hg-contact__dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--taupe-200);
  font-size: 14px;
}
.hg-contact__dl dt { color: var(--ink-muted); line-height: 1.75; }
.hg-contact__map { flex: 1 1 520px; min-width: 0; position: relative; min-height: 520px; border-left: 1px solid var(--rule); }

.hg-map { position: relative; height: 560px; }
.hg-map__link { position: absolute; inset: 0; display: block; overflow: hidden; background: var(--taupe-100); }
.hg-map__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 8px solid var(--ink);
  border-right-color: transparent;
  border-radius: 9999px;
  transform: rotate(-20deg);
  background: rgba(244, 241, 240, .9);
}
.hg-map__label {
  position: absolute;
  left: 50%;
  top: calc(50% + 30px);
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--paper);
  padding: 6px 12px;
  white-space: nowrap;
  font-size: 10px;
}
.hg-map__credit {
  position: absolute;
  right: 8px;
  bottom: 6px;
  font-size: 11px;
  background: rgba(255, 255, 255, .85);
  padding: 0 6px;
}

/* Layout: quote
   ========================================================================== */

.hg-quote { padding: 120px 24px; }
.hg-quote__inner { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; text-align: center; }
.hg-quote .eyebrow, .hg-quote__lead { color: var(--grey-400); }
.hg-quote h2 { color: var(--paper); }
.hg-quote__lead { max-width: 56ch; margin: 0 auto; }
.hg-quote__by { padding-top: 32px; border-top: 1px solid var(--grey-700); width: 100%; }
.hg-quote blockquote { font-size: 26px; line-height: 1.6; }

/* Layout: page intro + table of contents
   ========================================================================== */

.hg-intro__inner {
  padding-top: 96px;
  padding-bottom: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px 80px;
  align-items: flex-end;
  justify-content: space-between;
}
.hg-intro__text { flex: 3 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hg-intro__text > p:not(.eyebrow) { color: var(--ink-muted); max-width: 58ch; }
.hg-intro__toc { flex: 1 1 260px; min-width: 0; }
.hg-intro__toc > .eyebrow { color: var(--ink-muted); margin-bottom: 12px; }

.hg-toc { list-style: none; padding: 0; border-top: 1px solid var(--rule); }
.hg-toc a {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  font-size: 14px;
}
.hg-toc a span { font-family: var(--serif); font-size: 20px; color: var(--taupe-400); min-width: 28px; }
.hg-toc a:hover { color: var(--taupe-400); }

/* Dark intro: light text, lines and buttons */
.hg-intro { --rule: var(--grey-700); }
.hg-intro :focus-visible { outline-color: var(--paper); }
.hg-intro a { color: var(--paper); }
.hg-intro .eyebrow,
.hg-intro .hg-intro__text > p:not(.eyebrow),
.hg-intro .hg-intro__toc > .eyebrow { color: var(--grey-400); }
.hg-intro .hg-toc a span { color: var(--taupe-300); }
.hg-intro .hg-toc a:hover { color: var(--taupe-200); }
.hg-intro .hg-btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.hg-intro .hg-btn:hover,
.hg-intro .hg-btn--ghost { background: transparent; color: var(--paper); }
.hg-intro .hg-btn--ghost:hover { background: var(--paper); color: var(--ink); }

/* Shared section body */
.hg-col { display: flex; flex-direction: column; gap: 48px; }
.hg-row { display: flex; flex-wrap: wrap; gap: 48px 80px; }
.hg-row__side { flex: 4 1 300px; min-width: 0; }
.hg-row__main { flex: 7 1 520px; min-width: 0; }

.hg-callout {
  padding: 18px 24px;
  background: var(--taupe-100);
  border: 1px solid var(--rule);
  font-size: 14px;
  line-height: 1.65;
}
.hg-callout p + p { margin-top: .6em; }
.hg-bg-taupe .hg-callout { background: var(--paper); }
.hg-callouts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }

/* Layout: rooms
   ========================================================================== */

.hg-rooms { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.hg-room {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  border: 1px solid var(--rule);
  background: var(--paper);
  overflow: hidden;
}
.hg-room__media {
  position: relative;
  aspect-ratio: 3 / 2;
  margin: -32px -32px 8px;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.hg-room__size { font-size: 56px; }
.hg-room__meta { font-weight: 600; padding-bottom: 12px; border-bottom: 1px solid var(--taupe-200); }
.hg-room__text { color: var(--ink-muted); font-size: 14px; }

.hg-gallery { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.hg-gallery li { display: flex; flex-direction: column; gap: 10px; }
.hg-gallery__media { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--rule); overflow: hidden; }

/* Layout: pricing
   ========================================================================== */

.hg-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.hg-price {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 36px;
  background: var(--paper);
  border: 1px solid var(--rule);
}
.hg-price__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.hg-price__head h3 { font-size: 32px; }
.hg-price table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hg-price thead th {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: left;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--ink);
}
.hg-price thead th:last-child { text-align: right; }
.hg-price tbody th { text-align: left; font-weight: 500; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--taupe-200); }
.hg-price tbody td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--taupe-200); color: var(--ink-muted); white-space: nowrap; }
.hg-price .hg-amt { text-align: right; padding-right: 0; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.hg-price__note { font-size: 13px; color: var(--ink-muted); }

/* Layout: included / not included
   ========================================================================== */

.hg-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.hg-lists h3 { padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.hg-check { list-style: none; padding: 0; }
.hg-check li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--taupe-200); }
.hg-check li::before { content: "✓"; flex: none; width: 20px; font-weight: 600; }
.hg-check--no li { color: var(--ink-muted); }
.hg-check--no li::before { content: "–"; }

/* Layout: accordion (terms + FAQ)
   ========================================================================== */

.hg-acc { border-top: 1px solid var(--ink); }
.hg-acc details { border-bottom: 1px solid var(--rule); }
.hg-acc summary {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
}
.hg-acc summary::-webkit-details-marker { display: none; }
.hg-acc summary::after {
  content: "+";
  margin-left: auto;
  flex: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 5px;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 300;
}
.hg-acc details[open] summary::after { content: "−"; background: var(--ink); color: var(--paper); }
.hg-acc details.is-closing summary::after { content: "+"; background: transparent; color: inherit; }
.hg-acc summary::after { transition: background-color .3s ease, color .3s ease; }
.hg-acc summary:hover { color: var(--taupe-400); }
.hg-acc__n { font-size: 16px; color: var(--taupe-400); min-width: 28px; }
.hg-acc__body { padding: 0 0 28px 48px; color: var(--ink-muted); max-width: 68ch; display: flex; flex-direction: column; gap: 12px; }
.hg-acc__body ul, .hg-acc__body ol { padding-left: 18px; display: flex; flex-direction: column; gap: 10px; }
.hg-acc--faq summary { font-size: 24px; }
.hg-acc--faq .hg-acc__body { padding-left: 0; }

.hg-faqsec { padding: 96px 0; }
.hg-faqwrap { display: flex; flex-wrap: wrap; gap: 40px 80px; }
.hg-faqhead { flex: 4 1 280px; min-width: 0; align-items: flex-start; }
.hg-faqhead h2 { font-size: 40px; }
.hg-faqhead .hg-h2 { font-size: 48px; }
.hg-faqlist { flex: 8 1 560px; min-width: 0; }

/* Helper classes the client can use inside answers (documented in the field instructions) */
.hg-good { padding: 12px 16px; background: var(--taupe-100); color: var(--ink); font-size: 14px; }
.hg-facts-dl { display: flex; flex-direction: column; border-top: 1px solid var(--taupe-200); }
.hg-facts-dl > div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--taupe-200); }
.hg-facts-dl dt { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); padding-top: 3px; }
.hg-cols { columns: 2; column-gap: 32px; }
.hg-cols li { break-inside: avoid; }
.hg-mini { width: 100%; border-collapse: collapse; font-size: 14px; }
.hg-mini th { text-align: left; font-weight: 500; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--taupe-200); color: var(--ink); }
.hg-mini td { text-align: right; white-space: nowrap; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; border-bottom: 1px solid var(--taupe-200); }
.hg-steps { list-style: none; padding: 0 !important; counter-reset: s; gap: 0 !important; }
.hg-steps li { counter-increment: s; display: flex; gap: 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--taupe-200); color: var(--ink); }
.hg-steps li::before { content: counter(s); font-family: var(--serif); font-size: 24px; color: var(--taupe-400); min-width: 20px; }

/* Layout: equipment
   ========================================================================== */

.hg-equip-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hg-equip-head .hg-callout { max-width: 440px; }
.hg-equip { columns: 4 260px; column-gap: 24px; }
.hg-equip__card {
  break-inside: avoid;
  display: inline-flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin: 0 0 24px;
  padding: 28px;
  border: 1px solid var(--rule);
  background: var(--paper);
}
.hg-equip__card h3 { font-size: 28px; font-weight: 400; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.hg-equip__card ul { list-style: none; padding: 0; }
.hg-equip__card li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--taupe-200);
  font-size: 14px;
  line-height: 1.5;
}
.hg-equip__card li b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hg-equip__card .hg-no { color: var(--ink-muted); font-weight: 500; }
.hg-equip__note { font-size: 12px; color: var(--ink-muted); }

/* Layout: CTA
   ========================================================================== */

.hg-cta { padding: 112px 24px; text-align: center; }
.hg-cta__inner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hg-cta .eyebrow, .hg-cta__text { color: var(--grey-400); }

/* Layout: events
   ========================================================================== */

.hg-events-sec { padding: 96px 0 120px; }
/* Three per row on desktop; extra events wrap onto the next row. */
.hg-events { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hg-ev { display: flex; flex-direction: column; border: 1px solid var(--rule); background: var(--paper); }
.hg-ev__media {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: var(--taupe-200);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}
.hg-ev__date {
  z-index: 1;
  position: absolute;
  left: 24px;
  top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 84px;
  background: var(--grey-900);
  color: var(--paper);
  border-radius: 5px;
}
.hg-ev__date b { font-family: var(--serif); font-size: 38px; font-weight: 400; line-height: 1; }
.hg-ev__date span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; margin-top: 4px; }
.hg-ev__body { display: flex; flex: 1; flex-direction: column; gap: 16px; padding: 28px; }
.hg-ev__body > .eyebrow { color: var(--ink-muted); }
.hg-ev__body h2 { font-size: 34px; }
.hg-ev__body h2 a { text-decoration: none; }
.hg-ev__body h2 a:hover { color: var(--taupe-400); }
.hg-ev__body .hg-btn { align-self: flex-start; margin-top: auto; }
.hg-ev__loc {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-muted);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--taupe-200);
}
.hg-events-empty { padding: 48px; border: 1px solid var(--rule); text-align: center; color: var(--ink-muted); }

/* Layout: contact form
   ========================================================================== */

.hg-formsec { padding: 96px 0 120px; }
.hg-formsec__inner { display: flex; flex-wrap: wrap; gap: 56px 80px; align-items: flex-start; }
.hg-formsec__aside { flex: 4 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.hg-formsec__aside h2 { font-size: 36px; }
.hg-formsec__img { position: relative; aspect-ratio: 3 / 2; border: 1px solid var(--rule); overflow: hidden; background: var(--taupe-100); }
.hg-cinfo { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.hg-cinfo > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.hg-cinfo dt { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted); }
.hg-cinfo dd { margin: 0; }
.hg-cinfo__email { font-size: 26px; }
.hg-cinfo .hg-social { margin-left: -12px; }

.hg-form {
  flex: 7 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px;
  background: var(--white);
  border: 1px solid var(--rule);
}
.hg-form__head { display: flex; flex-direction: column; gap: 8px; }
.hg-form__head h2 { font-size: 36px; }
.hg-form__head p, .hg-form__foot { font-size: 13px; color: var(--ink-muted); }
.hg-form__missing { padding: 18px 24px; background: var(--taupe-100); border: 1px dashed var(--rule); font-size: 14px; }

/* Gravity Forms — mapped onto the design's form styles.
   Targets the GF 2.5+ "orbital"/"theme" markup; the framework CSS is dequeued in PHP. */
.hg-form .gform_wrapper { margin: 0; }
.hg-form .gform_heading { display: none; }
.hg-form .gform_fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hg-form .gfield { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.hg-form .gfield--width-half { grid-column: span 1; }
.hg-form .gfield_label,
.hg-form .gfield > legend {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding: 0;
}
.hg-form .gfield_required { color: inherit; margin-left: 2px; }
.hg-form .gfield_radio label small { display: block; font-size: 12px; font-weight: 400; color: var(--ink-muted); }
.hg-form .ginput_container_date input { max-width: none; }
.hg-form .gform_validation_errors h2 { font-size: 13px; font-weight: 500; margin: 0; }
.hg-form .gfield_error input, .hg-form .gfield_error select, .hg-form .gfield_error textarea { border-color: #8a1f11; }
.hg-form .gform_required_legend,
.hg-form .gform_validation_container,
.hg-form .gfield--type-honeypot { display: none !important; }
.hg-form .screen-reader-text,
.hg-form .gfield_visibility_hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.hg-form input[type="text"],
.hg-form input[type="email"],
.hg-form input[type="tel"],
.hg-form input[type="number"],
.hg-form input[type="date"],
.hg-form input[type="url"],
.hg-form select,
.hg-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}
.hg-form textarea { min-height: 160px; resize: vertical; }
.hg-form input:hover, .hg-form select:hover, .hg-form textarea:hover { border-color: var(--ink); }
.hg-form input:focus-visible, .hg-form select:focus-visible, .hg-form textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.hg-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(-45deg, transparent 50%, currentColor 50%);
  background-position: right 20px center, right 14px center;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.hg-form .gfield_radio { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.hg-form .gfield_radio .gchoice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--rule);
  border-radius: 5px;
  background: var(--paper);
  cursor: pointer;
}
.hg-form .gfield_radio .gchoice:hover { border-color: var(--ink); }
.hg-form .gfield_radio label { font-weight: 500; line-height: 1.4; cursor: pointer; }
.hg-form input[type="radio"], .hg-form input[type="checkbox"] { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ink); flex: none; }
.hg-form .gfield_checkbox .gchoice, .hg-form .ginput_container_consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-muted); }
.hg-form .gfield--type-consent .gfield_label { display: none; }
.hg-form .gfield_description { font-size: 12px; color: var(--ink-muted); }
.hg-form .gform_footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 24px 0 0; padding: 8px 0 0; }
.hg-form .gform_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.hg-form .gform_button:hover { background: transparent; color: var(--ink); }
.hg-form .gform_validation_errors,
.hg-form .validation_message { font-size: 13px; color: #8a1f11; }
.hg-form .gform_validation_errors { padding: 12px 16px; border: 1px solid #8a1f11; margin-bottom: 16px; }
.hg-form .gform_confirmation_message { padding: 18px 24px; background: var(--taupe-100); border: 1px solid var(--rule); }

/* Default page content (fallback when a page has no sections)
   ========================================================================== */

.hg-content { padding: 96px 0 120px; }
.hg-content__inner { max-width: 760px; }
.hg-content__inner > * + * { margin-top: 1em; }

/* Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .hg-events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hg-nav { display: none !important; }
  .hg-menu { display: block; }
  .hg-header__right { gap: 12px; }
  .hg-header__contact { display: inline-grid; }
}

/* Text + two images stack here (400 + 440 + 64 gap + 80 wrap padding); images first. */
@media (max-width: 983px) {
  .hg-duo, .hg-duo--rev { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .hg-duo__media { order: -1; flex: none; }
  .hg-duo__text { flex: none; }
}

@media (max-width: 760px) {
  .hg-wrap { padding-left: 24px; padding-right: 24px; }
  .hg-intro__inner { padding-top: 64px; padding-bottom: 56px; gap: 40px; }
  .hg-header__inner { padding: 0 24px; }
  .hg-h1 { font-size: 44px; }
  .hg-h2 { font-size: 38px; }
  .hg-headline { padding: 80px 24px 72px; }
  .hg-headline .serif { font-size: 38px; }
  .hg-section, .hg-section--md { padding: 80px 0; }
  .hg-split__media { min-height: 360px; border-right: 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--rule); }
  .hg-split__body { padding: 56px 24px !important; }
  .hg-split--half .hg-split__body { padding: 80px 24px !important; }
  .hg-facts { flex-direction: column; }
  .hg-facts__side { writing-mode: horizontal-tb; transform: none; border-left: 0; border-bottom: 1px solid var(--rule); padding: 16px; }
  .hg-facts__cell { border-left: 0; border-top: 1px solid var(--rule); }
  .hg-facts__cell:first-of-type { border-top: 0; }
  .hg-inset { position: static; width: 60%; margin: -64px 0 0 auto; }
  .hg-duo__media { padding-bottom: 0; }
  .hg-carousel__head { padding: 48px 24px; }
  .hg-contact__body { padding: 64px 24px; }
  .hg-contact__map { min-height: 360px; border-left: 0; border-top: 1px solid var(--rule); }
  .hg-map { height: 400px; }
  .hg-footer { padding: 80px 24px 32px; }
}

@media (max-width: 640px) {
  .hg-acc__body { padding-left: 0; }
  .hg-acc summary { font-size: 22px; }
  .hg-price { padding: 24px; }
  .hg-form { padding: 24px; }
  .hg-form .gform_fields { grid-template-columns: 1fr; }
  .hg-form .gfield--width-half { grid-column: 1 / -1; }
  .hg-cinfo > div { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 560px) {
  .hg-events { grid-template-columns: 1fr; }
  .hg-facts-dl > div { grid-template-columns: 1fr; gap: 2px; }
  .hg-cols { columns: 1; }
}

/* Entrance animations (assets/js/theme.js adds these classes) */
.hg-reveal {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 1s cubic-bezier(.2, .7, .2, 1), translate 1.1s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--hg-delay, 0ms);
}
.hg-reveal.is-in { opacity: 1; translate: none; }

/* Banners animate as the page loads: the image settles in, then the text
   rises line by line. CSS only, so nothing waits on the script. */
@keyframes hg-rise { from { opacity: 0; translate: 0 24px; } }
@keyframes hg-settle { from { opacity: 0; scale: 1.06; } }
.hg-banner .hg-split__media .hg-cover { animation: hg-settle 1.6s cubic-bezier(.2, .7, .2, 1) both; }
.hg-banner .hg-split__inner > *,
.hg-banner .hg-intro__text > *,
.hg-banner .hg-intro__toc,
.hg-banner .hg-intro__inner > .hg-btns { animation: hg-rise 1s cubic-bezier(.2, .7, .2, 1) both; }
.hg-banner .hg-split__inner > :nth-child(1),
.hg-banner .hg-intro__text > :nth-child(1) { animation-delay: .15s; }
.hg-banner .hg-split__inner > :nth-child(2),
.hg-banner .hg-intro__text > :nth-child(2) { animation-delay: .27s; }
.hg-banner .hg-split__inner > :nth-child(3),
.hg-banner .hg-intro__text > :nth-child(3) { animation-delay: .39s; }
.hg-banner .hg-split__inner > :nth-child(4) { animation-delay: .51s; }
.hg-banner .hg-intro__toc,
.hg-banner .hg-intro__inner > .hg-btns { animation-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
  .hg-banner .hg-split__media .hg-cover,
  .hg-banner .hg-split__inner > *,
  .hg-banner .hg-intro__text > *,
  .hg-banner .hg-intro__toc,
  .hg-banner .hg-intro__inner > .hg-btns { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hg-carousel__track { transition: none; }
  .hg-num__arrow, .hg-num__item--link strong, .hg-num__item--link h3 a { transition: none; }
}
