:root {
  --ink: #050504;
  --charcoal: #12110f;
  --charcoal-2: #1b1915;
  --stone: #e7ddd0;
  --stone-2: #bdb2a4;
  --muted: #8f867b;
  --red: #b9271f;
  --blue: #1f7dc1;
  --green: #5f8f3b;
  --cream: #d7c7b4;
  --line: rgba(231, 221, 208, 0.18);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(185, 39, 31, 0.15), transparent 27rem),
    radial-gradient(circle at 82% 0%, rgba(31, 125, 193, 0.14), transparent 28rem),
    linear-gradient(180deg, #070706 0%, #10100e 42%, #060605 100%);
  color: var(--stone);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.site-header {
  align-items: center;
  background: rgba(5, 5, 4, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  min-height: 82px;
  padding: 0 5vw;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 29px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.brand-mark {
  aspect-ratio: 1;
  height: 54px;
  object-fit: cover;
  width: 54px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 34px;
  justify-content: center;
}

.nav-links a,
.mobile-menu a {
  color: rgba(231, 221, 208, 0.86);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links a:hover,
.mobile-menu a:hover {
  color: var(--blue);
}

.header-action,
.button {
  align-items: center;
  border: 1px solid rgba(231, 221, 208, 0.36);
  display: inline-flex;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 19px;
  font-weight: 800;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.header-action,
.button.primary {
  background: linear-gradient(90deg, var(--red), #c9b89d 50%, var(--blue));
  border-color: transparent;
  color: #050504;
}

.button.ghost {
  background: rgba(231, 221, 208, 0.04);
  color: var(--stone);
}

.header-action:hover,
.button:hover {
  transform: translateY(-2px);
}

.button.ghost:hover {
  border-color: var(--green);
  color: #dceccb;
}

.menu-button {
  background: transparent;
  border: 0;
  color: var(--stone);
  display: none;
  height: 46px;
  padding: 10px;
  width: 46px;
}

.menu-button span:not(.sr-only) {
  background: currentColor;
  display: block;
  height: 2px;
  margin: 6px 0;
  width: 26px;
}

.mobile-menu {
  background: rgba(5, 5, 4, 0.98);
  border-bottom: 1px solid var(--line);
  display: none;
  flex-direction: column;
  gap: 20px;
  left: 0;
  padding: 110px 8vw 34px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 15;
}

.hero {
  display: grid;
  gap: 5vw;
  grid-template-columns: minmax(0, 0.92fr) minmax(330px, 0.78fr);
  isolation: isolate;
  min-height: 780px;
  overflow: hidden;
  padding: 152px 5vw 58px;
  position: relative;
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(5, 5, 4, 0.95) 0%, rgba(5, 5, 4, 0.84) 36%, rgba(5, 5, 4, 0.35) 100%),
    linear-gradient(0deg, rgba(5, 5, 4, 0.94) 0%, rgba(5, 5, 4, 0.12) 52%),
    radial-gradient(circle at 76% 28%, rgba(31, 125, 193, 0.2), transparent 24rem),
    radial-gradient(circle at 46% 18%, rgba(185, 39, 31, 0.16), transparent 22rem),
    linear-gradient(135deg, #050504 0%, #13120f 52%, #071015 100%);
  inset: 0;
  position: absolute;
  transform: scale(1.02);
  z-index: -3;
}

.hero::before {
  background:
    linear-gradient(90deg, var(--red), transparent 23%, transparent 76%, var(--blue)),
    linear-gradient(90deg, transparent 0 58%, rgba(95, 143, 59, 0.38) 58% 60%, transparent 60%);
  content: "";
  height: 5px;
  left: 5vw;
  opacity: 0.92;
  position: absolute;
  right: 5vw;
  top: 82px;
  z-index: -1;
}

.hero::after {
  background:
    radial-gradient(circle at 78% 30%, rgba(31, 125, 193, 0.22), transparent 22rem),
    radial-gradient(circle at 57% 18%, rgba(185, 39, 31, 0.19), transparent 20rem),
    radial-gradient(circle at 67% 78%, rgba(95, 143, 59, 0.14), transparent 18rem);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -2;
}

.hero-content {
  align-self: center;
  max-width: 720px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.hero-portrait {
  align-self: center;
  aspect-ratio: 4 / 5;
  background: #090908;
  border: 1px solid rgba(231, 221, 208, 0.2);
  box-shadow: var(--shadow);
  max-width: 520px;
  min-width: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 1;
}

.hero-portrait::before {
  background:
    linear-gradient(180deg, rgba(5, 5, 4, 0.02), rgba(5, 5, 4, 0.3) 58%, rgba(5, 5, 4, 0.72)),
    linear-gradient(90deg, rgba(185, 39, 31, 0.16), transparent 34%, transparent 68%, rgba(31, 125, 193, 0.18));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-portrait::after {
  background: linear-gradient(90deg, var(--red), var(--cream), var(--blue), var(--green));
  bottom: 0;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 3;
}

.hero-photo {
  filter: contrast(1.04) saturate(0.95);
  height: 100%;
  object-fit: cover;
  object-position: 82% 38%;
  width: 100%;
}

.hero-logo-badge {
  background: transparent;
  border: 0;
  bottom: 24px;
  left: 24px;
  max-width: min(260px, calc(100% - 48px));
  padding: 0;
  position: absolute;
  z-index: 2;
}

.dedication,
.closing-line {
  color: var(--cream);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 25px;
  font-weight: 800;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Barlow Condensed", Arial, sans-serif;
  line-height: 0.92;
  margin: 0;
  text-transform: uppercase;
}

h1 {
  color: var(--stone);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(74px, 8.4vw, 128px);
  text-shadow: 0 12px 46px rgba(0, 0, 0, 0.58);
}

.hero-line {
  color: var(--stone);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(36px, 4vw, 62px);
  font-weight: 800;
  line-height: 0.96;
  margin: 28px 0 12px;
  max-width: 640px;
  text-transform: uppercase;
}

.hero-line::before,
.section-heading h2::after,
.phil-copy h2::after,
.principles-header h2::after {
  background: linear-gradient(90deg, var(--red), var(--cream), var(--blue), var(--green));
  content: "";
  display: block;
  height: 4px;
  margin-bottom: 18px;
  width: 126px;
}

.hero-copy {
  color: rgba(231, 221, 208, 0.92);
  font-size: 21px;
  font-weight: 600;
  margin: 0;
  max-width: 590px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.hero-panel {
  align-self: end;
  background: rgba(5, 5, 4, 0.72);
  border: 1px solid rgba(231, 221, 208, 0.18);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-self: end;
  max-width: 760px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.hero-panel div {
  border-top: 3px solid var(--red);
  padding: 22px 28px;
}

.hero-panel div + div {
  border-top-color: var(--blue);
}

.hero-panel strong {
  color: var(--cream);
  display: block;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}

.hero-panel span {
  color: rgba(231, 221, 208, 0.82);
  display: block;
  margin-top: 8px;
}

.meet-strip {
  background:
    linear-gradient(90deg, rgba(185, 39, 31, 0.09), transparent 26%, transparent 74%, rgba(31, 125, 193, 0.1)),
    var(--stone);
  color: var(--ink);
  display: grid;
  gap: 42px;
  grid-template-columns: 0.85fr 1.6fr;
  padding: 64px 5vw;
}

.section-heading h2,
.phil-copy h2,
.principles-header h2,
.contact-copy h2 {
  font-size: clamp(46px, 5vw, 76px);
}

.section-heading p,
.principles-header p {
  color: #554d43;
  font-size: 19px;
  margin: 16px 0 0;
  max-width: 420px;
}

.meet-options {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.meet-options article {
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(5, 5, 4, 0.14);
  border-top: 5px solid var(--red);
  min-height: 230px;
  padding: 24px;
}

.meet-options article:nth-child(2) {
  border-top-color: var(--blue);
}

.meet-options article:nth-child(3) {
  border-top-color: var(--green);
}

.option-icon {
  align-items: center;
  background: #11100e;
  color: var(--stone);
  display: inline-flex;
  height: 62px;
  justify-content: center;
  margin-bottom: 22px;
  width: 62px;
}

.option-icon svg {
  fill: none;
  height: 32px;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.8;
  width: 32px;
}

.meet-options h3,
.principle-grid h3 {
  font-size: 32px;
}

.meet-options p,
.principle-grid p,
.phil-copy p,
.contact-copy p {
  font-size: 17px;
  margin: 12px 0 0;
}

.phil-section {
  background:
    linear-gradient(90deg, rgba(5, 5, 4, 0.98), rgba(5, 5, 4, 0.84)),
    url("assets/photos/phil-hills.jpeg") center / cover no-repeat;
  display: grid;
  gap: 5vw;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
  padding: 84px 5vw;
}

.phil-photo {
  align-self: start;
  border: 1px solid rgba(231, 221, 208, 0.22);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.phil-photo::after {
  background: linear-gradient(90deg, var(--red), var(--blue), var(--green));
  bottom: 0;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
}

.phil-photo > img:first-child {
  aspect-ratio: 4 / 5;
  filter: grayscale(0.35) contrast(1.05) saturate(0.9);
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
  width: 100%;
}

.photo-mark {
  background: rgba(5, 5, 4, 0.72);
  bottom: 18px;
  height: 88px;
  object-fit: cover;
  padding: 8px;
  position: absolute;
  right: 18px;
  width: 88px;
}

.phil-copy {
  align-self: center;
  max-width: 710px;
}

.phil-copy p {
  color: rgba(231, 221, 208, 0.85);
  font-size: 20px;
}

blockquote {
  border-left: 5px solid var(--blue);
  color: var(--cream);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 800;
  line-height: 0.98;
  margin: 34px 0;
  padding-left: 24px;
  text-transform: uppercase;
}

.principles {
  background:
    radial-gradient(circle at 8% 18%, rgba(185, 39, 31, 0.12), transparent 22rem),
    radial-gradient(circle at 86% 30%, rgba(31, 125, 193, 0.12), transparent 24rem),
    var(--charcoal);
  padding: 76px 5vw;
}

.principles-header {
  align-items: end;
  display: grid;
  gap: 20px 28px;
  grid-template-columns: 92px minmax(0, 1fr) minmax(240px, 420px);
  margin-bottom: 38px;
}

.principles-header img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 92px;
}

.principles-header p {
  color: var(--stone-2);
}

.principle-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.principle-grid article {
  background: rgba(231, 221, 208, 0.045);
  border: 1px solid rgba(231, 221, 208, 0.1);
  min-height: 218px;
  padding: 30px;
}

.principle-grid article:nth-child(1) h3 {
  color: #ef6a5f;
}

.principle-grid article:nth-child(2) h3 {
  color: #65b9ee;
}

.principle-grid article:nth-child(3) h3 {
  color: #a8d67d;
}

.principle-grid article:nth-child(4) h3 {
  color: var(--cream);
}

.principle-grid p {
  color: rgba(231, 221, 208, 0.82);
}

.story-band {
  background: var(--stone);
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 14px;
}

.story-band figure {
  background: #090908;
  border: 1px solid rgba(5, 5, 4, 0.18);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.story-band figure::after {
  background: linear-gradient(90deg, var(--red), var(--blue), var(--green));
  bottom: 0;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
}

.story-band img {
  aspect-ratio: 1 / 1;
  filter: grayscale(0.18) contrast(1.04) saturate(0.92);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.story-band figure:first-child img {
  object-position: 55% 25%;
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(5, 5, 4, 0.94), rgba(5, 5, 4, 0.78)),
    url("assets/photos/phil-memory.jpeg") center / cover no-repeat;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 560px);
  padding: 90px 5vw;
}

.contact-copy p {
  color: rgba(231, 221, 208, 0.84);
  font-size: 20px;
  max-width: 640px;
}

.contact-form {
  background: rgba(5, 5, 4, 0.82);
  border: 1px solid rgba(231, 221, 208, 0.18);
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  padding: 28px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--cream);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
}

input,
select,
textarea {
  background: rgba(231, 221, 208, 0.08);
  border: 1px solid rgba(231, 221, 208, 0.22);
  color: var(--stone);
  font: 500 16px/1.4 Inter, Arial, sans-serif;
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}

select {
  color-scheme: dark;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 2px solid rgba(31, 125, 193, 0.28);
}

.form-note {
  color: var(--stone-2);
  margin: 0;
  min-height: 24px;
}

.crisis-note {
  background: #090908;
  border-top: 1px solid rgba(231, 221, 208, 0.12);
  color: rgba(231, 221, 208, 0.82);
  padding: 18px 5vw;
}

.crisis-note p {
  margin: 0;
  max-width: 980px;
}

.crisis-note a {
  color: #65b9ee;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  align-items: center;
  background: #050504;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  gap: 18px 34px;
  justify-content: space-between;
  padding: 26px 5vw;
  text-transform: uppercase;
}

.site-footer img {
  aspect-ratio: 1;
  height: 62px;
  object-fit: cover;
  width: 62px;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav-links,
  .header-action {
    display: none;
  }

  .menu-button {
    display: inline-block;
    justify-self: end;
  }

  .mobile-menu.is-open {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 130px;
  }

  .hero-panel {
    justify-self: stretch;
  }

  .meet-strip,
  .phil-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .principles-header {
    align-items: start;
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .principles-header p {
    grid-column: 2;
  }

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

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    min-height: 74px;
    padding: 0 22px;
  }

  .brand {
    font-size: 24px;
  }

  .brand-mark {
    height: 44px;
    width: 44px;
  }

  .hero {
    gap: 28px;
    grid-template-columns: minmax(0, 1fr);
    max-width: 100vw;
    padding: 112px 22px 34px;
  }

  .hero-portrait {
    max-width: calc(100vw - 44px);
    order: -1;
    width: calc(100vw - 44px);
  }

  .hero-content,
  .hero-panel {
    max-width: calc(100vw - 44px);
    width: calc(100vw - 44px);
  }

  h1 {
    font-size: clamp(50px, 15vw, 62px);
  }

  .dedication {
    font-size: 20px;
  }

  .hero-line {
    font-size: 31px;
    max-width: 100%;
  }

  .hero-photo {
    object-position: 82% 34%;
  }

  .hero-logo-badge {
    bottom: 14px;
    left: 14px;
    max-width: 210px;
  }

  .hero-copy {
    font-size: 18px;
    max-width: 320px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-panel,
  .meet-options,
  .principle-grid,
  .story-band {
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    padding: 20px;
  }

  .meet-strip,
  .phil-section,
  .principles,
  .contact-section {
    padding: 48px 22px;
  }

  .meet-options article {
    min-height: auto;
  }

  .principles-header {
    display: block;
  }

  .principles-header img {
    margin-bottom: 18px;
    width: 76px;
  }

  .principle-grid article {
    min-height: auto;
  }

  .contact-form {
    padding: 20px;
  }
}

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