/* Ohbubble — static rebuild of the original Squarespace (Brine) design.
   Fonts: Figtree stands in for Proxima Nova (Adobe font, not licensable outside Squarespace);
   Raleway is the same font the old site used. Both are self-hosted, OFL-licensed. */

@font-face { font-family: "Figtree"; src: url("../fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../fonts/raleway.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --pad: 100px;                       /* page side padding */
  --header-h: 94px;
  --mobile-bar-h: 102px;
  --gutter: 17px;                     /* half of the 34px column gutter */
  --text: rgba(23, 23, 23, .75);
  --ink: #171717;
  --h3: #504e4e;
  --sans: "Figtree", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.55, 0, .1, 1);
}
@media (max-width: 1024px) { :root { --pad: 64px; } }
@media (max-width: 960px)  { :root { --pad: 48px; } }
@media (max-width: 768px)  { :root { --pad: 36px; } }
@media (max-width: 640px)  { :root { --pad: 20px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--text);
  font: 400 15px/1 var(--sans);
  -webkit-font-smoothing: subpixel-antialiased;
}
main { flex: 1 0 auto; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
strong, b { font-weight: 700; }
button { font: inherit; color: inherit; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; padding: 12px 16px; background: #000; color: #fff; }
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- desktop header ---------- */
.site-header { position: relative; z-index: 1000; height: var(--header-h); background: #fff; }
.has-banner .site-header { position: absolute; top: 0; left: 0; right: 0; background: none; }
.site-header__inner {
  max-width: 1600px; height: 100%; margin: 0 auto;
  padding: 49px var(--pad) 0;
  display: flex; justify-content: flex-end; align-items: flex-start;
}
.site-nav { display: flex; gap: 26px; }
.site-nav a {
  padding: 8px 0;
  font: 500 13px/13px var(--display);
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(23, 23, 23, .9);
  transition: color .1s linear;
}
.site-nav a:hover { color: rgba(23, 23, 23, .36); }
.has-banner .site-nav a { color: #fff; }
.has-banner .site-nav a:hover { color: rgba(255, 255, 255, .4); }

/* ---------- mobile bar + menu (≤ 640px) ---------- */
.mobile-bar, .mobile-menu { display: none; }
@media (max-width: 640px) {
  body { padding-top: var(--mobile-bar-h); }
  .site-header { display: none; }
  .mobile-bar {
    display: flex; justify-content: space-between; align-items: center;
    position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
    height: var(--mobile-bar-h); padding: 8px 12px; background: #fff;
  }
  .mobile-bar__logo { padding: 8px; }
  .mobile-bar__logo img { width: 125px; height: auto; }
  .mobile-bar__menu { padding: 8px; border: 0; background: none; cursor: pointer; line-height: 0; }
  .mobile-bar__menu svg { width: 24px; height: 18px; stroke: #000; stroke-width: 1; fill: none; }

  .mobile-menu {
    display: block; position: fixed; inset: 0; z-index: 1010;
    visibility: hidden; background: rgba(0, 0, 0, 0);
    transition: visibility 0s .525s, background-color .35s var(--ease) .175s;
  }
  .mobile-menu.is-open { visibility: visible; background: #000; transition: visibility 0s, background-color .35s var(--ease); }
  .mobile-menu__back { position: absolute; inset: 0; border: 0; padding: 0; background: none; }
  .mobile-menu__close {
    position: absolute; top: 0; left: 0; z-index: 1;
    width: 60px; height: 60px; padding: 22px; border: 0; line-height: 0; cursor: pointer;
    background: rgba(31, 59, 107, 0); transition: background-color .35s var(--ease);
  }
  .mobile-menu.is-open .mobile-menu__close { background: rgba(31, 59, 107, .4); transition-delay: .175s; }
  .mobile-menu__close svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 1.5; fill: none; }
  .mobile-menu__panel {
    position: absolute; top: 0; right: 0; bottom: 0; z-index: 2;
    width: calc(100% - 60px); padding: 36px; overflow: auto;
    background: #000; -webkit-font-smoothing: antialiased;
    transform: translate3d(100%, 0, 0); transition: transform .35s var(--ease);
    outline: none;
  }
  .mobile-menu.is-open .mobile-menu__panel { transform: none; }
  .mobile-menu__panel a {
    display: block; padding-bottom: .618em;
    font: 700 14px/42px var(--sans); letter-spacing: .01em; text-transform: uppercase; color: #fff;
  }
  html.menu-open { overflow: hidden; }
}

/* ---------- full-bleed image sections (home sections + page banners) ---------- */
.parallax { position: relative; overflow: hidden; background: #000; }
.parallax__bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; will-change: transform; }
.parallax__bg img { width: 100%; height: 100%; object-fit: cover; }

.banner, .section { color: rgba(255, 255, 255, .8); -webkit-font-smoothing: antialiased; }
.banner__inner {
  position: relative; z-index: 2;
  max-width: 1600px; margin: 0 auto;
  padding: calc(var(--header-h) + 100px) var(--pad) 100px;
}
@media (max-width: 640px) { .banner__inner { padding: 60px var(--pad); } }

.section__inner {
  position: relative; z-index: 2;
  max-width: 1600px; margin: 0 auto;
  padding: 67px var(--pad);
}
.section--hero { display: flex; min-height: 80vh; }
.section--hero .section__inner { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + 67px); padding-bottom: 67px; }
.hero-spacer { padding-bottom: 32.58%; margin-top: 130px; }   /* keeps the original hero proportions */
@media (max-width: 640px) {
  .section--hero { min-height: calc(80vh - var(--mobile-bar-h)); }
  .section__inner, .section--hero .section__inner { padding-top: 60px; padding-bottom: 60px; }
  .hero-spacer { display: none; }
}

.scroll-indicator {
  position: absolute; bottom: 0; left: 50%; z-index: 3; transform: translateX(-50%);
  padding: 0 10px; border: 0; background: none; cursor: pointer;
  text-align: center; line-height: 0; color: #fff;
}
.scroll-indicator__text { display: block; margin-bottom: 16px; font: 400 12px/1 var(--display); text-transform: uppercase; color: #fff; }
.scroll-indicator svg { width: 48px; height: 23px; margin-bottom: 18px; fill: none; stroke: #fff; stroke-width: 1; transition: transform .17s ease-out; }
.scroll-indicator:hover svg { transform: translateY(.5vh); }
.scroll-indicator__text, .scroll-indicator svg { transition: transform .17s ease-out, opacity .17s ease-out; }
.scroll-indicator.is-hidden { pointer-events: none; }
.scroll-indicator.is-hidden .scroll-indicator__text, .scroll-indicator.is-hidden svg { opacity: 0; transform: translateY(20px); }

/* ---------- main content ---------- */
.main__inner { max-width: 1600px; margin: 0 auto; padding: 110px var(--pad); }
@media (max-width: 640px) { .main__inner { padding: 60px var(--pad); } }

/* 12-column grid with 34px gutters, like Squarespace's layout engine */
.row { display: flex; margin: 0 calc(-1 * var(--gutter)); }
.col { flex: 0 0 auto; min-width: 0; }
.col-1 { width: 8.3333%; }  .col-2 { width: 16.6667%; } .col-3 { width: 25%; }       .col-4 { width: 33.3333%; }
.col-5 { width: 41.6667%; } .col-6 { width: 50%; }      .col-7 { width: 58.3333%; }  .col-8 { width: 66.6667%; }
.col-9 { width: 75%; }      .col-10 { width: 83.3333%; } .col-11 { width: 91.6667%; } .col-12 { width: 100%; }
.row .row { margin-left: 0; margin-right: 0; }
.block { padding: var(--gutter); }
/* Squarespace trims the padding at the top of each layout (desktop only) */
@media (min-width: 641px) {
  .layout > .row:first-child > .col > .block:first-child,
  .layout > .row:first-child > .col:first-child > .row:first-child > .col > .block:first-child { padding-top: 0; }
  .layout > .row:first-child > .col > .block:only-child,
  .layout > .row:first-child > .col:first-child > .row:first-child > .col > .block:only-child { padding-bottom: 0; }
  .banner .block { padding-top: 0; padding-bottom: 0; }
}
@media (max-width: 640px) {
  .row { flex-direction: column; }
  .col { width: 100%; }
  .block--spacer { display: none; }
}
.block--spacer > div { box-sizing: content-box; }

/* ---------- typography ---------- */
.text > :first-child { margin-top: 0; }
.text > :last-child { margin-bottom: 0; }
h1, h2, h3 { text-rendering: optimizeLegibility; white-space: pre-wrap; }
h1 { margin: .67em 0; font: 300 28px/.9em var(--display); text-transform: uppercase; color: var(--ink); }
h1 strong { font-weight: 700; }
h2 { margin: .83em 0; font: 500 37px/0 var(--sans); letter-spacing: .01em; color: rgba(23, 23, 23, .8); }
h3 { margin: 1em 0; font: 600 15px/1em var(--sans); text-transform: uppercase; color: var(--h3); }
p { margin: 1em 0; white-space: pre-wrap; }
/* the old bold font sat 1px taller than the regular one; keeps the same vertical rhythm */
p strong, li strong, h3 strong { line-height: calc(1em + 1px); }
@media (max-width: 640px) { h2 { font-size: 28px; letter-spacing: 0; } }

ul, ol { margin: 1em 0; padding-left: 40px; }
ul { list-style: none; }
li > p { margin: .5em 0; }
ul > li > p::before { content: "•"; display: inline-block; width: 40px; margin-left: -40px; padding-right: 10px; text-align: right; white-space: pre; }
pre { margin: 0; font: 400 15px/1 monospace; white-space: pre; }
code { font: inherit; }

.ta-center { text-align: center; }
.ta-right { text-align: right; }
.u { text-decoration: underline; }

/* links inside text */
.text p a, .text li a, .text h3 a, .text blockquote a {
  padding-bottom: .05em;
  border-bottom: 1px solid rgba(23, 23, 23, .24);
  color: rgba(23, 23, 23, .8);
  transition: color .15s ease-out, border-color .15s ease-out;
}
.text p a:hover, .text li a:hover, .text h3 a:hover { color: rgba(23, 23, 23, .4); border-color: rgba(23, 23, 23, .1); }
.text pre a { border: 0; padding: 0; }

/* text on dark image sections */
.banner h1, .banner h2, .section h1, .section h2 { color: #fff; }
.banner .text p a, .section .text p a { color: #fff; border-bottom-color: rgba(255, 255, 255, .3); }
.banner .text p a:hover, .section .text p a:hover { color: rgba(255, 255, 255, .6); border-bottom-color: rgba(255, 255, 255, .15); }

/* ---------- buttons ---------- */
.button-wrap { display: flex; }
.button-wrap--center { justify-content: center; }
.button-wrap--right { justify-content: flex-end; }
.button {
  display: inline-block;
  padding: 13px 26px;
  border: 2px solid #212121;
  font: 600 12px/17px var(--sans);
  text-transform: uppercase;
  text-align: center;
  color: #212121;
  transition: background-color .1s linear, color .1s linear;
}
.button:hover { background: #212121; color: #fff; }
.banner .button, .section .button { border-color: #fff; color: #fff; }
.banner .button:hover, .section .button:hover { background: #fff; color: #1d1d1d; }

/* ---------- images & video ---------- */
.image { display: block; position: relative; overflow: hidden; }
.image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.image--square { padding-bottom: 100%; }
.block--image-caption .image { margin-bottom: 18px; }   /* room the old layout kept for an (empty) caption */
.video { position: relative; height: 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- accordion (plan pages) ---------- */
/* spacing comes from per-accordion custom properties set inline (copied from the old site) */
.accordion {
  --item-padding-top: 30px; --item-padding-right: 0px; --item-padding-bottom: 30px; --item-padding-left: 0px;
  --icon-size: 12px; --icon-thickness: 1px; --divider-thickness: 1px; --description-width: 70%;
  --description-padding-top: 0px; --description-padding-right: 0px; --description-padding-bottom: 30px; --description-padding-left: 0px;
  margin: 0; padding: 0; list-style: none;
}
.accordion__item { border-top: var(--divider-thickness) solid #000; }
.accordion__item:last-child { border-bottom: var(--divider-thickness) solid #000; }
.accordion__title { margin: 0; font: inherit; white-space: normal; }
.accordion__button {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  padding: var(--item-padding-top) var(--item-padding-right) var(--item-padding-bottom) var(--item-padding-left);
  border: 0; background: none; cursor: pointer; text-align: left;
  font: 600 15px/1em var(--sans); text-transform: uppercase; color: var(--h3);
}
.accordion__label { flex: 1; padding-right: 12px; }
.accordion__icon { position: relative; flex: none; width: var(--icon-size); height: var(--icon-size); }
.accordion__icon--arrow::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: calc(var(--icon-size) / 1.4142); height: calc(var(--icon-size) / 1.4142);
  border: solid #000; border-width: 0 var(--icon-thickness) var(--icon-thickness) 0; box-sizing: border-box;
  transform: translate(-50%, -75%) rotate(45deg); transition: transform .2s ease-in-out;
}
.accordion__button[aria-expanded="true"] .accordion__icon--arrow::before { transform: translate(-50%, -25%) rotate(225deg); }
.accordion__icon--plus::before, .accordion__icon--plus::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 100%;
  height: var(--icon-thickness); transform: translateY(-50%); background: #000;
  transition: transform .2s ease-in-out;
}
.accordion__icon--plus::after { transform: translateY(-50%) rotate(90deg); }
.accordion__button[aria-expanded="true"] .accordion__icon--plus::after { transform: translateY(-50%) rotate(0deg); }
/* collapsed answers are hidden from screen readers too (visibility), not just clipped */
.accordion__panel { overflow: hidden; height: 0; visibility: hidden; transition: height .3s ease-in-out, visibility 0s linear .3s; }
.accordion__panel.is-open { visibility: visible; transition: height .3s ease-in-out, visibility 0s; }
.accordion__body {
  max-width: var(--description-width); line-height: 1em;
  padding: var(--description-padding-top) var(--description-padding-right) var(--description-padding-bottom) var(--description-padding-left);
}
.accordion__body > p { margin: 0; }
.accordion__body > p + p { margin-top: 1em; }
.no-js .accordion__panel { height: auto; visibility: visible; }

/* ---------- footer ---------- */
.site-footer { background: #000; -webkit-font-smoothing: antialiased; }
.site-footer__inner { max-width: 1600px; margin: 0 auto; padding: 28px var(--pad) 8px; }
.site-footer h3 { margin: 0; color: #fff; text-align: center; letter-spacing: .01em; }
.site-footer a {
  padding-bottom: .05em;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  transition: color .15s ease-out, border-color .15s ease-out;
}
.site-footer a:hover { color: rgba(255, 255, 255, .6); border-bottom-color: rgba(255, 255, 255, .15); }
@media (max-width: 640px) { .site-footer__inner { padding: 45px var(--pad) 25px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; }
}
