/* SAI Millwork — private preview styles
   Brand: black + gold yellow drawn from the provided logo. */

:root {
  --black: #0d0d0d;
  --black-soft: #161616;
  --charcoal: #222222;
  --gold: #fece12;
  --gold-bright: #ffd84a;
  --gold-deep: #8a7010;
  --cream: #f6f1e6;
  --cream-dark: #ebe4d4;
  --white: #ffffff;
  --text: #161616;
  --muted: #5a564c;
  --line: rgba(254, 206, 18, 0.35);
  --line-strong: rgba(254, 206, 18, 0.7);
  --error: #8a1f11;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  --font-sans: "Source Sans 3", "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --header-h: 5.25rem;
  --topbar-h: 2.75rem;
  --max: 72rem;
  --radius: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + var(--header-h) + 0.5rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
}

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

a {
  color: var(--gold-deep);
}

a:hover {
  color: var(--black);
}

.nobreak {
  white-space: nowrap;
  hyphens: none;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 200;
  background: var(--gold);
  color: var(--black);
  padding: 0.5rem 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.btn-gold:hover,
.btn-gold:focus-visible {
  background: var(--gold-bright);
  color: var(--black);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line-strong);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(254, 206, 18, 0.12);
  color: var(--gold-bright);
}

.btn-compact {
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  flex: 0 0 auto;
}

/* Top bar */

.topbar {
  background: var(--black);
  color: var(--cream);
  min-height: var(--topbar-h);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.4rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 0 0 auto;
}

.topbar-phone {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.topbar-phone:hover,
.topbar-phone:focus-visible {
  color: var(--gold-bright);
}

.credential-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
}

.credential-strip li {
  position: relative;
  flex: 0 0 auto;
  white-space: nowrap;
}

.credential-strip li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.65rem;
  top: 50%;
  width: 1px;
  height: 0.7em;
  background: var(--gold);
  transform: translateY(-50%);
  opacity: 0.6;
}

.badge-awi {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  border-bottom: 1px solid rgba(254, 206, 18, 0.2);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
  min-width: 0;
}

.brand:hover {
  color: var(--gold-bright);
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 5rem;
  height: 5rem;
  padding: 0.4rem;
  background: var(--white);
  border-radius: 0.7rem;
}

.brand-logo {
  width: 76px;
  height: auto;
  display: block;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-tag {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-nav ul {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

/* Hero */

.hero {
  background:
    radial-gradient(circle at 80% 10%, rgba(254, 206, 18, 0.12), transparent 40%),
    var(--black);
  color: var(--cream);
  padding: 3.25rem 1.25rem 3.75rem;
}

.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: start;
}

.hero-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-visual {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.thank-you h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  color: var(--white);
  max-width: 12ch;
}

.hero-lead {
  max-width: 38rem;
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  color: #d9d4c8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.hero-stats dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.hero-stats dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
}

.hero-stats dd span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #cfc8b8;
}

/* Photo placeholders — clearly labeled, no stock photography */

.photo-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 10.5rem;
  background:
    linear-gradient(135deg, rgba(254, 206, 18, 0.08) 25%, transparent 25%),
    linear-gradient(225deg, rgba(254, 206, 18, 0.08) 25%, transparent 25%),
    linear-gradient(45deg, rgba(0, 0, 0, 0.15) 0%, transparent 60%),
    repeating-linear-gradient(
      90deg,
      #1a1a1a 0 12px,
      #141414 12px 13px,
      #1c1a14 13px 24px
    );
  color: var(--gold);
  border: 1px solid var(--line);
  text-align: center;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 700;
}

.photo-placeholder-tall {
  min-height: 28rem;
  height: 100%;
}

.photo-placeholder-note {
  letter-spacing: 0.06em;
  text-transform: none;
  font-weight: 500;
  color: #cfc8b8;
  font-size: 0.8rem;
}

/* Hero 3D millwork sample */

.hero-visual {
  min-width: 0;
}

.hero-3d {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 28rem;
  min-height: 22rem;
  background:
    radial-gradient(circle at 50% 38%, rgba(254, 206, 18, 0.12), transparent 55%),
    #0a0a0a;
  border: 1px solid var(--line);
}

.hero-3d-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 24rem;
  touch-action: none;
  cursor: grab;
}

.hero-3d-stage:active {
  cursor: grabbing;
}

.hero-3d-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-3d-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem;
  color: #cfc8b8;
  text-align: center;
  font-size: 0.9rem;
}

.hero-3d-fallback[hidden] {
  display: none;
}

.hero-3d-fallback p {
  margin: 0;
  max-width: 16rem;
}

.hero-3d-fallback-mark {
  width: 10rem;
  height: auto;
}

.hero-3d.is-fallback .hero-3d-stage {
  cursor: default;
  touch-action: auto;
}

.hero-3d-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  margin: 0;
  padding: 0.7rem 0.9rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.55));
}

.hero-3d-caption-label {
  color: #cfc8b8;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-3d-open {
  appearance: none;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
}

.hero-3d-open:hover,
.hero-3d-open:focus-visible {
  background: var(--gold-bright);
}

/* Sample-stats dialog */

.stats-dialog {
  border: 1px solid var(--line-strong);
  background: var(--black);
  color: var(--cream);
  padding: 0;
  width: min(26rem, calc(100vw - 2rem));
  box-shadow: var(--shadow);
}

.stats-dialog::backdrop {
  background: rgba(0, 0, 0, 0.7);
}

.stats-dialog-inner {
  position: relative;
  padding: 1.5rem 1.4rem 1.6rem;
}

.stats-dialog-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gold);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius);
}

.stats-dialog-close:hover,
.stats-dialog-close:focus-visible {
  background: rgba(254, 206, 18, 0.12);
}

.sample-tag {
  display: inline-block;
  margin: 0 0 0.7rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stats-dialog h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.85rem;
  color: var(--white);
  margin: 0 0 0.6rem;
  padding-right: 2rem;
  line-height: 1.15;
}

.stats-disclaimer {
  margin: 0 0 1.25rem;
  color: #cfc8b8;
  font-size: 0.92rem;
}

.stats-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}

.stats-list div {
  display: grid;
  gap: 0.15rem;
}

.stats-list dt {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.stats-list dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
}

/* Sections */

.section {
  padding: 4.5rem 1.25rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-intro {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  color: var(--black);
}

.section-intro p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.section-about {
  background: var(--cream);
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.credential-grid li {
  background: var(--white);
  border-top: 3px solid var(--gold);
  padding: 1.25rem 1.2rem 1.3rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  height: 100%;
}

.credential-grid h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.credential-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-equipment {
  background: var(--black-soft);
  color: var(--cream);
}

.section-equipment h2,
.section-projects h2,
.section-rfp h2 {
  color: inherit;
}

.section-equipment .section-intro p {
  color: #cfc8b8;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.equipment-card {
  grid-column: span 2;
  background: var(--black);
  border: 1px solid rgba(254, 206, 18, 0.18);
  padding: 0 0 1.25rem;
}

.equipment-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.equipment-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.equipment-card .photo-placeholder {
  min-height: 9.5rem;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.equipment-card h3 {
  margin: 1rem 1.1rem 0.4rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
}

.equipment-card p {
  margin: 0 1.1rem;
  color: #cfc8b8;
  font-size: 0.98rem;
}

/* Projects */

.section-projects {
  background: var(--cream);
  color: var(--text);
}

.project-toolbar {
  margin-bottom: 1.25rem;
}

.filter-label {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-filters button {
  appearance: none;
  border: 1px solid rgba(13, 13, 13, 0.18);
  background: var(--white);
  color: var(--text);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.project-filters button:hover {
  border-color: var(--gold-deep);
}

.project-filters button[aria-pressed="true"] {
  background: var(--black);
  color: var(--gold);
  border-color: var(--black);
}

.project-status {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--muted);
  min-height: 1.4em;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr));
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-card {
  background: var(--white);
  border: 1px solid rgba(13, 13, 13, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card .photo-placeholder {
  min-height: 9rem;
}

.project-card-body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.project-sector {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.project-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
}

.project-details {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-style: italic;
  font-size: 0.95rem;
}

.notice {
  padding: 1rem;
  background: var(--cream-dark);
  border-left: 3px solid var(--gold);
}

/* Contact */

.section-contact {
  background: var(--cream);
  color: var(--text);
}

.section-contact a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.15em;
}

.section-contact a:hover,
.section-contact a:focus-visible {
  color: var(--black);
  text-decoration-color: var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.contact-card {
  background: var(--white);
  border-top: 3px solid var(--gold);
  padding: 1.35rem 1.25rem 1.5rem;
  height: 100%;
}

.contact-card h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
}

.contact-card address {
  font-style: normal;
  margin: 0 0 0.85rem;
  line-height: 1.5;
}

.contact-role {
  margin: -0.35rem 0 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

/* RFP form */

.section-rfp {
  background: var(--black);
  color: var(--cream);
}

.section-rfp .section-intro p,
.form-note {
  color: #cfc8b8;
}

.form-note {
  margin: 0;
  font-size: 0.95rem;
}

.rfp-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: start;
}

.rfp-form {
  background: var(--black-soft);
  border: 1px solid rgba(254, 206, 18, 0.22);
  padding: 1.5rem;
}

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

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field-span {
  grid-column: 1 / -1;
}

.field-narrow input {
  max-width: 18rem;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.req {
  color: var(--gold);
  font-weight: 500;
  font-size: 0.8rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(254, 206, 18, 0.28);
  border-radius: var(--radius);
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 1rem;
}

.field input:hover,
.field textarea:hover,
.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #b7b1a4;
  opacity: 1;
}

.dropzone {
  position: relative;
  border: 1px dashed var(--line-strong);
  background: rgba(254, 206, 18, 0.05);
  padding: 1.4rem 1rem;
  text-align: center;
  cursor: pointer;
}

.dropzone.is-dragover {
  background: rgba(254, 206, 18, 0.16);
  border-color: var(--gold-bright);
}

.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.dropzone-label,
.dropzone-file {
  margin: 0;
  pointer-events: none;
  color: #cfc8b8;
}

.dropzone-label strong {
  display: block;
  color: var(--gold);
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.dropzone-file {
  margin-top: 0.6rem;
  color: var(--cream);
  font-weight: 600;
}

.field-error,
.form-status.is-error {
  color: #f0b3a8;
  margin: 0;
  font-size: 0.9rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.form-status {
  margin: 0;
}

/* Footer */

.site-footer {
  background: #080808;
  color: #cfc8b8;
  padding: 2rem 1.25rem 2.4rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark-footer {
  width: 3.85rem;
  height: 3.85rem;
  padding: 0.3rem;
  border-radius: 0.55rem;
}

.brand-mark-footer img {
  width: 56px;
  height: auto;
}

.footer-contact {
  display: grid;
  gap: 0.35rem;
}

.footer-contact p {
  margin: 0;
}

.footer-contact a,
.footer-contact-links a {
  color: var(--cream);
  text-decoration: none;
}

.footer-contact a:hover,
.footer-contact-links a:hover {
  color: var(--gold);
}

.footer-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--cream);
}

.footer-legal {
  margin: 0;
  font-size: 0.95rem;
}

.footer-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-creds li {
  color: var(--gold);
}

/* Thank-you page */

.thank-you {
  min-height: 60vh;
  display: grid;
  place-items: center;
  padding: 4rem 1.25rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(254, 206, 18, 0.12), transparent 50%),
    var(--black);
  color: var(--cream);
}

.thank-you-card {
  max-width: 36rem;
  text-align: center;
}

.thank-you h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--white);
}

.thank-you p {
  color: #cfc8b8;
  margin: 0 0 1.75rem;
}

/* Responsive */

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

  .hero-grid {
    gap: 1.5rem;
  }

  .hero-left {
    display: contents;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .hero-stats {
    order: 3;
  }

  .hero-actions {
    margin-bottom: 0;
  }

  .photo-placeholder-tall {
    min-height: 16rem;
  }

  .hero-3d {
    height: 20rem;
    min-height: 18rem;
  }

  .hero-3d-stage {
    min-height: 16rem;
  }

  .hero {
    padding-top: 2.75rem;
    padding-bottom: 3rem;
  }

  .hero h1 {
    max-width: none;
  }

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

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

  .equipment-card,
  .equipment-card:nth-child(4),
  .equipment-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--black-soft);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.1rem;
  }

  .site-header.is-open .site-nav {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.85rem;
  }

  .topbar-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 0.75rem;
    text-align: left;
  }

  .topbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .credential-strip {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    width: 100%;
    min-width: 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .credential-strip::-webkit-scrollbar {
    display: none;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .form-grid,
  .credential-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .brand-mark {
    width: 4.25rem;
    height: 4.25rem;
    padding: 0.3rem;
  }

  .brand-logo {
    width: 64px;
  }

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

  .field-narrow input {
    max-width: none;
  }

  .brand-name {
    font-size: 1.3rem;
  }
}

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

  .btn {
    transition: none;
  }

  .hero-3d-open,
  .stats-dialog-close {
    transition: none;
  }
}
