:root {
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body.no-scroll {
  overflow: hidden;
}

body {
  letter-spacing: -0.01em;
  color: #72572d;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #72572d;
}

.font-serif {
  letter-spacing: -0.045em;
  font-feature-settings: "liga" 1, "kern" 1;
  color: #72572d;
}

.font-script {
  letter-spacing: 0.01em;
}

.text-night-900 {
  color: #72572d !important;
}

.text-night-700 {
  color: #846944 !important;
}

.text-night-500 {
  color: #a4844e !important;
}

.tracking-\[0\.35em\],
.tracking-\[0\.3em\],
.tracking-\[0\.2em\],
.tracking-widest,
.tracking-wider {
  letter-spacing: 0.08em !important;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  z-index: -1;
  opacity: 0.18;
  animation: floatSoft 22s ease-in-out infinite;
}

body::before {
  background: radial-gradient(circle, rgba(199, 164, 107, 0.35), transparent 65%);
  top: -180px;
  right: -140px;
}

body::after {
  background: radial-gradient(circle, rgba(27, 26, 36, 0.18), transparent 70%);
  bottom: -200px;
  left: -160px;
  animation-delay: 6s;
}

.premium-card {
  border-radius: 28px;
  border: 1px solid #e6ddcf;
  background: #ffffff;
  box-shadow: 0 28px 60px rgba(27, 26, 36, 0.08);
}

.premium-card--soft {
  background: #fbf8f3;
}

.hero-card {
  background: linear-gradient(150deg, #ffffff 0%, #f6f1ea 52%, #efe5d7 100%);
}

.hero-card--profile {
  position: relative;
  overflow: hidden;
  border-color: #eadfce;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.88), transparent 34%),
    radial-gradient(circle at bottom left, rgba(241, 227, 202, 0.3), transparent 42%),
    linear-gradient(160deg, #f9f4ec 0%, #f4ece0 58%, #f0e5d6 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    0 24px 50px rgba(45, 35, 18, 0.07);
}

.hero-card--profile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 45%);
  pointer-events: none;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid #e8ddcf;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 18px rgba(36, 27, 12, 0.04);
}

.tag-pill.is-active {
  border-color: #c7a46b;
  color: #c7a46b;
  box-shadow: 0 10px 24px rgba(199, 164, 107, 0.2);
}

.accent-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #c7a46b;
}

.stat-card {
  border-radius: 20px;
  border: 1px solid #e6ddcf;
  background: rgba(255, 255, 255, 0.85);
  padding: 16px 18px;
}

.stat-card--hero {
  background: rgba(255, 255, 255, 0.92);
  border-color: #e6dccf;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 12px 24px rgba(53, 40, 21, 0.05);
  min-width: 0;
}

.stat-card--hero .text-2xl {
  line-height: 1.04;
  letter-spacing: -0.04em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  text-wrap: balance;
}

.stat-card--hero .text-\[0\.65rem\] {
  letter-spacing: 0.08em !important;
  line-height: 1.35;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.about-photo-frame {
  border-radius: 28px;
  border: 1px solid #e6ddcf;
  overflow: hidden;
  background: #f6f1ea;
  min-height: 560px;
  box-shadow: 0 28px 60px rgba(27, 26, 36, 0.08);
}

.about-photo {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center top;
}

.service-card {
  border-radius: 26px;
  border: 1px solid #e6ddcf;
  background: #ffffff;
  padding: 24px;
  position: relative;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  width: 3px;
  height: 48px;
  background: #c7a46b;
  border-radius: 999px;
}

.cert-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.cert-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid #e6ddcf;
  background: #fdfbf7;
  color: #c7a46b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  background: #73562d;
  color: #fdfbf7;
  border: 1px solid #73562d;
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: #8b6937;
}

.admin-primary {
  background: #73562d;
  color: #fdfbf7;
  border: 1px solid #73562d;
}

.admin-primary:hover {
  background: #8b6937;
}

.admin-shell {
  --admin-title: #72572d;
  --admin-copy: #846944;
  --admin-muted: #a4844e;
  --admin-accent: #8f6a31;
  --admin-line: #e2d3bb;
}

.admin-shell .text-ink-900 {
  color: var(--admin-title) !important;
}

.admin-shell .text-ink-700 {
  color: var(--admin-copy) !important;
}

.admin-shell .text-ink-500 {
  color: var(--admin-muted) !important;
}

.admin-shell .font-serif {
  color: var(--admin-title);
}

.admin-shell input,
.admin-shell textarea,
.admin-shell select {
  color: #6b522d;
  caret-color: var(--admin-accent);
}

.admin-shell input::placeholder,
.admin-shell textarea::placeholder {
  color: #baa072;
  opacity: 1;
}

.admin-shell .btn-primary,
.admin-shell .admin-primary {
  background: #73562d;
  border-color: #73562d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 14px 28px rgba(143, 106, 49, 0.16);
}

.admin-shell .btn-primary:hover,
.admin-shell .admin-primary:hover {
  background: #8b6937;
  border-color: #8b6937;
}

.admin-shell .btn-ghost {
  color: #75592f;
  border-color: var(--admin-line);
  background: rgba(255, 250, 242, 0.96);
}

.admin-shell .btn-ghost:hover {
  color: #8f6a31;
  border-color: #b69055;
  background: #fffaf2;
}

.admin-shell .border-sand-200,
.admin-shell .divide-sand-200 {
  border-color: var(--admin-line);
}

.admin-shell .bg-sand-100 {
  background: #fbf6ee;
}

.admin-shell .shadow-soft {
  box-shadow: 0 22px 50px rgba(141, 107, 52, 0.12);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid #e2d3bb;
  background: rgba(255, 250, 242, 0.98);
  color: #75592f;
  box-shadow: 0 10px 20px rgba(37, 27, 16, 0.04);
  transition: all 0.25s ease;
}

.btn-ghost:hover {
  border-color: #b69055;
  color: #8f6a31;
}

.btn-ghost.is-active {
  border-color: #b69055;
  color: #8f6a31;
  box-shadow: 0 10px 24px rgba(199, 164, 107, 0.2);
}

.contact-button {
  background: #c8a56d;
  color: #6f542b;
  box-shadow: 0 12px 30px rgba(182, 144, 85, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(182, 144, 85, 0.35);
}

.contact-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 200px;
  border-radius: 18px;
  border: 1px solid #e6ddcf;
  background: #ffffff;
  box-shadow: 0 24px 48px rgba(27, 26, 36, 0.12);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 50;
  padding: 8px;
}

.contact-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.contact-menu__item {
  display: block;
  width: 100%;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #72572d;
  text-align: left;
  background: transparent;
  border: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.contact-menu__item:hover {
  background: #f6f1ea;
  color: #8f6a31;
}

.contact-actions-grid {
  display: grid;
  gap: 24px;
}

.contact-hero {
  display: grid;
  justify-items: center;
  text-align: center;
}

.contact-avatar-wrap {
  position: relative;
  margin-bottom: 24px;
  width: 180px;
  height: 180px;
  overflow: hidden;
  border-radius: 999px;
  border: 6px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 22px 44px rgba(53, 40, 21, 0.12),
    0 0 0 1px rgba(230, 221, 207, 0.9);
}

.contact-avatar-wrap::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  border: 1px solid rgba(182, 144, 85, 0.38);
  pointer-events: none;
}

.contact-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 1%;
  transform: scale(1.42);
  transform-origin: center 1%;
}

.contact-action-card {
  position: relative;
  overflow: hidden;
}

.contact-action-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(182, 144, 85, 0.55), rgba(182, 144, 85, 0));
}

.contact-action-card__eyebrow,
.contact-detail__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a4844e;
}

.contact-detail {
  border-radius: 20px;
  border: 1px solid #e6ddcf;
  background: rgba(255, 255, 255, 0.78);
  padding: 16px 18px;
}

.contact-note {
  border-radius: 20px;
  border: 1px solid #eadfce;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 241, 234, 0.96));
  padding: 16px 18px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #846944;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-sticky {
  position: fixed;
  bottom: 24px;
  right: 24px;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  background: #73562d;
  color: #fdfbf7;
  box-shadow: 0 18px 40px rgba(143, 106, 49, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 35;
}

.cta-sticky:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(143, 106, 49, 0.28);
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 18, 30, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 60;
  padding: 20px;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  animation: slideUp 0.35s ease;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #846944;
}

.form-status.is-success {
  color: #72572d;
}

.form-status.is-error {
  color: #b04b4b;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 30, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 45;
}

.mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(320px, 86vw);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.86), transparent 28%),
    linear-gradient(180deg, #fcf8f1 0%, #f7efe2 100%);
  border-left: 1px solid rgba(230, 221, 207, 0.84);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 46;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(27, 26, 36, 0.2);
}

.mobile-panel__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 18px;
  border: 1px solid rgba(232, 220, 203, 0.9);
  background: rgba(255, 255, 255, 0.72);
  padding: 14px 16px;
  color: #72572d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.mobile-panel__link::after {
  content: "›";
  font-size: 1.2rem;
  line-height: 1;
  color: #b69055;
}

body.mobile-menu-open {
  overflow: hidden;
}

.mobile-panel__link::after {
  content: ">";
  font-size: 1rem;
}

body.mobile-menu-open .mobile-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.mobile-menu-open .mobile-panel {
  transform: translateX(0);
}

@keyframes slideUp {
  from {
    transform: translateY(18px);
    opacity: 0.8;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(24px) translateX(-16px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 767px) {
  body {
    background: linear-gradient(180deg, #fdfbf7 0%, #f7efe3 100%);
  }

  body::before,
  body::after {
    width: 280px;
    height: 280px;
    opacity: 0.12;
  }

  header.sticky {
    background: rgba(253, 250, 244, 0.88);
    box-shadow: 0 12px 34px rgba(35, 26, 13, 0.06);
  }

  .home-hero {
    padding-top: 22px;
    padding-bottom: 42px;
  }

  .home-hero__grid {
    gap: 26px;
  }

  .home-hero__content > .text-xs:first-child {
    font-size: 0.68rem;
    letter-spacing: 0.18em !important;
  }

  .home-hero__content h1 {
    margin-top: 18px;
    max-width: 11ch;
    font-size: 3rem;
    line-height: 0.92;
    letter-spacing: -0.06em;
    text-wrap: balance;
  }

  .home-hero__content > p.mt-6 {
    margin-top: 18px;
    max-width: 34ch;
    font-size: 0.98rem;
    line-height: 1.62;
    color: #5a576a;
  }

  .home-hero__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
  }

  .home-hero__actions .btn-primary,
  .home-hero__actions .btn-ghost {
    min-height: 54px;
    padding: 0 18px;
    font-size: 0.9rem;
  }

  .home-hero__tags {
    gap: 10px;
  }

  .brand-lockup {
    gap: 10px;
    max-width: calc(100vw - 76px);
    align-items: center;
  }

  .brand-lockup__logo {
    flex-shrink: 0;
    filter: drop-shadow(0 8px 18px rgba(143, 106, 49, 0.12));
  }

  .brand-lockup__text {
    min-width: 0;
  }

  .brand-lockup .font-serif {
    font-size: 1.46rem;
    line-height: 0.96;
  }

  .brand-lockup .text-\[0\.62rem\] {
    font-size: 0.56rem;
    letter-spacing: 0.22em !important;
  }

  .mobile-header-row {
    gap: 12px;
    min-height: 56px;
    align-items: center;
  }

  [data-menu-open] {
    border-color: rgba(230, 221, 207, 0.92);
    background: rgba(255, 255, 255, 0.76);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.8),
      0 10px 24px rgba(35, 26, 13, 0.08);
  }

  .contact-menu {
    left: 0;
    right: auto;
    min-width: min(240px, calc(100vw - 32px));
  }

  .hero-card,
  .premium-card,
  .service-card,
  .about-photo-frame,
  .stat-card {
    border-radius: 26px;
  }

  .hero-card--profile {
    padding: 28px 24px 24px;
    background:
      radial-gradient(circle at top right, rgba(255, 255, 255, 0.84), transparent 36%),
      radial-gradient(circle at bottom left, rgba(241, 228, 204, 0.28), transparent 44%),
      linear-gradient(180deg, #fbf6ef 0%, #f2e8da 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.6),
      0 22px 44px rgba(48, 35, 17, 0.08);
  }

  .hero-card--profile .text-\[0\.65rem\] {
    font-size: 0.62rem;
    letter-spacing: 0.2em !important;
  }

  .hero-card--profile h2 {
    font-size: 2.55rem;
    line-height: 0.94;
    letter-spacing: -0.05em;
  }

  .home-hero__card > p.mt-2 {
    font-size: 0.98rem;
    color: #4f4d61;
  }

  .hero-card--profile .mt-6.grid.gap-3 {
    gap: 13px;
  }

  .home-hero__card .mt-6.grid.gap-3 > div {
    align-items: center;
    gap: 12px;
    font-size: 0.97rem;
  }

  .hero-card--profile .accent-dot {
    width: 9px;
    height: 9px;
    box-shadow: 0 0 0 5px rgba(199, 164, 107, 0.12);
  }

  .home-hero__card .mt-8.grid.grid-cols-2 {
    gap: 12px;
  }

  .stat-card--hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100px;
    padding: 18px 16px 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.86),
      0 14px 26px rgba(48, 35, 17, 0.06);
  }

  .stat-card--hero .text-2xl {
    font-size: 1.62rem;
    line-height: 1.02;
  }

  .stat-card--hero .text-\[0\.65rem\] {
    font-size: 0.58rem;
  }

  .tag-pill {
    min-height: 32px;
    padding: 7px 14px;
    font-size: 0.68rem;
    letter-spacing: 0.08em !important;
  }

  .btn-primary,
  .btn-ghost {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 14px 28px rgba(38, 29, 14, 0.08);
  }

  .premium-card--soft,
  .service-card {
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 38px rgba(35, 26, 13, 0.05);
  }

  .contact-action-card .btn-primary,
  .contact-action-card .btn-ghost {
    width: 100%;
  }

  .contact-avatar {
    transform: scale(1.48);
  }

  .contact-avatar-wrap {
    width: 144px;
    height: 144px;
  }

  .service-card::before {
    top: 18px;
    width: 2px;
    height: 40px;
    opacity: 0.9;
  }

  .cta-sticky {
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    justify-content: center;
    padding: 14px 18px;
  }

  .mobile-panel {
    width: min(360px, 90vw);
  }

  .modal {
    padding: 14px;
  }

  .modal-card {
    padding: 28px 20px;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
