:root {
  --deep-gulf: #0f2e33;
  --bay-teal: #2f7a7c;
  --sunset-coral: #e8875a;
  --shell-sand: #f5f0e6;
  --soft-dark: #bfd3d1;
  --ink: #123136;
  --paper: #fffaf1;
  --line: rgba(15, 46, 51, 0.18);
  --shadow: 0 20px 44px rgba(5, 25, 28, 0.24);
  color-scheme: light;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--deep-gulf);
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(47, 122, 124, 0.35), rgba(15, 46, 51, 0) 28rem),
    var(--deep-gulf);
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--sunset-coral);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  transform: translateY(-140%);
  border-radius: 0.5rem;
  background: var(--sunset-coral);
  color: var(--deep-gulf);
  padding: 0.75rem 1rem;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.card-shell {
  width: min(100%, 34rem);
  margin: 0 auto;
  padding: 1rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0 1.25rem;
  color: var(--soft-dark);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-lockup img {
  flex: 0 0 auto;
  border-radius: 0.75rem;
}

.brand-lockup span {
  max-width: 13rem;
  color: #ffffff;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.05;
}

.language-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(3rem, 1fr));
  overflow: hidden;
  border: 1px solid rgba(191, 211, 209, 0.55);
  border-radius: 0.65rem;
}

.language-toggle button {
  min-height: 2.75rem;
  border: 0;
  background: transparent;
  color: var(--soft-dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.language-toggle button[aria-pressed="true"] {
  background: var(--sunset-coral);
  color: var(--deep-gulf);
}

.profile,
.actions,
.primary-actions,
.details,
.license {
  background: var(--paper);
}

.profile {
  padding: 1.3rem 1.25rem 1.2rem;
  border-radius: 0.5rem 0.5rem 0 0;
  text-align: center;
}

.portrait {
  display: block;
  width: min(68vw, 13rem);
  height: min(68vw, 13rem);
  margin: 0 auto 1rem;
  border: 6px solid var(--sunset-coral);
  border-radius: 50%;
  object-fit: cover;
  object-position: 56% 36%;
  background: var(--deep-gulf);
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--bay-teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--deep-gulf);
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.04;
}

h1 {
  font-size: clamp(2rem, 12vw, 3.25rem);
}

h2 {
  margin-bottom: 0.65rem;
  font-size: 1.35rem;
}

.role,
.experience {
  margin: 0.2rem auto 0;
}

.role {
  color: var(--deep-gulf);
  font-weight: 800;
}

.experience {
  max-width: 20rem;
  color: #345a5f;
  font-size: 0.98rem;
}

.actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0 1rem 1rem;
}

.action {
  display: grid;
  min-height: 5rem;
  place-items: center;
  gap: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #ffffff;
  color: var(--deep-gulf);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.action svg,
.share-button svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.action span {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
}

.primary-actions {
  display: grid;
  gap: 0.75rem;
  padding: 0 1rem 1.2rem;
}

.consultation,
.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  border-radius: 0.5rem;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.consultation {
  background: var(--sunset-coral);
  color: var(--deep-gulf);
}

.share-button {
  gap: 0.5rem;
  border: 1px solid var(--bay-teal);
  background: #ffffff;
  color: var(--deep-gulf);
}

.share-status {
  min-height: 1.4rem;
  margin: 0;
  color: #345a5f;
  font-size: 0.95rem;
  text-align: center;
}

.share-fallback {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.75rem;
  color: var(--deep-gulf);
  font: inherit;
}

.details {
  padding: 1.1rem 1.25rem;
  border-top: 1px solid var(--line);
}

.details ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1.25rem;
}

.request-list {
  margin-top: 0.65rem !important;
  color: #345a5f;
}

.details p,
.details address {
  margin: 0;
  color: #244c51;
  font-style: normal;
}

.license {
  border-top: 1px solid var(--line);
  border-radius: 0 0 0.5rem 0.5rem;
  padding: 1rem 1.25rem 1.3rem;
}

.license p {
  margin: 0;
  color: #345a5f;
  font-size: 0.85rem;
}

@media (min-width: 44rem) {
  .card-shell {
    padding: 2rem 1rem;
  }

  .brand-lockup span {
    max-width: 18rem;
    font-size: 1.15rem;
  }

  .profile {
    padding-top: 1.75rem;
  }
}

@media (max-width: 340px) {
  .actions {
    gap: 0.5rem;
    padding-inline: 0.75rem;
  }

  .action {
    min-height: 4.8rem;
  }

  .action span {
    font-size: 0.82rem;
  }
}

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