/* ===== Tokens ===== */
:root {
  --cream: #fdf8f0;
  --cream-2: #f7efe1;
  --ink: #2b2420;
  --ink-soft: #5c5148;
  --coral: #ef7a5f;
  --coral-dark: #d95f45;
  --teal: #3f9a92;
  --yellow: #f4b942;
  --lavender: #8d7ae0;
  --white: #ffffff;
  --border: #eadfcc;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 45px -25px rgba(43, 36, 32, 0.35);
  --font-display: "Baloo 2", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0; }

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

ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 999;
}
.skip-link:focus { left: 24px; top: 16px; }

section { padding: 100px 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 14px 30px -14px rgba(239, 122, 95, 0.7);
}
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 248, 240, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  border-color: var(--border);
  box-shadow: 0 8px 24px -18px rgba(43,36,32,0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  flex-shrink: 0;
}
.logo-dot { color: var(--coral); }

.nav-list {
  display: flex;
  gap: 32px;
}
.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 190px 0 120px;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.35;
  z-index: 0;
}
.hero-blob--1 {
  width: 420px; height: 420px;
  background: var(--yellow);
  top: -140px; right: -100px;
}
.hero-blob--2 {
  width: 320px; height: 320px;
  background: var(--teal);
  bottom: -160px; left: -120px;
  opacity: 0.25;
}
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 780px; margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral-dark);
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  margin-bottom: 18px;
}
.text-accent { color: var(--coral); }

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.dot-sep { color: var(--coral); margin: 0 4px; }

.hero-desc {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.badge { text-align: center; }
.badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
}
.badge-label {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ===== Section head shared ===== */
.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  margin-bottom: 14px;
}
.section-sub { color: var(--ink-soft); font-size: 1.05rem; }

/* ===== About ===== */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.photo-placeholder {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: var(--cream-2);
  border: 2px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}
.photo-placeholder svg { width: 56px; height: 56px; opacity: 0.5; }
.photo-accent {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0.5;
  z-index: 0;
}

.about-content .eyebrow { display: block; }
.about-text { color: var(--ink-soft); margin-bottom: 18px; }
.about-facts {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.about-facts li { font-size: 0.95rem; color: var(--ink-soft); }
.about-facts strong { color: var(--ink); margin-right: 6px; }

/* ===== Pillars ===== */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pillar-card:hover { transform: translateY(-6px); }

.pillar-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.pillar-icon svg { width: 26px; height: 26px; }
.pillar-icon--education { background: rgba(244, 185, 66, 0.25); color: var(--yellow); }
.pillar-icon--graphic { background: rgba(239, 122, 95, 0.2); color: var(--coral); }
.pillar-icon--web { background: rgba(63, 154, 146, 0.2); color: var(--teal); }

.pillar-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.pillar-card p { color: var(--ink-soft); margin-bottom: 18px; font-size: 0.95rem; }
.pillar-list { display: flex; flex-direction: column; gap: 8px; }
.pillar-list li {
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
}
.pillar-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

/* ===== Work ===== */
.work { background: var(--white); }

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: transparent;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn:hover { border-color: var(--coral); color: var(--ink); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.work-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--cream-2);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work-card.hidden { display: none; }

.work-thumb {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.work-thumb-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.15);
  padding: 6px 14px;
  border-radius: 999px;
}
.work-thumb--1 { background: linear-gradient(135deg, #f4b942, #ef7a5f); }
.work-thumb--2 { background: linear-gradient(135deg, #ef7a5f, #8d7ae0); }
.work-thumb--3 { background: linear-gradient(135deg, #3f9a92, #4fb8ae); }
.work-thumb--4 { background: linear-gradient(135deg, #8d7ae0, #ef7a5f); }
.work-thumb--5 { background: linear-gradient(135deg, #f4b942, #3f9a92); }
.work-thumb--6 { background: linear-gradient(135deg, #3f9a92, #8d7ae0); }

.work-info { padding: 22px 24px 26px; }
.work-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--coral-dark);
  margin-bottom: 8px;
}
.work-info h3 { font-size: 1.1rem; margin-bottom: 8px; }
.work-info p { font-size: 0.9rem; color: var(--ink-soft); }

/* ===== Skills ===== */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.skill-chip {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}

/* ===== Testimonials ===== */
.testimonials { background: var(--white); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  margin: 0;
  background: var(--cream-2);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  border: 1px solid var(--border);
}
.testimonial-card p {
  font-size: 0.98rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
  font-style: italic;
}
.testimonial-card footer {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact-info .section-title { margin-bottom: 14px; }
.contact-info .section-sub { margin-bottom: 32px; }

.contact-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.contact-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--coral);
}
.contact-icon svg { width: 18px; height: 18px; }

.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.social-links a:hover { background: var(--coral); color: var(--white); transform: translateY(-3px); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 8px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(239, 122, 95, 0.18);
}
.form-submit { width: 100%; margin-top: 4px; }
.form-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--teal);
  text-align: center;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer .logo { color: var(--white); }
.footer-inner p { font-size: 0.85rem; }
.back-to-top {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 0.2s ease;
}
.back-to-top:hover { background: var(--coral); border-color: var(--coral); }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .pillar-grid, .work-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-frame { max-width: 360px; margin: 0 auto; }
}

@media (max-width: 760px) {
  section { padding: 72px 0; }
  .hero { padding: 150px 0 80px; }
  .nav, .nav-cta { display: none; }
  .nav.open {
    display: block;
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    box-shadow: 0 20px 30px -20px rgba(0,0,0,0.2);
  }
  .nav.open .nav-list { flex-direction: column; gap: 20px; }
  .nav-toggle { display: flex; }
  .pillar-grid, .work-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .hero-badges { gap: 32px; }
  .contact-form { padding: 26px; }
}
