:root {
  --bg: #f6f0e6;
  --bg-deep: #eadfce;
  --surface: rgba(255, 251, 245, 0.88);
  --surface-strong: #fffaf3;
  --surface-dark: #132842;
  --surface-dark-2: #1d3d5d;
  --ink: #16263b;
  --muted: #5e6875;
  --line: rgba(19, 40, 66, 0.12);
  --gold: #ca9f62;
  --gold-deep: #ad7d3f;
  --gold-soft: rgba(202, 159, 98, 0.16);
  --shadow-lg: 0 28px 60px rgba(19, 40, 66, 0.14);
  --shadow-md: 0 18px 42px rgba(19, 40, 66, 0.1);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --container: 1180px;
  --header-offset: 90px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(202, 159, 98, 0.34), transparent 28%),
    radial-gradient(circle at left 20%, rgba(28, 55, 86, 0.08), transparent 26%),
    linear-gradient(180deg, #f7f3ec 0%, var(--bg) 38%, #f5eee3 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(19, 40, 66, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 40, 66, 0.025) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 78%);
}

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

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

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(19, 40, 66, 0.08);
  backdrop-filter: blur(18px);
  background: rgba(246, 240, 230, 0.78);
}

.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-offset);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-copy {
  display: grid;
  gap: 0.18rem;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.8rem;
}

.brand-mark {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 19px;
  background:
    linear-gradient(135deg, var(--gold) 0%, #e2c18d 49%, var(--surface-dark) 49%, var(--surface-dark) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

.site-nav {
  display: inline-flex;
  justify-content: center;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.header-cta,
.button-primary,
.mobile-action-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--surface-dark), var(--surface-dark-2));
  box-shadow: 0 16px 34px rgba(19, 40, 66, 0.22);
}

.button-secondary,
.mobile-action-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(19, 40, 66, 0.12);
}

.header-cta:hover,
.header-cta:focus-visible,
.button:hover,
.button:focus-visible,
.gallery-tab:hover,
.gallery-tab:focus-visible,
.gallery-card:hover,
.gallery-card:focus-visible,
.lightbox-close:hover,
.lightbox-close:focus-visible {
  transform: translateY(-2px);
}

.hero {
  padding-top: 4rem;
  padding-bottom: 4.2rem;
}

.hero-grid,
.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow-small {
  font-size: 0.72rem;
  margin-bottom: 0.8rem;
}

.hero-copy h1,
.section-heading h2,
.trust-card h2,
.process-panel h2,
.contact-copy h2,
.service-area-card h3 {
  margin: 0;
  color: #13253d;
  font-family: "Fraunces", serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.hero-copy h1 {
  font-size: clamp(3.3rem, 8vw, 6.25rem);
  max-width: 10ch;
}

.hero-summary,
.section-heading p,
.service-card p,
.standard-card p,
.process-card p,
.service-area-card p,
.contact-copy p,
.contact-details p,
.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.8;
}

.hero-summary {
  max-width: 41rem;
  margin-top: 1.5rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
}

.hero-stats div,
.gallery-meta-card {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  border: 1px solid rgba(19, 40, 66, 0.08);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-md);
}

.hero-stats dt,
.gallery-meta-card span,
.trust-kicker,
.standard-card span,
.contact-label {
  display: block;
  color: var(--gold-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-stats dd,
.gallery-meta-card strong {
  margin: 0.45rem 0 0;
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--ink);
}

.hero-list,
.hero-note-card ul,
.service-area-card ul {
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.hero-list li,
.service-area-card li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ink);
  font-weight: 700;
}

.hero-list li::before,
.service-area-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
}

.hero-stage {
  position: relative;
}

.hero-frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(240px, 0.82fr);
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(19, 40, 66, 0.08);
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.96), rgba(242, 232, 217, 0.92));
  box-shadow: var(--shadow-lg);
}

.hero-side-stack {
  display: grid;
  gap: 1rem;
}

.hero-feature {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 260px;
  background: #d2cbc2;
}

.hero-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-feature-main {
  min-height: 620px;
}

.hero-feature-copy {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 251, 245, 0.92);
  border: 1px solid rgba(19, 40, 66, 0.08);
}

.hero-feature-copy span,
.hero-owner-card span {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero-feature-copy strong,
.hero-owner-card strong {
  display: block;
  margin-top: 0.4rem;
  font-size: 1rem;
  line-height: 1.35;
}

.hero-feature-portrait {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 340px;
}

.hero-owner-card {
  padding: 1rem 1.1rem 1.2rem;
  color: white;
  background: rgba(19, 40, 66, 0.95);
}

.hero-note-card {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(19, 40, 66, 0.95);
  color: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-md);
}

.hero-note-card .eyebrow {
  color: rgba(202, 159, 98, 0.88);
}

.hero-note-card ul {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.85rem;
}

.hero-note-card li {
  position: relative;
  padding-left: 1rem;
  line-height: 1.6;
}

.hero-note-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--gold);
}

.trust-band {
  padding: 0 0 2rem;
}

.trust-grid,
.service-grid,
.standards-grid {
  display: grid;
  gap: 1.25rem;
}

.section-heading-trust {
  margin-bottom: 1.6rem;
}

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

.trust-card,
.service-card,
.standard-card,
.process-card,
.service-area-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.trust-card {
  padding: 1.6rem;
}

.trust-card h2 {
  margin-top: 0.9rem;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 2.3rem;
}

.section-heading h2,
.process-panel h2,
.contact-copy h2 {
  font-size: clamp(2.3rem, 5vw, 3.9rem);
  margin-bottom: 1rem;
}

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

.service-card {
  overflow: hidden;
  padding: 0;
}

.service-media {
  position: relative;
  aspect-ratio: 1.2 / 0.82;
  overflow: hidden;
  background: #d8cfc5;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-body {
  padding: 1.35rem 1.45rem 1.55rem;
}

.service-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.service-note {
  margin: 0;
  color: var(--gold-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-number,
.process-card span {
  display: inline-grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  margin-bottom: 1.1rem;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-deep);
  font-weight: 800;
}

.service-card .service-number {
  margin-bottom: 0;
}

.service-card h3,
.standard-card h3,
.process-card h3,
.contact-details h3 {
  margin: 0 0 0.8rem;
  color: var(--ink);
  font-size: 1.16rem;
}

.standards-section {
  position: relative;
}

.standards-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(19, 40, 66, 0.97), rgba(20, 53, 81, 0.96)),
    radial-gradient(circle at top left, rgba(202, 159, 98, 0.18), transparent 30%);
  z-index: -1;
}

.standards-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: start;
}

.section-heading-dark h2,
.section-heading-dark p {
  color: rgba(255, 255, 255, 0.92);
}

.section-heading-dark .eyebrow {
  color: rgba(202, 159, 98, 0.9);
}

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

.standard-card {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
  color: white;
}

.standard-card h3 {
  color: white;
  font-family: "Fraunces", serif;
  font-size: 1.55rem;
  line-height: 1.05;
}

.standard-card p {
  color: rgba(255, 255, 255, 0.72);
}

.gallery-section {
  position: relative;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.section-heading-tight {
  margin-bottom: 0;
}

.gallery-meta {
  display: grid;
  gap: 0.8rem;
  justify-items: end;
}

.gallery-switcher {
  display: inline-flex;
  gap: 0.7rem;
  padding: 0.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.gallery-tab {
  padding: 0.82rem 1.15rem;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.gallery-tab.is-active {
  color: white;
  background: linear-gradient(135deg, var(--surface-dark), var(--surface-dark-2));
  box-shadow: 0 12px 26px rgba(19, 40, 66, 0.2);
}

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

.gallery-card {
  position: relative;
  grid-column: span 4;
  min-height: 310px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #d6cdc2;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.gallery-card:nth-child(5n + 1),
.gallery-card:nth-child(5n + 4) {
  grid-row: span 2;
  min-height: 620px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.1rem;
  color: white;
  background: linear-gradient(180deg, transparent, rgba(19, 40, 66, 0.82));
}

.gallery-overlay strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.gallery-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr);
  gap: 1.5rem;
  align-items: start;
}

.process-panel,
.service-area-card {
  padding: 1.7rem;
}

.process-intro {
  max-width: 42rem;
  margin-top: 1rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.process-card {
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.72);
}

.service-area-card h3 {
  margin-top: 0.15rem;
  font-size: 2rem;
}

.service-area-card ul {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.contact-section {
  padding-bottom: 7rem;
}

.contact-shell {
  padding: 1.1rem;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(20, 41, 66, 0.97), rgba(28, 61, 94, 0.96));
  box-shadow: var(--shadow-lg);
}

.contact-copy {
  padding: 1.5rem;
}

.contact-copy h2,
.contact-copy p {
  color: rgba(255, 255, 255, 0.94);
}

.contact-copy .eyebrow {
  color: rgba(202, 159, 98, 0.92);
}

.contact-card {
  padding: 1rem;
  background: rgba(255, 249, 242, 0.95);
}

.contact-portrait {
  width: 100%;
  aspect-ratio: 1 / 1.03;
  object-fit: cover;
  border-radius: 22px;
}

.contact-details {
  padding: 1.25rem 0.25rem 0.35rem;
}

.contact-details h3 {
  margin-top: 0.35rem;
  font-family: "Fraunces", serif;
  font-size: 2rem;
}

.contact-details a {
  display: inline-block;
  margin-top: 0.8rem;
  font-weight: 800;
}

.site-footer {
  padding: 0 0 6rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(19, 40, 66, 0.08);
}

.mobile-action-bar {
  display: none;
}

.lightbox {
  width: min(92vw, 1100px);
  padding: 1rem;
  border: 0;
  border-radius: 28px;
  background: rgba(12, 22, 34, 0.96);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.lightbox::backdrop {
  background: rgba(8, 16, 26, 0.76);
  backdrop-filter: blur(6px);
}

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

.lightbox-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-bottom: 0.8rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-card {
  animation: fade-up 560ms ease both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@media (max-width: 1120px) {
  .service-grid,
  .standards-grid,
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .gallery-card,
  .gallery-card:nth-child(5n + 1),
  .gallery-card:nth-child(5n + 4) {
    grid-column: auto;
    grid-row: auto;
    min-height: 340px;
  }
}

@media (max-width: 920px) {
  .site-nav,
  .header-cta {
    display: none;
  }

  .hero-grid,
  .standards-layout,
  .process-layout,
  .contact-shell {
    grid-template-columns: 1fr;
  }

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

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

  .hero-feature-main {
    min-height: 420px;
  }

  .gallery-header,
  .footer-row {
    flex-direction: column;
    align-items: start;
  }

  .gallery-meta {
    justify-items: start;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 6rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .hero-copy h1 {
    max-width: 8.9ch;
  }

  .hero-stats,
  .hero-list,
  .service-grid,
  .standards-grid,
  .gallery-grid,
  .process-steps,
  .hero-side-stack {
    grid-template-columns: 1fr;
  }

  .gallery-card,
  .gallery-card:nth-child(5n + 1),
  .gallery-card:nth-child(5n + 4) {
    min-height: 280px;
  }

  .mobile-action-bar {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 120;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 24px;
    background: rgba(19, 40, 66, 0.94);
    box-shadow: 0 20px 40px rgba(19, 40, 66, 0.3);
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .mobile-action-bar a {
    min-height: 3.15rem;
    border-radius: 16px;
    font-weight: 800;
  }

  .mobile-action-bar.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-action-primary,
  .mobile-action-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
