/* Gosha Housing — rebuilt from Squarespace, Sept 2026
   Measured against the original at 1365px viewport:
     side gutter 55px (~4%)   ·  h1 width 68%  ·  body copy width 45%
     accent #1470AF           ·  band #8EB6DC
     header logo 355px        ·  body Poppins 23/42, headings 500 */

:root {
  --accent: #1470AF;
  --band: #8EB6DC;
  --ink: #000;
  --bg: #fff;
  --rule: #d8d8d8;
  --gut: 4%;
  --head: "Inter", "Helvetica Neue", Arial, sans-serif; /* stands in for acumin-pro */
  --body: "Poppins", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* full-width with 4% gutters, matching the original */
.wrap { padding-left: var(--gut); padding-right: var(--gut); }

/* ---------- header ---------- */

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.brand img { width: clamp(190px, 26vw, 355px); }

.nav { display: flex; gap: 34px; font-size: 16px; }

.nav a {
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}

.nav a:hover,
.nav a[aria-current="page"] { border-bottom-color: var(--ink); }

.nav-toggle {
  display: none;
  background: none; border: 0; font: inherit; font-size: 15px;
  cursor: pointer; padding: 8px 0;
}

/* ---------- type ---------- */

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 500;
  margin: 0 0 28px;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.23;
  max-width: 68%;
}

h2 { font-size: clamp(29px, 3.1vw, 43px); line-height: 1.24; }

h4 {
  font-family: var(--body);
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 600;
  margin: 0 0 14px;
}

p {
  font-size: clamp(16px, 1.7vw, 23px);
  line-height: 1.8;
  margin: 0 0 30px;
}

/* single-column body copy wraps at 45% of the viewport, as the original does */
.measure { max-width: 45%; }

/* ---------- sections ---------- */

.hero { padding-top: 60px; padding-bottom: 56px; }
.section { padding-top: 62px; padding-bottom: 62px; }
.media { padding-bottom: 20px; }
.media img { width: 100%; }

/* two-column: heading left, copy right (About, Contact) */
.split {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 5%;
  align-items: start;
}

.split h2 { margin-top: 0; }
.split > div > p:last-child { margin-bottom: 0; }

/* ---------- full-bleed CTA band ---------- */

.band {
  padding-top: 110px;
  padding-bottom: 110px;
  background: var(--band);
}

.band h2 { margin-bottom: 26px; }
.band p { max-width: 45%; }

.band-photo {
  position: relative;
  background: #1c2b33 url("/assets/img/about-feature.webp") center 30% / cover no-repeat;
  color: #fff;
}

.band-photo::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(16, 26, 33, .45);
}

.band-photo > * { position: relative; }

/* ---------- button ---------- */

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  padding: 20px 34px;
  border-radius: 0;
  transition: opacity .15s ease;
}

.btn:hover { opacity: .88; }

/* ---------- team ---------- */

.team { display: grid; gap: 70px; }

.member {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 52px;
  align-items: start;
  max-width: 1150px;
}

.member img { width: 100%; }
.member p { margin-bottom: 0; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.8; }

/* ---------- contact detail groups ---------- */

.detail-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  max-width: 640px;
  margin-bottom: 40px;
}

.detail-groups h4 { margin-bottom: 8px; }
.detail-groups p { font-size: clamp(15px, 1.15vw, 17px); margin: 0; line-height: 1.85; }
.detail-groups a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.detail-groups a:hover { border-bottom-color: var(--ink); }

/* ---------- footer ---------- */

.site-foot {
  padding-top: 64px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: minmax(240px, 24%) 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.site-foot .foot-logo { width: 100%; max-width: 280px; }

.site-foot address {
  font-style: normal;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.95;
}

.site-foot a { text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  h1 { max-width: 90%; }
  .measure, .band p { max-width: 70%; }
  .split { grid-template-columns: 1fr; gap: 6px; }
  .split h2 { margin-bottom: 20px; }
}

@media (max-width: 860px) {
  :root { --gut: 22px; }

  .nav-toggle { display: block; }

  .nav {
    display: none;
    position: absolute;
    top: 86px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 8px 22px 22px;
    border-bottom: 1px solid var(--rule);
    z-index: 20;
  }

  .nav.open { display: flex; }
  .nav a { padding: 13px 0; }

  .site-head { position: relative; padding-top: 20px; padding-bottom: 20px; }
  .brand img { width: 160px; }

  h1, .measure, .band p { max-width: 100%; }

  .hero { padding-top: 34px; padding-bottom: 30px; }
  .section { padding-top: 40px; padding-bottom: 40px; }
  .band { padding-top: 60px; padding-bottom: 60px; }

  .member { grid-template-columns: 1fr; gap: 22px; }
  .member img { max-width: 240px; }

  .detail-groups { grid-template-columns: 1fr; gap: 26px; }

  .site-foot {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 44px;
    padding-bottom: 56px;
  }

  .site-foot .foot-logo { max-width: 200px; }
}
