:root {
  --navy: #142d43;
  --gold: #b39963;
  --paper: #fcfcfa;
  --muted: #5b6670;
  --line: #e3e5e4;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { font-size: 100%; }

body {
  margin: 0;
  color: var(--navy);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

::selection { color: white; background: var(--navy); }

.page {
  display: grid;
  grid-template-columns: minmax(0, 59fr) minmax(0, 41fr);
  min-height: 100vh;
  min-height: 100svh;
}

.content-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(2rem, 4.3vw, 4.5rem) clamp(2rem, 6.3vw, 7rem) 1.8rem;
}

.site-header { flex-shrink: 0; }

.brand {
  display: block;
  width: min(100%, 23rem);
  height: auto;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(4rem, 9vh, 8rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow span { width: 1.7rem; height: 1px; flex-shrink: 0; background: var(--gold); }

h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.25rem, 5.5vw, 5.7rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.13;
}

h1 em { color: #897344; font-weight: 400; }

.intro {
  max-width: 25rem;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.9;
}

.sign-off {
  margin: 1.9rem 0 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.6;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.45rem 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.site-footer p { margin: 0; }

.signature-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5rem 2rem;
  background: var(--navy);
  color: #e6e8e7;
}

.signature-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1.65rem;
  border: 1px solid rgb(255 255 255 / 10%);
}

.panel-caption {
  position: absolute;
  top: 3.5rem;
  left: 3.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ccd2d6;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  line-height: 1.5;
}

.caption-line { width: 1.25rem; height: 1px; background: var(--gold); }

.architectural-mark {
  display: block;
  width: min(90%, 27rem);
  overflow: visible;
  stroke-width: 2;
  stroke-linecap: square;
}

.mark-gold { stroke: var(--gold); }
.mark-light { stroke: #e1e5e6; }

.panel-bottom {
  position: absolute;
  bottom: 3.5rem;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  color: #c8d0d6;
}

.corner-detail {
  position: absolute;
  right: 1.65rem;
  bottom: 1.65rem;
  width: 2rem;
  height: 2rem;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

@media (max-width: 1100px) {
  .content-panel { padding-inline: 2.5rem; }
  .page { grid-template-columns: minmax(0, 62fr) minmax(0, 38fr); }
  .panel-caption { top: 3rem; left: 2.5rem; letter-spacing: 0.13em; }
}

@media (max-width: 760px) {
  .page { display: flex; flex-direction: column; }
  .content-panel { padding: 2rem 1.6rem 1.5rem; min-height: 83svh; }
  .brand { width: min(100%, 21rem); }
  main { padding-block: 4.5rem; }
  h1 { font-size: clamp(3.15rem, 10vw, 4.6rem); }
  .eyebrow { margin-bottom: 1.5rem; font-size: 0.8rem; letter-spacing: 0.13em; }
  .intro { max-width: 29rem; margin-top: 1.7rem; }
  .signature-panel { min-height: 16rem; padding: 1.5rem; }
  .signature-panel::before { inset: 1rem; }
  .architectural-mark { width: 10.5rem; }
  .panel-caption { top: 2rem; left: 2rem; font-size: 0.75rem; }
  .panel-bottom { bottom: 2rem; left: 2rem; font-size: 1rem; }
  .corner-detail { bottom: 1rem; right: 1rem; }
}

@media (max-width: 380px) {
  .content-panel { padding-inline: 1.25rem; }
  h1 { font-size: 2.9rem; }
  .eyebrow { font-size: 0.75rem; letter-spacing: 0.1em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
