/* =================================================================
   P.I.C.K. Immobilien GMBH — Marketing Site
   Visual system derived from the Grafische Charta:
     - Palette: deep navy + warm taupe/beige + warm neutrals
     - Typography: Figtree (Light for display, Regular for body)
   ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600&display=swap');

:root {
  /* Primary — per Grafische Charta (Primär) */
  --navy-900: #002D51;  /* charter primary */
  --navy-800: #003E6F;  /* charter primary, slightly lighter */
  --navy-700: #1E4A75;  /* hover state */
  --navy-ink: #09243B;  /* charter tertiary — deepest accent */

  /* Secondary — warm (Sekundär per charter) */
  --taupe-700: #8B7B66;
  --taupe-500: #A99985;  /* charter */
  --taupe-300: #C4B8A4;
  --beige-200: #DAD2BC;  /* charter */
  --beige-100: #E8E1CC;
  --beige-050: #F1ECDC;  /* extra light cream for backgrounds */

  /* Neutrals — Tertiär per charter */
  --paper:    #F4EFE2;   /* dominant warm cream — slightly more beige */
  --paper-2:  #E8E2CF;
  --white:    #FFFFFF;
  --gray-100: #F2F4F7;
  --gray-200: #E0E1E3;
  --gray-400: #B6B5B0;
  --gray-600: #5B6066;

  /* Type scale — bolder, more accessible */
  --fs-display: clamp(44px, 5.6vw, 92px);
  --fs-h1:      clamp(36px, 4vw, 64px);
  --fs-h2:      clamp(28px, 2.8vw, 44px);
  --fs-h3:      clamp(20px, 1.6vw, 26px);
  --fs-lede:    clamp(17px, 1.2vw, 20px);
  --fs-body:    16px;
  --fs-small:   14px;
  --fs-eyebrow: 12px;

  /* Layout */
  --container: 1600px;
  --gutter: clamp(24px, 4vw, 72px);
  --section-y: clamp(80px, 9vw, 140px);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--navy-900);
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* ---------- Brand language: angular per Grafische Charta ---------- */
/* Force sharp corners everywhere except true round elements (avatars, map dots).
   Round elements opt back in with .is-round or explicit class. */
*, *::before, *::after { border-radius: 0; }
.agent-card__avatar,
.is-round,
[style*="border-radius:50%"],
[style*="border-radius: 50%"] { border-radius: 50% !important; }

/* ---------- Containers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: 1840px; }
.container--narrow { max-width: 1200px; }

section { padding-block: var(--section-y); }

/* ---------- onOffice shortcode wrapper + preview placeholder ----------
   On WordPress, [oo_estate view="..."] inside .pick-estates is replaced by
   the plugin output. In the static HTML preview, the shortcode shows as
   literal text — this rule styles it as a clean placeholder card so the
   page doesn't look broken.
*/
.pick-estates,
.pick-estates-detail {
  position: relative;
  min-height: 220px;
}
.pick-estates:has(> :first-child:is(p, span)):empty,
.pick-estates > p:only-child,
.pick-estates > span:only-child {
  /* fallback handled by .pick-estates__placeholder below */
}
.pick-estates__placeholder {
  background: var(--paper-2);
  border: 1px dashed color-mix(in srgb, var(--navy-900) 24%, transparent);
  padding: 56px clamp(24px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.pick-estates__placeholder svg {
  width: 28px; height: 28px;
  stroke: var(--navy-900); fill: none; stroke-width: 1.4;
  opacity: 0.55;
}
.pick-estates__placeholder-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy-900);
  letter-spacing: 0.04em;
  margin: 0;
}
.pick-estates__placeholder-body {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.5;
  max-width: 52ch;
  margin: 0;
}
.pick-estates__placeholder code {
  background: var(--navy-ink);
  color: var(--beige-200);
  padding: 6px 12px;
  font: 500 12px/1 'Figtree', monospace;
  letter-spacing: 0.04em;
  display: inline-block;
  margin-top: 4px;
}

/* ---------- House-line brand band (charter signature, full-width thin line) ----------
   Use: <img class="house-band house-band--white" src="assets/pick-house-line-white.svg" alt="" />
   Or, for corner watermark variant, see .house-mark below.
*/
.house-band {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none;
  opacity: 0.55;
}
.house-band--subtle { opacity: 0.32; }
.house-band--faint  { opacity: 0.20; }

/* Legacy corner-mark variant — kept for backwards-compatibility, but prefer .house-band */
.house-mark {
  position: absolute;
  right: 0; bottom: 0;
  width: clamp(320px, 30vw, 480px);
  aspect-ratio: 16 / 9;
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  opacity: 0.30;
  z-index: 1;
}
.house-mark--white { background-image: url("assets/pick-house-line-white.svg"); }
.house-mark--navy  { background-image: url("assets/pick-house-line-navy.svg"); opacity: 0.20; }
.house-mark--lg { width: clamp(440px, 42vw, 720px); }
.has-house-mark { position: relative; overflow: hidden; }

/* ---------- Full-bleed hero ---------- */
.hero-bleed {
  position: relative;
  height: calc(100vh - 80px);
  min-height: 560px;
  max-height: 820px;
  overflow: hidden;
  background: var(--navy-900);
}
.hero-bleed__img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hero-bleed__scrim { position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, color-mix(in srgb, #000 55%, transparent) 100%); }
.hero-bleed__copy {
  position:absolute; left:0; right:0; bottom: clamp(40px, 5vw, 72px);
  padding-inline: var(--gutter);
  color: var(--white);
}
.hero-bleed__copy .container { padding-inline: 0; }
.hero-bleed__eyebrow {
  display:inline-flex; align-items:center; gap: 12px;
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--white); margin-bottom: 18px;
}
.hero-bleed__eyebrow::before {
  content:""; width: 28px; height: 1px; background: var(--white);
}
.hero-bleed__title {
  font-family: 'Figtree', sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 22ch;
  color: var(--white);
}
.hero-bleed__meta {
  display:flex; justify-content:space-between; align-items:flex-end;
  gap: 32px; margin-top: 28px; flex-wrap: wrap;
}
.hero-bleed__meta p { color: color-mix(in srgb, var(--white) 80%, transparent); max-width: 44ch; font-size: 16px; margin: 0; }

/* ---------- Type ---------- */
.display, h1.display, .h-display {
  font-family: 'Figtree', sans-serif;
  font-weight: 500;
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
h1, .h1 {
  font-weight: 500;
  font-size: var(--fs-h1);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h2, .h2 {
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h3, .h3 {
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
}
.lede {
  font-size: var(--fs-lede);
  line-height: 1.5;
  color: var(--navy-900);
  max-width: 60ch;
  text-wrap: pretty;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-900);
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--paper); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy-900);
  --bg-hover: var(--navy-800);
  --fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--bg);
  color: var(--fg);
  padding: 16px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
  min-width: 200px;
}
.btn:hover { background: var(--bg-hover); color: var(--fg); }
.btn .btn__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s var(--ease);
}
.btn:hover .btn__icon { transform: translateX(4px); }

.btn--beige { --bg: var(--beige-200); --bg-hover: var(--taupe-300); --fg: var(--navy-ink); }
.btn--ghost  { --bg: transparent; --bg-hover: var(--navy-900); --fg: var(--navy-900); border: 1px solid var(--navy-900); }
.btn--ghost:hover { color: var(--paper); }
.btn--ghost-light { --bg: transparent; --bg-hover: var(--paper); --fg: var(--paper); border: 1px solid var(--paper); }
.btn--ghost-light:hover { color: var(--navy-900); }
.btn--full { min-width: 0; width: 100%; }

/* Beige CTA contrast carve-outs */
.notice .btn--beige,
.site-header .btn--beige {
  --bg: var(--navy-900); --bg-hover: var(--navy-800); --fg: var(--white);
}
/* Slightly tighter header CTAs */
.site-header .btn { padding: 13px 22px; min-width: 0; }

/* Underlined text link */
.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  transition: gap .3s var(--ease);
}
.link:hover { gap: 16px; }
.link svg { width: 16px; height: 16px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid color-mix(in srgb, var(--navy-900) 8%, transparent);
}

/* House silhouette SVG that runs across hero */
.house-line {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
}
.house-line path { stroke: var(--navy-900); stroke-width: 1.4; fill: none; }
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding-block: 22px;
}
.site-nav {
  display: flex;
  gap: 36px;
  justify-self: center;
  align-items: center;
}
.site-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--navy-900);
  padding-block: 6px;
  position: relative;
  transition: color .25s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--navy-900);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav a:hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }
.site-nav a.is-active { color: var(--navy-900); }

.lang-switch {
  display: inline-flex;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gray-600);
  margin-right: 16px;
}
.lang-switch .is-on { color: var(--navy-900); border-bottom: 1px solid var(--navy-900); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* ---------- Logo (image-based, with blue/white variants) ---------- */
.pick-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.pick-logo__img {
  height: 44px;
  width: auto;
  display: block;
}
/* Default: show blue, hide white (used on light backgrounds: secondary pages' headers) */
.pick-logo__img--white { display: none; }
.pick-logo__img--blue  { display: block; }

/* Footer (dark background): always white, bigger */
.site-footer-rich .pick-logo__img--blue,
.site-footer       .pick-logo__img--blue  { display: none; }
.site-footer-rich .pick-logo__img--white,
.site-footer       .pick-logo__img--white { display: block; }
.site-footer-rich .pick-logo__img,
.site-footer       .pick-logo__img { height: 72px; }

/* Secondary pages header — dynamic: big full logo at top, compact simplified when scrolled */
.site-header .pick-logo__img { transition: height .35s var(--ease); }
.site-header .pick-logo__img--blue    { height: 60px; }
.site-header .pick-logo__img--compact { display: none; height: 38px; }
.site-header.is-scrolled .pick-logo__img--blue    { display: none; }
.site-header.is-scrolled .pick-logo__img--compact { display: block; }
.site-header { transition: padding .35s var(--ease); }
.site-header.is-scrolled .site-header__inner { padding-block: 14px; }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(48px, 5vw, 80px);
  padding-bottom: clamp(40px, 5vw, 80px);
}
.hero__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: clamp(40px, 6vw, 96px);
}
.hero__title { max-width: 14ch; }
.hero__title em {
  font-style: normal;
  color: var(--taupe-700);
}
.hero__meta {
  flex: none;
  max-width: 320px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.6;
}
.hero__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy-900);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid color-mix(in srgb, var(--navy-900) 12%, transparent);
  gap: 24px;
}
.hero__strip dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe-700);
  margin-bottom: 8px;
}
.hero__strip dd {
  margin: 0;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.01em;
}

/* ---------- Property cards ---------- */
.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 32px;
}
.props-grid--two { grid-template-columns: repeat(2, 1fr); }

.prop-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--navy-900);
}
.prop-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-200);
  border-radius: 0;
}
.prop-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.prop-card:hover .prop-card__media img { transform: scale(1.04); }
.prop-card__tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--beige-200);
  color: var(--navy-ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 0;
}
.prop-card__tag--dark { background: var(--navy-900); color: var(--paper); }
.prop-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.prop-card__title {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.prop-card__loc {
  font-size: 14px;
  color: var(--gray-600);
  margin-top: 4px;
}
.prop-card__price {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.prop-card__stats {
  display: flex;
  gap: 22px;
  padding-top: 14px;
  border-top: 1px solid color-mix(in srgb, var(--navy-900) 10%, transparent);
  font-size: 13px;
  color: var(--gray-600);
}
.prop-card__stats span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.prop-card__stats svg { width: 16px; height: 16px; flex: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: var(--paper);
  padding: 96px 0 32px;
  margin-top: clamp(80px, 9vw, 140px);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 96px;
}
.site-footer h4 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--beige-200);
  margin-bottom: 24px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.site-footer ul a {
  font-size: 15px;
  color: var(--paper);
  opacity: .82;
  transition: opacity .25s var(--ease);
}
.site-footer ul a:hover { opacity: 1; }
.site-footer__intro {
  max-width: 36ch;
  color: color-mix(in srgb, var(--paper) 75%, transparent);
  font-size: 15px;
  line-height: 1.6;
  margin: 18px 0 0;
}
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid color-mix(in srgb, var(--paper) 14%, transparent);
  font-size: 13px;
  color: color-mix(in srgb, var(--paper) 60%, transparent);
}

/* ---------- Utility ---------- */
.col-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(40px, 5vw, 96px); }
.col-2--reverse > :first-child { order: 2; }
.col-2--narrow { gap: 80px; align-items: start; }
.divider { height: 1px; background: color-mix(in srgb, var(--navy-900) 12%, transparent); margin-block: 24px; }

/* ---------- Stat / Numbers row ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-block: 56px;
  border-top: 1px solid color-mix(in srgb, var(--navy-900) 12%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--navy-900) 12%, transparent);
}
.stat__num {
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat__label {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--gray-600);
}

/* ---------- Filter bar ---------- */
.filter-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 16px;
  background: transparent;
  border: none;
}
.filter-bar__field {
  background: var(--white);
  padding: 16px 22px;
  border-radius: 0;
  border: 1px solid color-mix(in srgb, var(--navy-900) 10%, transparent);
}
.filter-bar__label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--taupe-700);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.filter-bar__value {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: var(--navy-900);
}
.filter-bar__cta {
  background: var(--navy-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  border-radius: 0;
  transition: background .25s var(--ease);
}
.filter-bar__cta:hover { background: var(--navy-800); }

/* ---------- Listings page bits ---------- */
.list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  margin-bottom: 48px;
  font-size: 14px;
  color: var(--gray-600);
}
.view-toggle { display: inline-flex; gap: 24px; }
.view-toggle a { letter-spacing: 0.04em; }
.view-toggle .is-on { color: var(--navy-900); border-bottom: 1px solid var(--navy-900); padding-bottom: 4px; }

.notice {
  background: var(--beige-200);
  color: var(--navy-ink);
  padding: 36px 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  margin: 56px 0;
  border-radius: 0;
  border-left: 4px solid var(--navy-900);
}
.notice h4 {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.notice p { margin: 0; color: var(--navy-ink); font-size: 15px; font-weight: 400; line-height: 1.6; max-width: 60ch; opacity: 0.92; }
.notice h4 { color: var(--navy-ink); font-weight: 600; font-size: 20px; }
.notice a:not(.btn) { color: var(--navy-900); border-bottom: 1px solid currentColor; padding-bottom: 1px; font-weight: 500; }

/* ---------- Detail page ---------- */
.detail-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 78vh;
  max-height: 720px;
}
.detail-gallery__main { grid-row: 1 / 3; }
.detail-gallery > * { overflow: hidden; background: var(--gray-200); }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; }

.detail-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  padding-block: 80px;
  border-bottom: 1px solid color-mix(in srgb, var(--navy-900) 12%, transparent);
}
.detail-head__location { color: var(--taupe-700); font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; }
.detail-head__price { font-size: clamp(28px, 2.4vw, 40px); font-weight: 300; letter-spacing: -0.02em; margin: 16px 0 24px; }
.detail-head__meta { font-size: 14px; color: var(--gray-600); }

.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-block: 56px;
}
.spec dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--taupe-700);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.spec dd { margin: 0; font-size: 24px; font-weight: 300; letter-spacing: -0.01em; }

.agent-card {
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--navy-900) 10%, transparent);
  padding: 32px;
  display: grid;
  gap: 20px;
}
.agent-card__top { display: flex; align-items: center; gap: 16px; }
.agent-card__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--beige-200) center/cover no-repeat;
  flex: none;
}
.agent-card__name { font-size: 17px; font-weight: 500; }
.agent-card__role { font-size: 13px; color: var(--gray-600); }
.agent-card .input,
.agent-card textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--navy-900) 14%, transparent);
  padding: 14px 16px;
  font: 400 14px/1.4 'Figtree', sans-serif;
  color: var(--navy-900);
  outline: none;
  border-radius: 0;
  transition: border-color .2s var(--ease);
}
.agent-card .input:focus,
.agent-card textarea:focus { border-color: var(--navy-900); }
.agent-card textarea { resize: vertical; min-height: 96px; }

/* ---------- About page ---------- */
.industries {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.industries__media { aspect-ratio: 4/5; background: var(--gray-200); overflow: hidden; }
.industries__media img { width: 100%; height: 100%; object-fit: cover; }
.accordion { border-top: 1px solid color-mix(in srgb, var(--navy-900) 14%, transparent); }
.acc-item {
  border-bottom: 1px solid color-mix(in srgb, var(--navy-900) 14%, transparent);
  padding: 28px 0;
}
.acc-item__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--gray-400);
}
.acc-item__head .plus { font-weight: 300; font-size: 24px; }
.acc-item--open .acc-item__head { color: var(--navy-900); }
.acc-item__body { font-size: 15px; color: var(--gray-600); margin-top: 16px; max-width: 56ch; line-height: 1.65; }
.acc-item:not(.acc-item--open) .acc-item__body { display: none; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 980px;
}
.team-card__photo { aspect-ratio: 4/5; background: var(--gray-200); overflow: hidden; margin-bottom: 20px; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__name { font-size: 17px; font-weight: 500; }
.team-card__role { font-size: 13px; color: var(--gray-600); margin-top: 2px; letter-spacing: 0.04em; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info dt { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe-700); }
.contact-info dd { margin: 4px 0 28px; font-size: 18px; font-weight: 300; }
.form-grid { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field {
  display: grid;
  gap: 8px;
}
.field label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe-700);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid color-mix(in srgb, var(--navy-900) 24%, transparent);
  padding: 12px 0;
  font: 400 17px/1.4 'Figtree', sans-serif;
  color: var(--navy-900);
  outline: none;
  border-radius: 0;
}
.field input::placeholder, .field textarea::placeholder { color: var(--gray-400); }
.field textarea { resize: vertical; min-height: 120px; }

/* ---------- Hero alt — interior pages ---------- */
.page-hero {
  padding-top: clamp(60px, 7vw, 120px);
  padding-bottom: clamp(40px, 5vw, 72px);
}
.page-hero h1 { max-width: 14ch; }

/* ---------- Marquee/services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: color-mix(in srgb, var(--navy-900) 12%, transparent);
  border-top: 1px solid color-mix(in srgb, var(--navy-900) 12%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--navy-900) 12%, transparent);
}
.service {
  background: var(--paper);
  padding: 56px 40px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.service__num {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--taupe-700);
  margin-bottom: 28px;
}
.service__title {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.012em;
  margin-bottom: 16px;
}
.service__copy { font-size: 15px; color: var(--gray-600); line-height: 1.6; margin-bottom: 32px; }
.service__more { margin-top: auto; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy-900); }

/* ---------- Quote / Editorial split ---------- */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.editorial__media { aspect-ratio: 4/5; overflow: hidden; }
.editorial__media img { width: 100%; height: 100%; object-fit: cover; }
.editorial__body p { font-size: 16px; color: var(--gray-600); line-height: 1.7; }
.editorial__quote {
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 300;
  letter-spacing: -0.018em;
  line-height: 1.15;
  margin: 0 0 28px;
  text-wrap: balance;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--beige-200);
  padding: clamp(60px, 7vw, 96px) clamp(32px, 6vw, 96px);
  display: grid;
  grid-template-columns: 1.2fr auto;
  align-items: center;
  gap: 48px;
  border-radius: 0;
}
.cta-band h2 { max-width: 18ch; }

@media (max-width: 960px) {
  .site-nav { display: none; }
  .hero__head { flex-direction: column; align-items: flex-start; }
  .props-grid { grid-template-columns: 1fr 1fr; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .stats, .specs, .team-grid { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr; }
  .editorial, .industries, .contact-grid, .detail-head, .col-2 { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .detail-gallery { grid-template-columns: 1fr; height: auto; }
  .detail-gallery__main { grid-row: auto; }
}
@media (max-width: 640px) {
  .props-grid, .stats, .specs, .team-grid, .filter-bar, .site-footer__grid { grid-template-columns: 1fr; }
  .hero__strip { grid-template-columns: 1fr 1fr; }
}
