/* Concept 1 remains the identity reference. See BRAND-STANDARD.md. */
:root {
  color-scheme: light;
  --navy: #0b1d33;
  --gold: #c8a96b;
  --paper: #f9f6f2;
  --ink-secondary: #526170;
  --text-secondary: #b9c1cd;
  --text-footer: #a4afbd;
  --rule-light: #dedad3;
  --rule-dark: #314053;
  --font-display: Georgia, 'Times New Roman', serif;
  --font-text: Arial, Helvetica, sans-serif;
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --interaction-duration: 180ms;
  --interaction-ease: cubic-bezier(.4, 0, .2, 1);
  font-family: var(--font-text);
  color: var(--navy);
  background: var(--navy);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

.landing {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
}

.identity, .welcome { min-width: 0; }
.identity {
  background: var(--paper);
  padding: clamp(2rem, 3.4vw, 4rem);
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
}

.brand {
  width: 100%;
  max-width: 42rem;
  text-align: center;
  padding: var(--space-5) 0;
}

.brand-symbol {
  display: block;
  width: clamp(10rem, 17vw, 18rem);
  max-width: 70%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  /* Preserve the approved raster reference against the warm paper field. */
  mix-blend-mode: darken;
  margin: 0 auto var(--space-3);
}

h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.45vw, 4.25rem);
  letter-spacing: .075em;
  text-indent: .075em;
  line-height: 1.2;
  margin: 0;
  overflow-wrap: anywhere;
}

h1 span {
  display: block;
  font-family: var(--font-text);
  font-size: clamp(.75rem, 1vw, 1rem);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .19em;
  text-indent: .19em;
  margin-top: var(--space-2);
  color: var(--ink-secondary);
  overflow-wrap: normal;
}

.identity-bottom {
  border-top: 1px solid var(--rule-light);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-1) var(--space-2);
  width: 100%;
  max-width: 42rem;
  padding-top: var(--space-2);
  font-size: .75rem;
  letter-spacing: .12em;
  line-height: 1.6;
  color: var(--ink-secondary);
}

.welcome {
  background: var(--navy);
  color: var(--paper);
  padding: clamp(2rem, 5vw, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.welcome-content {
  width: 100%;
  max-width: 32rem;
  margin: auto 0;
  padding: var(--space-6) 0;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.1vw, 3.65rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0 0 var(--space-3);
  overflow-wrap: anywhere;
}

.intro {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 25rem;
  margin: 0;
}

.investment-focus { margin-top: var(--space-3); }
.investment-focus h3 {
  font-family: var(--font-text);
  font-size: .875rem;
  line-height: 1.5;
  font-weight: 400;
  color: var(--paper);
  margin: 0 0 var(--space-1);
}
.site-status {
  margin: 0 0 var(--space-1);
  font-size: .875rem;
  line-height: 1.65;
  color: var(--text-secondary);
}
.contact { margin-top: var(--space-4); }
.email {
  display: inline-block;
  max-width: 100%;
  min-height: 2.75rem;
  padding: .5rem 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .35em;
  overflow-wrap: anywhere;
  transition: color var(--interaction-duration) var(--interaction-ease);
}

.email:hover { color: var(--paper); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }

footer {
  width: 100%;
  max-width: 32rem;
  border-top: 1px solid var(--rule-dark);
  padding-top: var(--space-2);
  color: var(--text-footer);
  font-size: .75rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

footer p { margin: 0 0 .25rem; }

/* Reflow before the two panels become cramped; retain a navy page foundation. */
@media (max-width: 63.99rem) {
  .landing { display: flex; flex-direction: column; }
  .identity {
    padding: max(2rem, env(safe-area-inset-top)) max(2rem, env(safe-area-inset-right))
      1.5rem max(2rem, env(safe-area-inset-left));
  }
  .brand { padding: var(--space-2) 0 var(--space-4); }
  .brand-symbol { width: clamp(7rem, 17vw, 10rem); margin-bottom: var(--space-2); }
  h1 { font-size: clamp(2rem, 6vw, 3.8rem); }
  h1 span { font-size: .875rem; letter-spacing: .18em; margin-top: .75rem; }
  .welcome {
    flex: 1;
    padding: 2.5rem max(2rem, env(safe-area-inset-right))
      max(1.5rem, env(safe-area-inset-bottom)) max(2rem, env(safe-area-inset-left));
  }
  .welcome-content { max-width: 42rem; margin: auto; padding: var(--space-2) 0 var(--space-5); }
  h2 { font-size: 2.5rem; margin-bottom: var(--space-2); }
  .contact { margin-top: var(--space-3); }
  footer { max-width: 42rem; margin: 0 auto; }
}

/* Compact branding leaves useful space for the contact action on phones. */
@media (max-width: 37.5rem) {
  .identity {
    padding: max(1.25rem, env(safe-area-inset-top)) max(1.5rem, env(safe-area-inset-right))
      1rem max(1.5rem, env(safe-area-inset-left));
  }
  .brand { padding: .5rem 0 var(--space-3); }
  .brand-symbol { width: clamp(5.5rem, 22vw, 7.25rem); margin-bottom: .75rem; }
  h1 { font-size: clamp(1.6rem, 6.8vw, 2.55rem); letter-spacing: .065em; text-indent: .065em; }
  h1 span { font-size: .75rem; letter-spacing: .12em; text-indent: .12em; margin-top: .5rem; }
  .identity-bottom { padding-top: .75rem; letter-spacing: .06em; }
  .welcome {
    padding: 2rem max(1.5rem, env(safe-area-inset-right))
      max(1.5rem, env(safe-area-inset-bottom)) max(1.5rem, env(safe-area-inset-left));
  }
  .welcome-content { padding: 0 0 var(--space-4); }
  h2 { font-size: clamp(2rem, 7.2vw, 2.5rem); }
  .intro { line-height: 1.65; }
  .contact { margin-top: var(--space-3); }
}

/* Only use two columns in short landscape when each still has useful width. */
@media (min-width: 50rem) and (max-height: 32rem) and (orientation: landscape) {
  .landing { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
  .identity, .welcome {
    padding: max(1.5rem, env(safe-area-inset-top)) max(1.5rem, env(safe-area-inset-right))
      max(1.25rem, env(safe-area-inset-bottom)) max(1.5rem, env(safe-area-inset-left));
  }
  .brand { padding: .75rem 0 var(--space-3); }
  .brand-symbol { width: 5.5rem; margin-bottom: .75rem; }
  h1 { font-size: clamp(1.5rem, 3.2vw, 2.3rem); letter-spacing: .04em; }
  h1 span { font-size: .75rem; letter-spacing: .04em; }
  .identity-bottom { letter-spacing: .03em; }
  .welcome-content { padding: 0 0 var(--space-3); }
  h2 { font-size: 2rem; }
  .contact { margin-top: var(--space-2); }
}

@media (prefers-reduced-motion: reduce) {
  .email { transition: none; }
}
