:root {
  --orange: #ff4b35;
  --orange-dark: #e33c2d;
  --navy: #05084f;
  --navy-soft: #111464;
  --cream: #fff7f1;
  --white: #ffffff;
  --blush: #ffe9e5;
  --text: #11123a;
  --muted: #626484;
  --line: rgba(5, 8, 79, 0.12);
  --shadow: 0 24px 70px rgba(5, 8, 79, 0.22);
  --radius-xl: 34px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 8%, rgba(255, 255, 255, 0.22), transparent 24rem),
    linear-gradient(135deg, #d93b34 0%, var(--orange) 52%, #ff6647 100%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  width: min(100% - 28px, var(--max-width));
  margin: 0 auto;
  padding: 28px 0;
}

.vcard {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.brand-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px);
  background-size: 34px 34px;
}

.hero {
  position: relative;
  padding: 26px;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.18), transparent 11rem),
    linear-gradient(145deg, var(--orange) 0%, #f34131 48%, var(--navy) 150%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -88px;
  top: 92px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  box-shadow: 0 0 0 36px rgba(255, 255, 255, 0.08), 0 0 0 72px rgba(255, 255, 255, 0.05);
}

.hero__topline,
.profile-lockup,
.hero-actions {
  position: relative;
  z-index: 1;
}

.hero__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.eyebrow,
.edition,
.pretitle {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.7rem;
}

.edition {
  color: rgba(255, 255, 255, 0.76);
}

.profile-lockup {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 20px;
  align-items: center;
}

.avatar {
  display: grid;
  place-items: center;
  width: 104px;
  aspect-ratio: 1;
  border: 4px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 18px 40px rgba(5, 8, 79, 0.35);
}

.avatar span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.pretitle {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.8);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.35rem, 10vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

h1 em {
  display: block;
  color: var(--white);
}

.headline {
  max-width: 35rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 26px;
}

.hero-actions .btn--ghost {
  grid-column: 1 / -1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0.86rem 1.05rem;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

.btn--primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 12px 24px rgba(5, 8, 79, 0.22);
}

.btn--primary:hover {
  background: #02043c;
}

.btn--secondary {
  color: var(--navy);
  background: var(--white);
}

.btn--ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.btn--light {
  color: var(--navy);
  background: var(--blush);
}

.quick-card,
.section-block,
.social-strip {
  position: relative;
  z-index: 1;
  margin: 18px;
}

.quick-card {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.contact-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(90deg, var(--cream), var(--white));
}

.contact-item__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
}

.contact-item small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-item a {
  font-weight: 800;
  word-break: break-word;
}

.copy-btn {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: var(--orange);
  background: var(--blush);
  font-size: 0.78rem;
  font-weight: 800;
}

.section-block {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px var(--blush);
}

h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  letter-spacing: -0.04em;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #fff7f5);
}

.service-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--blush);
}

.service-card h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1rem;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.social-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.social-strip a {
  min-height: 76px;
  padding: 14px;
  border-radius: 20px;
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
}

.social-strip a span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 700;
}

.form-intro {
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.6;
}

form {
  display: grid;
  gap: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  outline: none;
  padding: 14px 14px;
  color: var(--text);
  background: var(--cream);
  transition: border 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(255, 75, 53, 0.7);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 75, 53, 0.12);
}

.error-message {
  min-height: 16px;
  color: var(--orange-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}

.form-status {
  min-height: 22px;
  margin-bottom: 0;
  color: var(--navy);
  font-weight: 800;
}

.is-invalid {
  border-color: var(--orange-dark) !important;
  background: #fff3f0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 10;
  transform: translateX(-50%) translateY(16px);
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 18px 40px rgba(5, 8, 79, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
  font-weight: 800;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 18px, var(--max-width));
    padding: 10px 0;
  }

  .vcard {
    border-radius: 26px;
  }

  .hero {
    padding: 22px;
  }

  .hero__topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .profile-lockup {
    grid-template-columns: 1fr;
  }

  .avatar {
    width: 96px;
  }

  .hero-actions,
  .services-grid,
  .social-strip,
  .form-grid,
  .form-actions {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn--ghost {
    grid-column: auto;
  }

  .contact-item {
    grid-template-columns: 42px 1fr;
  }

  .copy-btn {
    grid-column: 2;
    justify-self: start;
  }

  .quick-card,
  .section-block,
  .social-strip {
    margin: 12px;
  }
}
