:root {
  --paper: #f7f5ef;
  --ink: #111827;
  --blue: #294597;
  --mint-light: #e4eee8;
  --gold: #b69242;
  --line: rgba(17, 24, 39, 0.14);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.page-shell {
  width: min(1440px, 100%);
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header,
.site-footer {
  width: calc(100% - clamp(40px, 10vw, 144px));
  margin-inline: auto;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.brand {
  position: relative;
  display: inline-grid;
  width: max-content;
  line-height: 1;
}

.brand-name {
  color: var(--blue);
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.55rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.055em;
}

.brand-name::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0.12em;
  left: -0.15em;
  width: 1.25em;
  height: 0.8em;
  border-radius: 50%;
  background: var(--mint-light);
  transform: rotate(-12deg);
}

.brand-descriptor {
  margin-top: 4px;
  margin-left: 4px;
  color: #628775;
  font-family: var(--mono);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.header-note {
  margin: 0;
  color: #566070;
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero {
  width: calc(100% - clamp(40px, 10vw, 144px));
  margin-inline: auto;
  padding: clamp(48px, 8vh, 98px) 0;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: 100%;
  max-width: 1040px;
  padding-block: 16px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 28px;
  color: #5a6470;
  font-family: var(--mono);
  font-size: clamp(0.65rem, 1vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 22px;
  height: 1px;
  display: inline-block;
  background: #769686;
}

h1 {
  max-width: 1000px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(5.2rem, 11.5vw, 10.5rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.82;
}

h1 em {
  color: var(--blue);
  font-weight: 600;
}

.intro {
  max-width: 480px;
  margin: clamp(30px, 5vh, 52px) 0 0;
  padding-left: 23px;
  border-left: 2px solid var(--gold);
  color: #394251;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.55;
}

.site-footer {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: #626a75;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 850px) {
  .site-header,
  .site-footer,
  .hero {
    width: calc(100% - 40px);
  }

  .hero {
    padding-block: 54px;
  }

  .hero-copy {
    padding-block: 0;
  }

}

@media (max-width: 520px) {
  .site-header {
    min-height: 82px;
  }

  .header-note {
    max-width: 110px;
    text-align: right;
    line-height: 1.45;
  }

  h1 {
    font-size: clamp(4rem, 22vw, 6rem);
  }

  .site-footer {
    min-height: 96px;
    padding-block: 20px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
