/*
Theme Name: Resumé
Theme URI: https://example.com/resume-theme
Author: Resume Team
Author URI: https://example.com
Description: Employment-focused WordPress theme built for job seekers to showcase resumes, experience, and recent work.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: resume
Tags: blog, portfolio, custom-logo, featured-images
*/

:root {
  --resume-bg: #ecebe5;
  --resume-bg-soft: #f5f4ee;
  --resume-surface: #fdfcf8;
  --resume-surface-strong: #ffffff;
  --resume-text: #1b2732;
  --resume-muted: #556270;
  --resume-accent: #173f4f;
  --resume-accent-strong: #206378;
  --resume-highlight: #b9793f;
  --resume-border: #ccd1c8;
  --resume-border-strong: #adb6aa;
  --resume-shadow: 0 18px 45px rgba(18, 39, 54, 0.11);
  --resume-radius-lg: 20px;
  --resume-radius-md: 14px;
  --resume-content: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--resume-text);
  line-height: 1.65;
  background:
    radial-gradient(1000px 400px at -10% -10%, #d7ddd2 0%, transparent 62%),
    radial-gradient(700px 300px at 110% 5%, #d9d4c8 0%, transparent 58%),
    linear-gradient(180deg, var(--resume-bg) 0%, var(--resume-bg-soft) 100%);
}

a {
  color: var(--resume-accent);
  text-decoration: none;
  transition: color 0.22s ease;
}

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

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.015em;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.3rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

p {
  margin-top: 0;
}

.container {
  width: min(calc(100% - 2rem), var(--resume-content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(253, 252, 248, 0.9);
  border-bottom: 1px solid rgba(173, 182, 170, 0.6);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: "Instrument Serif", Georgia, serif;
  color: var(--resume-text);
  font-size: 1.35rem;
}

.brand-tagline {
  color: var(--resume-muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  margin-left: auto;
}

.site-nav .menu,
.site-nav > div > ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}

.site-nav li {
  margin: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.36rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  color: var(--resume-text);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
  border-color: var(--resume-border-strong);
  background: rgba(255, 255, 255, 0.8);
}

main {
  padding: 2.4rem 0 3rem;
}

.front-main {
  display: grid;
  gap: 1.5rem;
}

.hero {
  border: 1px solid var(--resume-border);
  border-radius: var(--resume-radius-lg);
  box-shadow: var(--resume-shadow);
  background:
    linear-gradient(135deg, rgba(23, 63, 79, 0.96) 0%, rgba(31, 96, 116, 0.96) 100%),
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.13), transparent 55%);
  color: #eff6f8;
  padding: clamp(1.4rem, 4vw, 2.8rem);
  overflow: hidden;
}

.hero-layout {
  display: grid;
  gap: 1.5rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: #b7d8e4;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 0.8rem;
}

.hero-summary {
  color: #d6e6ed;
  max-width: 58ch;
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.54rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.button-primary {
  background: #f5f2e9;
  color: #193745;
  border-color: #f5f2e9;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #fff;
  color: #173f4f;
}

.button-secondary {
  border-color: rgba(240, 248, 251, 0.58);
  color: #eff6f8;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.hero-insights {
  border: 1px solid rgba(240, 248, 251, 0.28);
  border-radius: var(--resume-radius-md);
  background: rgba(12, 39, 50, 0.36);
  padding: 1rem;
}

.hero-insights h2 {
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
}

.insight-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.insight-list li {
  border: 1px solid rgba(240, 248, 251, 0.22);
  border-radius: 10px;
  padding: 0.75rem;
  display: grid;
  gap: 0.1rem;
}

.insight-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.insight-label {
  color: #d6e6ed;
  font-size: 0.85rem;
}

.surface {
  background: var(--resume-surface);
  border: 1px solid var(--resume-border);
  border-radius: var(--resume-radius-lg);
  box-shadow: var(--resume-shadow);
  padding: clamp(1.1rem, 2.6vw, 1.75rem);
}

.surface p:last-child {
  margin-bottom: 0;
}

.section-grid {
  display: grid;
  gap: 1.25rem;
}

.section-grid-home {
  align-items: start;
}

.section-kicker {
  margin-bottom: 0.4rem;
  color: var(--resume-muted);
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.strengths-copy {
  max-width: 70ch;
  color: var(--resume-muted);
  margin-bottom: 1rem;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tag-cloud span {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--resume-border-strong);
  border-radius: 999px;
  padding: 0.33rem 0.72rem;
  color: var(--resume-text);
  background: var(--resume-surface-strong);
  font-size: 0.84rem;
}

.resume-shell {
  background: linear-gradient(180deg, #fffefc 0%, #f9f7f1 100%);
}

.updates-empty {
  color: var(--resume-muted);
}

.post-card {
  margin-top: 1rem;
  border: 1px solid var(--resume-border);
  border-radius: var(--resume-radius-md);
  background: #fff;
  overflow: hidden;
}

.post-card-media {
  display: block;
  border-bottom: 1px solid var(--resume-border);
  line-height: 0;
}

.post-card-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-card-body {
  padding: 1rem;
}

.post-card-title {
  margin-bottom: 0.45rem;
}

.post-meta {
  margin-bottom: 0.45rem;
  color: var(--resume-muted);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.post-card-excerpt {
  color: #334a57;
  margin-bottom: 0.6rem;
}

.post-card-excerpt p:last-child {
  margin-bottom: 0;
}

.post-card-link {
  color: var(--resume-accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.surface article,
article.surface {
  background: transparent;
}

article.surface h1,
article.surface h2 {
  margin-bottom: 0.65rem;
}

.rb-resume {
  border-color: var(--resume-border-strong);
  background: #fff;
}

.rb-title,
.rb-message {
  color: var(--resume-muted);
}

.rb-skill-list li {
  border-color: var(--resume-border-strong);
  background: #f7f7f2;
}

input[type="search"],
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--resume-border-strong);
  padding: 0.58rem 0.72rem;
  font: inherit;
  background: #fff;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(32, 99, 120, 0.24);
  outline-offset: 1px;
}

.site-footer {
  border-top: 1px solid var(--resume-border-strong);
  background: rgba(249, 247, 241, 0.9);
  color: var(--resume-muted);
  padding: 2rem 0;
}

.footer-inner {
  display: grid;
  gap: 1rem;
}

.footer-tag {
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--resume-text);
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu a {
  color: var(--resume-muted);
}

.footer-menu a:hover,
.footer-menu a:focus-visible {
  color: var(--resume-accent);
}

.widget-area {
  margin-top: 1.5rem;
}

.not-found {
  text-align: center;
}

@keyframes resume-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero,
  .surface,
  .post-card {
    animation: resume-rise 0.58s ease both;
  }

  .surface:nth-of-type(2),
  .post-card:nth-of-type(2) {
    animation-delay: 0.05s;
  }

  .surface:nth-of-type(3),
  .post-card:nth-of-type(3) {
    animation-delay: 0.1s;
  }
}

@media (min-width: 740px) {
  .hero-layout {
    grid-template-columns: 1.35fr 0.95fr;
    align-items: end;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

@media (min-width: 950px) {
  .section-grid-home {
    grid-template-columns: 1.4fr 1fr;
  }

  .section-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

@media (max-width: 680px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav .menu,
  .site-nav > div > ul {
    width: 100%;
  }

  .site-nav li {
    flex: 1 1 auto;
  }

  .site-nav a {
    justify-content: center;
    width: 100%;
  }
}
