/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.0
*/

/* ============================================================
   CSS VARIABLES
============================================================ */
:root {
  --accent: #6b3a52;
  --accent-light: #f0e8ec;
  --bg: #faf9f7;
  --bg-warm: #f0ede8;
  --bg-card: #faf9f7;
  --border: #e0ddd8;
  --text: #1a1a1a;
  --text-mid: #444;
  --text-muted: #666;
  --text-light: #8c8c8c;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

/* ============================================================
   RESET & BASE
============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

/* ============================================================
   LAYOUT
============================================================ */
.site-container {
  max-width: 1060px;
  margin: 0 auto;
}

/* ============================================================
   NAVIGATION
============================================================ */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 48px;
  border-bottom: 0.5px solid var(--border);
}

.site-nav__name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.site-nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.site-nav__links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.15s;
}

.site-nav__links a:hover {
  color: var(--accent);
}

/* ============================================================
   HERO (HOMEPAGE)
============================================================ */
.hero {
  padding: 80px 48px 72px;
  border-bottom: 0.5px solid var(--border);
}

.hero__tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero__name {
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 400;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 40px;
}

.hero__name em {
  font-style: italic;
  color: var(--accent);
}

.hero__bio {
  max-width: 520px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 40px;
}

.hero__meta {
  display: flex;
  gap: 48px;
}

.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__meta-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}

.hero__meta-value {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 400;
}

/* ============================================================
   PROJECTS SECTION (HOMEPAGE)
============================================================ */
.projects-section {
  padding: 64px 48px;
  border-bottom: 0.5px solid var(--border);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ============================================================
   PROJECT GRID
============================================================ */
.project-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 0.5px solid var(--border);
}

.project-row {
  display: flex;
  gap: 1px;
  background: var(--border);
}

.project-card {
  background: var(--bg-card);
  padding: 32px;
  cursor: pointer;
  transition: background 0.15s;
  flex: 1;
  text-decoration: none;
  display: block;
}

.project-card:hover {
  background: #f3f0eb;
}

.project-card--full {
  width: 100%;
}

.project-card__num {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 16px;
}

.project-card__type {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 500;
}

.project-card__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 10px;
}

.project-card--full .project-card__title {
  font-size: 22px;
}

.project-card__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 20px;
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 0.5px solid var(--border);
  padding: 3px 10px;
  background: transparent;
}

/* ============================================================
   ABOUT SNAPSHOT (HOMEPAGE)
============================================================ */
.about-section {
  padding: 64px 48px;
  border-bottom: 0.5px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.accent-bar {
  width: 32px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 20px;
}

.about-heading {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 24px;
}

.about-heading em {
  font-style: italic;
  color: var(--accent);
}

.about-body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-mid);
  font-weight: 300;
  margin-bottom: 20px;
}

.btn-primary {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 12px 28px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 8px;
  transition: opacity 0.15s;
}

.btn-primary:hover {
  opacity: 0.85;
}

/* ============================================================
   SKILLS LIST
============================================================ */
.skills-list {
  display: flex;
  flex-direction: column;
  border-top: 0.5px solid var(--border);
}

.skill-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 0.5px solid var(--border);
}

.skill-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 500;
}

.skill-value {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.5;
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-footer__name {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--text-light);
  font-weight: 400;
}

.site-footer__links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.site-footer__links a {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.15s;
}

.site-footer__links a:hover {
  color: var(--accent);
}

/* ============================================================
   CASE STUDY PAGES
============================================================ */
.cs-header {
  padding: 72px 48px 56px;
  border-bottom: 0.5px solid var(--border);
}

.cs-back {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 32px;
}

.cs-back:hover {
  opacity: 0.75;
}

.cs-type {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}

.cs-title {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
  max-width: 640px;
}

.cs-subtitle {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  color: var(--text-light);
  margin-bottom: 40px;
}

.cs-meta-row {
  display: flex;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}

.cs-meta-item {
  flex: 1;
  padding: 16px 24px 16px 0;
  border-right: 0.5px solid var(--border);
  margin-right: 24px;
}

.cs-meta-item:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.cs-meta-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.cs-meta-value {
  font-size: 12px;
  color: var(--text-mid);
  font-weight: 400;
  line-height: 1.5;
}

/* Anchor bar */
.cs-anchors {
  padding: 20px 48px;
  border-bottom: 0.5px solid var(--border);
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}

.cs-anchor {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.cs-anchor:hover {
  color: var(--accent);
}

/* Case study body */
.cs-body {
  padding: 0 48px;
}

.cs-section {
  padding: 56px 0;
  border-bottom: 0.5px solid var(--border);
}

.cs-section:last-child {
  border-bottom: none;
}

.cs-section-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
}

.cs-section-heading {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.2;
}

.cs-prose {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-mid);
  max-width: 620px;
}

.cs-prose p {
  margin-bottom: 20px;
}

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

/* Stat blocks */
.cs-stats {
  display: flex;
  gap: 1px;
  background: var(--border);
  margin: 40px 0;
}

.cs-stat {
  background: var(--bg);
  flex: 1;
  padding: 28px 20px;
}

.cs-stat__num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 6px;
  line-height: 1;
}

.cs-stat__desc {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.5;
}

/* Visual/image treatment */
.cs-visual {
  margin: 40px -24px;
  background: var(--bg-warm);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cs-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.cs-visual__caption {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 300;
  margin-top: 14px;
  text-align: center;
  font-style: italic;
  max-width: 480px;
}

/* Callout quote */
.cs-callout {
  border-left: 2px solid var(--accent);
  padding: 20px 24px;
  margin: 32px 0;
}

.cs-callout p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
  font-style: italic;
}

/* Two column */
.cs-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 32px 0;
}

.cs-two-col__label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
  font-weight: 500;
}

.cs-two-col__text {
  font-size: 14px;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.7;
}

/* Case study footer nav */
.cs-nav-foot {
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 0.5px solid var(--border);
}

.cs-nav-foot__prev,
.cs-nav-foot__next {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cs-nav-foot__next {
  text-align: right;
}

.cs-nav-foot__label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}

.cs-nav-foot__title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--accent);
}

.cs-nav-foot__title:hover {
  opacity: 0.75;
}

/* ============================================================
   ABOUT PAGE
============================================================ */
.about-page-hero {
  padding: 80px 48px 64px;
  border-bottom: 0.5px solid var(--border);
}

.about-page-hero h1 {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 24px;
}

.about-page-hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.about-page-hero p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 560px;
}

.about-page-section {
  padding: 64px 48px;
  border-bottom: 0.5px solid var(--border);
}

.about-page-section h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 32px;
  color: var(--text);
}

/* Contact section */
.contact-section {
  padding: 64px 48px;
}

.contact-section h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 16px;
}

.contact-section p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 32px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link {
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--text-mid);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.15s;
}

.contact-link:hover {
  color: var(--accent);
}

.contact-link__label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  width: 80px;
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {
  .site-nav {
    padding: 20px 24px;
  }

  .hero {
    padding: 48px 24px;
  }

  .hero__name {
    font-size: 48px;
  }

  .hero__meta {
    flex-direction: column;
    gap: 16px;
  }

  .projects-section,
  .about-section {
    padding: 48px 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project-row {
    flex-direction: column;
  }

  .cs-header,
  .cs-body,
  .cs-anchors {
    padding-left: 24px;
    padding-right: 24px;
  }

  .cs-title {
    font-size: 32px;
  }

  .cs-meta-row {
    flex-wrap: wrap;
  }

  .cs-meta-item {
    flex: 0 0 50%;
    margin-right: 0;
    border-right: none;
    padding-right: 0;
  }

  .cs-stats {
    flex-wrap: wrap;
  }

  .cs-stat {
    flex: 0 0 50%;
  }

  .cs-two-col {
    grid-template-columns: 1fr;
  }

  .cs-visual {
    margin-left: 0;
    margin-right: 0;
  }

  .site-footer {
    flex-direction: column;
    gap: 20px;
    padding: 32px 24px;
    text-align: center;
  }

  .site-footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .about-page-hero,
  .about-page-section,
  .contact-section {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.site-header,
.site-branding {
  display: none !important;
}

.project-card {
  box-shadow: none !important;
  border-radius: 0 !important;
  border: none !important;
}

.cs-prose {
  max-width: 100%;
}

.cs-section {
  padding: 40px 0 0px;
}

.cs-body {
  padding: 0 48px 48px;
}

.cs-two-col {
  margin-bottom: 0;
}

.about-page-hero p,
.about-page-section p,
.about-body {
  max-width: 100%;
}

.about-page-section .entry-content,
.about-page-section > * {
  max-width: 100%;
}

.about-page-section .entry-content p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: #444;
  max-width: 100%;
}

.btn-primary:hover {
  opacity: 1;
  background: #4a2838;
  color: #faf9f7;
}
