:root {
  --bg: #f4f0e6;
  --card: #fff8ef;
  --accent: #e27d2c;
  --accent-dark: #8b3f12;
  --text: #2a231d;
  --muted: #6c5f54;
  --shadow: 0 20px 60px rgba(42, 35, 29, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #fff3d6 0%, var(--bg) 55%, #ede2cf 100%);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 248, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(108, 95, 84, 0.15);
}

.site-header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.menu-toggle {
  border: 1px solid rgba(108, 95, 84, 0.3);
  background: #fff3d6;
  color: var(--accent-dark);
  border-radius: 10px;
  padding: 10px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
}

.menu-toggle:focus-visible {
  outline: 3px solid rgba(226, 125, 44, 0.4);
  outline-offset: 2px;
}

.site-nav {
  position: relative;
}

.menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  align-items: stretch;
}

.menu a {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid transparent;
  background: transparent;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.menu a:hover {
  background: rgba(226, 125, 44, 0.12);
  border-color: rgba(226, 125, 44, 0.35);
}

.menu-panel {
  position: absolute;
  top: 52px;
  left: 0;
  flex-direction: column;
  align-items: stretch;
  width: min(92vw, 320px);
  padding: 12px;
  border-radius: 16px;
  background: #fff8ef;
  border: 1px solid rgba(108, 95, 84, 0.2);
  box-shadow: var(--shadow);
  display: none;
}

.menu-panel.open {
  display: flex;
  animation: fadeIn 0.25s ease-out both;
}

.hamburger {
  width: 20px;
  height: 14px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  height: 2px;
  width: 100%;
  background: var(--accent-dark);
  border-radius: 999px;
}

.page {
  flex: 1;
  display: grid;
  gap: 32px;
  padding: 48px 24px 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.hero {
  background: var(--card);
  border-radius: 24px;
  padding: 24px 48px 32px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  animation: fadeIn 0.8s ease-out both;
}

.logo-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.logo {
  width: min(600px, 100%);
  height: auto;
  object-fit: contain;
  display: block;
}

.flyer-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.flyer {
  width: auto;
  height: 500px;
  max-width: 100%;
  object-fit: contain;
  display: block;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(42, 35, 29, 0.12);
}

.hero h1 {
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 600;
  margin: 0;
}

.hero h1.hero-lead {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 400;
  line-height: 1.7;
}

.hero p.hero-lead {
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.7;
  margin: 0;
}

.hero-title-center {
  text-align: center;
  justify-self: center;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.clock {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px;
  border-radius: 14px;
  background: #fff3d6;
  border: 1px dashed rgba(139, 63, 18, 0.35);
  width: fit-content;
}

.clock-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--accent-dark);
}

.clock-time {
  font-size: 1.6rem;
  font-weight: 600;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.actions-bottom {
  padding-bottom: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  font-weight: 600;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(226, 125, 44, 0.35);
}

.button.ghost {
  background: transparent;
  color: var(--accent-dark);
  border: 2px solid var(--accent);
}

.info {
  padding: 24px 32px;
  border-left: 6px solid var(--accent);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  animation: slideUp 0.9s ease-out both 0.2s;
}

.info h2 {
  margin-top: 0;
}

.info ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.resume {
  display: grid;
  gap: 24px;
}

.resume-top {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.resume-name h2 {
  margin: 0;
  font-size: 1.5rem;
}

.resume-role {
  margin: 6px 0 0;
  color: var(--muted);
}

.resume-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 0.9rem;
}

.resume-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
}

.resume-headline {
  margin-top: 8px;
  font-size: 1.1rem;
  font-weight: 600;
}

.resume-text {
  margin: 10px 0 0;
}

.resume-summary {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.resume-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.resume-col {
  display: grid;
  gap: 18px;
}

.resume-card {
  border: 1px solid rgba(108, 95, 84, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.resume-card-header {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(108, 95, 84, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.6);
}

.resume-card-header h3 {
  margin: 0;
  font-size: 1rem;
}

.resume-card-body {
  padding: 14px 16px;
}

.resume-table-wrap {
  padding: 0;
}

.pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(108, 95, 84, 0.3);
  background: rgba(255, 255, 255, 0.6);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(108, 95, 84, 0.25);
  font-size: 0.8rem;
}

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

.stat {
  padding: 12px;
  border: 1px solid rgba(108, 95, 84, 0.25);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
}

.stat .k {
  font-size: 0.75rem;
  color: var(--muted);
}

.stat .v {
  font-size: 1.1rem;
  margin-top: 4px;
  font-weight: 600;
}

.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.tbl th,
.tbl td {
  padding: 10px;
  border-bottom: 1px solid rgba(108, 95, 84, 0.2);
  vertical-align: top;
}

.tbl th {
  text-align: left;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.6);
}

.tbl tr:last-child td {
  border-bottom: 0;
}

.tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(108, 95, 84, 0.25);
  background: rgba(226, 125, 44, 0.15);
  color: var(--accent-dark);
  font-size: 0.75rem;
  white-space: nowrap;
}

.tag.alt {
  background: rgba(139, 63, 18, 0.12);
}

.resume-education {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.print {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.print button {
  cursor: pointer;
  border: 1px solid rgba(108, 95, 84, 0.3);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.9rem;
}

.print button:hover {
  background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 980px) {
  .resume-summary,
  .resume-grid {
    grid-template-columns: 1fr;
  }

  .resume-contact {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .tbl {
    font-size: 0.8rem;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
  }

  .hero,
  .info,
  .resume-card {
    box-shadow: none;
  }

  .page {
    max-width: 100%;
  }

  .print {
    display: none;
  }

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

.footer {
  padding: 18px 24px 28px;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 720px) {
  .hero {
    padding: 32px 24px;
  }

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

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

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