:root {
  --ink: #0c1b2a;
  --ink-soft: #1a2d42;
  --stone: #f3f0ea;
  --stone-deep: #e4dfd4;
  --paper: #faf9f6;
  --gold: #c9a227;
  --gold-deep: #a8841a;
  --copper: #9a6b3c;
  --muted: #5c6b7a;
  --line: rgba(12, 27, 42, 0.12);
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(12, 27, 42, 0.12);
  --radius: 4px;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.05rem;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 1.25rem 0;
}

.site-header.is-scrolled {
  background: rgba(12, 27, 42, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  padding: 0.7rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  border: 1.5px solid var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-size: 1.05rem;
}

.logo-text span {
  font-size: 0.72rem;
  opacity: 0.75;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--gold);
  color: var(--ink) !important;
  padding: 0.55rem 1.1rem;
  font-weight: 600;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: #d4b03a !important;
  color: var(--ink) !important;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  width: 2.6rem;
  height: 2.6rem;
  cursor: pointer;
  border-radius: var(--radius);
}

.menu-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  margin: 0.28rem auto;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 18s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 27, 42, 0.55) 0%, rgba(12, 27, 42, 0.35) 40%, rgba(12, 27, 42, 0.88) 100%),
    linear-gradient(90deg, rgba(12, 27, 42, 0.7) 0%, rgba(12, 27, 42, 0.2) 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 8rem 0 5rem;
  max-width: 42rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 600;
  line-height: 1;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  color: var(--white);
}

.hero-brand em {
  font-style: italic;
  color: var(--gold);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 1rem;
  max-width: 28ch;
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 38ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.btn-primary:hover {
  background: #d4b03a;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--ink-soft);
}

.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  right: max(1.25rem, calc((100% - var(--max)) / 2));
  z-index: 2;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

/* Sections */
section {
  padding: 5.5rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
  font-size: 1.08rem;
}

.section-head {
  margin-bottom: 3rem;
  max-width: 40rem;
}

/* Trust bar */
.trust {
  background: var(--ink);
  color: var(--white);
  padding: 2.5rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.trust-item span {
  font-size: 0.92rem;
  opacity: 0.8;
}

/* About */
.about {
  background: var(--stone);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.12), transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

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

.about-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.about-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-weight: 500;
}

.about-list li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  flex-shrink: 0;
  background: var(--gold);
}

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about-badge {
  position: absolute;
  left: -1.25rem;
  bottom: 2rem;
  background: var(--ink);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  max-width: 14rem;
  box-shadow: var(--shadow);
  animation: fadeUp 0.8s ease both;
}

.about-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.about-badge span {
  font-size: 0.88rem;
  opacity: 0.85;
}

/* Services */
.services {
  background: var(--paper);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.service-body {
  padding: 1.5rem 1.4rem 1.6rem;
}

.service-body h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 0 0 0.6rem;
  font-weight: 600;
}

.service-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Process */
.process {
  background: var(--ink);
  color: var(--white);
}

.process .section-label {
  color: var(--gold);
}

.process .section-lead {
  color: rgba(255, 255, 255, 0.72);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.process-step {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 1.5rem;
  position: relative;
}

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.process-step h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.process-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

/* Projects */
.projects {
  background: var(--stone);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.25rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.project-card.large {
  min-height: 100%;
  grid-row: span 2;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.project-meta {
  position: absolute;
  inset: auto 0 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(12, 27, 42, 0.88));
  color: var(--white);
}

.project-meta span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.project-meta h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
}

/* CTA band */
.cta-band {
  padding: 4.5rem 0;
  background:
    linear-gradient(135deg, rgba(12, 27, 42, 0.88), rgba(12, 27, 42, 0.72)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: var(--white);
  text-align: center;
}

.cta-band .section-title {
  margin-inline: auto;
  max-width: 22ch;
}

.cta-band .section-lead {
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Testimonials */
.testimonials {
  background: var(--paper);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.quote {
  background: var(--white);
  border-left: 3px solid var(--gold);
  padding: 1.75rem;
  box-shadow: 0 8px 28px rgba(12, 27, 42, 0.06);
}

.quote p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.4;
  margin: 0 0 1.25rem;
  font-style: italic;
}

.quote footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.92rem;
}

.quote footer strong {
  font-style: normal;
}

.quote footer span {
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 4.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-block h2,
.footer-block h3 {
  font-family: var(--font-display);
  margin: 0 0 1.25rem;
  font-weight: 600;
}

.footer-block h2 {
  font-size: 1.9rem;
}

.footer-block h3 {
  font-size: 1.35rem;
  color: var(--gold);
}

.footer-intro {
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 1.5rem;
}

.address-list {
  display: grid;
  gap: 1.25rem;
}

.address-item strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--gold);
  font-size: 0.95rem;
}

.address-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.5;
}

.address-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-wrap {
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  height: 280px;
  background: var(--ink-soft);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.25) contrast(1.05);
}

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

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: var(--radius);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: transparent;
}

.contact-form select option {
  color: var(--ink);
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

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

.form-note {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.form-success {
  display: none;
  padding: 1rem;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.95rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .trust-grid,
  .services-grid,
  .process-steps,
  .quote-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card.large {
    grid-row: auto;
    min-height: 320px;
  }

  .about-badge {
    left: 1rem;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0 0 auto;
    top: 0;
    background: rgba(12, 27, 42, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.5rem 1.5rem;
    gap: 0;
    transform: translateY(-110%);
    transition: transform 0.35s ease;
  }

  .nav.is-open {
    transform: none;
  }

  .nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-cta {
    margin-top: 1rem;
    text-align: center;
  }

  .trust-grid,
  .services-grid,
  .process-steps,
  .quote-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 7rem 0 4rem;
  }

  .scroll-hint {
    display: none;
  }

  section {
    padding: 4rem 0;
  }
}
