/* The Haven PDX
   Palette read off the live Wix site: #4E3E63 purple, #A6B1FF current-page
   periwinkle, #363636 ink, #F5F5F5 ground, Raleway throughout.

   The display face on Wix is Alien League, a licensed font that cannot be
   redistributed, so the wordmark effect is reproduced with wide letter-spacing.
   If the board wants the exact face back, export the wordmark as an image and
   drop it in as .hero-word img. */

@font-face{font-family:Raleway;src:url(/assets/fonts/raleway-latin-400-normal.woff2) format('woff2');
  font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Raleway;src:url(/assets/fonts/raleway-latin-400-italic.woff2) format('woff2');
  font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:Raleway;src:url(/assets/fonts/raleway-latin-500-normal.woff2) format('woff2');
  font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:Raleway;src:url(/assets/fonts/raleway-latin-600-normal.woff2) format('woff2');
  font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Raleway;src:url(/assets/fonts/raleway-latin-700-normal.woff2) format('woff2');
  font-weight:700;font-style:normal;font-display:swap}

:root{
  --purple:#4E3E63;
  --purple-dk:#3d3050;
  --peri:#A6B1FF;
  --ink:#363636;
  --ink-2:#63606a;
  --ground:#F5F5F5;
  --card:#fff;
  --line:#e3e0e8;
  --line-2:#f1eff4;
  --soft:#f3f0f8;
  --radius:10px;
  --shadow:0 1px 2px rgba(38,30,56,.05), 0 4px 16px rgba(38,30,56,.07);
  --wrap:1160px;
  --deep:#1b1424;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--card);color:var(--ink);
  font:17px/1.65 Raleway,-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--purple);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{font-weight:600;line-height:1.25;color:var(--ink)}
h1{font-size:clamp(30px,4.4vw,44px);letter-spacing:.01em;margin:0 0 14px}
h2{font-size:clamp(23px,2.8vw,30px);margin:44px 0 12px}
h3{font-size:19px;margin:26px 0 8px}
p{margin:0 0 16px;max-width:74ch}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 22px}
.narrow{max-width:820px}
.skip{position:absolute;left:-9999px;background:var(--purple);color:#fff;padding:10px 16px;z-index:99}
.skip:focus{left:12px;top:12px}
.visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0}
:focus-visible{outline:2px solid var(--purple);outline-offset:2px}

/* ---------- top bar ---------- */
.topbar{background:#fff;border-bottom:1px solid var(--line-2);position:sticky;top:0;z-index:40}
.topbar-in{display:flex;align-items:center;gap:22px;min-height:78px;padding:12px 22px}
.brand{display:flex;align-items:center;gap:11px}
.brand:hover{text-decoration:none}
.brand img{border-radius:8px}
.brand-text{font-size:15px;letter-spacing:.14em;text-transform:uppercase;color:var(--purple);
  font-weight:600;white-space:nowrap}
.sitenav{display:flex;align-items:center;gap:20px;margin-left:auto;flex-wrap:wrap}
.sitenav a{font-size:14px;letter-spacing:.7px;color:var(--purple);white-space:nowrap;
  padding:6px 0;border-bottom:2px solid transparent}
.sitenav a:hover{border-bottom-color:var(--peri);text-decoration:none}
.sitenav a.here{color:var(--peri);border-bottom-color:var(--peri)}

.pill{display:inline-flex;align-items:center;justify-content:center;height:34px;padding:0 20px;
  border:2px solid var(--purple);border-radius:20px;background:transparent;color:var(--purple);
  font-size:14px;letter-spacing:1.2px;font-weight:600;white-space:nowrap;font-family:inherit}
.pill:hover{background:rgba(78,62,99,.07);text-decoration:none}
.pill.solid{background:var(--purple);color:#fff}
.pill.solid:hover{background:var(--purple-dk);color:#fff}
.bar-pill{margin-left:4px}
.nav-pill{display:none}

.burger{display:none;width:30px;height:20px;margin-left:auto;background:none;border:0;padding:0;
  cursor:pointer;flex-direction:column;justify-content:space-between}
.burger i{display:block;height:2px;background:var(--purple);border-radius:2px}

/* ---------- hero ---------- */
.hero{position:relative;background:#2b2233 center/cover no-repeat;color:#fff;text-align:center;
  padding:104px 22px 96px}
.hero::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,
  rgba(20,14,26,.44),rgba(20,14,26,.62));z-index:0}
.hero > *{position:relative;z-index:1}
.hero h1{color:#fff;font-size:clamp(34px,7vw,68px);font-weight:300;letter-spacing:.3em;
  text-transform:uppercase;margin:0 0 16px;text-indent:.3em}
.hero p{color:#f2ecf5;font-size:clamp(13px,1.6vw,16px);letter-spacing:.16em;text-transform:uppercase;
  max-width:none;margin:0 auto}
.hero .btns{margin-top:30px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.hero .pill{height:44px;border-color:#fff;color:#fff;font-size:14px}
.hero .pill:hover{background:rgba(255,255,255,.14)}
.hero .pill.solid{background:#fff;color:var(--purple);border-color:#fff}
.hero .pill.solid:hover{background:#f0e9f7;color:var(--purple)}

/* ---------- sections ---------- */
section{padding:56px 0}
section.tint{background:var(--ground)}
.lede{font-size:19px;color:var(--ink-2);max-width:70ch}
.eyebrow{font-size:12.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--purple);
  font-weight:600;margin:0 0 8px}
.center{text-align:center}
.center p{margin-left:auto;margin-right:auto}

.cards{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));margin-top:26px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow);padding:22px;display:flex;flex-direction:column}
.card h3{margin:0 0 8px}
.card p{font-size:15.5px;color:var(--ink-2);flex:1}
.card .more{font-weight:600;font-size:14.5px;letter-spacing:.02em}

.facts{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));margin:26px 0 0}
.fact{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:16px 18px}
.fact .n{font-size:26px;font-weight:600;color:var(--purple)}
.fact .l{font-size:14px;color:var(--ink-2)}

/* studio availability */
.studios{width:100%;border-collapse:collapse;margin-top:22px;background:#fff}
.studios th,.studios td{text-align:left;padding:11px 14px;border-bottom:1px solid var(--line-2)}
.studios th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--ink-2);
  border-bottom:1px solid var(--line)}
.studios td.rate{font-weight:600;white-space:nowrap}
.tag{display:inline-block;font-size:12px;padding:2px 9px;border-radius:20px;background:var(--soft);
  color:var(--purple);border:1px solid #ddd3ea;white-space:nowrap}
.table-wrap{overflow-x:auto}

/* lists */
.ticks{list-style:none;padding:0;margin:18px 0 0;display:grid;gap:10px;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.ticks li{padding-left:26px;position:relative;font-size:15.5px;color:var(--ink-2);max-width:60ch}
.ticks li::before{content:'';position:absolute;left:4px;top:9px;width:8px;height:8px;
  border-radius:50%;background:var(--peri)}

/* people */
.people{display:grid;gap:18px;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));margin-top:26px}
.person{text-align:center}
.person img,.person .ph{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px;
  background:var(--soft)}
.person .nm{font-weight:600;font-size:15px;margin:9px 0 1px}
.person .ig{font-size:13.5px;color:var(--ink-2)}

/* faq */
.faq{margin-top:24px;max-width:80ch}
.faq details{border:1px solid var(--line);border-radius:var(--radius);padding:14px 18px;
  margin-bottom:10px;background:#fff}
.faq summary{cursor:pointer;font-weight:600;font-size:16.5px;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';float:right;color:var(--purple);font-weight:400;font-size:20px;
  line-height:1}
.faq details[open] summary::after{content:'\2212'}
.faq p{margin:12px 0 2px;color:var(--ink-2);font-size:15.5px}

/* principles */
.principles{counter-reset:p;margin-top:26px}
.principle{border-left:3px solid var(--peri);padding:2px 0 2px 20px;margin-bottom:26px}
.principle h3{margin:0 0 6px}
.principle p{color:var(--ink-2);font-size:16px;margin:0}

/* callout */
.callout{background:var(--purple);color:#fff;border-radius:14px;padding:34px;text-align:center;
  margin-top:44px}
.callout h2{color:#fff;margin:0 0 10px}
.callout p{color:#e8e0f2;margin:0 auto 20px}
.callout .pill{border-color:#fff;color:#fff;height:44px}
.callout .pill:hover{background:rgba(255,255,255,.16)}
.callout .pill.solid{background:#fff;color:var(--purple)}
.callout .pill.solid:hover{background:#f0e9f7}

.figure{margin:26px 0}
.figure img{border-radius:var(--radius);width:100%}
.figure figcaption{font-size:13.5px;color:var(--ink-2);margin-top:8px}
.two{display:grid;gap:34px;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));align-items:start}

/* ---------- footer ---------- */
.foot{background:#211a2c;color:#cfc7da;margin-top:64px;padding:48px 0 0;font-size:15px}
.foot-in{display:grid;gap:30px;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.foot a{color:#e2dbec;display:block;padding:3px 0}
.foot a:hover{color:#fff}
.foot-name{font-size:15px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:#fff;
  margin:0 0 10px}
.foot-head{font-size:12.5px;letter-spacing:.12em;text-transform:uppercase;color:#9b90ad;
  font-weight:600;margin:0 0 8px}
.social-head{margin-top:18px}
.foot address{font-style:normal;margin-bottom:14px;line-height:1.7}
.foot-hours{font-size:14px;color:#b3a9c2;margin:0}
.foot-hours strong{color:#fff;font-weight:600}
.social a{display:inline-block;margin-right:14px}
.foot-legal{border-top:1px solid #352b45;margin-top:36px;padding-top:16px;padding-bottom:20px}
.foot-legal p{font-size:13px;color:#8d84a0;margin:0}

/* ---------- phones ---------- */
/* Between these widths the nav is the thing that must fit; the wordmark is
   decoration next to a logo that is already there. Hiding it buys ~180px and
   keeps the links on one line instead of wrapping to three. */
@media (max-width:1240px) and (min-width:901px){
  .brand-text{display:none}
  .sitenav{gap:17px}
  .sitenav a{font-size:13.5px}
}

@media (max-width:900px){
  .burger{display:flex}
  .bar-pill{margin-left:14px;order:2}
  .burger{order:1;margin-left:auto}
  .sitenav{order:3;display:none;width:100%;flex-direction:column;align-items:flex-start;gap:0;
    margin:8px 0 0;border-top:1px solid var(--line-2);padding-top:8px}
  .sitenav.open{display:flex}
  .sitenav a{width:100%;padding:11px 0;border-bottom:1px solid var(--line-2);font-size:16px}
  .sitenav a.here{border-bottom-color:var(--line-2)}
  /* The pill repeats inside the open menu, because a member who opened the menu
     looking for the way in should find it there too. */
  .nav-pill{display:inline-flex;width:auto;margin-top:14px;border-bottom:0}
  .topbar-in{flex-wrap:wrap;min-height:0}
  section{padding:42px 0}
  .hero{padding:74px 20px 66px}
  .callout{padding:26px 20px}
}
@media (max-width:420px){
  .brand-text{font-size:13px;letter-spacing:.1em}
  .bar-pill{height:32px;padding:0 14px;font-size:13px;letter-spacing:.6px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* ---------- studio listing ----------
   Cards rather than table rows, because a room is a thing you look at before
   you read its square footage. The photo carries the decision; the rate is the
   second thing the eye should reach. */
.listing{display:grid;gap:22px;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));
  margin:22px 0 10px}
.studio{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  box-shadow:var(--shadow);display:flex;flex-direction:column}
.studio-photo{width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--soft);display:block}
.studio-photo.ph{display:flex;align-items:center;justify-content:center}
.studio-photo.ph span{font-size:30px;font-weight:600;letter-spacing:.1em;color:var(--purple);
  opacity:.4}
.studio-body{padding:16px 18px 18px;display:flex;flex-direction:column;flex:1}
.studio-top{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.studio-top h3{margin:0;font-size:18px}
.studio-rate{margin:0;font-size:20px;font-weight:600;color:var(--purple);white-space:nowrap}
.studio-rate span{font-size:13px;font-weight:400;color:var(--ink-2)}
.studio-meta{margin:4px 0 0;font-size:13.5px;color:var(--ink-2);display:flex;align-items:center;
  gap:8px;flex-wrap:wrap}
.studio-note{margin:10px 0 16px;font-size:14.5px;color:var(--ink-2);flex:1}
.studio-body .pill{align-self:flex-start;height:32px;font-size:13px;letter-spacing:.6px}
.studio.soon .studio-photo{filter:saturate(.75)}

/* ---------- members landing ---------- */
.members-panel{max-width:520px;margin:0 auto;background:#fff;border:1px solid var(--line);
  border-radius:14px;box-shadow:var(--shadow);padding:30px;text-align:center}
.members-panel h1{font-size:26px}
.members-panel .pill{height:44px;margin-top:6px}
.members-list{text-align:left;margin:22px auto 0;max-width:420px}


/* ==========================================================================
   v2, approved from mockups/home-v2.html.

   The rule that fixes what was wrong before: the photograph IS the tile. Words
   sit on the image, not underneath it in a white card, and tiles take different
   spans so a section reads as a composition rather than a row of equal boxes.
   ========================================================================== */

/* ---------- hero ---------- */
.hero-photo{position:relative;min-height:86vh;display:flex;flex-direction:column;align-items:center;
  justify-content:center;text-align:center;color:#fff;overflow:hidden;background:#1a1119}
.hero-photo .bg{position:absolute;inset:0;background-size:cover;background-repeat:no-repeat;
  background-position:50% 44%}
.hero-photo .veil{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 40%,
  rgba(16,10,20,.10),rgba(16,10,20,.55) 58%,rgba(16,10,20,.82))}
.hero-photo .inner{position:relative;z-index:2;padding:120px 24px 170px}
.hero-mark{width:96px;height:96px;border-radius:50%;object-fit:cover;margin:0 auto 26px;
  box-shadow:0 0 0 1px rgba(255,255,255,.28),0 14px 46px rgba(0,0,0,.5)}
.hero-photo h1{color:#fff;margin:0 0 18px;font-weight:300;font-size:clamp(34px,7.5vw,74px);
  letter-spacing:.34em;text-indent:.34em;text-transform:uppercase;line-height:1.05}
.hero-photo .tagline{margin:0;font-size:clamp(12px,1.5vw,15px);letter-spacing:.24em;
  text-transform:uppercase;color:#efe6f2;max-width:none}
.hero-photo .btns{margin-top:34px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.hero-photo .pill{height:46px;border-color:rgba(255,255,255,.85);color:#fff}
.hero-photo .pill:hover{background:rgba(255,255,255,.16)}
.hero-photo .pill.solid{background:#fff;color:var(--purple);border-color:#fff}
.hero-photo .pill.solid:hover{background:#efe7f7;color:var(--purple)}
/* The white arc. The one piece of shape language their site has. */
.hero-photo .arc{position:absolute;left:-6%;right:-6%;bottom:-1px;z-index:3;height:120px}
.hero-photo .arc svg{width:100%;height:100%;display:block}
/* Inner pages: enough photograph to set the mood, not so much that the reader
   has to scroll to reach the first sentence. */
.hero-photo.inner{min-height:52vh}
.hero-photo.inner .inner{padding:86px 24px 130px}
.hero-photo.inner h1{letter-spacing:.05em;text-transform:none;font-weight:600;text-indent:0;
  font-size:clamp(28px,4.6vw,46px)}
.hero-photo.inner .arc{height:90px}

/* ---------- image tiles ---------- */
/* Row heights come from the grid, not from each tile's own aspect ratio.
   Per-tile aspect-ratio made a 7-wide tile 403px tall next to a 5-wide tile at
   343px, so the shorter one left a white gap under it and looked shrunken. Now
   every tile in a band spans the same number of grid rows, so the band has one
   height and the tiles differ only in width, which is the composition. */
.tiles{display:grid;grid-template-columns:repeat(12,1fr);gap:14px;margin-top:26px;
  grid-auto-rows:150px}
.tile{position:relative;overflow:hidden;border-radius:14px;min-height:220px;display:block;
  color:#fff;background:#241b2e}
.tile:hover{text-decoration:none}
.tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.tile:hover img{transform:scale(1.045)}
.tile::after{content:'';position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(14,9,18,0) 34%,rgba(14,9,18,.72) 100%)}
.tile .cap{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;
  justify-content:flex-end;padding:22px 24px}
.tile h3{margin:0 0 6px;font-size:21px;font-weight:600;color:#fff}
.tile p{margin:0;font-size:14.5px;line-height:1.55;color:#e2d9ec;max-width:42ch}
.tile .go{margin-top:12px;font-size:13px;letter-spacing:.12em;text-transform:uppercase;
  font-weight:600;color:#fff;opacity:.9}
.t-4{grid-column:span 4;grid-row:span 2}
.t-5{grid-column:span 5;grid-row:span 3}
.t-6{grid-column:span 6;grid-row:span 2}
.t-7{grid-column:span 7;grid-row:span 3}
.t-8{grid-column:span 8;grid-row:span 3}
.tile{min-height:0}

/* ---------- dark section ---------- */
section.dark{background:var(--deep);color:#ddd4e8}
section.dark h1,section.dark h2,section.dark h3{color:#fff}
section.dark p,section.dark .lede{color:#c3b8d2}
section.dark a{color:#cbb8e6}
section.dark .eyebrow{color:var(--peri)}
section.dark .ticks li{color:#c3b8d2}
section.dark .pill{border-color:rgba(255,255,255,.8);color:#fff}
section.dark .pill:hover{background:rgba(255,255,255,.16)}
section.dark .shots figcaption{color:#a99cbd}

/* key/value block, used for hours and address */
.hours{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:rgba(255,255,255,.14);
  border-radius:12px;overflow:hidden;margin:26px 0 24px;max-width:460px}
.hours div{background:var(--deep);padding:14px 16px}
.hours .k{font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;color:#9d90b0}
.hours .v{font-size:17px;color:#fff;font-weight:600;margin-top:3px}

/* photo beside prose */
.split{display:grid;gap:44px;grid-template-columns:1.05fr .95fr;align-items:center;margin-top:8px}
.split img{width:100%;border-radius:14px;aspect-ratio:4/3;object-fit:cover}

/* edge-to-edge photo strip */
.strip{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.strip img{width:100%;aspect-ratio:1;object-fit:cover}

/* square grid with captions */
.shots{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));margin-top:24px}
.shots figure{margin:0}
.shots img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:var(--radius);display:block;
  background:var(--soft)}
.shots figcaption{font-size:13px;color:var(--ink-2);margin-top:7px}

@media (max-width:900px){
  .hero-photo{min-height:70vh}
  .hero-photo .inner{padding:80px 20px 130px}
  .hero-photo.inner{min-height:auto}
  .hero-photo.inner .inner{padding:64px 20px 100px}
  .tiles{gap:12px;grid-auto-rows:auto}
  .t-4,.t-5,.t-6,.t-7,.t-8{grid-column:span 12;grid-row:auto;aspect-ratio:16/10}
  .split{grid-template-columns:1fr;gap:26px}
  .strip{grid-template-columns:repeat(2,1fr)}
}
