:root {
  --page: #f7f9fb;
  --surface: #ffffff;
  --ink: #18212b;
  --muted: #52606d;
  --brand: #174a6e;
  --accent: #2d718e;
  --border: #d5dee5;
  --focus: #006fd6;
  --max-width: 70rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--brand);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

a:focus-visible {
  outline: 0.2rem solid var(--focus);
  outline-offset: 0.2rem;
  border-radius: 0.125rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  transform: translateY(-180%);
  background: var(--ink);
  color: var(--surface);
  font-weight: 700;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(247, 249, 251, 0.98);
}

.header-inner,
main,
.footer-inner {
  width: min(calc(100% - 3rem), var(--max-width));
  margin-inline: auto;
}

.header-inner {
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-name {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.site-title {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 3vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

nav a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

main {
  padding-block: 1.5rem 3.5rem;
}

.identity {
  min-height: 11.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8.75rem;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.identity-copy {
  max-width: 46rem;
}

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

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  line-height: 1.15;
}

h1 {
  margin-bottom: 0.45rem;
  font-size: clamp(2.25rem, 3.1vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 2.4vw, 2rem);
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.professional-line {
  margin-bottom: 0.45rem;
  color: var(--brand);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  font-weight: 700;
}

.intro {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.portrait {
  display: block;
  width: 8.75rem;
  height: 11.25rem;
  object-fit: cover;
  border: 1px solid var(--border);
}

.access-section {
  padding-block: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.primary-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.access-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 6rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid #b9cbd7;
  border-left: 0.25rem solid var(--brand);
  border-radius: 0.3rem;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}

.access-link:hover {
  border-color: var(--accent);
  background: #f1f7fa;
  color: var(--ink);
}

.service-poetica {
  --service-accent: #2d718e;
}

.service-drive {
  --service-accent: #34735b;
}

.service-amazon {
  --service-accent: #bd651f;
}

.service-instagram {
  --service-accent: #9b3f78;
}

.service-whatsapp {
  --service-accent: #2e7d4a;
}

.service-youtube {
  --service-accent: #b23a3a;
}

.service-blog {
  --service-accent: #b96832;
}

.access-link[class*="service-"] {
  border-left-color: var(--service-accent);
}

.access-link[class*="service-"]:hover {
  border-left-color: var(--service-accent);
}

.link-heading {
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.25;
}

.link-description {
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.external-mark {
  display: inline-block;
  margin-left: 0.15em;
  font-family: system-ui, sans-serif;
  font-size: 0.82em;
  font-weight: 700;
  line-height: 1;
}

.channel-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.3rem;
  background: var(--surface);
}

.channel-links a {
  min-height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.channel-links a + a {
  border-left: 1px solid var(--border);
}

.channel-links a:hover {
  background: #f1f7fa;
  color: var(--brand);
}

.channel-links a[class*="service-"] {
  box-shadow: inset 0.2rem 0 0 var(--service-accent);
}

.trajectory {
  padding-block: 2.6rem 3rem;
}

.section-heading {
  margin-bottom: 1.35rem;
}

.eyebrow {
  margin-bottom: 0.25rem;
  color: var(--accent);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.trajectory-content {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(15rem, 0.85fr);
  gap: clamp(2.5rem, 7vw, 5.5rem);
  align-items: start;
}

.biography {
  max-width: 45rem;
}

.biography p {
  margin-bottom: 0.9rem;
}

.biography p:last-child,
.curriculum p:last-child {
  margin-bottom: 0;
}

.curriculum {
  padding: 1.25rem;
  border-top: 0.2rem solid var(--brand);
  background: var(--surface);
}

.curriculum p {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.document-link {
  font-weight: 750;
}

.contact {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 0.5rem;
  padding-block: 2rem;
  border-top: 1px solid var(--border);
}

.contact p {
  margin-bottom: 0;
}

.contact > p {
  padding-bottom: 0.2rem;
}

.contact a {
  font-weight: 750;
}

footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.4rem;
}

.footer-inner p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-inner p:first-child {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

@media (max-width: 64rem) {
  .channel-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel-links a + a {
    border-left: 0;
  }

  .channel-links a:nth-child(even) {
    border-left: 1px solid var(--border);
  }

  .channel-links a:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 48rem) {
  .header-inner,
  main,
  .footer-inner {
    width: min(calc(100% - 2.25rem), var(--max-width));
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
    padding-block: 0.65rem;
  }

  nav ul {
    gap: 1.25rem;
  }

  main {
    padding-top: 1.25rem;
  }

  .identity {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding-bottom: 1.4rem;
  }

  .identity-copy {
    order: 1;
  }

  .portrait {
    order: 2;
    width: 8.75rem;
    height: 11.25rem;
  }

  .primary-links,
  .trajectory-content,
  .contact {
    grid-template-columns: 1fr;
  }

  .access-link {
    min-height: 5.8rem;
  }

  .trajectory {
    padding-block: 2.25rem 2.5rem;
  }

  .contact {
    gap: 1rem;
  }
}

@media (max-width: 30rem) {
  .header-inner,
  main,
  .footer-inner {
    width: calc(100% - 2.25rem);
  }

  .channel-links {
    grid-template-columns: 1fr;
  }

  .channel-links a:nth-child(even) {
    border-left: 0;
  }

  .channel-links a:nth-child(n + 2) {
    border-top: 1px solid var(--border);
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.2rem;
  }
}

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

@media (forced-colors: active) {
  .access-link,
  .channel-links,
  .curriculum,
  .portrait {
    border: 1px solid CanvasText;
  }
}
