* {
  box-sizing: border-box;
}

:root {
  --bg: #f8f6f3;
  --surface: #fffdfb;
  --surface-soft: #f2eeee;
  --text: #2f3133;
  --muted: #6f777e;
  --line: #d8d1cc;
  --accent: #9f8f87;
  --accent-dark: #343434;
  --accent-soft: #efe7e4;
  --blush: #eadbd7;
  --sage: #9aa4a1;
  --shadow: 0 20px 45px rgba(47, 49, 51, 0.08);
  --radius: 22px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(234, 219, 215, 0.65), transparent 30%),
    radial-gradient(circle at top right, rgba(154, 164, 161, 0.22), transparent 28%),
    var(--bg);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 251, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}

.brand-logo {
  display: block;
  width: min(300px, 46vw);
  max-height: 72px;
  object-fit: contain;
  border-radius: 16px;
  filter: drop-shadow(0 10px 22px rgba(47, 49, 51, 0.08));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 1.2rem;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 70px 22px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: stretch;
}

.hero-content,
.profile-card,
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-content {
  padding: clamp(34px, 6vw, 70px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  letter-spacing: -0.05em;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.25rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.08rem;
}

.hero-text,
.page-intro p,
.section-heading p {
  color: var(--muted);
  max-width: 740px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.button.primary {
  background: var(--accent-dark);
  color: white;
}

.button.secondary {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.profile-card {
  padding: 34px;
}

.profile-photo-placeholder {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--blush), var(--sage));
  color: var(--accent-dark);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 22px;
}

.profile-card ul,
.compact-list {
  padding-left: 20px;
  margin-bottom: 0;
}

.daily-section {
  padding-top: 0;
}

.section-heading {
  margin-bottom: 24px;
}

.daily-grid,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  padding: 28px;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.small-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.vocab-list {
  margin: 0;
}

.vocab-list div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.vocab-list div:last-child {
  border-bottom: 0;
}

.vocab-list dt {
  color: var(--muted);
  font-size: 0.86rem;
}

.vocab-list dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  align-items: start;
  padding-top: 0;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list > div {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}

.page-intro {
  padding-bottom: 30px;
}

.resume-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  padding-top: 20px;
}

.resume-sidebar,
.resume-main {
  display: grid;
  gap: 20px;
  align-content: start;
}

.timeline-item {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.timeline-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.muted {
  color: var(--muted);
}

.contact-layout {
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  padding-top: 20px;
}

.email-link {
  font-weight: 800;
  word-break: break-word;
}

form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

label {
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  background: #fffdfb;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(159, 143, 135, 0.24);
  border-color: var(--accent);
}

.form-status {
  color: var(--muted);
  min-height: 1.4em;
}


.google-form-wrapper {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
}

.google-form-wrapper iframe {
  display: block;
  border: 0;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tags span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.9rem;
}

.achievement-list {
  padding-left: 20px;
}

.site-footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 30px 22px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    border-radius: 14px;
  }

  .brand-logo {
    width: min(240px, 68vw);
    max-height: 58px;
  }

  .hero,
  .daily-grid,
  .split-section,
  .resume-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 42px 18px;
  }

  .hero-content,
  .card,
  .profile-card {
    padding: 24px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .button-row,
  .button {
    display: none;
  }

  body {
    background: white;
  }

  .section,
  .resume-layout {
    padding: 0;
    display: block;
  }

  .card,
  .hero-content,
  .profile-card {
    box-shadow: none;
    border: 1px solid #ddd;
    margin-bottom: 14px;
  }
}
