/* Gosha Housing — rebuilt from Squarespace, Sept 2026
   Palette and type matched to the original:
   accent #1470AF · body Poppins 23/42 · headings 500 weight */

:root {
  --accent: #1470AF;
  --ink: #000;
  --bg: #fff;
  --rule: #e6e6e6;
  --max: 1200px;
  --gut: 40px;
  --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; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gut);
}

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

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px 0 28px;
}

.brand img { width: 190px; }

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

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

.nav a:hover { border-bottom-color: var(--ink); }
.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;
  color: var(--ink);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(38px, 5.6vw, 60px);
  line-height: 1.23;
  max-width: 17ch;
}

h2 {
  font-size: clamp(30px, 3.9vw, 42px);
  line-height: 1.25;
}

h4 {
  font-family: var(--body);
  font-size: 19px;
  font-weight: 600;
  margin: 22px 0 12px;
}

p {
  font-size: clamp(17px, 1.55vw, 23px);
  line-height: 1.8;
  margin: 0 0 28px;
  max-width: 68ch;
}

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

.hero { padding: 80px 0 64px; }

section { padding: 56px 0; }

.section-tight { padding: 32px 0 56px; }

.media { margin: 8px 0 64px; }
.media img { width: 100%; }

.rule { border: 0; border-top: 1px solid var(--rule); margin: 48px 0; }

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

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

.btn:hover { opacity: .88; }

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

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

.member {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

.member img { width: 100%; }

.member h4 { margin-top: 0; font-size: 21px; }

.member p { margin-bottom: 0; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.75; }

/* ---------- contact ---------- */

.contact-lines p { font-size: clamp(17px, 1.4vw, 20px); margin-bottom: 16px; }
.contact-lines a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.contact-lines a:hover { border-bottom-color: var(--ink); }

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

.site-foot {
  border-top: 1px solid var(--rule);
  margin-top: 40px;
  padding: 56px 0 72px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}

.site-foot img { width: 210px; }

.site-foot address {
  font-style: normal;
  font-size: 17px;
  line-height: 1.9;
}

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

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

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

  .nav-toggle { display: block; }

  .nav {
    display: none;
    position: absolute;
    top: 92px;
    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: 22px 0; }
  .brand img { width: 150px; }

  .hero { padding: 44px 0 36px; }
  section { padding: 36px 0; }

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

  .site-foot { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 56px; }
}
