:root {
  --page-bg: #17191c;
  --page-bg-deep: #101214;
  --surface: rgba(255, 251, 246, 0.9);
  --surface-strong: #fffdf9;
  --surface-muted: rgba(245, 240, 232, 0.8);
  --surface-dark: rgba(12, 16, 15, 0.82);
  --ink: #171919;
  --muted: #5d665f;
  --brand: #173929;
  --brand-strong: #0f2a1f;
  --brand-soft: #28493a;
  --accent: #c6a45c;
  --accent-soft: rgba(198, 164, 92, 0.2);
  --line: rgba(23, 57, 41, 0.14);
  --line-strong: rgba(255, 255, 255, 0.18);
  --shadow-soft: 0 24px 60px rgba(5, 8, 9, 0.18);
  --shadow-strong: 0 34px 80px rgba(4, 8, 8, 0.38);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: 1400px;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}

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

html,
body {
  min-height: 100%;
}

body {
  position: relative;
  overflow-x: hidden;
  background: var(--page-bg);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.6;
}

body.lightbox-open {
  overflow: hidden;
}

body.nav-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 18%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 42%);
  pointer-events: none;
}

a {
  color: inherit;
}

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

button {
  font: inherit;
}

h1,
h2,
h3,
.brand-name,
.footer-brand {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

section[id] {
  scroll-margin-top: 110px;
}

.site-backdrop {
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(circle at top left, rgba(44, 90, 68, 0.48), transparent 34%),
    radial-gradient(circle at top right, rgba(198, 164, 92, 0.16), transparent 25%),
    radial-gradient(circle at bottom center, rgba(31, 51, 43, 0.35), transparent 28%),
    linear-gradient(180deg, #202427 0%, var(--page-bg) 42%, var(--page-bg-deep) 100%);
  pointer-events: none;
}

.site-header {
  padding: 18px clamp(10px, 2vw, 24px) 0;
}

.nav-shell {
  position: sticky;
  top: 16px;
  z-index: 50;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 13px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(8, 11, 12, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 24px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
}

.brand-mark {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.72);
}

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

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.nav-shell.is-open .nav-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

.nav-shell.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-shell.is-open .nav-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(3, 5, 5, 0.42);
  backdrop-filter: blur(3px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 10px;
  flex-wrap: wrap;
}

.site-nav a,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.84);
  border: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.nav-cta {
  background: linear-gradient(135deg, rgba(198, 164, 92, 0.94), rgba(227, 202, 146, 0.92));
  color: #101214;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(198, 164, 92, 0.22);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  isolation: isolate;
  max-width: var(--content-width);
  margin: 18px auto 0;
  padding: clamp(26px, 4vw, 42px);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 22px;
  min-height: clamp(460px, 66vh, 560px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 40px;
  overflow: hidden;
  background:
    linear-gradient(130deg, rgba(5, 8, 8, 0.72), rgba(10, 15, 14, 0.46) 42%, rgba(18, 25, 23, 0.28)),
    url("images/greenmarble.jpg") center/cover no-repeat;
  box-shadow: var(--shadow-strong);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto auto -120px -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 164, 92, 0.35), transparent 68%);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 24%),
    radial-gradient(circle at 78% 18%, rgba(198, 164, 92, 0.18), transparent 20%);
  pointer-events: none;
}

.hero-scene {
  position: absolute;
  inset: 0 0 0 42%;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(12, 16, 16, 0) 0%, rgba(12, 16, 16, 0.08) 26%, rgba(12, 16, 16, 0.42) 100%),
    url("images/photo4.jpeg") center/cover no-repeat;
  opacity: 0.96;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.78) 16%, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.78) 16%, #000 42%);
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding-top: 0;
}

.eyebrow,
.section-kicker,
.panel-kicker,
.experience-label,
.contact-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 10ch;
  color: #fff;
  font-size: clamp(2.6rem, 4.8vw, 4.2rem);
}

.hero-lead {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.button--primary {
  background: linear-gradient(135deg, rgba(198, 164, 92, 0.96), rgba(232, 209, 157, 0.93));
  color: #101214;
  box-shadow: 0 14px 28px rgba(198, 164, 92, 0.24);
}

.button--secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-mini {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel {
  justify-self: end;
  align-self: center;
  width: min(100%, 310px);
  padding: 18px;
  display: grid;
  gap: 14px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(11, 15, 14, 0.84), rgba(18, 28, 24, 0.68));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.hero-panel-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.hero-panel-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  padding: 8px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
}

.hero-panel-body {
  display: grid;
  gap: 8px;
}

.panel-kicker {
  background: rgba(198, 164, 92, 0.12);
  border-color: rgba(198, 164, 92, 0.28);
  color: rgba(255, 240, 205, 0.94);
}

.hero-panel h2 {
  color: #fff;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.panel-copy {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.detail-list li {
  position: relative;
  padding-left: 18px;
}

.detail-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(198, 164, 92, 0.12);
}

.material-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.material-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.78rem;
}

.site-main {
  padding: clamp(40px, 5vw, 64px) clamp(10px, 2vw, 24px) 0;
}

.section {
  position: relative;
  overflow: hidden;
  max-width: var(--content-width);
  margin: 0 auto 40px;
  padding: clamp(38px, 5vw, 58px);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.94), rgba(247, 241, 233, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(198, 164, 92, 0.12), transparent 68%);
  pointer-events: none;
}

.section-heading {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-bottom: 42px;
  display: grid;
  gap: 18px;
}

.section-kicker,
.experience-label,
.contact-label {
  border-color: rgba(23, 57, 41, 0.12);
  background: rgba(23, 57, 41, 0.06);
  color: var(--brand);
}

.section-heading h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: #171919;
}

.section-intro {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 58ch;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 26px;
}

.service-card,
.process-card,
.social-card,
.contact-links a {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(23, 57, 41, 0.08);
  box-shadow: 0 16px 30px rgba(10, 16, 16, 0.08);
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 22px 38px rgba(10, 16, 16, 0.12);
}

.service-media {
  min-height: 240px;
  background:
    linear-gradient(180deg, rgba(9, 13, 13, 0.08), rgba(9, 13, 13, 0.48)),
    var(--card-image) center/cover no-repeat;
}

.service-body {
  display: grid;
  gap: 18px;
  padding: 28px 26px 30px;
}

.service-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 44px;
  min-height: 44px;
  border-radius: 14px;
  background: rgba(23, 57, 41, 0.08);
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-body h3 {
  font-size: 1.6rem;
  color: #1b1d1d;
}

.service-meta {
  color: var(--brand-soft);
  font-weight: 600;
}

.detail-list {
  display: grid;
  gap: 14px;
  color: var(--muted);
}

.section--split {
  background:
    radial-gradient(circle at top right, rgba(198, 164, 92, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255, 252, 248, 0.95), rgba(244, 237, 229, 0.82));
}

.experience-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 26px;
}

.experience-showcase {
  overflow: hidden;
  display: grid;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(23, 57, 41, 0.08);
  box-shadow: 0 18px 32px rgba(10, 16, 16, 0.09);
}

.experience-media {
  min-height: 340px;
  background: url("images/experience.jpeg") center/cover no-repeat;
}

.experience-summary {
  display: grid;
  gap: 16px;
  padding: 28px 28px 22px;
}

.experience-summary h3 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  color: #171919;
  max-width: 16ch;
}

.experience-summary p {
  color: var(--muted);
  max-width: 50ch;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0 28px 28px;
}

.standards-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(23, 57, 41, 0.05);
  border: 1px solid rgba(23, 57, 41, 0.08);
  color: var(--brand-strong);
}

.process-list {
  display: grid;
  gap: 16px;
}

.process-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 57, 41, 0.08);
  box-shadow: 0 16px 26px rgba(10, 16, 16, 0.08);
}

.process-card:hover,
.process-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 20px 34px rgba(10, 16, 16, 0.11);
}

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(198, 164, 92, 0.18), rgba(198, 164, 92, 0.28));
  color: var(--brand-strong);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.process-copy {
  display: grid;
  gap: 10px;
}

.process-card h3 {
  font-size: 1.32rem;
}

.process-card p {
  color: var(--muted);
}

.gallery-section {
  position: relative;
  margin: 0 0 40px;
  padding: clamp(58px, 8vw, 92px) 0;
  background:
    linear-gradient(180deg, rgba(11, 14, 15, 0.96), rgba(13, 17, 18, 0.96)),
    url("images/greenmarble.jpg") center/cover no-repeat;
  background-blend-mode: overlay;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(198, 164, 92, 0.12), transparent 18%),
    radial-gradient(circle at 82% 76%, rgba(31, 69, 50, 0.28), transparent 20%);
  pointer-events: none;
}

.gallery-shell {
  position: relative;
  z-index: 1;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
}

.section-heading--light .section-kicker {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 245, 226, 0.88);
}

.section-heading--light h2,
.section-heading--light .section-intro {
  color: #fff;
}

.section-heading--light .section-intro {
  color: rgba(255, 255, 255, 0.76);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.photo-card {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.photo-trigger {
  position: relative;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.photo-trigger:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.82);
  outline-offset: -8px;
}

.photo-trigger img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 240ms ease, filter 240ms ease;
  filter: saturate(1.05) contrast(1.02);
}

.photo-card:hover img,
.photo-trigger:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.12) contrast(1.05);
}

.photo-overlay {
  position: absolute;
  inset: auto 14px 14px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 14px;
  background: rgba(8, 10, 10, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.photo-card:hover .photo-overlay,
.photo-trigger:focus-visible .photo-overlay {
  opacity: 1;
  transform: translateY(0);
}

.photo-card figcaption {
  padding: 16px 18px 20px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.12fr);
  gap: 26px;
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(23, 57, 41, 0.08);
  box-shadow: 0 18px 32px rgba(10, 16, 16, 0.09);
}

.contact-card--form {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 241, 233, 0.94));
}

.contact-card--info {
  overflow: hidden;
  padding: 0;
}

.contact-card h3 {
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
}

.contact-copy {
  color: var(--muted);
}

.contact-media {
  min-height: 230px;
  background:
    linear-gradient(180deg, rgba(14, 21, 18, 0.08), rgba(14, 21, 18, 0.22)),
    url("images/projects.jpeg") center/cover no-repeat;
}

.contact-info-body {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.contact-form-layout {
  display: grid;
  grid-template-columns: minmax(190px, 0.4fr) minmax(0, 0.6fr);
  gap: 24px;
  align-items: start;
}

.contact-form-intro {
  display: grid;
  gap: 14px;
  align-content: start;
  padding-right: 24px;
  border-right: 1px solid rgba(23, 57, 41, 0.08);
}

.inquiry-form {
  display: grid;
  gap: 18px;
}

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

.field {
  display: grid;
  gap: 8px;
}

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

.field span {
  color: var(--brand-soft);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(23, 57, 41, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7c837f;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: rgba(23, 57, 41, 0.34);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(23, 57, 41, 0.08);
}

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

.form-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}

.button--submit {
  border: none;
  cursor: pointer;
}

.button--submit[disabled] {
  opacity: 0.78;
  cursor: wait;
}

.button--submit[disabled]:hover {
  transform: none;
}

.form-status {
  min-height: 1.6em;
  font-weight: 600;
  color: var(--muted);
}

.form-status.is-success {
  color: #0f6038;
}

.form-status.is-error {
  color: #8d3025;
}

.contact-links {
  display: grid;
  gap: 12px;
}

.contact-links a {
  display: grid;
  gap: 2px;
  padding: 18px 18px;
  border-radius: 20px;
  text-decoration: none;
  background: rgba(23, 57, 41, 0.05);
  border: 1px solid rgba(23, 57, 41, 0.08);
}

.contact-links a:hover,
.contact-links a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 26px rgba(10, 16, 16, 0.1);
}

.contact-links span {
  color: var(--brand-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-links strong {
  font-size: 1.05rem;
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.social-card {
  display: grid;
  gap: 6px;
  min-height: 100%;
  padding: 18px;
  border-radius: 20px;
  text-decoration: none;
  background: rgba(23, 57, 41, 0.04);
  border: 1px solid rgba(23, 57, 41, 0.08);
}

.social-card:hover,
.social-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(23, 57, 41, 0.14);
  box-shadow: 0 14px 24px rgba(10, 16, 16, 0.08);
}

.social-title {
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--brand-strong);
}

.social-sub {
  color: var(--muted);
}

.site-footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 10px 16px 52px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
}

.site-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 260;
  min-width: 220px;
  max-width: min(92vw, 420px);
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(10, 14, 14, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.22);
  transform: translate(-50%, 14px);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.footer-brand {
  color: #fff;
  font-size: 1.4rem;
}

.footer-copy {
  margin-top: 6px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(6, 8, 8, 0.84);
  backdrop-filter: blur(10px);
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  width: min(960px, 100%);
  padding: 14px;
  border-radius: 26px;
  background: rgba(255, 252, 247, 0.96);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.lightbox-inner img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 18px;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(16, 18, 20, 0.08);
  color: #141618;
  font-size: 1.9rem;
  cursor: pointer;
}

.lightbox-close:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

#lightboxCaption {
  padding: 14px 6px 4px;
  color: var(--muted);
  font-weight: 600;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: rise 700ms ease both;
  }

  .hero-panel {
    animation: rise 900ms ease both;
  }

  .section {
    animation: rise 760ms ease both;
  }
}

@media (max-width: 1120px) {
  .nav-shell {
    border-radius: 28px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-scene {
    inset: 44% 0 0 0;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.75) 18%, #000 46%);
    mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.75) 18%, #000 46%);
    opacity: 0.74;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero-panel {
    justify-self: start;
    width: min(100%, 460px);
  }

  .experience-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-shell {
    justify-content: space-between;
    align-items: center;
    text-align: left;
    border-radius: 28px;
  }

  .brand {
    width: auto;
    align-items: flex-start;
  }

  .nav-toggle {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 60;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 26px;
    background: rgba(8, 11, 12, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  }

  .nav-shell.is-open .nav-menu {
    display: flex;
  }

  .site-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .site-nav a,
  .nav-cta {
    width: 100%;
    min-height: 48px;
  }

  .form-grid,
  .standards-grid,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-form-intro {
    padding-right: 0;
    padding-bottom: 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 57, 41, 0.08);
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-main {
    padding-left: 8px;
    padding-right: 8px;
  }

  .nav-shell {
    top: 10px;
    padding: 14px;
  }

  .hero {
    border-radius: 30px;
    gap: 18px;
  }

  .hero-scene {
    inset: 52% 0 0 0;
    opacity: 0.66;
  }

  .hero-copy {
    padding-top: 8px;
    gap: 16px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 13vw, 3.5rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .section {
    padding: 28px 20px;
    border-radius: 26px;
  }

  .section-heading h2 {
    font-size: clamp(1.9rem, 10vw, 2.8rem);
  }

  .contact-card h3 {
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  .service-media {
    min-height: 200px;
  }

  .process-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .photo-trigger img {
    aspect-ratio: 4 / 4.5;
  }
}

@media (max-width: 540px) {
  .hero-panel,
  .contact-card,
  .experience-showcase,
  .process-card,
  .service-card {
    border-radius: 22px;
  }

  .hero-panel {
    padding: 16px;
  }

  .hero-panel-logo {
    width: 64px;
    height: 64px;
  }

  .service-body,
  .process-card,
  .contact-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .experience-media,
  .contact-media {
    min-height: 220px;
  }

  .experience-summary,
  .standards-grid,
  .contact-info-body {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .lightbox {
    padding: 14px;
  }

  .lightbox-inner {
    padding: 10px;
    border-radius: 20px;
  }
}
