:root {
  --ink: #111111;
  --text: #1d1d1f;
  --paper: #f5f5f7;
  --panel: rgba(255, 255, 255, 0.78);
  --white: #ffffff;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, 0.12);
  --brand: #7b1025;
  --gold: #b87d21;
  --soft: #ece7de;
  --radius: 24px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
}

body.modal-open {
  overflow: hidden;
  position: fixed;
  left: 0;
  right: 0;
  top: var(--scroll-lock-top, 0);
  width: 100%;
}

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

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(184, 125, 33, 0.72);
  outline-offset: 4px;
}

.site-header {
  align-items: center;
  background: rgba(245, 245, 247, 0.78);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
  display: grid;
  gap: 18px;
  grid-template-columns: 170px 1fr auto;
  min-height: 74px;
  padding: 8px clamp(18px, 4vw, 54px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.logo img {
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(12px, 2vw, 24px);
  justify-content: center;
  color: rgba(29, 29, 31, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
}

.site-nav a {
  padding: 10px 0;
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--brand);
}

.header-call,
.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-call,
.button.primary {
  background: var(--text);
  color: var(--white);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.button:hover,
.header-call:hover,
.gallery-button:hover {
  transform: translateY(-1px);
}

.menu-button {
  display: none;
}

.hero {
  background: var(--ink);
  color: var(--white);
  min-height: calc(100svh - 74px);
  overflow: hidden;
  position: relative;
}

.hero-image,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-image {
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  width: 100%;
}

.hero-shade {
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.18)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.48), transparent 46%);
}

.hero-content {
  max-width: 780px;
  padding: clamp(92px, 13vw, 170px) clamp(22px, 6vw, 86px) 150px;
  position: relative;
  z-index: 1;
}

.hero-panel {
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  bottom: 34px;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  left: clamp(22px, 6vw, 86px);
  padding: 8px;
  position: absolute;
  z-index: 1;
}

.hero-panel span {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 10px 14px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1,
h2 {
  color: inherit;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  font-size: 5.6rem;
  margin-bottom: 24px;
  max-width: 900px;
}

h2 {
  font-size: 3.55rem;
  margin-bottom: 18px;
  max-width: 850px;
}

h3 {
  font-size: 1.16rem;
  letter-spacing: 0;
  line-height: 1.18;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
  font-size: 1rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.22rem;
  max-width: 660px;
}

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

.quick-bar {
  background: var(--white);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  padding: clamp(12px, 2vw, 18px) clamp(18px, 4vw, 54px);
}

.quick-bar span {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 16px clamp(12px, 2vw, 22px);
  text-align: center;
}

.section,
.portfolio,
.reviews,
.contact {
  padding: clamp(72px, 10vw, 136px) clamp(20px, 6vw, 86px);
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.5fr);
  margin-bottom: 44px;
}

.service-grid,
.values-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-list span {
  background: var(--white);
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 999px;
  color: var(--text);
  font-weight: 900;
  padding: 12px 16px;
}

.service-grid article,
.values-grid article {
  background: var(--white);
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: var(--radius);
  min-height: 220px;
  padding: 26px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.service-catalog {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 28px;
  margin-top: 18px;
  padding: 24px;
}

.catalog-list,
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-list span,
.team-list span {
  background: var(--text);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 900;
  padding: 11px 14px;
}

.portfolio {
  background: #111111;
  color: var(--white);
  overflow: visible;
}

.portfolio .section-heading p,
.portfolio-card p {
  color: rgba(255, 255, 255, 0.7);
}

.portfolio-stage {
  border-radius: 34px;
  margin-bottom: 20px;
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

.stage-image {
  inset: 0;
  position: absolute;
}

.stage-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.stage-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.28) 58%, rgba(0, 0, 0, 0.1)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent 46%);
  inset: 0;
  position: absolute;
}

.stage-content {
  bottom: 0;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  left: 0;
  padding: clamp(24px, 5vw, 54px);
  position: absolute;
  right: 0;
  z-index: 1;
}

.stage-content h3 {
  font-size: 3.8rem;
  letter-spacing: 0;
  line-height: 0.95;
  margin-bottom: 14px;
  max-width: 760px;
}

.stage-content p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
  max-width: 640px;
}

.stage-action {
  align-self: end;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 48px;
  padding: 12px 18px;
}

.portfolio-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
}

.portfolio-card {
  background: transparent;
  border: 0;
  border-radius: 24px;
  color: var(--white);
  cursor: pointer;
  display: block;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: left;
  transition: transform 220ms ease, background 220ms ease;
}

.portfolio-card:hover {
  transform: translateY(-3px);
}

.portfolio-cover {
  aspect-ratio: 3 / 4;
  background: #111;
  border: 0;
  display: block;
  overflow: hidden;
  padding: 0;
  width: 100%;
}

.portfolio-cover img {
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
  width: 100%;
}

.portfolio-card:hover .portfolio-cover img {
  transform: scale(1.06);
}

.portfolio-body {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.02));
  bottom: 0;
  display: block;
  left: 0;
  padding: 18px;
  position: absolute;
  right: 0;
}

.portfolio-type {
  color: var(--gold);
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.portfolio-body h3 {
  color: var(--white);
  font-size: 1.45rem;
  letter-spacing: 0;
}

.project-meta {
  color: rgba(255, 255, 255, 0.68);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.86rem;
  font-weight: 800;
  gap: 8px;
  margin-top: 16px;
}

.gallery-pill {
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  margin-top: 14px;
  padding: 8px 11px;
  text-transform: uppercase;
}

.split-section {
  align-items: center;
  display: grid;
  gap: clamp(34px, 7vw, 90px);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
}

.split-section img {
  aspect-ratio: 4 / 3;
  border-radius: 30px;
  box-shadow: var(--shadow);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.check-list {
  color: var(--text);
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding-left: 20px;
}

.company {
  align-items: center;
  display: grid;
  gap: clamp(34px, 7vw, 90px);
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
}

.company-copy {
  max-width: 760px;
}

.owner-card {
  background: var(--white);
  border-radius: 30px;
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
  padding: 12px;
}

.owner-card img {
  border-radius: 22px;
  width: 100%;
}

.owner-card figcaption {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  padding: 14px 6px 4px;
}

.values-section {
  background: var(--white);
}

.mission-section {
  align-items: start;
  background: #171717;
  color: var(--white);
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1fr);
}

.mission-copy p,
.mission-list {
  color: rgba(255, 255, 255, 0.72);
}

.mission-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mission-list li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  padding: 17px 18px;
}

.team-section {
  background: var(--white);
}

.reviews {
  background: var(--soft);
}

.review-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.review-grid blockquote {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: var(--radius);
  margin: 0;
  min-height: 230px;
  padding: 30px;
}

.review-grid p {
  color: var(--text);
  font-size: 1.22rem;
  letter-spacing: 0;
  line-height: 1.28;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

details {
  background: var(--white);
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 18px;
  padding: 20px 22px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 14px 0 0;
}

.contact {
  align-items: end;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.2)),
    var(--gold);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
}

.contact .eyebrow,
.contact p {
  color: rgba(29, 29, 31, 0.72);
}

.contact-panel {
  display: grid;
  gap: 14px;
}

.contact-list {
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 24px;
  display: grid;
  overflow: hidden;
}

.contact-list a {
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
  color: var(--text);
  font-weight: 900;
  overflow-wrap: anywhere;
  padding: 18px 20px;
}

.contact-list a:last-child {
  border-bottom: 0;
}

.contact-form {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  display: grid;
  gap: 13px;
  padding: 18px;
}

.contact-form label {
  color: var(--text);
  display: grid;
  font-size: 0.84rem;
  font-weight: 900;
  gap: 7px;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(29, 29, 31, 0.14);
  border-radius: 14px;
  color: var(--text);
  font: inherit;
  min-height: 46px;
  padding: 12px 13px;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(123, 16, 37, 0.58);
  outline: 3px solid rgba(123, 16, 37, 0.14);
}

.contact-form button {
  background: var(--text);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 48px;
  padding: 12px 18px;
}

.hidden-field {
  display: none;
}

.form-success {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 18px;
  color: var(--text);
  display: none;
  font-size: 0.95rem;
  font-weight: 900;
  padding: 14px 16px;
}

.form-success.is-visible {
  display: block;
}

.site-footer {
  align-items: center;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding: 28px clamp(20px, 6vw, 86px);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.76);
  margin: 0;
}

.site-footer strong {
  color: var(--white);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.site-footer a {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 900;
}

.thank-you-page {
  align-content: center;
  background: var(--paper);
  display: grid;
  min-height: 100svh;
  padding: clamp(34px, 8vw, 90px);
}

.thank-you-page img {
  margin-bottom: 32px;
  max-width: 190px;
}

.thank-you-page h1 {
  color: var(--text);
}

.thank-you-page p:not(.eyebrow) {
  max-width: 560px;
}

.gallery-dialog {
  background: #060606;
  border: 0;
  border-radius: 0;
  color: var(--white);
  height: 100svh;
  margin: 0;
  max-height: none;
  max-width: none;
  overflow: hidden;
  padding: 0;
  width: 100vw;
}

.gallery-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.dialog-close {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  margin: 18px 0 0 18px;
  padding: 10px 16px;
  position: absolute;
  z-index: 3;
}

.dialog-body {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
  padding: 0;
}

.gallery-info {
  align-items: end;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 62px 28px 10px;
  position: relative;
  z-index: 2;
}

.gallery-info h2 {
  font-size: 2.35rem;
  margin-bottom: 0;
}

.gallery-info .eyebrow {
  margin-bottom: 6px;
}

.gallery-count {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.dialog-grid {
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 8px;
  height: 118px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 18px 14px;
  scrollbar-width: thin;
}

.dialog-grid button {
  background: transparent;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  flex: 0 0 142px;
  height: 100%;
  padding: 0;
}

.dialog-grid img {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: opacity 160ms ease, transform 160ms ease;
  width: 100%;
}

.dialog-grid button.is-active img,
.dialog-grid button:hover img {
  opacity: 1;
  transform: scale(0.985);
}

.viewer {
  background: #050505;
  display: grid;
  min-height: 220px;
  overflow: hidden;
  place-items: center;
  position: relative;
}

.viewer::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent 35%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.viewer.open {
  display: grid;
}

.viewer img {
  height: auto;
  max-height: min(720px, calc(100svh - 250px));
  max-width: calc(100vw - 56px);
  object-fit: contain;
  width: auto;
}

.viewer-controls {
  align-items: center;
  bottom: 24px;
  display: flex;
  gap: 10px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 2;
}

.viewer-controls button {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 15px;
}

.viewer-caption {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 900;
  min-width: 86px;
  text-align: center;
}

@media (max-width: 1080px) {
  .portfolio-grid,
  .service-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  h1 {
    font-size: 4.5rem;
  }

  h2 {
    font-size: 3rem;
  }

  .stage-content h3 {
    font-size: 3.1rem;
  }
}

@media (max-width: 760px) {
  .site-header,
  .section-heading,
  .split-section,
  .company,
  .mission-section,
  .site-footer,
  .contact {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
  }

  .menu-button {
    background: var(--text);
    border: 0;
    border-radius: 999px;
    color: var(--white);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 900;
    justify-content: center;
    padding: 12px 16px;
  }

  .site-nav {
    align-items: flex-start;
    display: none;
    flex-direction: column;
  }

  .site-nav.open {
    display: flex;
  }

  .header-call {
    justify-self: start;
  }

  .hero {
    min-height: 610px;
  }

  .hero-content {
    padding-bottom: 150px;
  }

  .hero-shade {
    background: rgba(0, 0, 0, 0.66);
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .quick-bar,
  .service-grid,
  .values-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

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

  .quick-bar span {
    text-align: left;
  }

  .hero-panel {
    border-radius: 22px;
    right: 22px;
  }

  .portfolio-stage {
    min-height: 480px;
  }

  .stage-content {
    grid-template-columns: 1fr;
  }

  .stage-content h3 {
    font-size: 2.15rem;
  }

  .gallery-info {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .gallery-info h2 {
    font-size: 1.7rem;
  }

  .dialog-grid {
    height: 98px;
    padding: 8px 12px 12px;
  }

  .dialog-grid button {
    flex-basis: 116px;
  }

  .viewer img {
    max-height: calc(100svh - 286px);
    max-width: calc(100vw - 28px);
  }
}
