:root {
  --ink: #171717;
  --muted: #5d5a55;
  --line: #ded6c9;
  --gold: #d8a75c;
  --gold-dark: #b9853f;
  --paper: #fbfaf8;
  --dark: #151515;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 0 54px;
  color: white;
  background: linear-gradient(135deg, #191919, #111);
  box-shadow: 0 8px 24px rgb(0 0 0 / 14%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-size: 22px;
  font-weight: 500;
  line-height: .88;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.brand small {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  letter-spacing: 2.4px;
}

.brand-mark {
  width: 45px;
  height: 40px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.main-nav a {
  transition: color .2s ease;
}

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

.phone-button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--gold);
  background: linear-gradient(180deg, #e4b86d, #d6a257);
  color: #16120c;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.phone-button {
  min-width: 160px;
  font-size: 14px;
  text-transform: none;
}

.phone-button svg,
.cta-phone svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn:hover,
.phone-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgb(0 0 0 / 14%);
}

.nav-toggle {
  display: none;
}

.hero {
  min-height: 464px;
  padding: 78px 0 70px;
  background: url("assets/hero.png") center 38% / cover no-repeat #f7f3ec;
}

.hero-content {
  position: relative;
  width: min(430px, calc(100% - 48px));
  margin-left: clamp(96px, 11.5vw, 236px);
  padding: 30px 34px 32px;
  isolation: isolate;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: -20px -30px -18px -26px;
  z-index: -1;
  background: rgb(255 255 255 / 34%);
  border-radius: 30px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 22px 70px rgb(46 37 26 / 10%);
  mask-image: radial-gradient(ellipse at 42% 50%, #000 0%, #000 48%, rgb(0 0 0 / 72%) 66%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at 42% 50%, #000 0%, #000 48%, rgb(0 0 0 / 72%) 66%, transparent 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 20px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.eyebrow::after,
.section-kicker::after {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  margin-top: 12px;
  background: var(--gold);
}

.hero h1,
.features h2,
.portfolio h2,
.cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.05;
}

.hero h1 {
  max-width: 420px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(42px, 4.8vw, 56px);
  text-shadow: 0 1px 18px rgb(255 255 255 / 72%);
}

.hero h1 span {
  color: var(--gold-dark);
}

.hero-copy {
  max-width: 390px;
  margin: 26px 0 36px;
  color: #2d2a26;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
  text-shadow: 0 1px 12px rgb(255 255 255 / 78%);
}

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

.btn.secondary {
  background: rgb(255 255 255 / 56%);
  color: #25211b;
}

.features,
.portfolio {
  padding: 44px 54px 56px;
  text-align: center;
  background: #fff;
}

.features {
  padding-top: 40px;
  box-shadow: inset 0 24px 38px rgb(0 0 0 / 4%);
}

.section-kicker::after {
  margin-right: auto;
  margin-left: auto;
}

.features h2,
.portfolio h2 {
  font-size: clamp(34px, 4vw, 46px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 42px;
  width: min(100%, 1120px);
  margin: 42px auto 0;
}

.feature-grid article {
  min-width: 0;
}

.feature-grid svg {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  fill: none;
  stroke: var(--gold-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-grid h3,
.work-card h3,
.service-box h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
}

.feature-grid p {
  margin: 12px auto 0;
  max-width: 210px;
  color: #333;
  font-size: 14px;
  line-height: 1.55;
}

.portfolio {
  padding-top: 34px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: min(100%, 1150px);
  margin: 32px auto 26px;
  text-align: left;
}

.work-card img {
  width: 100%;
  aspect-ratio: 218 / 168;
  object-fit: cover;
}

.work-card h3 {
  margin-top: 11px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
}

.work-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.portfolio-more {
  min-width: 235px;
  background: white;
  color: var(--gold-dark);
}

.cta {
  color: white;
  background: linear-gradient(135deg, #171717, #2a2a28);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) 470px;
  align-items: center;
  gap: 96px;
  width: min(100% - 108px, 1150px);
  margin: 0 auto;
  padding: 68px 0 70px;
}

.cta h2 {
  max-width: 430px;
  font-size: clamp(34px, 4vw, 44px);
}

.cta p:not(.section-kicker) {
  max-width: 460px;
  margin: 22px 0 26px;
  color: #e7e2da;
  font-size: 15px;
  line-height: 1.65;
}

.cta .section-kicker::after {
  margin-left: 0;
}

.cta-phone {
  width: 178px;
}

.service-box {
  padding: 34px 38px 36px;
  border: 1px solid rgb(255 255 255 / 24%);
}

.service-box h3 {
  color: var(--gold);
  font-size: 21px;
}

.service-box ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 36px;
  row-gap: 18px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: #f4f1eb;
  font-size: 14px;
}

.service-box li {
  position: relative;
  padding-left: 30px;
  line-height: 1.45;
}

.service-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.site-footer {
  background: #121212;
  border-top: 1px solid rgb(255 255 255 / 6%);
}

.footer-inner {
  display: grid;
  grid-template-columns: 230px 180px 180px minmax(260px, 1fr) auto;
  align-items: center;
  gap: 42px;
  width: min(100% - 108px, 1150px);
  min-height: 78px;
  margin: 0 auto;
  padding: 14px 0;
  color: white;
  font-size: 13px;
}

.footer-item {
  display: block;
  color: #f7f2ea;
}

.footer-inner p {
  margin: 0;
  line-height: 1.55;
}

.footer-label {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.footer-inner .brand {
  font-size: 19px;
}

.footer-inner .brand small {
  font-size: 13px;
}

.footer-inner .brand-mark {
  width: 37px;
}

.footer-inner a:not(.brand) {
  color: #f7f2ea;
  transition: color .2s ease;
}

.footer-inner a:not(.brand):hover {
  color: var(--gold);
}

.social {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgb(255 255 255 / 16%);
  color: white;
  font-size: 21px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 0 24px;
  }

  .nav-toggle {
    display: inline-grid;
    place-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid rgb(255 255 255 / 18%);
    background: transparent;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 18px 24px;
    background: #151515;
  }

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

  .main-nav a {
    padding: 13px 0;
  }

  .site-header > .phone-button {
    display: none;
  }

  .hero {
    min-height: 560px;
    background: url("assets/hero.png") 62% center / cover no-repeat #f7f3ec;
  }

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

  .cta-inner,
  .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cta-inner {
    gap: 34px;
    width: min(100% - 48px, 1150px);
  }

  .footer-inner {
    width: min(100% - 48px, 1150px);
    padding: 26px 0;
    gap: 18px;
  }
}

@media (max-width: 620px) {
  .brand {
    font-size: 17px;
  }

  .brand small {
    font-size: 12px;
  }

  .brand-mark {
    width: 38px;
  }

  .hero {
    padding: 58px 0;
  }

  .hero-content {
    width: min(100% - 32px, 1240px);
    margin-left: 16px;
    margin-right: 16px;
    padding: 24px 20px;
  }

  .hero-content::before {
    inset: -8px -10px;
    background: rgb(255 255 255 / 22%);
    border: 0;
    border-radius: 18px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: none;
    mask-image: linear-gradient(90deg, #000 0%, rgb(0 0 0 / 78%) 76%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, rgb(0 0 0 / 78%) 76%, transparent 100%);
  }

  .cta-inner {
    width: min(100% - 32px, 1240px);
  }

  .hero h1 {
    max-width: 330px;
  }

  .features,
  .portfolio {
    padding-right: 16px;
    padding-left: 16px;
  }

  .feature-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .service-box {
    padding: 24px;
  }

  .service-box ul {
    grid-template-columns: 1fr;
  }

  .site-footer {
    background: #101010;
  }

  .footer-inner {
    width: 100%;
    padding: 30px 28px 34px;
    gap: 20px;
  }

  .footer-inner .brand {
    margin-bottom: 8px;
  }

  .footer-inner p,
  .footer-inner a:not(.brand):not(.social) {
    font-size: 14px;
    line-height: 1.55;
  }

  .footer-item {
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid rgb(255 255 255 / 9%);
  }

  .social {
    margin-top: 4px;
  }
}
