/* ============================================
   Oneldium Concrete Art — Portfolio Styles
   Color palette extracted from the original PDF
   ============================================ */

:root {
  /* Core palette */
  --bg-dark: #111111;
  --bg-cream: #f7f3ed;
  --bg-cream-soft: #f0ebe3;
  --bg-white: #faf8f5;
  --gold: #c4a35a;
  --gold-deep: #a88b3d;
  --terracotta: #b04a38;
  --text-dark: #1f1f1f;
  --text-muted: #5c5c5c;
  --text-light: #e8e4dc;
  --border-soft: rgba(0,0,0,0.06);

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Layout */
  --container: 1120px;
  --radius: 16px;
  --radius-sm: 10px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--bg-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background 0.3s ease, backdrop 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-light);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.nav {
  display: flex;
  gap: 1.8rem;
}

.nav a {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 450;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}

.nav a:hover {
  opacity: 1;
  color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-light);
  position: absolute;
  left: 0;
  transition: 0.25s;
}

.nav-toggle span:first-child { top: 4px; }
.nav-toggle span:last-child { bottom: 4px; }

/* Hero */
.hero {
  min-height: 100vh;
  background: var(--bg-dark);
  color: var(--text-light);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  padding-left: max(2.5rem, calc((100vw - var(--container)) / 2));
  padding-right: 2rem;
  position: relative;
  z-index: 2;
}

.hero-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 7vw, 5.4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}

.hero-sub {
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.5rem;
}

.hero-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform 0.2s, background 0.2s;
}

.btn-gold {
  background: var(--gold);
  color: var(--bg-dark);
}

.btn-gold:hover {
  background: var(--gold-deep);
  transform: translateY(-1px);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: max(2rem, calc((100vw - var(--container)) / 2));
  position: relative;
  z-index: 2;
}

.hero-frame {
  width: min(380px, 85%);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.hero-circles {
  position: absolute;
  right: 8%;
  top: 18%;
  width: 280px;
  opacity: 0.12;
  color: var(--gold);
  pointer-events: none;
}

/* Sections common */
.section {
  padding: var(--space-2xl) 0;
}

.section-header {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.section-number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  min-width: 3.2rem;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}

.section-tagline {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Statement */
.statement {
  background: var(--bg-cream);
}

.statement-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.statement-content h3 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
}

.statement-content .accent {
  color: var(--terracotta);
}

.statement-text p {
  margin-bottom: 1.2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.tag-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.tag {
  background: var(--terracotta);
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 999px;
}

/* About */
.about {
  background: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.about-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about-content h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.studio-name {
  color: var(--terracotta);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 1.3rem;
}

.about-content > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.why-box {
  background: var(--bg-cream-soft);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.5rem;
}

.why-box h4 {
  color: var(--gold-deep);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.why-box p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.meta-row {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.meta-row span::after {
  content: "·";
  margin-left: 1.2rem;
  opacity: 0.4;
}

.meta-row span:last-child::after { content: none; }

/* Practice */
.practice {
  background: var(--bg-cream);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.practice-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  border: 1px solid var(--border-soft);
  transition: transform 0.25s, box-shadow 0.25s;
}

.practice-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.practice-card-wide {
  grid-column: 1 / -1;
  max-width: 520px;
  margin-inline: auto;
}

.card-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin-bottom: 0.7rem;
}

.practice-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.practice-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Works */
.works {
  background: var(--bg-white);
}

.works-intro {
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.works-intro p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.work-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-cream-soft);
  position: relative;
}

.work-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-item:hover img {
  transform: scale(1.04);
}

.work-large {
  grid-column: span 2;
  grid-row: span 2;
}

.work-large img {
  aspect-ratio: 1;
}

.work-item figcaption {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.work-item strong {
  font-weight: 600;
  font-size: 0.98rem;
}

.work-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Vision */
.vision {
  background: var(--bg-cream);
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-bottom: 3rem;
}

.vision-card {
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
}

.vision-card.light {
  background: var(--bg-white);
  border: 1px solid var(--border-soft);
}

.vision-card.dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.vision-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: var(--terracotta);
}

.vision-card.dark h3 {
  color: var(--gold);
}

.vision-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.vision-card li {
  font-size: 0.98rem;
  padding-left: 1.1rem;
  position: relative;
  color: var(--text-muted);
}

.vision-card.dark li {
  color: rgba(255,255,255,0.75);
}

.vision-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.ambition {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.ambition p {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.ambition cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--gold-deep);
}

/* Contact */
.contact {
  background: var(--bg-white);
}

.contact-card {
  background: var(--bg-cream-soft);
  border-radius: var(--radius);
  padding: 2.5rem 2.2rem;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.contact-card h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-details {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  align-items: baseline;
}

.detail .label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.detail a:hover {
  color: var(--terracotta);
}

.declaration {
  max-width: 520px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 3rem 0 2.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.footer-logo .logo-mark {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.site-footer p {
  font-size: 0.9rem;
  opacity: 0.7;
}

.thanks {
  margin-top: 0.6rem;
  font-style: italic;
  opacity: 0.55 !important;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 6.5rem 0 3.5rem;
    text-align: center;
  }

  .hero-content {
    padding: 0 1.5rem 2.5rem;
  }

  .hero-visual {
    padding: 0 1.5rem;
  }

  .hero-frame {
    margin-inline: auto;
  }

  .hero-circles { display: none; }

  .statement-content,
  .about-grid,
  .vision-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .works-grid {
    grid-template-columns: 1fr 1fr;
  }

  .work-large {
    grid-column: span 2;
    grid-row: auto;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
  }

  .nav.open { display: flex; }

  .nav-toggle { display: block; }
}

@media (max-width: 600px) {
  .practice-grid {
    grid-template-columns: 1fr;
  }

  .practice-card-wide {
    max-width: none;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .work-large {
    grid-column: auto;
  }

  .section-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .detail {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}
