:root {
  --bg: #12100f;
  --bg-soft: #1a1715;
  --paper: #f2eee7;
  --paper-soft: #e7e0d6;
  --ink: #171412;
  --muted: #6e655d;
  --gold: #c9a76a;
  --gold-light: #e5cf9d;
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-light: rgba(23, 20, 18, 0.12);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: var(--gold);
  color: var(--ink);
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-dark);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.22em;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(229, 207, 157, 0.65);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  letter-spacing: 0;
}

.brand-text {
  font-size: 13px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.main-nav a {
  transition: color 180ms ease;
}

.main-nav a:hover {
  color: #fff;
}

.main-nav .nav-contact {
  padding: 11px 17px;
  border: 1px solid rgba(229, 207, 157, 0.52);
  border-radius: 999px;
  color: var(--gold-light);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  min-height: 100vh;
  padding: 150px max(24px, calc((100vw - 1180px) / 2)) 90px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0, transparent 38%),
    radial-gradient(circle at 60% 40%, rgba(201, 167, 106, 0.11), transparent 31%),
    var(--bg);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 207, 157, 0.55), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #8c6936;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 8.2vw, 126px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--gold-light);
  font-style: italic;
}

.hero-intro {
  max-width: 610px;
  margin: 42px 0 0;
  color: rgba(255, 255, 255, 0.69);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

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

.button-primary:hover {
  background: #f0dfb6;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.48);
}

.hero-visual {
  position: relative;
  min-height: 590px;
}

.card {
  position: absolute;
  top: 50%;
  left: 54%;
  width: min(340px, 72%);
  aspect-ratio: 0.68;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.card-back {
  transform: translate(-40%, -48%) rotate(12deg);
  border: 1px solid rgba(229, 207, 157, 0.45);
  background:
    repeating-linear-gradient(45deg, rgba(229, 207, 157, 0.05) 0 2px, transparent 2px 8px),
    #251f1b;
}

.card-front {
  display: grid;
  place-items: center;
  transform: translate(-55%, -50%) rotate(-5deg);
  border: 9px solid #eee7dc;
  outline: 1px solid rgba(0, 0, 0, 0.24);
  background:
    radial-gradient(circle at 50% 40%, rgba(201, 167, 106, 0.14), transparent 32%),
    #f8f5ef;
  color: var(--ink);
}

.card-front::before,
.card-front::after {
  content: "";
  position: absolute;
  inset: 21px;
  border: 1px solid rgba(23, 20, 18, 0.2);
  border-radius: 8px;
}

.card-front::after {
  inset: 29px;
  border-color: rgba(201, 167, 106, 0.55);
}

.monogram {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 152px;
  height: 152px;
  border: 1px solid rgba(140, 105, 54, 0.55);
  border-radius: 50%;
  color: #8c6936;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  letter-spacing: -0.08em;
}

.card-corner {
  position: absolute;
  z-index: 3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 0.9;
  text-align: center;
}

.card-corner.top {
  top: 42px;
  left: 42px;
}

.card-corner.bottom {
  right: 42px;
  bottom: 42px;
  transform: rotate(180deg);
}

.spark {
  position: absolute;
  color: var(--gold-light);
  opacity: 0.8;
  animation: float 4s ease-in-out infinite;
}

.spark-one {
  top: 20%;
  right: 8%;
  font-size: 38px;
}

.spark-two {
  right: 20%;
  bottom: 15%;
  font-size: 26px;
  animation-delay: -1.2s;
}

.spark-three {
  top: 37%;
  left: 6%;
  font-size: 18px;
  animation-delay: -2s;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1px);
}

.hero-glow-one {
  top: -20%;
  right: -15%;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(201, 167, 106, 0.09);
}

.hero-glow-two {
  right: 8%;
  bottom: -40%;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-12px) rotate(10deg); }
}

.section {
  padding: 120px max(24px, calc((100vw - 1180px) / 2));
}

.section-light {
  background: var(--paper);
  color: var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 70px;
  align-items: end;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -8px;
}

.section-heading h2,
.about-copy h2,
.contact-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.5vw, 74px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 70px;
}

.service-card {
  min-height: 300px;
  padding: 32px;
  border: 1px solid var(--line-light);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.3);
}

.service-card.featured {
  transform: translateY(-18px);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 24px 50px rgba(43, 35, 28, 0.14);
}

.service-number {
  color: #967242;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.service-card h3 {
  margin: 78px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.62);
}

.about-section {
  background: var(--bg-soft);
}

.about-card {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: stretch;
  border: 1px solid var(--line-dark);
  border-radius: 26px;
  overflow: hidden;
}

.about-signature {
  display: grid;
  place-items: center;
  min-height: 530px;
  border-right: 1px solid var(--line-dark);
  background:
    radial-gradient(circle at 30% 20%, rgba(201, 167, 106, 0.17), transparent 35%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 11px),
    #100e0d;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(110px, 16vw, 230px);
  font-style: italic;
  letter-spacing: -0.14em;
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(45px, 7vw, 90px);
}

.about-copy h2 {
  max-width: 680px;
}

.about-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
  line-height: 1.75;
}

.contact-section {
  padding: 120px 24px;
  background: var(--gold-light);
  color: var(--ink);
  text-align: center;
}

.contact-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-section .eyebrow {
  color: #745429;
}

.contact-intro {
  max-width: 720px;
  margin: 28px auto 0;
  color: rgba(23, 20, 18, 0.65);
  font-size: 18px;
  line-height: 1.7;
}

.contact-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 50px;
}

.contact-links a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  border: 1px solid rgba(23, 20, 18, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  transition: transform 180ms ease, background 180ms ease;
}

.contact-links a:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.4);
}

.contact-label {
  color: rgba(23, 20, 18, 0.55);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-links strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 3vw, 29px);
  font-weight: 400;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 32px max(24px, calc((100vw - 1180px) / 2));
  background: #0c0b0a;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.footer-brand {
  justify-self: start;
  color: #fff;
}

.footer-domain {
  justify-self: end;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .site-header {
    width: min(100% - 32px, 1180px);
  }

  .main-nav a:not(.nav-contact) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 150px;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero-visual {
    min-height: 520px;
    margin-top: 20px;
  }

  .card {
    left: 52%;
    width: min(315px, 72vw);
  }

  .section-heading,
  .about-card {
    grid-template-columns: 1fr;
  }

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

  .service-card,
  .service-card.featured {
    min-height: 230px;
    transform: none;
  }

  .service-card h3 {
    margin-top: 45px;
  }

  .about-signature {
    min-height: 320px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .contact-links {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-brand,
  .footer-domain {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-top: 18px;
  }

  .brand-text {
    display: none;
  }

  .hero {
    padding-top: 125px;
  }

  .hero h1 {
    font-size: clamp(55px, 18vw, 88px);
  }

  .hero-intro {
    margin-top: 30px;
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 440px;
  }

  .card {
    width: 245px;
    border-radius: 16px;
  }

  .monogram {
    width: 116px;
    height: 116px;
    font-size: 44px;
  }

  .card-corner {
    font-size: 18px;
  }

  .card-corner.top {
    top: 34px;
    left: 34px;
  }

  .card-corner.bottom {
    right: 34px;
    bottom: 34px;
  }

  .section,
  .contact-section {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .section-heading {
    gap: 22px;
  }

  .services-grid {
    margin-top: 50px;
  }

  .service-card {
    padding: 26px;
  }

  .about-copy {
    padding: 38px 26px 48px;
  }

  .contact-links strong {
    overflow-wrap: anywhere;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
