:root {
  color-scheme: light;
  --page-bg: #f7f8fb;
  --surface: #ffffff;
  --surface-muted: #eef4f3;
  --text: #161b22;
  --muted: #657181;
  --line: rgba(22, 27, 34, 0.12);
  --accent: #0f766e;
  --accent-strong: #0b5f59;
  --accent-rgb: 15, 118, 110;
  --footer-bg: #111827;
  --footer-text: #d9e2ec;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.06);
  --shadow-image: 0 24px 70px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--page-bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
p,
li,
a,
code {
  overflow-wrap: anywhere;
}

a {
  color: inherit;
}

a:hover {
  color: var(--accent-strong);
}

:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb), 0.35);
  outline-offset: 3px;
}

.container {
  width: min(1180px, calc(100vw - 2rem));
  max-width: 1180px;
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1100;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  padding: 0.625rem 0.875rem;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease;
}

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

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1200;
  width: 0%;
  height: 3px;
  background: var(--accent);
  transform-origin: left center;
}

.section-kicker {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.25rem;
}

.cover-section {
  padding: clamp(1rem, 3vw, 2rem) 0 0;
}

.cover-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-image);
}

.intro-section {
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.6rem, 6vw, 5rem);
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.intro-photo-wrap {
  --avatar-size: min(calc(100vw - 2rem), 420px);
  --story-ring: 7px;
  --story-gap: 5px;
  position: relative;
  display: grid;
  width: var(--avatar-size);
  height: var(--avatar-size);
  place-items: center;
  margin: 0;
  border-radius: 50%;
  padding: calc(var(--story-ring) + var(--story-gap));
  box-shadow: 0 26px 76px rgba(15, 23, 42, 0.14);
}

.intro-photo-wrap::before,
.intro-photo-wrap::after {
  position: absolute;
  border-radius: inherit;
  content: "";
}

.intro-photo-wrap::before {
  inset: 0;
  background:
    conic-gradient(
      from -35deg,
      #feda75 0deg,
      #fa7e1e 58deg,
      #d62976 142deg,
      #962fbf 224deg,
      #4f5bd5 300deg,
      #feda75 360deg
    );
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55), 0 14px 42px rgba(214, 41, 118, 0.26);
}

.intro-photo-wrap::after {
  inset: var(--story-ring);
  background: var(--page-bg);
}

.intro-photo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: 100%;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 32%;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.intro-copy {
  max-width: 780px;
  min-width: 0;
}

.intro-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  line-height: 1;
  font-weight: 850;
  overflow-wrap: break-word;
}

.mobile-break {
  display: inline;
}

.intro-lead {
  margin: 1.4rem 0 1rem;
  color: var(--text);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.intro-copy p:not(.section-kicker) {
  color: var(--muted);
  font-size: 1.05rem;
}

.intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.6rem;
}

.intro-tags span {
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  padding: 0.55rem 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.social-section {
  padding: clamp(2.4rem, 5vw, 4rem) 0 clamp(2rem, 5vw, 3.4rem);
}

.social-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(1.25rem, 3vw, 1.8rem);
  box-shadow: var(--shadow-soft);
}

.social-title {
  margin: 0;
  color: #5c6269;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.social-card {
  display: inline-flex;
  min-width: 0;
  min-height: 3.6rem;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  padding: 0.65rem 0.85rem;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.social-card:hover,
.social-card:focus {
  border-color: rgba(var(--accent-rgb), 0.38);
  color: var(--accent-strong);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.social-card.is-accent {
  border-color: rgba(var(--accent-rgb), 0.28);
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent-strong);
}

.social-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.09);
}

.social-icon img {
  width: 1.35rem;
  max-height: 1.35rem;
  object-fit: contain;
}

.social-name {
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1.1;
  white-space: nowrap;
}

.social-card.is-disabled {
  cursor: default;
  color: var(--muted);
  filter: grayscale(1);
  opacity: 0.58;
  pointer-events: none;
  box-shadow: none;
}

.social-card.is-disabled:hover,
.social-card.is-disabled:focus {
  transform: none;
}

.contact-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.95rem 1.8rem;
  margin-top: clamp(1.5rem, 3vw, 2.1rem);
  color: #5c6269;
}

.contact-item {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.45rem;
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.25;
}

.contact-item strong {
  color: #111827;
  font-weight: 850;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(15, 118, 110, 0.35);
  overflow-wrap: anywhere;
}

.contact-item a:hover,
.contact-item a:focus {
  color: var(--accent-strong);
  border-bottom-color: rgba(var(--accent-rgb), 0.7);
}

.contact-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  color: var(--accent-strong);
}

.contact-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.legal-page {
  padding: clamp(1rem, 3vw, 2rem) 0 clamp(3rem, 7vw, 5.5rem);
}

.legal-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-breadcrumbs a,
.legal-card a,
.legal-side-card a {
  color: var(--accent-strong);
  font-weight: 750;
  text-decoration: none;
}

.legal-breadcrumbs a:hover,
.legal-breadcrumbs a:focus,
.legal-card a:hover,
.legal-card a:focus,
.legal-side-card a:hover,
.legal-side-card a:focus {
  color: var(--accent);
}

.legal-hero {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(1.5rem, 5vw, 3rem);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.legal-title {
  max-width: 900px;
  margin: 0;
  color: var(--text);
  font-size: clamp(2.15rem, 5vw, 4.2rem);
  line-height: 1;
  font-weight: 850;
}

.legal-lead {
  max-width: 820px;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.legal-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.legal-summary article,
.legal-card,
.legal-side-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.legal-summary article {
  padding: 1.1rem;
}

.legal-summary h2,
.legal-side-card h2 {
  margin: 0 0 0.55rem;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 850;
}

.legal-summary p,
.legal-side-card p {
  margin: 0;
  color: var(--muted);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1rem;
  align-items: start;
}

.legal-content {
  display: grid;
  min-width: 0;
  gap: 1rem;
}

.legal-card {
  padding: clamp(1.25rem, 4vw, 2rem);
}

.legal-card h2 {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.15;
  font-weight: 850;
}

.legal-card p {
  color: var(--muted);
}

.legal-card p:last-child,
.legal-card .legal-list:last-child {
  margin-bottom: 0;
}

.legal-list {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--muted);
}

.legal-card code {
  white-space: normal;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--text);
  padding: 0.05rem 0.28rem;
  font-size: 0.9em;
}

.legal-date {
  font-weight: 800;
}

.legal-side {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: 1rem;
}

.legal-side-card {
  padding: 1.1rem;
}

.legal-side-links {
  display: grid;
  gap: 0.6rem;
}

.cookie-consent {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1300;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  width: min(760px, 100%);
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  padding: 1rem;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
  pointer-events: auto;
}

.cookie-consent-image {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.cookie-consent-copy {
  min-width: 0;
}

.cookie-consent-title {
  margin: 0 0 0.2rem;
  color: var(--text);
  font-weight: 850;
  line-height: 1.2;
}

.cookie-consent-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.cookie-consent-copy a {
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
}

.cookie-consent-copy a:hover,
.cookie-consent-copy a:focus {
  color: var(--accent);
}

.cookie-consent-button {
  min-width: 4.8rem;
  min-height: 2.75rem;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  line-height: 1;
  padding: 0.75rem 1.15rem;
  transition: background 180ms ease, transform 180ms ease;
}

.cookie-consent-button:hover,
.cookie-consent-button:focus {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.site-footer {
  color: var(--muted);
  padding: 0 0 1.6rem;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem 1rem;
  margin-bottom: 0.8rem;
}

.footer-legal-links a {
  color: var(--text);
  font-size: 0.92rem;
  border-bottom: 1px dashed rgba(var(--accent-rgb), 0.35);
  text-decoration: none;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus,
.footer-legal-links a[aria-current="page"] {
  color: var(--accent-strong);
  border-bottom-color: rgba(var(--accent-rgb), 0.7);
}

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 0.6rem;
  margin: 0;
  color: var(--muted);
  text-align: right;
  overflow-wrap: anywhere;
}

.footer-studio {
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 991.98px) {
  .intro-layout,
  .legal-summary,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .intro-layout {
    gap: 2.25rem;
    text-align: center;
  }

  .intro-copy {
    max-width: 720px;
    margin: 0 auto;
  }

  .intro-tags {
    justify-content: center;
  }

  .social-card {
    flex: 1 1 calc(50% - 0.65rem);
  }

  .legal-side {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .cover-section {
    padding-top: 1rem;
  }

  .intro-section {
    padding-top: 2.6rem;
  }

  .intro-photo-wrap {
    --avatar-size: min(78vw, 320px);
  }

  .intro-title {
    font-size: 2.18rem;
    line-height: 1.05;
  }

  .mobile-break {
    display: block;
  }

  .intro-tags {
    gap: 0.5rem;
  }

  .intro-tags span {
    font-size: 0.9rem;
  }

  .social-panel {
    padding: 1rem;
  }

  .social-grid {
    gap: 0.55rem;
  }

  .social-card {
    flex-basis: 100%;
    min-height: 3.35rem;
    padding: 0.58rem 0.75rem;
  }

  .social-icon {
    width: 2.1rem;
    height: 2.1rem;
  }

  .social-icon img {
    width: 1.25rem;
    max-height: 1.25rem;
  }

  .social-name {
    font-size: 0.95rem;
  }

  .legal-summary article,
  .legal-side-card {
    padding: 1rem;
  }

  .contact-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-title {
    font-size: 2rem;
  }

  .footer-legal-links,
  .footer-copy {
    justify-content: center;
    text-align: center;
  }

  .footer-copy {
    font-size: 0.92rem;
  }

  .cookie-consent {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
  }

  .cookie-consent-card {
    grid-template-columns: 3.25rem minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.85rem;
  }

  .cookie-consent-image {
    width: 3.25rem;
    height: 3.25rem;
  }

  .cookie-consent-copy p {
    font-size: 0.9rem;
  }

  .cookie-consent-button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

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

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