:root {
  --color-sage: #a6bba2;
  --color-beige: #e8e3d3;
  --color-anthracite: #2e2e2e;
  --color-sand: #f9f8f6;
  --color-white: #ffffff;
  --font-sans: "Lato", "Noto Sans", system-ui, -apple-system, sans-serif;
  --font-serif: "Playfair Display", "Times New Roman", serif;
  --shadow-soft: 0 20px 45px rgba(46, 46, 46, 0.08);
  --transition: 200ms ease;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-anthracite);
  background: var(--color-sand);
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
}

@media (min-width: 900px) {
  body {
    scroll-snap-type: y proximity;
    scroll-padding-top: 0;
  }

  .hero,
  .section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.75em;
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-anthracite);
}

h1 {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

p {
  margin: 0 0 1.4em;
}

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

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

.hero {
  position: relative;
  padding-inline: 5vw;
  padding-top: 2.5rem;
  padding-bottom: 5rem;
  background: linear-gradient(135deg, rgba(166, 187, 162, 0.55), rgba(248, 247, 243, 0.9));
  overflow: hidden;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-anthracite);
  color: var(--color-sand);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  letter-spacing: 1px;
  opacity: 0;
  animation: fadeUp 800ms ease forwards 200ms;
}

.brand-logo {
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 0.35rem;
}

.brand-logo__svg {
  width: 100%;
  height: 100%;
}

.logo-graphic .logo-circle {
  fill: none;
  stroke: var(--color-sage);
  stroke-width: 4;
  stroke-linecap: round;
}

.logo-graphic .logo-arc {
  fill: none;
  stroke: rgba(166, 187, 162, 0.65);
  stroke-width: 4;
  stroke-linecap: round;
}

.logo-graphic .logo-hand {
  fill: none;
  stroke: rgba(46, 46, 46, 0.45);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-graphic .logo-initials {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 600;
  fill: var(--color-anthracite);
}

.logo-graphic .logo-spine {
  fill: none;
  stroke: var(--color-anthracite);
  stroke-width: 4;
  stroke-linecap: round;
}

.logo-graphic .logo-dot {
  fill: var(--color-beige);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
}

.brand-sub {
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: rgba(46, 46, 46, 0.75);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 3.5rem;
}

.hero-text .hero-eyebrow {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.82rem;
  margin-bottom: 1.5rem;
}

.hero-copy {
  max-width: 32ch;
}

.hero-visual {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: clamp(220px, 32vw, 320px);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 248, 246, 0.75);
  border-radius: 28px;
  box-shadow: 0 35px 70px rgba(46, 46, 46, 0.12);
  backdrop-filter: blur(6px);
  animation: float 18s ease-in-out infinite;
}

.hero-logo::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 22px;
  background: radial-gradient(circle at 30% 30%, rgba(166, 187, 162, 0.2), transparent 70%);
  pointer-events: none;
}

.hero-logo__svg {
  width: 86%;
  height: 86%;
}

.hero-logo__svg .logo-circle,
.hero-logo__svg .logo-arc,
.hero-logo__svg .logo-hand,
.hero-logo__svg .logo-spine {
  stroke-width: 6;
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  animation: drawStroke 2.6s ease forwards;
}

.hero-logo__svg .logo-arc {
  animation-delay: 0.15s;
}


.hero-logo__svg .logo-hand--lower {
  animation-delay: 0.35s;
}

.hero-logo__svg .logo-hand--upper {
  animation-delay: 0.55s;
}

.hero-logo__svg .logo-spine {
  animation-delay: 0.75s;
}

.hero-logo__svg .logo-initials {
  font-size: 96px;
  animation: fadeDots 1.8s ease forwards 0.5s;
}

.hero-logo__svg .logo-dot {
  opacity: 0;
  animation: fadeDots 1.8s ease forwards;
}

.hero-logo__svg .logo-dot--1 {
  animation-delay: 1.2s;
}

.hero-logo__svg .logo-dot--2 {
  animation-delay: 1.4s;
}

.hero-logo__svg .logo-dot--3 {
  animation-delay: 1.6s;
}

.orb {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
  filter: blur(0);
  opacity: 0.9;
  z-index: 0;
}

.orb--primary {
  width: 260px;
  height: 260px;
  background: rgba(166, 187, 162, 0.9);
  top: 40px;
  left: 20%;
  animation: float 12s ease-in-out infinite;
}

.orb--secondary {
  width: 200px;
  height: 200px;
  background: rgba(232, 227, 211, 0.9);
  bottom: 20px;
  right: 12%;
  animation: float 16s ease-in-out infinite;
}

.orb--accent {
  width: 140px;
  height: 140px;
  background: rgba(46, 46, 46, 0.12);
  top: 0;
  right: 0;
  animation: float 18s ease-in-out infinite;
}

.section {
  padding-block: clamp(4rem, 10vh, 6rem);
}

.section-headline {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.lead {
  font-size: 1.15rem;
  max-width: 48ch;
}

blockquote {
  margin: 2rem 0 0;
  padding-left: 1.5rem;
  border-left: 3px solid var(--color-sage);
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(46, 46, 46, 0.8);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: rgba(232, 227, 211, 0.35);
  padding: 0.55rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 1.8rem;
  gap: 0.5rem;
  box-shadow: inset 0 0 0 1px rgba(166, 187, 162, 0.25);
}

.tab-button {
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.65rem 2rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  color: rgba(46, 46, 46, 0.7);
  flex: 0 1 auto;
  min-height: 3rem;
  text-align: center;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(166, 187, 162, 0.35);
  background: rgba(255, 255, 255, 0.75);
}

.tab-button:hover,
.tab-button:focus-visible {
  color: var(--color-anthracite);
  background: rgba(255, 255, 255, 0.9);
  outline: none;
}

.tab-button.is-active {
  background: var(--color-white);
  color: var(--color-anthracite);
  box-shadow: 0 12px 28px rgba(46, 46, 46, 0.08);
}

.tab-panel {
  background: var(--color-white);
  border-radius: 20px;
  padding: clamp(1.8rem, 2vw, 2.4rem);
  box-shadow: var(--shadow-soft);
  transition: opacity var(--transition), transform var(--transition);
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel:not([hidden]) {
  animation: fadeUp 400ms ease forwards;
}

.tab-panel h3 {
  margin-bottom: 0.6rem;
}

.about {
  background: linear-gradient(120deg, rgba(232, 227, 211, 0.6), rgba(249, 248, 246, 1));
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.about-visual {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 24px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  width: 75%;
  max-width: 75%;
}

.about-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(166, 187, 162, 0.4);
  box-shadow: 0 10px 30px rgba(23, 23, 23, 0.15);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.qualifications {
  background: linear-gradient(180deg, rgba(249, 248, 246, 1), rgba(232, 227, 211, 0.6));
}

.qualification-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.qualification-list li {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(46, 46, 46, 0.08);
  border: 1px solid rgba(166, 187, 162, 0.25);
}

.qualification-year {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: rgba(46, 46, 46, 0.7);
}

.qualification-title {
  font-size: 1rem;
  color: var(--color-anthracite);
}

.digital {
  background: var(--color-sand);
}

.digital-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.digital-card {
  background: var(--color-white);
  border-radius: 18px;
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  background: rgba(166, 187, 162, 0.22);
  color: var(--color-anthracite);
}

.tag--light {
  background: rgba(232, 227, 211, 0.6);
}

.digital-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  background: rgba(166, 187, 162, 0.22);
  color: var(--color-anthracite);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: inset 0 0 0 1px rgba(166, 187, 162, 0.35);
}

.digital-card:nth-of-type(2)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(166, 187, 162, 0.18), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(232, 227, 211, 0.18), transparent 60%);
  pointer-events: none;
}

.digital-card:nth-of-type(2)::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -10%;
  width: 200px;
  height: 200px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%20200%20200%27%20fill=%27none%27%20stroke=%27%23A6BBA2%27%20stroke-width=%274%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%20opacity=%270.32%27%3E%3Cpath%20d=%27M100%20158c-26%200-48-14-60-36%2016-2%2030-1%2042%204-6-18-4-34%204-50%2010%2014%2016%2028%2014%2046%208-14%2020-24%2038-30-6%2022-2%2040%2012%2054-14%208-28%2012-50%2012z%27/%3E%3Cpath%20d=%27M100%20106c-12-12-26-20-46-22%2014-12%2028-18%2046-18s32%206%2046%2018c-20%202-34%2010-46%2022z%27/%3E%3Cpath%20d=%27M100%2082c-8-8-18-12-30-12%2010-10%2020-16%2030-16s20%206%2030%2016c-12%200-22%204-30%2012z%27/%3E%3C/svg%3E") no-repeat center/contain;
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1.4rem;
}

.contact-list .label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(46, 46, 46, 0.6);
  margin-bottom: 0.4rem;
}

address {
  font-style: normal;
}

.map-wrapper {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: rgba(0, 0, 0, 0.05);
  min-height: 340px;
  display: grid;
  place-items: center;
}

.map-wrapper.map-loaded {
  background: transparent;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  gap: 1.2rem;
  place-content: center;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(249, 248, 246, 0.95), rgba(232, 227, 211, 0.85));
}

.map-placeholder p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(46, 46, 46, 0.75);
}

.map-privacy {
  font-size: 0.85rem;
  color: rgba(46, 46, 46, 0.7);
  text-decoration: underline;
}

.map-privacy--button {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(15%) hue-rotate(-5deg);
  display: block;
}

.footer {
  background: var(--color-anthracite);
  color: var(--color-sand);
  padding: 3rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.footer-links a,
.footer-link {
  color: rgba(249, 248, 246, 0.75);
  transition: color var(--transition);
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-link:hover,
.footer-link:focus-visible {
  color: var(--color-white);
  outline: none;
}

.footer-legal {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(249, 248, 246, 0.12);
}

.footer-legal h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  background: var(--color-anthracite);
  color: var(--color-sand);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  box-shadow: 0 15px 30px rgba(46, 46, 46, 0.1);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 20px 35px rgba(46, 46, 46, 0.18);
  outline: none;
}

.button--outline {
  background: transparent;
  color: var(--color-anthracite);
  border: 1px solid rgba(46, 46, 46, 0.25);
  box-shadow: none;
}

.button--outline:hover,
.button--outline:focus-visible {
  background: rgba(46, 46, 46, 0.08);
}

.button--ghost {
  background: rgba(46, 46, 46, 0.08);
  color: var(--color-anthracite);
  box-shadow: none;
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(46, 46, 46, 0.12);
}

.fade-in {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeUp 700ms ease forwards;
}

.delay-1 {
  animation-delay: 180ms;
}

.delay-2 {
  animation-delay: 320ms;
}

.observe {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.observe.visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner {
  position: fixed;
  inset-inline: min(2rem, 5vw);
  bottom: min(2rem, 5vw);
  z-index: 999;
  background: var(--color-sand);
  border-radius: 18px;
  box-shadow: 0 25px 55px rgba(46, 46, 46, 0.18);
  border: 1px solid rgba(166, 187, 162, 0.35);
  padding: clamp(1.5rem, 3vw, 2rem);
  width: min(420px, 100%);
}

.cookie-content {
  display: grid;
  gap: 1.2rem;
}

.cookie-content p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(46, 46, 46, 0.75);
}

.cookie-content a {
  color: var(--color-anthracite);
  text-decoration: underline;
}

.cookie-link {
  border: none;
  background: none;
  padding: 0;
  color: var(--color-anthracite);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-actions .button {
  flex: 1 1 180px;
  justify-content: center;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(46, 46, 46, 0.4);
  backdrop-filter: blur(3px);
}

.modal-dialog {
  position: relative;
  background: var(--color-sand);
  border-radius: 22px;
  padding: clamp(2rem, 3vw, 3rem);
  box-shadow: 0 40px 65px rgba(46, 46, 46, 0.25);
  max-width: min(520px, 92%);
  display: grid;
  gap: 1.25rem;
  text-align: left;
  z-index: 1;
}

.modal-title {
  margin: 0;
  font-size: 1.8rem;
}

.modal-dialog p {
  margin: 0;
  color: rgba(46, 46, 46, 0.78);
}

.modal-dialog a {
  color: var(--color-anthracite);
  text-decoration: underline;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: transparent;
  font-size: 1.75rem;
  color: rgba(46, 46, 46, 0.6);
  cursor: pointer;
  transition: color var(--transition);
}

.modal-close:hover,
.modal-close:focus-visible {
  color: var(--color-anthracite);
  outline: none;
}

@keyframes drawStroke {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeDots {
  to {
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(10px, -18px);
  }
}

@media (max-width: 720px) {
  .hero {
    padding-inline: 1.5rem;
  }

  .top-nav {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 3rem;
  }

  .nav-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero-content {
    gap: 2.5rem;
  }

  .hero-visual {
    min-height: 240px;
  }

  .tabs {
    width: 100%;
    justify-content: center;
  }

  .tab-button {
    flex: 1 1 160px;
    padding-inline: 1.25rem;
    white-space: normal;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 17px;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

  .nav-actions .button {
    flex: 1 1 160px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner {
    inset-inline: 1rem;
    bottom: 1rem;
    width: auto;
  }

  .cookie-actions .button {
    flex: 1 1 140px;
  }
}
