@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/CormorantGaramond-500.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Libre Franklin';
  src: url('/LibreFranklin-400.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Libre Franklin';
  src: url('/LibreFranklin-500.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --ink: #1a212b;
  --paper: #f2efe8;
  --slate: #6c7580;
  --brass: #9c7f4e;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Libre Franklin', Arial, sans-serif;
}

a {
  color: inherit;
}

.power-page {
  min-height: 100svh;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 76svh;
  overflow: hidden;
  padding: clamp(28px, 4vw, 64px) clamp(24px, 6vw, 96px)
    clamp(52px, 6vw, 88px);
}

.power-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  width: clamp(220px, 23vw, 340px);
  height: auto;
}

.status-block {
  padding: 12px 16px;
  background: var(--brass);
  color: var(--paper);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  min-height: calc(76svh - 100px);
  align-items: center;
  gap: clamp(30px, 4vw, 80px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding-top: clamp(52px, 8vh, 110px);
}

.location {
  margin: 0 0 26px;
  color: #b7bec5;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(6rem, 12vw, 13rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.68;
}

h1 span,
h1 strong {
  display: block;
}

h1 strong {
  padding-left: 0.38em;
  color: var(--brass);
  font-weight: 500;
}

.summary {
  max-width: 560px;
  margin: clamp(38px, 5vh, 60px) 0 0;
  color: #bbc1c7;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.8;
}

.contact-cta {
  display: inline-flex;
  min-width: 260px;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  margin-top: 34px;
  padding: 18px 20px;
  background: var(--paper);
  color: var(--ink);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.contact-cta span {
  color: var(--brass);
  font-size: 16px;
}

.contact-cta:hover,
.contact-cta:focus-visible {
  outline: none;
  background: var(--brass);
  color: var(--paper);
  transform: translateY(-2px);
}

.contact-cta:hover span,
.contact-cta:focus-visible span {
  color: var(--paper);
}

.emblem-display {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 440px;
  place-items: center;
}

.emblem-display img {
  width: min(115%, 620px);
  max-width: none;
  opacity: 0.13;
  transform: translateX(8%);
  animation: emblem-in 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.contact-band {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr 0.85fr 1.25fr;
  min-height: 24svh;
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  padding: clamp(34px, 4vw, 64px) clamp(24px, 6vw, 96px);
  background: var(--paper);
  color: var(--ink);
}

.identity,
.contact-detail,
address {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  font-style: normal;
  text-decoration: none;
}

.detail-label {
  color: var(--brass);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.identity strong,
.contact-detail strong,
address strong {
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 500;
}

.identity > span:last-child,
address > span:last-child {
  color: var(--slate);
  font-size: 10px;
  line-height: 1.5;
}

.contact-detail strong {
  transition: color 180ms ease;
}

.contact-detail:hover strong,
.contact-detail:focus-visible strong {
  color: var(--brass);
}

.contact-detail:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 8px;
}

@keyframes emblem-in {
  from {
    opacity: 0;
    transform: translateX(14%) scale(0.94);
  }

  to {
    opacity: 0.13;
    transform: translateX(8%) scale(1);
  }
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.55fr);
  }

  .emblem-display img {
    width: min(135%, 500px);
  }

  .contact-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: auto;
    padding-bottom: 64px;
  }

  .power-header {
    align-items: flex-start;
  }

  .status-block {
    max-width: 110px;
    padding: 10px 12px;
    line-height: 1.5;
    text-align: center;
  }

  .hero-layout {
    display: block;
    min-height: 0;
  }

  .hero-copy {
    padding-top: 86px;
  }

  h1 {
    font-size: clamp(5.4rem, 23vw, 8rem);
  }

  .summary {
    max-width: 480px;
  }

  .emblem-display {
    position: absolute;
    right: -18%;
    bottom: -7%;
    z-index: -1;
    width: 78%;
    min-height: 0;
  }

  .emblem-display img {
    width: 100%;
    opacity: 0.09;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 24px 20px 54px;
  }

  .wordmark {
    width: 194px;
  }

  .status-block {
    max-width: 94px;
    padding: 8px 9px;
    font-size: 7px;
  }

  .hero-copy {
    padding-top: 76px;
  }

  .location {
    margin-bottom: 22px;
  }

  h1 {
    font-size: clamp(4.7rem, 23vw, 6.5rem);
  }

  .summary {
    margin-top: 38px;
    font-size: 13px;
  }

  .contact-cta {
    width: 100%;
    min-width: 0;
  }

  .contact-band {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 20px 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .emblem-display img {
    animation: none;
  }

  * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
