@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Libre+Caslon+Display&display=swap');

:root {
  color-scheme: light;
  --paper: #f4f1ea;
  --ink: #152027;
  --muted: #687277;
  --line: rgba(21, 32, 39, 0.2);
  --blue: #315cff;
  --white: #fffefa;
  --sans: 'DM Sans', Arial, sans-serif;
  --serif: 'Libre Caslon Display', Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--white);
  font-size: 0.75rem;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: min(100% - 3rem, 1440px);
  margin: 0 auto;
  padding: 1.6rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: block;
}

.brand-name {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
}

.brand-name b {
  color: var(--blue);
  font-weight: 600;
}

.header-contact,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-contact::after,
.text-link::after {
  content: '';
  display: block;
  height: 1px;
  background: currentColor;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.header-contact,
.text-link {
  position: relative;
}

.header-contact:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

main {
  overflow: hidden;
}

.hero {
  width: min(100% - 3rem, 1440px);
  min-height: 760px;
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 9rem) 0 clamp(4rem, 7vw, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(400px, 0.8fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 8rem);
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 0 0 2.8rem;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span:first-child::after {
  content: '';
  display: inline-block;
  width: 2.8rem;
  height: 1px;
  margin-left: 1.2rem;
  vertical-align: middle;
  background: var(--blue);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 2.2rem;
  font-family: var(--serif);
  font-size: clamp(4.5rem, 8vw, 8.9rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.87;
}

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

.hero-intro {
  max-width: 31rem;
  margin-bottom: 2.8rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.75;
}

.hero-visual {
  position: relative;
  margin: 0;
}

.hero-visual::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: -0.8rem;
  right: -0.8rem;
  width: 5rem;
  height: 5rem;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  object-position: 68% center;
  background: #dce3e6;
  filter: saturate(0.78) contrast(1.04);
}

.hero-visual figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.statement {
  padding: clamp(5rem, 10vw, 10rem) max(1.5rem, calc((100vw - 1440px) / 2));
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  background: var(--ink);
  color: var(--white);
}

.section-index {
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.statement-copy {
  max-width: 780px;
}

.section-label {
  margin-bottom: 2rem;
  color: #aab2b5;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.statement h2,
.contact h2 {
  margin-bottom: 2.4rem;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.statement-copy > p:last-child {
  max-width: 36rem;
  margin-left: auto;
  color: #b6bdc0;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.75;
}

.principles {
  width: min(100% - 3rem, 1440px);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.principles article {
  min-height: 220px;
  padding: 1.8rem 3rem 0 0;
  border-top: 1px solid var(--ink);
}

.principles article + article {
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}

.principle-number {
  color: var(--blue);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.principles h3 {
  margin: 4rem 0 0.8rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.principles p {
  max-width: 17rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.contact {
  margin: 0 1rem;
  padding: clamp(4rem, 8vw, 8rem) max(1.5rem, calc((100vw - 1376px) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 3rem;
  background: var(--blue);
  color: var(--white);
}

.contact .section-label {
  color: rgba(255, 255, 255, 0.68);
}

.contact h2 {
  margin: 0;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  font-size: clamp(0.9rem, 1.3vw, 1.15rem);
  text-decoration: none;
  transition: padding 220ms ease, background 220ms ease;
}

.contact-link:hover {
  padding-right: 0.7rem;
  padding-left: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
}

.contact-arrow {
  font-size: 1.6rem;
}

footer {
  width: min(100% - 3rem, 1440px);
  margin: 0 auto;
  padding: 2rem 0 2.6rem;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.reveal {
  animation: reveal-up 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.reveal-delay {
  animation-delay: 120ms;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 5.5rem;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-visual {
    width: min(80%, 600px);
    margin-left: auto;
  }

  .hero-visual img {
    aspect-ratio: 4 / 3;
  }

  .statement {
    grid-template-columns: 100px 1fr;
  }

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

  .principles article {
    min-height: auto;
    padding: 1.5rem 0 2.5rem;
  }

  .principles article + article {
    padding-left: 0;
    border-left: 0;
  }

  .principles h3 {
    margin-top: 2.5rem;
  }

  .contact {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 600px) {
  .site-header,
  .hero,
  .principles,
  footer {
    width: min(100% - 2rem, 1440px);
  }

  .site-header {
    padding: 1rem 0;
  }

  .brand-name {
    max-width: 10rem;
    line-height: 1.25;
  }

  .header-contact span:first-child {
    display: none;
  }

  .hero {
    padding-top: 4rem;
    padding-bottom: 4rem;
    gap: 3.5rem;
  }

  .eyebrow {
    margin-bottom: 2rem;
  }

  h1 {
    font-size: clamp(3.8rem, 20vw, 5.6rem);
  }

  .hero-visual {
    width: 92%;
  }

  .hero-visual img {
    aspect-ratio: 4 / 5;
  }

  .statement {
    grid-template-columns: 1fr;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .statement-copy > p:last-child {
    margin-left: 0;
  }

  .contact {
    margin: 0;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .contact h2 {
    font-size: clamp(3.2rem, 16vw, 4.8rem);
  }

  .contact-link {
    overflow-wrap: anywhere;
  }

  footer {
    gap: 1rem;
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
