:root {
  --ink: #25211d;
  --muted: #70685f;
  --paper: #f6f1e8;
  --panel: #fffaf2;
  --line: #ded4c6;
  --clay: #bd6f5d;
  --clay-dark: #8f4435;
  --sage: #6f7f67;
  --sage-pale: #dce4d2;
  --paper-deep: #eee5d8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(20px, 5vw, 68px);
  background: rgba(246, 241, 232, 0.9);
  border-bottom: 1px solid rgba(222, 212, 198, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(14px, 2.6vw, 28px);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

nav a:hover {
  color: var(--ink);
}

.language-link {
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: clamp(48px, 8vw, 92px) clamp(20px, 5vw, 68px) clamp(36px, 7vw, 72px);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 13ch;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7.2vw, 6.4rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.94;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 48rem;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.22rem);
  line-height: 1.7;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 900;
}

.button.primary {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.button.primary:hover {
  background: var(--clay-dark);
  border-color: var(--clay-dark);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
}

.button.secondary:hover {
  border-color: var(--ink);
}

.portrait-panel {
  margin: 0;
  grid-row: span 2;
}

.portrait-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center bottom;
  border-radius: 6px;
  filter: saturate(0.78) contrast(0.92);
  box-shadow: 0 22px 60px rgba(37, 33, 29, 0.12);
}

.portrait-panel figcaption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.portrait-panel span {
  color: var(--ink);
  font-weight: 800;
}

.hero-notes {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-self: start;
  padding-top: 2px;
}

.hero-notes span {
  padding: 8px 12px;
  color: var(--sage);
  background: var(--sage-pale);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
}

.language-gate {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(32px, 8vw, 96px);
}

.language-gate h1 {
  max-width: 9ch;
  margin-bottom: 0;
}

.section {
  padding: clamp(54px, 9vw, 96px) clamp(20px, 5vw, 68px);
}

.intro-grid,
.cv-panel,
.contact,
.testimonials {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1.08fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.intro-grid > p,
.cv-list p,
.contact p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.strengths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 0;
}

.strengths article {
  min-height: 232px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.strengths span {
  display: block;
  margin-bottom: 38px;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.strengths p {
  color: var(--muted);
  line-height: 1.62;
}

.callipyge {
  display: grid;
  grid-template-columns: minmax(260px, 0.66fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.45);
}

.callipyge figure {
  position: relative;
  margin: 0;
}

.callipyge figure::after {
  content: "classic reference";
  position: absolute;
  left: 14px;
  bottom: 42px;
  padding: 8px 12px;
  color: var(--ink);
  background: rgba(255, 250, 242, 0.86);
  border: 1px solid rgba(222, 212, 198, 0.9);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.callipyge img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 48%;
  border-radius: 6px;
  filter: saturate(0.7) contrast(1.02);
  box-shadow: 0 22px 60px rgba(37, 33, 29, 0.1);
}

.callipyge figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.callipyge figcaption a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.callipyge-copy {
  max-width: 720px;
}

.callipyge-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--clay-dark);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.testimonials {
  border-top: 1px solid var(--line);
}

.testimonials-heading {
  max-width: 640px;
}

.quote-grid {
  display: grid;
  gap: 14px;
}

blockquote {
  margin: 0;
  padding: clamp(22px, 4vw, 32px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}

blockquote::before {
  content: "\"";
  display: block;
  margin-bottom: 8px;
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.8rem;
  line-height: 0.7;
}

blockquote p {
  margin-bottom: 24px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.16rem, 2vw, 1.45rem);
  line-height: 1.36;
}

cite {
  color: var(--muted);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 800;
}

.cv-panel {
  color: var(--panel);
  background: #5f7260;
}

.cv-panel .eyebrow {
  color: #f2cf97;
}

.cv-list {
  display: grid;
  gap: 18px;
}

.cv-list div {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 250, 242, 0.28);
}

.cv-list strong {
  display: block;
  margin-bottom: 8px;
}

.cv-list p {
  margin-bottom: 0;
  color: rgba(255, 250, 242, 0.8);
}

.contact {
  align-items: center;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 24px clamp(20px, 5vw, 68px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-footer a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .hero,
  .intro-grid,
  .callipyge,
  .cv-panel,
  .contact,
  .testimonials,
  .strengths {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
    padding-top: 42px;
  }

  .portrait-panel {
    grid-row: auto;
    order: 3;
  }

  .hero-notes {
    grid-column: auto;
    order: 2;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 12vw, 4.6rem);
  }

  .portrait-panel {
    max-width: 420px;
  }
}

@media (max-width: 520px) {
  nav {
    width: 100%;
    justify-content: flex-start;
    row-gap: 8px;
  }

  .button {
    width: auto;
  }

  .hero {
    gap: 24px;
    padding-top: 36px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions .button {
    min-height: 44px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .contact-actions .button {
    width: 100%;
  }

  .portrait-panel img {
    aspect-ratio: 4 / 5;
    object-position: center top;
  }
}
