:root {
  --wine: #4a0717;
  --wine-deep: #26050d;
  --wine-soft: #6d1429;
  --gold: #b68a31;
  --gold-light: #e6c777;
  --cream: #fbf7f1;
  --paper: #fffdf9;
  --ink: #24191b;
  --muted: #75676a;
  --line: rgba(89, 31, 43, .14);
  --shadow: 0 28px 80px rgba(58, 16, 27, .17);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(182, 138, 49, .13), transparent 28rem),
    radial-gradient(circle at 90% 85%, rgba(74, 7, 23, .12), transparent 32rem),
    #f4efe9;
  font-family: "Montserrat", Arial, sans-serif;
  overflow-x: hidden;
}

.ambient { position: fixed; border-radius: 50%; filter: blur(4px); opacity: .55; pointer-events: none; }
.ambient-one { width: 18rem; height: 18rem; left: -8rem; top: 35%; background: rgba(210, 175, 100, .16); }
.ambient-two { width: 24rem; height: 24rem; right: -12rem; top: 5%; background: rgba(108, 20, 41, .09); }

.profile-shell { width: min(100%, 590px); margin: 0 auto; padding: 24px 18px 34px; position: relative; z-index: 1; }
.profile-card { overflow: hidden; background: var(--paper); border: 1px solid rgba(74, 7, 23, .09); border-radius: 30px; box-shadow: var(--shadow); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 570px;
  padding: 52px 38px 40px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 85% 85%, rgba(230, 199, 119, .36), transparent 27%),
    radial-gradient(circle at 13% 10%, rgba(182, 138, 49, .2), transparent 30%),
    linear-gradient(155deg, var(--wine-deep) 0%, var(--wine) 52%, #741a31 100%);
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.045) 50%, transparent 70%); pointer-events: none; }

.gold-lines { position: absolute; width: 180px; height: 180px; border: 1px solid rgba(230,199,119,.44); border-radius: 50%; }
.gold-lines::before, .gold-lines::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(230,199,119,.26); border-radius: inherit; }
.gold-lines::after { inset: 25px; }
.gold-lines-left { top: -105px; left: -92px; }
.gold-lines-right { right: -110px; bottom: -100px; }

.brand-mark { width: 174px; height: 174px; margin: 0 auto 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(255,253,249,.97); color: var(--wine); border: 1px solid rgba(230,199,119,.65); border-radius: 50%; box-shadow: 0 14px 40px rgba(0,0,0,.18); }
.brand-dmk { font: 600 62px/.76 "Cormorant Garamond", Georgia, serif; letter-spacing: -4px; }
.brand-solution { margin-top: 14px; color: var(--gold); font-size: 10px; font-weight: 600; letter-spacing: 5px; }
.eyebrow, .section-kicker { margin: 0 0 15px; text-transform: uppercase; font-size: 10px; font-weight: 700; letter-spacing: 2px; color: var(--gold-light); }
.hero h1 { margin: 0; font: 600 clamp(42px, 10vw, 58px)/.92 "Cormorant Garamond", Georgia, serif; letter-spacing: -.8px; }
.intro { max-width: 470px; margin: 19px auto 25px; font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.86); }
.quick-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.quick-contacts a { padding: 9px 13px; color: #fff; text-decoration: none; font-size: 11px; font-weight: 600; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); transition: .25s ease; }
.quick-contacts a:hover { border-color: var(--gold-light); transform: translateY(-2px); }

.content { padding: 18px; }
.link-list { display: grid; gap: 11px; }
.link-card { min-height: 80px; padding: 13px 15px; display: grid; grid-template-columns: 46px 1fr 20px; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 7px 18px rgba(50, 21, 27, .045); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.link-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(50,21,27,.11); border-color: rgba(182,138,49,.5); }
.link-card-primary { color: #fff; border: none; background: linear-gradient(135deg, #8e2741, var(--wine)); }
.link-card-featured { color: #fff; border: none; background: linear-gradient(135deg, var(--gold), #8c641d); }
.icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--wine); font-size: 20px; font-weight: 700; }
.link-card-primary .icon, .link-card-featured .icon { background: rgba(255,255,255,.16); color: #fff; }
.link-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.link-copy strong { font: 700 14px/1.2 "Montserrat", Arial, sans-serif; }
.link-copy small { font-size: 11px; line-height: 1.35; color: var(--muted); }
.link-card-primary small, .link-card-featured small { color: rgba(255,255,255,.76); }
.arrow { text-align: right; font-size: 26px; line-height: 1; opacity: .65; }

.services { margin: 36px 0 18px; padding: 34px 22px 22px; border-radius: 22px; background: var(--cream); border: 1px solid rgba(182,138,49,.19); }
.services .section-kicker { color: var(--gold); text-align: center; }
.services h2 { margin: 0 0 25px; text-align: center; color: var(--wine); font: 600 32px/1 "Cormorant Garamond", Georgia, serif; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.service-grid article { min-height: 148px; padding: 15px; display: flex; flex-direction: column; border-radius: 14px; background: rgba(255,255,255,.8); border: 1px solid rgba(74,7,23,.08); }
.service-grid article span { margin-bottom: auto; color: var(--gold); font: 700 10px/1 "Montserrat", Arial, sans-serif; letter-spacing: 1px; }
.service-grid article strong { margin: 15px 0 7px; color: var(--wine); font-size: 13px; line-height: 1.25; }
.service-grid article small { color: var(--muted); font-size: 10px; line-height: 1.5; }

.result-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border-radius: 18px; background: rgba(182,138,49,.35); }
.result-strip div { min-height: 130px; padding: 19px 13px; display: flex; flex-direction: column; justify-content: center; text-align: center; background: var(--wine); color: #fff; }
.result-strip strong { color: var(--gold-light); font: 600 17px/1.05 "Cormorant Garamond", Georgia, serif; white-space: nowrap; }
.result-strip span { margin-top: 8px; color: rgba(255,255,255,.68); font-size: 9px; line-height: 1.45; white-space: nowrap; }

.signature { margin-top: 18px; padding: 17px; display: flex; align-items: center; gap: 13px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.avatar { width: 47px; height: 47px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: var(--gold-light); background: var(--wine); font: 600 15px/1 "Cormorant Garamond", Georgia, serif; letter-spacing: 1px; }
.signature div:last-child { display: flex; flex-direction: column; gap: 4px; }
.signature strong { color: var(--wine); font-size: 13px; }
.signature span { color: var(--muted); font-size: 10px; }

footer { padding: 22px 10px 0; text-align: center; color: var(--muted); font-size: 9px; line-height: 1.6; }
footer p { margin: 0; }
.developer-credit { margin-top: 7px; }
.developer-credit a { color: var(--wine); text-decoration: none; }
.developer-credit a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 520px) {
  .profile-shell { padding: 0; }
  .profile-card { border-radius: 0 0 26px 26px; border-top: 0; }
  .hero { min-height: 550px; padding: 44px 24px 35px; }
  .brand-mark { width: 156px; height: 156px; }
  .brand-dmk { font-size: 56px; }
  .content { padding: 14px; }
  .service-grid { gap: 8px; }
  .services { padding-inline: 14px; }
  .result-strip div { padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
