:root {
  --bg: #f4f1eb;
  --surface: #ffffff;
  --surface-alt: #ece7df;
  --surface-dark: #111111;
  --surface-muted: #1d1d1d;
  --text: #181818;
  --text-soft: #5f5b55;
  --text-light: #d7d0c7;
  --line: rgba(24, 24, 24, 0.14);
  --accent: #b38a52;
  --accent-soft: #d6bf98;
  --shadow: 0 18px 60px rgba(17, 17, 17, 0.12);
  --container: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Aptos", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(244, 241, 235, 0.96)),
    repeating-linear-gradient(
      90deg,
      rgba(179, 138, 82, 0.05) 0,
      rgba(179, 138, 82, 0.05) 1px,
      transparent 1px,
      transparent 120px
    ),
    var(--bg);
  line-height: 1.6;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  background: rgba(17, 17, 17, 0.74);
  transition: transform 220ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 188px;
  height: auto;
  flex: 0 0 auto;
}

.brand-text {
  display: grid;
  color: #ffffff;
}

.brand-text strong {
  font-family: "Aptos Display", "Trebuchet MS", sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
}

.brand-text span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
}

.nav-links > a {
  min-width: 0;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  color: #ffffff;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav-icon {
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
  margin: auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: opacity 160ms ease, transform 180ms ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(179, 138, 82, 0.44);
  background:
    linear-gradient(180deg, rgba(179, 138, 82, 0.16), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.05);
}

.nav-icon-close {
  opacity: 0;
  transform: scale(0.88) rotate(-8deg);
}

.nav-toggle[aria-expanded="true"] .nav-icon-menu {
  opacity: 0;
  transform: scale(0.88) rotate(8deg);
}

.nav-toggle[aria-expanded="true"] .nav-icon-close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ffffff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #131313;
  font-weight: 600;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  background: #c9a06a;
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #ffffff;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.button-outline-dark {
  border-color: rgba(17, 17, 17, 0.16);
  background: transparent;
  color: var(--text);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #101010;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.02) brightness(0.48);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 9, 9, 0.9) 0%, rgba(9, 9, 9, 0.72) 40%, rgba(9, 9, 9, 0.42) 100%),
    linear-gradient(180deg, rgba(179, 138, 82, 0.14), transparent 28%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  align-content: center;
  padding: 112px 0 88px;
  color: #ffffff;
}

.eyebrow,
.section-label,
.portfolio-tag {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow,
.section-label {
  color: var(--accent);
}

.hero h1,
.section h2,
.cta-panel h2 {
  margin: 0;
  font-family: "Aptos Display", "Trebuchet MS", sans-serif;
  font-weight: 600;
  line-height: 1.08;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
}

.hero-copy {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 940px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.96rem;
}

.intro-strip {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}

.intro-grid,
.two-column,
.cta-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: start;
}

.intro-grid h2,
.section h2,
.cta-panel h2 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
}

.intro-stats {
  display: grid;
  gap: 16px;
}

.intro-stats article,
.proof-card,
.service-card,
.portfolio-card,
.value-grid article {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.intro-stats article {
  padding: 18px 20px;
}

.intro-stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.intro-stats span {
  color: var(--text-soft);
}

.section {
  padding: 92px 0;
}

.section-dark {
  background: linear-gradient(180deg, #171717, #101010);
  color: #ffffff;
}

.section-accent {
  background:
    linear-gradient(180deg, rgba(179, 138, 82, 0.08), rgba(179, 138, 82, 0.02)),
    #f6f2ea;
}

.section-location {
  background: rgba(255, 255, 255, 0.48);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p,
.rich-copy p,
.cta-panel p {
  margin: 0;
  color: var(--text-soft);
}

.section-dark .section-heading p,
.section-dark .service-card p,
.section-dark .workflow p {
  color: rgba(255, 255, 255, 0.72);
}

.rich-copy {
  display: grid;
  gap: 18px;
}

.service-grid,
.proof-grid,
.value-grid {
  display: grid;
  gap: 20px;
}

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

.service-card {
  padding: 24px;
  min-height: 250px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: none;
}

.service-number,
.workflow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(179, 138, 82, 0.48);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 18px;
}

.service-card h3,
.portfolio-card h3,
.value-grid h3,
.proof-card strong,
.workflow h3 {
  margin: 0 0 10px;
  font-family: "Aptos Display", "Trebuchet MS", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.client-line {
  margin: 0 0 22px;
  color: var(--text-soft);
  max-width: 920px;
}

.portfolio-card {
  overflow: hidden;
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.portfolio-body {
  padding: 18px 18px 20px;
}

.portfolio-tag {
  color: var(--accent);
}

.portfolio-body p:last-child,
.service-card p,
.value-grid p,
.proof-card p,
.workflow p {
  margin: 0;
  color: var(--text-soft);
}

.portfolio-card.featured {
  grid-column: span 2;
}

.portfolio-card.featured img {
  aspect-ratio: 16 / 9;
}

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

.value-grid article,
.proof-card {
  padding: 24px;
}

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

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

.workflow article {
  padding: 20px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.workflow span {
  margin-bottom: 16px;
}

.cta-section {
  padding-bottom: 110px;
}

.cta-panel {
  padding: 34px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(179, 138, 82, 0.12), rgba(255, 255, 255, 0.74)),
    var(--surface);
  box-shadow: var(--shadow);
}

.cta-actions {
  display: grid;
  gap: 14px;
  align-content: start;
}

.contact-meta {
  display: grid;
  gap: 6px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.site-footer {
  padding: 24px 0 36px;
  border-top: 1px solid var(--line);
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 0;
}

.not-found-panel {
  display: grid;
  gap: 18px;
  max-width: 720px;
  padding: 36px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.not-found-panel h1,
.not-found-panel p {
  margin: 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

@media (max-width: 1080px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    background: rgba(17, 17, 17, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  }

  .site-header.is-hidden {
    transform: translateY(calc(-100% - 10px));
  }

  body {
    padding-top: 92px;
  }

  .hero-points,
  .service-grid,
  .portfolio-grid,
  .proof-grid,
  .workflow,
  .value-grid,
  .section-heading,
  .intro-grid,
  .two-column,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .portfolio-card.featured {
    grid-column: span 1;
  }

  .nav {
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 0;
    padding: 14px 0;
  }

  .brand {
    justify-content: flex-start;
    flex: 1 1 auto;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding-top: 0;
    transition: max-height 180ms ease, opacity 180ms ease, padding-top 180ms ease;
  }

  .nav-links > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
    white-space: normal;
  }

  .nav-links > .button {
    display: inline-flex;
    grid-column: 1 / -1;
  }

  .intro-grid h2,
  .section h2,
  .cta-panel h2 {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
  }

  body.menu-open .nav-links {
    max-height: 320px;
    opacity: 1;
    padding-top: 10px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  body {
    padding-top: 86px;
  }

  .brand {
    justify-content: center;
    text-align: left;
  }

  .brand-logo {
    width: min(160px, 52vw);
  }

  .brand-text strong {
    font-size: 0.88rem;
  }

  .brand-text span {
    display: none;
  }

  .nav-links {
    gap: 8px;
    font-size: 0.92rem;
  }

  .nav-links > a {
    min-height: 42px;
    padding: 0 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    gap: 18px;
    padding: 56px 0 48px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.05rem, 10vw, 2.9rem);
  }

  .hero-copy {
    font-size: 0.98rem;
  }

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

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .hero-points li {
    padding-top: 12px;
    font-size: 0.92rem;
  }

  .section,
  .cta-section {
    padding: 60px 0;
  }

  .intro-strip {
    padding: 24px 0;
  }

  .section-heading {
    gap: 16px;
    margin-bottom: 24px;
  }

  .two-column,
  .intro-grid,
  .cta-panel {
    gap: 24px;
  }

  .service-card,
  .value-grid article,
  .proof-card,
  .portfolio-body,
  .intro-stats article {
    padding-left: 18px;
    padding-right: 18px;
  }

  .service-card {
    min-height: 0;
  }

  .portfolio-card img,
  .portfolio-card.featured img {
    aspect-ratio: 4 / 3;
  }

  .cta-panel {
    padding: 24px;
  }

  .cta-actions {
    gap: 10px;
  }

  .contact-meta {
    font-size: 0.9rem;
  }

  .footer-row {
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(calc(100% - 22px), var(--container));
  }

  body {
    padding-top: 82px;
  }

  .nav {
    padding: 12px 0;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .brand-logo {
    width: min(148px, 56vw);
  }

  .brand-text strong {
    display: none;
  }

  .nav-links {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .nav-links > a {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 11vw, 2.7rem);
  }

  .eyebrow,
  .section-label,
  .portfolio-tag {
    font-size: 0.76rem;
  }

  .section h2,
  .cta-panel h2 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .hero-copy,
  .client-line,
  .section-heading p,
  .rich-copy p,
  .proof-card p,
  .service-card p,
  .value-grid p,
  .workflow p,
  .contact-meta {
    font-size: 0.94rem;
  }
}
