/*
Theme Name: NUTEGBA Studios
Theme URI: https://nutegba.studio
Author: NUTEGBA Studios
Description: Editorial portfolio theme for a digital, audiovisual and creative studio.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: nutegba-studios
*/

:root {
  --ink: #11100e;
  --paper: #f1eee8;
  --muted: #aaa59a;
  --line: rgba(241, 238, 232, .2);
  --acid: #d9f34a;
  --orange: #f36d3b;
  --sans: "Space Grotesk", "Arial Narrow", sans-serif;
  --mono: "DM Mono", monospace;
  --serif: Georgia, "Times New Roman", serif;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.45; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: absolute; z-index: 5; inset: 0 0 auto; padding: 26px 0; color: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.site-branding { font-size: 17px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.site-branding img { width: auto; max-height: 38px; }
.site-branding .tagline { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; font-weight: 400; letter-spacing: .18em; }
.primary-menu { display: flex; gap: 30px; align-items: center; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.primary-menu ul, .footer-menu ul { display: flex; gap: 30px; align-items: center; margin: 0; padding: 0; list-style: none; }
.primary-menu a { transition: color .2s ease; }
.primary-menu a:hover, .primary-menu .current-menu-item a { color: var(--acid); }
.menu-toggle { display: none; border: 0; background: none; color: var(--paper); cursor: pointer; }

.hero { min-height: 100svh; position: relative; display: flex; align-items: flex-end; overflow: hidden; background: #29251f; }
.hero-media { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,16,14,.92), rgba(17,16,14,.25)), url('https://images.unsplash.com/photo-1485846234645-a62644f84728?auto=format&fit=crop&w=2200&q=85') center/cover; filter: saturate(.75); }
.hero:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,16,14,.95), transparent 55%); pointer-events: none; }
.hero-content { position: relative; z-index: 1; width: min(calc(100% - 64px), var(--max)); margin: 0 auto; padding: 0 0 86px; }
.eyebrow { color: var(--acid); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { max-width: 930px; margin: 16px 0 30px; font-size: clamp(62px, 10.2vw, 160px); font-weight: 700; letter-spacing: -.065em; line-height: .84; text-transform: uppercase; }
.hero h1 em { color: var(--acid); font-family: var(--serif); font-weight: 400; letter-spacing: -.08em; text-transform: none; }
.hero-foot { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.hero-copy { max-width: 420px; color: #d6d1c7; font-size: 17px; }
.hero-cta { display: inline-flex; align-items: center; gap: 18px; padding: 15px 18px; border: 1px solid var(--acid); color: var(--acid); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; transition: background .25s ease, color .25s ease; }
.hero-cta span { font-size: 19px; line-height: 0; }
.hero-cta:hover { background: var(--acid); color: var(--ink); }
.scroll-cue { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.scroll-cue:before { content: ""; display: block; width: 48px; height: 1px; background: var(--acid); }

.signal-strip { background: var(--acid); color: var(--ink); }
.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.signal-grid div { display: flex; flex-direction: column; gap: 12px; padding: 27px 24px; border-right: 1px solid rgba(17,16,14,.22); }
.signal-grid div:first-child { padding-left: 0; }
.signal-grid div:last-child { border: 0; }
.signal-grid strong { font-size: clamp(30px, 4vw, 52px); letter-spacing: -.08em; line-height: .8; }
.signal-grid span { font-family: var(--mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }

.section { padding: 130px 0; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.section-light { background: var(--paper); color: var(--ink); }
.section-acid { background: var(--acid); color: var(--ink); }
.section-label { display: flex; align-items: center; gap: 12px; margin-bottom: 64px; color: var(--muted); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.section-light .section-label, .section-acid .section-label { color: #67645c; }
.section-label:before { content: ""; width: 34px; height: 1px; background: currentColor; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.display { max-width: 740px; margin: 0; font-size: clamp(38px, 5.2vw, 78px); font-weight: 600; letter-spacing: -.055em; line-height: .93; }
.display em { font-family: var(--serif); font-weight: 400; }
.intro-aside { max-width: 370px; justify-self: end; color: var(--muted); font-size: 17px; }
.section-light .intro-aside { color: #68645b; }
.link-arrow { display: inline-flex; align-items: center; gap: 13px; margin-top: 28px; color: var(--acid); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.link-arrow:after { content: "↗"; font-size: 18px; }
.section-light .link-arrow { color: var(--ink); }

.work-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 42px; }
.work-head h2 { margin: 0; font-size: clamp(46px, 7vw, 100px); letter-spacing: -.065em; line-height: .8; text-transform: uppercase; }
.work-filter { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-button { padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--muted); cursor: pointer; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.filter-button.is-active, .filter-button:hover { border-color: var(--acid); color: var(--acid); }
.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.project-card { position: relative; min-height: 480px; grid-column: span 5; overflow: hidden; background: #26231f; }
.project-card:nth-child(3n+2) { grid-column: span 7; }
.project-card:nth-child(3n) { grid-column: span 4; min-height: 380px; }
.project-card img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .4s ease; }
.project-card:hover img { transform: scale(1.05); opacity: 1; }
.project-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: end; padding: 25px; background: linear-gradient(0deg, rgba(17,16,14,.9), transparent 60%); }
.project-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--acid); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.project-card h3 { margin: 10px 0 0; font-size: clamp(24px, 3vw, 42px); letter-spacing: -.045em; line-height: .9; }

.poles-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid #aaa59a; }
.pole { min-height: 250px; padding: 30px 0 36px; border-bottom: 1px solid #aaa59a; }
.pole:nth-child(odd) { padding-right: 48px; border-right: 1px solid #aaa59a; }
.pole:nth-child(even) { padding-left: 48px; }
.pole-number { color: #777269; font-size: 11px; }
.pole h3 { margin: 45px 0 12px; font-size: clamp(27px, 3.2vw, 48px); letter-spacing: -.06em; line-height: .9; }
.pole p { max-width: 400px; margin: 0; color: #67645c; }

.manifesto { min-height: 75vh; display: flex; align-items: center; }
.manifesto h2 { max-width: 1000px; margin: 0; font-size: clamp(48px, 8vw, 124px); letter-spacing: -.075em; line-height: .84; }
.manifesto h2 em { color: var(--orange); font-family: var(--serif); font-weight: 400; }
.quote-mark { display: block; margin-bottom: 24px; color: var(--orange); font-family: var(--serif); font-size: 76px; line-height: .4; }
.manifesto-note { max-width: 390px; margin: 38px 0 0 auto; font-family: var(--mono); font-size: 12px; line-height: 1.6; }

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; }
.contact-grid h2 { max-width: 750px; margin: 0; font-size: clamp(54px, 8vw, 120px); letter-spacing: -.08em; line-height: .82; }
.contact-grid h2 em { font-family: var(--serif); font-weight: 400; }
.contact-info { color: #777269; }
.contact-info a { display: block; margin: 10px 0; color: var(--ink); font-size: 21px; }
.contact-info a:hover { color: var(--orange); }

.site-footer { padding: 32px 0; background: #0c0c0b; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-menu { display: flex; gap: 20px; }
.footer-menu a:hover { color: var(--acid); }

.entry-content { max-width: 820px; margin: 0 auto; padding: 170px 0 120px; }
.entry-content h1 { font-size: clamp(52px, 8vw, 110px); letter-spacing: -.07em; line-height: .85; }
.entry-content h2 { margin-top: 60px; font-size: 42px; letter-spacing: -.05em; }
.entry-content p, .entry-content li { color: #d6d1c7; font-size: 19px; }
.entry-content a { color: var(--acid); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 760px) {
  .container, .hero-content { width: min(calc(100% - 36px), var(--max)); }
  .site-header { padding: 18px 0; }
  .primary-menu { position: fixed; inset: 0; display: flex; visibility: hidden; opacity: 0; flex-direction: column; justify-content: center; gap: 24px; background: var(--ink); font-size: 22px; transition: opacity .25s ease, visibility .25s ease; }
  .primary-menu.is-open { visibility: visible; opacity: 1; }
  .menu-toggle { position: relative; z-index: 2; display: block; padding: 6px 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
  .section { padding: 90px 0; }
  .hero-content { padding-bottom: 52px; }
  .hero h1 { font-size: clamp(55px, 16vw, 110px); }
  .hero-foot, .intro-grid, .contact-grid { display: block; }
  .hero-copy { margin-bottom: 30px; }
  .hero-cta { margin-top: 8px; }
  .intro-aside { margin-top: 35px; }
  .section-label { margin-bottom: 40px; }
  .work-head { display: block; }
  .work-filter { margin-top: 30px; }
  .project-grid { display: block; }
  .project-card, .project-card:nth-child(3n), .project-card:nth-child(3n+2) { min-height: 400px; margin-bottom: 14px; }
  .poles-grid { display: block; }
  .pole, .pole:nth-child(odd), .pole:nth-child(even) { min-height: auto; padding: 25px 0; border-right: 0; }
  .pole h3 { margin-top: 32px; }
  .manifesto { min-height: 60vh; }
  .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .signal-grid div, .signal-grid div:first-child { padding: 22px 16px; border-bottom: 1px solid rgba(17,16,14,.22); border-right: 1px solid rgba(17,16,14,.22); }
  .signal-grid div:nth-child(2n) { border-right: 0; }
  .signal-grid div:nth-last-child(-n+2) { border-bottom: 0; }
  .manifesto-note { margin-left: 0; }
  .contact-info { margin-top: 44px; }
  .footer-inner { display: block; }
  .footer-menu { margin-top: 18px; }
  .primary-menu ul { flex-direction: column; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
