/* ==========================================================
   MCCANN — v1
   Palette: Lebanese Blue #005DAA · Full White #FFFFFF
   References: D.Nova hero · Stone Drift data board ·
               /Gallery card row · Newsletter Subs footer
   ========================================================== */

:root {
  --blue: #005DAA;
  --white: #FFFFFF;
  --bg: #EEEEEC;            /* warm light grey, per hero reference */
  --ink: #141414;
  --grey: #8A8A88;
  --grey-dark: #55555385;
  --line: #DBDBD8;
  --black: #0A0A0A;
  --tile: #131313;
  --tile-line: #232323;

  --font-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(24px, 5.5vw, 72px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); color: var(--blue); }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; }

/* ---------- section label ("/ Gallery" style) ---------- */

.sechead__label {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 28px;
}

/* ==========================================================
   HERO — D.Nova reference
   ========================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.hero__portrait {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(64vw, 940px);
  object-fit: cover;
  object-position: 60% 8%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 9%);
}

/* nav sits over the photo, like the sample */
.nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: 26px var(--pad) 0;
}
.nav__logo { display: flex; align-items: center; }
.nav__logotype {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav__plus {
  color: var(--blue);
  font-weight: 600;
  margin: 0 3px;
}
.nav__links {
  display: flex;
  gap: clamp(16px, 2.4vw, 34px);
  font-size: 0.82rem;
  font-weight: 500;
}
.nav__links a:hover { color: var(--blue); }
.nav__call {
  margin-left: auto;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav__call span { font-size: 0.75em; }
.nav__call:hover { color: var(--blue); }
.nav__toggle {
  display: none;               /* desktop: hidden; shown at <= 900px */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* vertical rail, left edge */
.hero__rail {
  position: absolute;
  z-index: 3;
  top: 90px;
  bottom: 40px;
  left: calc(var(--pad) / 2 - 6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--grey-dark);
}
.hero__rail-line { flex: 1; width: 1px; background: var(--line); }

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad);
  min-height: calc(100svh - 56px);
  display: flex;
  flex-direction: column;
}

.hero__stats {
  display: flex;
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(40px, 7vh, 84px);
}
.hstat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.hstat__num sup { font-size: 0.62em; top: -0.35em; position: relative; margin-right: 1px; color: var(--blue); font-weight: 700; }
.hstat__label {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  color: var(--blue);
  font-weight: 700;
}

.hero__word {
  margin-top: auto;
  font-size: clamp(4.2rem, 13.5vw, 11.5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.95;
}
.hero__tag {
  margin-top: clamp(10px, 1.6vh, 20px);
  font-size: 0.88rem;
  color: var(--ink);
}

.hero__scroll {
  margin-top: auto;
  margin-bottom: 34px;
  font-size: 0.82rem;
  font-weight: 500;
  width: fit-content;
}
.hero__scroll:hover { color: var(--blue); }

/* ==========================================================
   INTELLIGENCE — Stone Drift reference
   ========================================================== */

.intel { padding: clamp(80px, 12vh, 140px) var(--pad) 0; }

.sechead__row {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 64px;
  margin-bottom: 56px;
}
.sechead__side {
  max-width: 340px;
  font-size: 0.88rem;
  color: var(--ink);
  padding-top: 8px;
}

.board {
  background: var(--black);
  border-radius: 20px;
  padding: 8px;
  color: var(--white);
}

/* banner */
.board__banner {
  position: relative;
  border-radius: 14px;
  min-height: clamp(320px, 48vh, 460px);
  background:
    url("../images/seller-intelligence-web.jpg") center 38% / cover no-repeat;
  overflow: hidden;
  display: flex;
}
.board__banner::before {          /* scrim so white text/chips stay legible over a bright photo */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,9,13,0.45) 0%, rgba(6,9,13,0.2) 30%, rgba(6,9,13,0.55) 68%, rgba(6,9,13,0.86) 100%),
    linear-gradient(90deg, rgba(6,9,13,0.55) 0%, rgba(6,9,13,0.15) 38%, rgba(6,9,13,0.15) 62%, rgba(6,9,13,0.6) 100%);
}
.board__banner::after {           /* faint grid, keeps it architectural */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 72px 72px;
}
.board__year {
  position: absolute;
  top: 26px;
  left: 30px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  z-index: 1;
}
.board__title {
  align-self: flex-end;
  padding: 0 0 30px 30px;
  z-index: 1;
}
.board__title h3 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 0.98;
}
.board__title p {
  margin-top: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
}
.board__chips {
  position: absolute;
  right: 22px;
  bottom: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(96px, 1fr));
  gap: 6px;
  z-index: 1;
}
.chip {
  background: rgba(10,10,10,0.78);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 14px 12px;
}
.chip__label {
  display: block;
  font-size: 0.62rem;
  color: rgba(255,255,255,0.5);
}
.chip__value {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
}

/* tile grid */
.board__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(150px, auto);
  gap: 8px;
  margin-top: 8px;
}
.tile {
  background: var(--tile);
  border-radius: 14px;
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
}
.tile--chart { grid-column: span 2; grid-row: span 2; }
.tile--bars  { grid-column: 4; grid-row: span 2; }

.tile__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}
.tile__label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.48);
}
.tile__pin {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--white);
}
.tile__valuerow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.tile__big {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.tile__big--end { margin-top: auto; }
.tile__delta { font-size: 0.95rem; color: rgba(255,255,255,0.85); }
.tile__note {
  margin-top: 10px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  max-width: 34ch;
}
.tile__mid {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--white);
}
.tile__figure {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
}

.tile__chart { position: relative; margin-top: auto; padding-top: 26px; }
.tile__chart svg { width: 100%; height: clamp(110px, 16vh, 150px); display: block; }
.tile__chart-max, .tile__chart-min {
  position: absolute;
  right: 0;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
}
.tile__chart-max { top: 0; }
.tile__chart-min { display: none; }
.tile__months {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.62rem;
  color: rgba(255,255,255,0.4);
}

.tile__bars {
  margin-top: 18px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  flex: 1;
  min-height: 90px;
}
.tile__bars span {
  flex: 1;
  background: rgba(255,255,255,0.85);
  min-height: 4px;
}
.tile__substats {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}
.tile__substats div { display: flex; flex-direction: column; gap: 2px; font-size: 0.8rem; }

.intel__foot {
  margin: 18px 2px 0;
  font-size: 0.72rem;
  color: var(--grey-dark);
}

/* ==========================================================
   GALLERY — "/ Gallery" reference
   ========================================================== */

.gallery, .listings { padding: clamp(80px, 12vh, 140px) var(--pad) 0; }

.gallery__head {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 64px;
  margin-bottom: 40px;
}
.gallery__side {
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.gallery__side p { font-size: 0.85rem; color: var(--ink); }
.gallery__arrows { display: flex; gap: 10px; align-self: flex-end; }

.arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--grey-dark);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.arrow--next { border-color: var(--ink); color: var(--ink); }
.arrow:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }

.gallery__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  outline: none;
}
.gallery__track::-webkit-scrollbar { display: none; }

.gcard {
  position: relative;
  flex: 0 0 clamp(300px, 38vw, 470px);
  aspect-ratio: 47 / 31;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--white);
}
.gcard::after {                    /* legibility gradient, like the sample */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(20,20,20,0.55) 100%);
}
.gcard--a { background: linear-gradient(150deg, #A8A29A 0%, #7E7A74 60%, #5D5A56 100%); }
.gcard--b { background: linear-gradient(150deg, #C2BDB5 0%, #979289 60%, #6E6A64 100%); }
.gcard--c { background: linear-gradient(150deg, #9AA3AB 0%, #6F7880 60%, #4F565C 100%); }
.gcard--d { background: linear-gradient(150deg, #B3ADA3 0%, #8A857D 60%, #63605B 100%); }

.gcard__body {
  position: relative;
  z-index: 1;
  padding: 22px 24px;
  max-width: 75%;
}
.gcard__body h3 { font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; }
.gcard__body p { margin-top: 8px; font-size: 0.72rem; color: rgba(255,255,255,0.75); }
.gcard__go {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 20px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}
.gcard:hover .gcard__go { background: var(--blue); border-color: var(--blue); }
.gcard__ph {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 1;
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
}

/* ==========================================================
   NEIGHBOURHOODS — expanding accordion
   Easing + 0.6s timing lifted from the Spaciaz reference;
   uses flex-grow (not fixed px) so it stays fluid at any width.
   ========================================================== */

.hoods { padding: clamp(80px, 12vh, 140px) var(--pad) 0; }

.hoods__row {
  display: flex;
  gap: 10px;
  height: clamp(380px, 54vh, 520px);
}

.hood {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: flex-grow 0.6s cubic-bezier(0.38, 0.005, 0.215, 1);
}
.hood.is-active { flex-grow: 3.25; }   /* ≈ the 524 : 161 ratio in the reference */

/* placeholder imagery — swap these for real photography */
.hood--1 { background: linear-gradient(160deg, #9FB1C2 0%, #63788C 55%, #3D4B59 100%); }
.hood--2 { background: linear-gradient(160deg, #B6AFA4 0%, #857D72 55%, #55504A 100%); }
.hood--3 { background: linear-gradient(160deg, #A3B3A8 0%, #647468 55%, #3F4A44 100%); }
.hood--4 { background: linear-gradient(160deg, #AEB6BE 0%, #6F7880 55%, #464D54 100%); }
.hood--5 { background: linear-gradient(160deg, #C0B4AB 0%, #8A7C71 55%, #574E47 100%); }
.hood--6 { background: linear-gradient(160deg, #94A6BA 0%, #566B82 55%, #364554 100%); }

.hood::before {                        /* scrim keeps white text legible */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,12,16,0.10) 0%, rgba(10,12,16,0.30) 45%, rgba(10,12,16,0.74) 100%);
  z-index: 1;
}

/* collapsed: rotated title reading bottom-to-top */
.hood__label {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 26px 22px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: opacity 0.3s ease;
}
.hood.is-active .hood__label { opacity: 0; }

/* expanded: location, rule, title, CTA */
.hood__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 30px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.45s ease 0.12s, transform 0.45s ease 0.12s;
}
.hood.is-active .hood__panel { opacity: 1; transform: none; pointer-events: auto; }

.hood__loc {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  white-space: nowrap;
}
.hood__rule {
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
  margin: 14px 0 16px;
}
.hood__title {
  color: var(--white);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 500;
  white-space: nowrap;
}
.hood__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.hood__arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.hood__cta:hover { background: var(--blue); color: var(--white); }
.hood__cta:hover .hood__arrow { background: var(--white); color: var(--blue); }

.hoods__note {
  margin-top: 18px;
  font-family: var(--font-mono, var(--font-body));
  font-size: 0.7rem;
  color: var(--grey-light);
}

/* ==========================================================
   LISTINGS — DDF placeholder strip
   ========================================================== */

.listings__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.lcard__media {
  position: relative;
  aspect-ratio: 47 / 31;
  border-radius: 6px;
  background: #E2E2DF center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lcard__media span {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--grey);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  background: var(--bg);
}
.lcard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lcard__status {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
  border: none;
  border-radius: 999px;
  padding: 5px 12px;
}
.lcard h3 { margin-top: 16px; font-size: 1rem; font-weight: 500; }
.lcard__meta { margin-top: 4px; font-size: 0.78rem; color: var(--grey-dark); }
.lcard__broker { margin-top: 6px; font-size: 0.68rem; color: var(--grey); }
.listings__foot {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.btn-more {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue);
  background: transparent;
  border: 1px solid var(--blue);
  border-radius: 999px;
  padding: 12px 28px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-more:hover { background: var(--blue); color: var(--white); }
.listings__updated {
  font-size: 0.72rem;
  color: var(--grey);
  text-align: center;
}

/* ==========================================================
   ABOUT
   ========================================================== */

.about { padding: clamp(80px, 12vh, 140px) var(--pad); }
.about__row {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 64px;
}
.about__copy { max-width: 460px; }
.about__copy p { font-size: 0.92rem; color: var(--ink); margin-bottom: 18px; }
.about__link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}
.about__link:hover { color: var(--blue); border-color: var(--blue); }
.about__link span { font-size: 0.75em; }

/* ==========================================================
   CONTACT PAGE
   ========================================================== */

.pagehead { padding: clamp(64px, 9vh, 110px) var(--pad) 0; }
.pagehead__title { font-size: clamp(1.9rem, 3.6vw, 3rem); color: var(--blue); }

.contact-section { padding: 56px var(--pad) clamp(80px, 12vh, 140px); }
.contact__grid {
  display: flex;
  align-items: flex-start;
  gap: 64px;
}

.contact__card {
  flex: 0 0 300px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}
.contact__card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 15%;
  border-radius: 12px;
  display: block;
}
.contact__card h3 { margin-top: 20px; font-size: 1.2rem; }
.contact__card__role { margin-top: 4px; font-size: 0.85rem; color: var(--grey); }
.contact__details {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}
.contact__details a:hover { color: var(--blue); }
.contact__card .footer__social { margin-top: 22px; }

.contact__form { flex: 1; display: flex; flex-direction: column; gap: 22px; max-width: 560px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.field input, .field select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus { border-color: var(--blue); }
.field--radio { border: none; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { position: relative; cursor: pointer; }
.radio-row input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.radio-row span {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--ink);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.radio-row input[type="radio"]:checked + span {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.radio-row input[type="radio"]:focus-visible + span {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.btn-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  border-radius: 999px;
  border: none;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn-submit:hover { background: #004A89; }
.contact__note { font-size: 0.75rem; color: var(--grey); }

/* ==========================================================
   FOOTER — Newsletter Subs reference
   ========================================================== */

.footer {
  background: var(--white);
  padding: clamp(56px, 9vh, 90px) var(--pad) 32px;
}
.footer__title {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.footer__grid {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-top: clamp(36px, 6vh, 64px);
}
.footer__left { max-width: 360px; flex: 1; }

.footer__form {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 12px;
}
.footer__form input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
}
.footer__form input::placeholder { color: var(--ink); }
.footer__submit {
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.footer__submit:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.footer__blurb {
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--grey);
}

.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 28px;
}
.footer__links {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 26px 56px;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
}
/* staggered placement, like the sample */
.footer__l1 { grid-column: 2; }
.footer__l2 { grid-column: 3; }
.footer__l3 { grid-column: 1; grid-row: 2; }
.footer__l4 { grid-column: 2; grid-row: 2; }
.footer__l5 { grid-column: 3; grid-row: 2; }
.footer__links a:hover { color: var(--blue); }

.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all 0.2s ease;
}
.footer__social a:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: clamp(48px, 8vh, 80px);
  padding-top: 24px;
  border-top: 1px solid #EFEFED;
  font-size: 0.75rem;
  color: var(--grey);
}
.footer__legalrow { display: flex; gap: 36px; }
.footer__legalrow a:hover { color: var(--ink); }
.footer__crea {
  margin-top: 14px;
  font-size: 0.68rem;
  color: #C4C4C2;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 900px) {
  .hero__portrait {
    width: 100%;
    height: 58svh;
    top: auto;
    bottom: 0;
    object-position: 50% 8%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 26%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 26%);
  }
  .hero__rail { display: none; }
  .nav__toggle { display: flex; }
  .nav__call { display: none; }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    padding: 4px var(--pad) 18px;
    border-top: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(20, 23, 30, 0.10);
    z-index: 20;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a {
    padding: 15px 2px;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__links a:last-child { border-bottom: none; }
  .hero__word { font-size: clamp(3.6rem, 16vw, 6rem); margin-top: 34px; }
  .hero__content { min-height: calc(100svh - 56px); }
  .hero__scroll { margin-bottom: 24px; }

  .sechead__row, .gallery__head, .about__row { flex-direction: column; gap: 22px; }
  .board__grid { grid-template-columns: 1fr 1fr; }
  .tile--chart { grid-column: span 2; }
  .tile--bars { grid-column: auto; grid-row: span 2; }
  .board__chips { position: static; margin: 0 0 26px auto; align-self: flex-end; padding-right: 22px; }
  .board__banner { flex-direction: column; justify-content: flex-end; }
  .board__title { align-self: flex-start; }

  /* accordion doesn't suit touch — stack the panels, each fully open */
  .hoods__row { flex-direction: column; height: auto; gap: 12px; }
  .hood, .hood.is-active { flex: none; height: 230px; }
  .hood__label { display: none; }
  .hood__panel { opacity: 1; transform: none; pointer-events: auto; padding: 24px; }

  .listings__grid { grid-template-columns: 1fr; }

  .contact__grid { flex-direction: column; }
  .contact__card { flex: none; width: 100%; max-width: 340px; }

  .footer__grid { flex-direction: column; }
  .footer__right { align-items: flex-start; }
  .footer__links { gap: 18px 36px; }
}
