@font-face{font-family:"DM Sans";src:url(assets/dm-sans.woff2) format("woff2");font-weight:400 700;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url(assets/instrument.woff2) format("woff2");font-display:swap}
@font-face{font-family:"Instrument Serif";src:url(assets/instrument-italic.woff2) format("woff2");font-style:italic;font-display:swap}

:root {
  --paper: #edf2f4;
  --ink: #2b2d42;
  --steel: #8d99ae;
  --red: #ef233c;
  --deep-red: #d90429;
  --heading: "Instrument Serif", Georgia, serif;
  --body: "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
figure, h1, h2, p, dl, dd { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
.skip { position: absolute; z-index: 10; top: 12px; left: 12px; transform: translateY(-160%); background: var(--paper); padding: 12px; }
.skip:focus { transform: none; }
.wrap { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.header-row { min-height: 90px; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.wordmark { display: block; width: 130px; flex: none; }
.wordmark img { height: auto; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2.15vw, 30px); }
.site-nav a, .footer-row > a:not(.wordmark) { font-size: 14px; font-weight: 600; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"], .footer-row > a:hover { text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 49px; padding: 11px 18px; border: 1px solid transparent; border-radius: 2px; font-size: 14px; font-weight: 700; text-decoration: none; transition: background .18s ease, color .18s ease; }
.button span, .text-link span { font-size: 17px; }
.arrow-up { position: relative; display: inline-block; width: 12px; height: 12px; flex: none; }
.arrow-up::before { content: ""; position: absolute; top: 1px; right: 1px; width: 7px; height: 7px; border-top: 1px solid; border-right: 1px solid; }
.arrow-up::after { content: ""; position: absolute; top: 6px; left: 0; width: 12px; border-top: 1px solid; transform: rotate(-45deg); }
.button-outline { border-color: var(--steel); }
.button-outline:hover, .button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: var(--deep-red); }
.button-light { background: var(--deep-red); color: var(--paper); }
.button-light:hover { background: var(--paper); color: var(--ink); }
.header-button { white-space: nowrap; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.text-link:hover { text-decoration-thickness: 2px; }
.hero { color: var(--paper); background: var(--ink); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 38px; padding-block: 36px; align-items: center; }
.hero-copy { padding: 25px 0 37px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .17em; line-height: 1.5; text-transform: uppercase; }
.hero .eyebrow, .subpage-hero .eyebrow { color: var(--paper); }
h1, h2 { font-family: var(--heading); font-weight: 400; letter-spacing: -.035em; }
h1 { margin-top: 25px; font-size: clamp(75px, 8.3vw, 127px); line-height: .82; }
h1 em { color: var(--steel); }
h2 { font-size: clamp(57px, 6.6vw, 100px); line-height: .91; }
h2 em { color: var(--ink); }
.intro { max-width: 350px; margin-top: 27px; color: var(--paper); font-size: 17px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 25px; }
.hero-media { display: grid; align-items: center; min-height: clamp(460px, 47vw, 650px); }
.hero-media video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.studios { padding-block: 104px 110px; }
.section-heading { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: end; margin-bottom: 35px; }
.section-heading h2, .leasing h2, .visit h2 { margin-top: 14px; }
.section-heading > p, .leasing-intro, .visit-copy > p:not(.eyebrow) { max-width: 360px; color: var(--ink); font-size: 17px; line-height: 1.62; }
.studio-photo { background: rgba(141,153,174,.2); }
.studio-photo figcaption { padding: 16px 18px; font-size: 14px; font-weight: 700; }
.leasing { background: rgba(141,153,174,.24); padding-block: 97px; }
.leasing-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 8vw, 120px); align-items: center; }
.leasing-intro, .visit-copy > p:not(.eyebrow) { margin: 20px 0 22px; }
.lease-details > div { border-top: 1px solid var(--steel); padding: 19px 0; }
.lease-details > div:last-child { border-bottom: 1px solid var(--steel); }
.lease-details dt { font-weight: 700; margin-bottom: 5px; }
.lease-details dd { color: var(--ink); line-height: 1.6; }
.visit { padding-block: 103px; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 8vw, 120px); align-items: center; }
.location { padding: clamp(25px, 5vw, 65px); border: 1px solid var(--steel); }
.location address { margin: 18px 0; font: clamp(30px, 3.8vw, 54px)/1.02 var(--heading); }
.site-footer { background: var(--ink); color: var(--paper); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding-block: 30px; }
.footer-row .wordmark { margin-right: auto; }
.footer-row .arrow-up { margin-left: 3px; }

@media (max-width: 950px) {
  .wrap { width: calc(100% - 64px); }
  h1 { font-size: clamp(68px, 10vw, 94px); }
  .hero-grid { gap: 23px; }
  .hero-media { min-height: clamp(335px, 44vw, 420px); }
  .hero-actions { gap: 15px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 38px); }
  .header-row { min-height: 70px; gap: 12px 14px; }
  .header-row .wordmark { width: 111px; }
  .header-row { display: grid; grid-template-columns: 1fr auto; padding-block: 12px; }
  .header-button { grid-column: 2; grid-row: 1; }
  .site-nav { display: grid; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; justify-items: start; align-items: stretch; gap: 0 14px; border-top: 1px solid var(--steel); }
  .site-nav a { display: flex; align-items: center; min-height: 40px; padding-block: 5px; font-size: 12px; }
  .header-button { min-height: 43px; }
  .hero-grid, .section-heading, .leasing-grid, .visit { grid-template-columns: 1fr; }
  .hero-grid { gap: 0; padding-block: 22px 19px; }
  .hero-copy { padding: 15px 0 31px; }
  .hero-media { min-height: 0; }
  h1 { margin-top: 20px; font-size: clamp(68px, 15vw, 95px); }
  .intro { margin-top: 21px; }
  .hero-actions { margin-top: 20px; }
  .studios, .leasing, .visit { padding-block: 61px; }
  .section-heading { gap: 17px; margin-bottom: 22px; }
  .leasing-grid, .visit { gap: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.subpage-hero { background: var(--ink); color: var(--paper); padding-block: clamp(55px, 8vw, 105px); }
.subpage-hero h1 { font-size: clamp(59px, 8vw, 113px); }
.subpage-hero .button { margin-top: 24px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(220px, 1fr); gap: clamp(30px, 6vw, 85px); padding-block: 65px; align-items: start; }
.rental-article { font-size: 17px; line-height: 1.67; }
.rental-article h2 { font-size: clamp(34px, 4vw, 51px); line-height: 1; margin: 38px 0 13px; }
.rental-article h2:first-child { margin-top: 0; }
.rental-article p + p, .rental-article li + li { margin-top: .55em; }
.article-aside { padding: 24px; background: rgba(141,153,174,.2); }
.article-aside h2 { font-size: 44px; }
.article-aside p { margin: 12px 0 18px; line-height: 1.55; }
.availability { padding-block: 65px; }
.studio-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.studio-photos img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 700px) {
  .desktop-break { display: none; }
  .article-layout, .studio-photos { grid-template-columns: 1fr; }
  .article-layout, .availability { padding-block: 45px; }
}

.contact-details { border: 1px solid var(--steel); }
.contact-details .location, .contact-inquiry { padding: clamp(24px, 4vw, 48px); }
.contact-details .location { border: 0; }
.contact-inquiry { background: rgba(141,153,174,.18); }
.contact-inquiry h3 { margin: 0; font: 36px/1 var(--heading); }
.contact-inquiry p, .availability-details p { margin-block: 12px 18px; line-height: 1.55; }

.article-aside ul { display: grid; gap: 10px; padding-left: 20px; }
.article-aside li a { text-underline-offset: 3px; }
.guide-tour { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--steel); }
@media (min-width: 701px) {
  .article-aside { position: sticky; top: 24px; }
}

.availability-details { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(24px, 6vw, 90px); padding-top: clamp(30px, 5vw, 65px); }
.availability-details h2 { font-size: clamp(46px, 5vw, 75px); }
@media (max-width: 700px) {
  .availability-details { grid-template-columns: 1fr; }
  .article-aside { grid-row: 1; }
}

.barber-listing { margin-top: clamp(48px, 7vw, 88px); }
.barber-listing > img { max-width: 850px; }

.studio-photos.studio-photos-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .studio-photos.studio-photos-2 { grid-template-columns: 1fr; } }

/* added for Netlify: contact form, legal and article pages */
.inquiry-form { display: grid; gap: 14px; }
.inquiry-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inquiry-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.inquiry-form input, .inquiry-form textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--steel); border-radius: 2px; background: #fff; color: var(--ink); font: 15px var(--body); }
.inquiry-form textarea { resize: vertical; }
.inquiry-form .check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; line-height: 1.45; }
.inquiry-form .check input { width: auto; margin-top: 3px; }
.inquiry-form button { justify-self: start; cursor: pointer; }
.hp { position: absolute; left: -9999px; }
.legal { padding-block: 65px; max-width: 860px; margin-inline: auto; }
.legal .rental-article h2 { font-size: clamp(30px, 3.4vw, 44px); }
.legal-h3 { margin: 26px 0 8px; font-size: 19px; }
.rental-article ul, .rental-article ol { padding-left: 22px; }
.article-photo { margin-top: 32px; }
@media (max-width: 700px) { .inquiry-form .form-row { grid-template-columns: 1fr; } }

/* exit popup */
.exit-pop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(43,45,66,.72); opacity: 0; transition: opacity .2s ease; }
.exit-pop.is-open { opacity: 1; }
.exit-pop[hidden] { display: none; }
.exit-pop-card { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; width: min(820px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--paper); color: var(--ink); }
.exit-pop-card > img { height: 100%; object-fit: cover; }
.exit-pop-body { padding: clamp(26px, 4vw, 46px); }
.exit-pop-body h2 { margin-top: 14px; font-size: clamp(44px, 5.2vw, 64px); }
.exit-pop-body h2 em { color: var(--steel); }
.exit-pop-body > p:not(.eyebrow) { margin: 16px 0 22px; font-size: 16px; line-height: 1.55; }
.exit-pop-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.exit-pop-close { position: absolute; top: 8px; right: 10px; z-index: 1; width: 40px; height: 40px; border: 0; background: var(--paper); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }
@media (max-width: 700px) {
  .exit-pop-card { grid-template-columns: 1fr; }
  .exit-pop-card > img { height: 170px; }
}

/* red-header-button */
.header-row .header-button { background: var(--deep-red); border-color: var(--deep-red); color: var(--paper); }
.header-row .header-button:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* complimentary wifi badge */
.wifi-badge { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.wifi-icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.wifi-icon circle { fill: currentColor; stroke: none; }
.wifi-badge-hero { margin-top: 18px; color: var(--paper); }
.exit-pop-body > p.wifi-badge-pop { margin: -8px 0 22px; font-size: 15px; color: var(--ink); }
@media (max-width: 700px) { .wifi-badge-hero { margin-top: 14px; } }


/* accessibility: popup grey line contrast (was #8d99ae, 2.55:1; now 5.1:1) */
#exit-pop-title em { color: #5d6678; }
