@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  color-scheme: light;
  --bg: #fdf8f3;
  --card: #ffffff;
  --ink: #33302c;
  --muted: #8a827a;
  --clay: #c98b6b;
  --clay-dark: #a9664a;
  --sand: #f3e7dc;
  --deep: #3f4a42;
  --line: #ecdfd3;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --radius: 26px;
  --shadow: 0 18px 50px -32px rgba(94, 63, 44, .55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 300; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

.blob { position: absolute; z-index: 0; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.blob-a { width: 520px; height: 520px; top: -180px; right: -140px; background: rgba(201, 139, 107, .22); }
.blob-b { width: 460px; height: 460px; top: 560px; left: -220px; background: rgba(110, 139, 118, .18); }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(253, 248, 243, .82); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(236, 223, 211, .9); }
.header-inner { width: min(1120px, calc(100% - 48px)); margin-inline: auto; height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 19px; }
.brand-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 5px rgba(201, 139, 107, .18); }
.site-header nav { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 32px); font-size: 14px; }
.site-header nav a { transition: color .2s ease; }
.site-header nav a:hover { color: var(--clay-dark); }
.pill { padding: 10px 20px; border-radius: 999px; background: var(--deep); color: #fff; font-weight: 400; transition: background .2s ease, transform .2s ease; }
.pill:hover { background: #30392f; color: #fff; transform: translateY(-1px); }

.tag, .label { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-dark); }
.label-light { color: #e3c0ad; }

.hero { position: relative; z-index: 1; padding: clamp(60px, 9vw, 110px) 0 clamp(50px, 7vw, 86px); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 52px); align-items: center; max-width: none; }
.hero-copy { max-width: 620px; }
.hero-photo { position: relative; margin: 0; align-self: center; }
.hero-photo { width: 240px; justify-self: center; }
.hero-photo img { display: block; width: 240px; height: 240px; aspect-ratio: 1; object-fit: cover; object-position: 50% 16%; border: 6px solid var(--card); border-radius: 50%; box-shadow: 0 24px 54px -34px rgba(94, 63, 44, .8); }
.hero-photo:before { position: absolute; inset: -9px; border: 1px solid rgba(201, 139, 107, .42); border-radius: 50%; content: ""; }
.hero-photo figcaption { position: relative; display: flex; flex-direction: column; gap: 1px; margin: -24px auto 0; width: max-content; max-width: 100%; padding: 10px 18px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); text-align: center; }
.hero-photo figcaption strong { font-family: var(--serif); font-size: 14px; font-weight: 500; }
.hero-photo figcaption span { color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.hero .tag { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .6); }
h1 { margin: 26px 0 22px; font-size: clamp(40px, 6.4vw, 68px); line-height: 1.1; }
h1 span { font-style: italic; color: var(--clay-dark); }
.lead { max-width: 560px; color: #6d655d; font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; padding: 15px 30px; border-radius: 999px; background: var(--clay-dark); color: #fff; font-size: 15px; transition: transform .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); background: #944f36; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid #d9c6b6; }
.btn-ghost:hover { background: rgba(255, 255, 255, .8); color: var(--ink); }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; grid-column: 1 / -1; margin-top: 18px; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-facts strong { display: block; font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--deep); }
.hero-facts span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.5; }

section { position: relative; z-index: 1; }
.section-head { margin-bottom: 42px; }
.section-head h2, .about-text h2, .where h2, .contact h2 { margin-top: 12px; font-size: clamp(30px, 4vw, 42px); }

.services { padding: clamp(60px, 7vw, 90px) 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }
.card { padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-5px); box-shadow: 0 26px 60px -34px rgba(94, 63, 44, .6); }
.icon { display: grid; width: 50px; height: 50px; margin-bottom: 20px; place-items: center; border-radius: 50%; background: var(--sand); color: var(--clay-dark); font-size: 22px; }
.card h3 { font-size: 21px; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.card-accent { display: flex; flex-direction: column; justify-content: center; background: var(--deep); border-color: var(--deep); color: #f6f1ea; }
.card-accent h3 { color: #fff; }
.card-accent p { color: #cdd4cb; }
.card-accent a { margin-top: 18px; color: #e8bca6; font-size: 15px; }
.card-accent a:hover { color: #fff; }

.about { padding: clamp(60px, 7vw, 90px) 0; }
.about-inner { display: grid; grid-template-columns: 330px 1fr; gap: 48px; align-items: start; }
.about-card { position: sticky; top: 104px; padding: 34px 30px; border-radius: var(--radius); background: var(--sand); text-align: center; }
.portrait { width: 118px; height: 118px; margin: 0 auto 20px; overflow: hidden; border-radius: 50%; background: linear-gradient(145deg, #e4c3ae, #c98b6b); box-shadow: 0 0 0 6px rgba(255, 255, 255, .7); }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.portrait-name { font-family: var(--serif); font-size: 20px; }
.portrait-role { margin-top: 4px; color: var(--muted); font-size: 14px; letter-spacing: .06em; }
.about-card blockquote { margin: 24px 0 0; padding-top: 22px; border-top: 1px solid rgba(169, 102, 74, .25); color: var(--clay-dark); font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.6; }
.about-text p { margin-top: 16px; color: #6d655d; font-size: 16px; line-height: 1.9; }

.cv { padding: clamp(60px, 7vw, 90px) 0; }
.cv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { padding: 32px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.panel-wide { grid-column: 1 / -1; }
.panel h3 { margin-bottom: 20px; font-size: 22px; }
.edu { display: grid; gap: 7px; padding-left: 18px; border-left: 2px solid var(--clay); }
.years, .year { color: var(--clay-dark); font-size: 13px; font-weight: 500; letter-spacing: .08em; }
.edu strong { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.edu span:not(.years) { color: var(--muted); font-size: 15px; }
.dots li { position: relative; padding: 9px 0 9px 20px; border-bottom: 1px dashed var(--line); font-size: 15px; }
.dots li:last-child { border-bottom: none; }
.dots li:before { position: absolute; left: 0; top: 17px; width: 6px; height: 6px; border-radius: 50%; background: var(--clay); content: ""; }
.note { margin-top: 14px; color: var(--muted); font-size: 13px; font-style: italic; }
.courses { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 32px; }
.courses li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.6; }
.courses .year { padding-top: 2px; }

.where { padding: clamp(60px, 7vw, 90px) 0; }
.where-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: clamp(34px, 4vw, 52px); border-radius: var(--radius); background: var(--sand); }
.where p { margin-top: 16px; max-width: 430px; color: #6d655d; font-size: 16px; line-height: 1.8; }
.map-card { padding: 38px 32px; border-radius: 20px; background: var(--card); text-align: center; box-shadow: var(--shadow); }
.pin { display: block; margin-bottom: 12px; color: var(--clay); font-size: 40px; line-height: 1; }
.map-card p { font-family: var(--serif); font-size: 20px; }
.map-card > span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }

.contact { padding: clamp(60px, 7vw, 90px) 0 clamp(70px, 8vw, 100px); }
.contact-inner { padding: clamp(44px, 6vw, 72px) clamp(28px, 5vw, 60px); border-radius: var(--radius); background: var(--deep); color: #f6f1ea; text-align: center; }
.contact h2 { color: #fff; }
.contact > .wrap > p { margin-top: 14px; color: #c8d0c6; font-size: 16px; }
.contact-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 38px; }
.contact-boxes div { padding: 24px 18px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; background: rgba(255, 255, 255, .05); }
.contact-boxes span { display: block; color: #e3c0ad; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.contact-boxes strong { display: block; margin-top: 8px; font-family: var(--serif); font-size: 18px; font-weight: 500; color: #fff; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0; color: var(--muted); font-size: 14px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .hero-copy { max-width: 620px; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-photo { order: -1; width: 210px; }
  .hero-photo img { width: 210px; height: 210px; }
  .about-inner, .cv-grid, .where-inner { grid-template-columns: 1fr; }
  .about-card { position: static; }
  .panel-wide { grid-column: auto; }
  .courses { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 130px; }
  .wrap, .header-inner { width: calc(100% - 32px); }
  .header-inner { height: auto; padding: 12px 0; flex-wrap: wrap; justify-content: center; }
  .site-header nav { width: 100%; justify-content: space-between; font-size: 13px; }
  .pill { padding: 8px 14px; }
  .hero-facts { grid-template-columns: 1fr; gap: 16px; }
  .hero-facts li { display: flex; align-items: baseline; gap: 12px; }
  .hero-facts strong { font-size: 24px; }
  .hero-facts span { margin-top: 0; }
  .btn { flex: 1 1 100%; justify-content: center; }
  .blob { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
