:root {
  color-scheme: light;
  --ink: #14212e;
  --muted: #4a5568;
  --line: #dce3ec;
  --paper: #fafbfc;
  --soft: #edf1f6;
  --deep: #0f2234;
  --deep-2: #0a1726;
  --accent: #b08d3e;
  --accent-2: #d4b06a;
  --white: #ffffff;
  --shadow: 0 16px 48px rgba(15, 34, 52, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

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

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

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

/* Hero */

.hero {
  min-height: calc(82svh - 20px);
  display: flex;
  align-items: center;
  padding: clamp(60px, 9vw, 110px) clamp(20px, 6vw, 84px);
  background:
    linear-gradient(to bottom right, rgba(15, 34, 52, 0.94), rgba(10, 23, 38, 0.96)),
    var(--deep);
  color: var(--white);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  width: min(1100px, 100%);
  margin: 0 auto;
}

.hero-photo img {
  width: 240px;
  height: 300px;
  border-radius: 10px;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.95;
  font-weight: 700;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  line-height: 1.05;
  font-weight: 700;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.93);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  line-height: 1.28;
  margin-bottom: 18px;
}

.hero p:not(.eyebrow):not(.lead) {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

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

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  color: inherit;
}

.button.primary {
  background: var(--accent-2);
  color: #1a140a;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.button.full {
  width: 100%;
}

/* Sections */

.section {
  padding: clamp(60px, 7vw, 100px) clamp(20px, 6vw, 84px);
}

.section-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
}

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

.section-heading p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.band {
  background: var(--soft);
}

/* Problems */

.problems .eyebrow {
  color: var(--accent);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.problem-grid article {
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.problem-grid h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 14px;
}

.problem-grid p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

/* Services */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card h3 {
  color: var(--deep);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.service-card ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.service-card li {
  padding-left: 18px;
  position: relative;
  color: var(--muted);
  font-size: 0.96rem;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Timeline */

.timeline {
  display: grid;
  gap: 28px;
  margin-top: 40px;
  border-left: 3px solid var(--line);
  padding-left: clamp(20px, 4vw, 36px);
}

.timeline-item {
  position: relative;
}

.timeline-marker {
  position: absolute;
  left: calc(-1 * clamp(20px, 4vw, 36px) - 8px);
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--paper);
}

.timeline-item h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  margin-bottom: 10px;
  color: var(--deep);
}

.timeline-item p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.6;
  max-width: 720px;
}

.timeline-item strong {
  color: var(--deep);
}

/* Academia */

.academic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.academic-grid article {
  padding: 28px 32px;
  border-top: 4px solid var(--accent);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.academic-grid h3 {
  color: var(--deep);
}

.academic-grid p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.6;
}

/* Formation */

.center {
  text-align: center;
}

.credentials {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.credentials article {
  min-width: 180px;
}

.credentials h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: var(--deep);
}

.credentials p {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 500;
}

/* Contact */

.contact {
  background: var(--deep-2);
  color: var(--white);
}

.contact .eyebrow {
  color: var(--accent-2);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: clamp(28px, 6vw, 64px);
  align-items: start;
}

.contact h2 {
  color: var(--white);
}

.contact p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.06rem;
  line-height: 1.6;
}

.contact-links {
  margin-top: 26px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-links a {
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.98rem;
  border-bottom: 1px solid rgba(212, 176, 106, 0.4);
  padding-bottom: 2px;
  transition: border-color 160ms ease, color 160ms ease;
}

.contact-links a:hover {
  color: var(--white);
  border-color: var(--white);
}

.contact-box {
  padding: 32px clamp(24px, 4vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.contact-box h3 {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

/* Form */

.contact-form {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row label {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.form-row .req {
  color: var(--accent-2);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-row input:focus-visible,
.form-row textarea:focus-visible {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(212, 176, 106, 0.2);
}

.form-row textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form .button.full {
  margin-top: 6px;
}

/* Footer */

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 6vw, 84px);
  background: #060f17;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}

/* Responsive */

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-photo {
    order: -1;
    display: flex;
    justify-content: center;
  }

  .hero-photo img {
    width: 180px;
    height: 225px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero p:not(.eyebrow):not(.lead) {
    margin-left: auto;
    margin-right: auto;
  }

  .problem-grid,
  .service-grid,
  .academic-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    gap: 40px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(2.4rem, 10vw, 3.2rem);
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .credentials {
    flex-direction: column;
    gap: 24px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }
}
