:root {
  --black: #000000;
  --charcoal: #08090a;
  --panel: rgba(10, 10, 9, 0.78);
  --gold-dark: #6a4822;
  --gold-mid: #7f5d33;
  --gold-light: #ebcc92;
  --gold-soft: #decba5;
  --ivory: #f6efe1;
  --muted: #b7b0a4;
  --cool: #87908e;
  --line: rgba(235, 204, 146, 0.22);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.46);
  --brand-font: "Hurme Geometric Sans 2", "Montserrat", "Avenir Next", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(235, 204, 146, 0.09), transparent 30rem),
    linear-gradient(180deg, #000 0%, #080807 54%, #000 100%);
  color: var(--ivory);
  font-family: var(--brand-font);
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 3.5rem);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.24));
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.9);
  border-color: rgba(235, 204, 146, 0.16);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand-logo {
  width: 3.4rem;
  height: 2.35rem;
  object-fit: contain;
  object-position: center;
}

.brand-text {
  display: block;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-text strong {
  color: var(--gold-light);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.menu-toggle,
.menu-close {
  display: grid;
  place-items: center;
  border: 1px solid rgba(235, 204, 146, 0.36);
  background: rgba(8, 8, 7, 0.74);
  color: var(--gold-light);
  cursor: pointer;
}

.menu-toggle {
  width: 3rem;
  height: 3rem;
}

.menu-toggle span {
  display: block;
  width: 1.2rem;
  height: 1px;
  background: currentColor;
  transition: transform 160ms ease;
}

.menu-toggle span + span {
  margin-top: 0.45rem;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(0.225rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-0.225rem) rotate(-45deg);
}

.menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(0, 0, 0, 0.54);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.menu-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-rows: auto repeat(4, auto) 1fr;
  width: min(25rem, calc(100% - 2rem));
  height: 100svh;
  padding: 1.1rem;
  border-left: 1px solid rgba(235, 204, 146, 0.28);
  background:
    linear-gradient(180deg, rgba(235, 204, 146, 0.08), transparent 32%),
    #000;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.side-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.side-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.side-logo {
  width: 6.4rem;
  height: 3.8rem;
  object-fit: contain;
}

.menu-close {
  width: 2.8rem;
  height: 2.8rem;
  font-size: 1.7rem;
  line-height: 1;
}

.side-menu > a {
  position: relative;
  display: block;
  padding: 1.15rem 0.2rem;
  border-bottom: 1px solid rgba(235, 204, 146, 0.15);
  color: var(--ivory);
  font-size: clamp(1.35rem, 4.8vw, 2.15rem);
  font-weight: 520;
  letter-spacing: 0;
}

.side-menu > a::after {
  position: absolute;
  right: 0.2rem;
  top: 50%;
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light));
  content: "";
}

.side-contact {
  align-self: end;
  display: grid;
  gap: 0.55rem;
  padding-top: 1.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.side-contact a {
  color: var(--gold-light);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.hero {
  position: relative;
  display: grid;
  min-height: 88svh;
  overflow: hidden;
  padding: 8.4rem clamp(1.25rem, 5vw, 5rem) 4rem;
  align-items: end;
  justify-items: center;
  isolation: isolate;
  background: #000 url("assets/loyds-hero.png") center / cover no-repeat;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background-image: url("assets/loyds-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.76) 33%, rgba(0, 0, 0, 0.23) 74%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.1) 45%, rgba(0, 0, 0, 0.96) 100%);
}

.hero::after {
  position: absolute;
  left: clamp(1.25rem, 5vw, 5rem);
  right: clamp(1.25rem, 5vw, 5rem);
  bottom: 1.6rem;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-light), transparent);
  content: "";
}

.hero-content {
  max-width: 680px;
  justify-self: center;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero .eyebrow {
  font-weight: 560;
  letter-spacing: 0.34em;
  word-spacing: 0.28em;
}

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

h1 {
  max-width: 13ch;
  margin-bottom: 1.35rem;
  color: var(--ivory);
  font-size: clamp(2.9rem, 6.8vw, 5.8rem);
  font-weight: 390;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-title-logo {
  max-width: none;
  margin-bottom: 1.55rem;
  line-height: 1;
}

.hero-title-logo img {
  display: block;
  width: min(34rem, 78vw);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}

h2 {
  margin-bottom: 0;
  color: var(--ivory);
  font-size: clamp(1.9rem, 3.8vw, 3.75rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.85rem;
  color: var(--ivory);
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
  font-weight: 560;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 39rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.15rem;
  color: rgba(246, 239, 225, 0.86);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  border: 1px solid rgba(235, 204, 146, 0.42);
  color: var(--ivory);
  font-size: 0.82rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-light), var(--gold-mid));
  border-color: rgba(235, 204, 146, 0.66);
  color: #090806;
}

.button.secondary {
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(8px);
}

.hero-signature {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  width: min(42rem, calc(100% - 2.5rem));
  max-width: none;
  margin-top: 1.45rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(235, 204, 146, 0.42);
  color: var(--gold-soft);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-align: center;
  transform: none;
}

.about,
.projects,
.quality,
.contact {
  padding: clamp(4.8rem, 9vw, 8.5rem) clamp(1.25rem, 5vw, 5rem);
}

.about-grid,
.section-heading,
.contact,
.philosophy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
  gap: clamp(2rem, 6vw, 6rem);
}

.about-copy,
.section-heading > p,
.contact-copy p,
.project-row p,
.quality-inner p,
.philosophy-copy {
  color: var(--muted);
}

.about-copy {
  align-self: end;
  font-size: 1.02rem;
}

.about-copy p:last-child,
.philosophy-copy p:last-child {
  margin-bottom: 0;
}

.philosophy {
  align-items: end;
  padding: clamp(4.8rem, 9vw, 8.5rem) clamp(1.25rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(106, 72, 34, 0.2), transparent 32%),
    var(--black);
}

.statement-block span,
.project-row span {
  display: block;
  margin-bottom: 1rem;
  color: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.disciplines {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  padding: 1rem clamp(1.25rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.disciplines p {
  margin: 0;
  padding: 0.7rem clamp(0.85rem, 2vw, 1.4rem);
  color: var(--gold-soft);
  font-size: 0.77rem;
  font-weight: 620;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.disciplines p + p {
  border-left: 1px solid rgba(235, 204, 146, 0.22);
}

.section-heading {
  align-items: end;
  margin-bottom: clamp(2.2rem, 5vw, 4.5rem);
}

.section-heading > p {
  margin: 0;
}

.project-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.project-row {
  display: grid;
  grid-template-columns: minmax(8rem, 0.34fr) minmax(0, 1fr);
  gap: clamp(1.2rem, 5vw, 5rem);
  align-items: baseline;
  padding: clamp(1.7rem, 4vw, 3.2rem) 0;
  border-bottom: 1px solid var(--line);
}

.project-row span {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.7rem);
  font-weight: 420;
  letter-spacing: 0;
  text-transform: none;
}

.project-row h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  font-weight: 500;
}

.project-row p {
  max-width: 46rem;
  margin-bottom: 0;
}

.quality {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.96)),
    url("assets/loyds-hero.png") center / cover fixed;
}

.quality-inner {
  max-width: 860px;
}

.quality-inner h2 {
  margin-bottom: 1.2rem;
}

.quality-inner p:last-child {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.promise {
  display: grid;
  min-height: 18rem;
  place-items: center;
  padding: clamp(3.2rem, 6vw, 5rem) clamp(1.25rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(106, 72, 34, 0.24), transparent 42%),
    #000;
  text-align: center;
}

.promise p {
  max-width: 1040px;
  margin: 0;
  background: linear-gradient(120deg, var(--gold-dark), var(--gold-light), var(--gold-soft), var(--gold-mid));
  color: transparent;
  font-size: clamp(1.45rem, 4.6vw, 4.1rem);
  font-weight: 520;
  line-height: 1.12;
  letter-spacing: 0;
  -webkit-background-clip: text;
  background-clip: text;
}

.contact {
  align-items: start;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(235, 204, 146, 0.06), transparent 30%),
    var(--charcoal);
}

.contact-copy {
  position: sticky;
  top: 7rem;
}

.contact-copy h2 {
  margin-bottom: 1.3rem;
}

.contact-lines {
  display: grid;
  gap: 0.5rem;
  margin-top: 2rem;
  color: var(--gold-light);
  font-weight: 720;
}

.contact-lines span {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.12em;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.15rem, 3vw, 2rem);
  border: 1px solid rgba(235, 204, 146, 0.28);
  background: rgba(0, 0, 0, 0.58);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form span {
  color: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 3.2rem;
  border: 1px solid rgba(246, 239, 225, 0.16);
  background: rgba(255, 255, 255, 0.055);
  color: var(--ivory);
  padding: 0.78rem 0.9rem;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-form select option {
  background: #111;
  color: var(--ivory);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(235, 204, 146, 0.66);
  box-shadow: 0 0 0 3px rgba(235, 204, 146, 0.12);
}

.form-button {
  width: 100%;
  margin-top: 0.4rem;
  cursor: pointer;
}

.form-note {
  min-height: 1.5rem;
  margin: 0;
  color: var(--cool);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem clamp(1.25rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  background: #000;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.compact-brand .brand-logo {
  width: 3rem;
  height: 2rem;
}

.thank-you-page {
  min-height: 100svh;
}

.thank-you {
  display: grid;
  min-height: 100svh;
  align-content: center;
  gap: clamp(2.4rem, 6vw, 4rem);
  padding: clamp(1.25rem, 5vw, 5rem);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.92)),
    url("assets/loyds-hero.png") center / cover no-repeat;
}

.thank-you-card {
  max-width: 660px;
  padding-top: clamp(1.6rem, 4vw, 2.4rem);
  border-top: 1px solid rgba(235, 204, 146, 0.48);
}

.thank-you-card h1 {
  max-width: 12ch;
}

.thank-you-card p:not(.section-kicker) {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
}

@media (max-width: 1060px) {
  .hero {
    min-height: 86svh;
  }

  .hero-signature {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 2rem;
    text-align: center;
    transform: none;
  }
}

@media (max-width: 820px) {
  .brand-text strong {
    font-size: 0.76rem;
  }

  .hero {
    min-height: 84svh;
    padding: 7.4rem 1rem 2.2rem;
    background-position: 62% center;
  }

  .hero-media {
    background-position: 62% center;
    transform: none;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.28)),
      linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.88));
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.65rem, 11vw, 4.65rem);
  }

  .hero-title-logo img {
    width: min(28rem, 92vw);
  }

  .hero-actions {
    display: grid;
    justify-content: stretch;
  }

  .hero-signature {
    width: 100%;
  }

  .about,
  .projects,
  .quality,
  .contact,
  .philosophy {
    padding: 4rem 1rem;
  }

  .about-grid,
  .section-heading,
  .contact,
  .philosophy {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }

  .project-list {
    grid-template-columns: 1fr;
  }

  .project-row {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .disciplines {
    justify-content: flex-start;
  }

  .disciplines p {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .disciplines p + p {
    border-left: 0;
    border-top: 1px solid rgba(235, 204, 146, 0.16);
  }

  .quality {
    background-attachment: scroll;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 470px) {
  .brand {
    gap: 0.55rem;
  }

  .brand-logo {
    width: 2.75rem;
    height: 1.9rem;
  }

  .brand-text strong {
    font-size: 0.68rem;
  }

  .menu-toggle {
    width: 2.75rem;
    height: 2.75rem;
  }
}

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