/* ============================================
   MediaLab Midwest — Editorial / Hopeful
   Matching Ritsu's design language
   ============================================ */

:root {
  --black: #0a0a0a;
  --white: #f4f1ec;
  --amber: #FF4F00;
  --mid: #2a2a2a;
  --rule: #2e2e2e;
  --mono: 'DM Mono', monospace;
  --serif: 'Cormorant Garamond', serif;
  --sans: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--amber);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover { opacity: 0.8; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4rem;
  mix-blend-mode: normal;
}

.nav-logo {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.nav-links a:hover,
.nav-links a.active { opacity: 1; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: 0.3s;
}

/* ── SECTION LABEL ── */
.section-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 3rem;
  display: block;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0 4rem;
  padding-top: 10rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.hero-philosophy {
  align-self: center;
  max-width: 900px;
}

.philosophy-line {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0.15em;
  color: var(--white);
}

.philosophy-line em {
  font-style: italic;
  color: var(--amber);
  font-weight: 400;
}

.philosophy-line.final {
  margin-top: 0.6em;
  font-size: clamp(1.6rem, 3.2vw, 3rem);
  color: rgba(244, 241, 236, 0.45);
}

.philosophy-line.final strong {
  color: var(--white);
  font-weight: 700;
  font-style: normal;
}

.hero-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 4rem;
  border-top: 1px solid var(--rule);
}

.hero-name {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}

.hero-location {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.3);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 10rem 4rem 4rem;
  border-bottom: 1px solid var(--rule);
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.page-hero-subtitle {
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.8;
  color: rgba(244, 241, 236, 0.5);
  font-style: italic;
  max-width: 60ch;
}

/* ── IDENTITY SECTION ── */
.identity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--rule);
}

.identity-left {
  padding: 6rem 4rem;
  border-right: 1px solid var(--rule);
}

.identity-right {
  padding: 6rem 4rem;
}

.identity-headline {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.identity-sub {
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.8;
  color: rgba(244, 241, 236, 0.5);
  font-style: italic;
  margin-bottom: 2.5rem;
}

.identity-body {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(244, 241, 236, 0.75);
  max-width: 48ch;
}

.identity-body p + p {
  margin-top: 1.2em;
}

.through-line-statement {
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 2rem;
}

.identity-coda {
  margin-top: 2rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: rgba(244, 241, 236, 0.35);
  line-height: 1.9;
}

/* ── BELIEFS ── */
.beliefs {
  border-bottom: 1px solid var(--rule);
}

.beliefs-header {
  padding: 5rem 4rem 3rem;
  border-bottom: 1px solid var(--rule);
}

.belief-block {
  display: grid;
  grid-template-columns: 5rem 1fr 1fr;
  border-bottom: 1px solid var(--rule);
  min-height: 14rem;
}

.belief-block:last-child {
  border-bottom: none;
}

.belief-number {
  padding: 3rem 2rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: rgba(244, 241, 236, 0.2);
  border-right: 1px solid var(--rule);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.belief-left {
  padding: 3rem 4rem;
  border-right: 1px solid var(--rule);
}

.belief-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.3em;
}

.belief-subtitle {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
}

.belief-right {
  padding: 3rem 4rem;
}

.belief-body {
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(244, 241, 236, 0.7);
  max-width: 52ch;
}

.belief-body p + p { margin-top: 1em; }

.belief-body em {
  color: var(--white);
  font-style: normal;
}

/* ── WORK / PROJECTS ── */
.work {
  border-bottom: 1px solid var(--rule);
}

.work-header {
  padding: 5rem 4rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--rule);
}

.work-header-right {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(244, 241, 236, 0.35);
  text-transform: uppercase;
  max-width: 40ch;
  text-align: right;
  line-height: 1.7;
}

.project-row {
  display: grid;
  grid-template-columns: 5rem 1fr 1fr auto;
  border-bottom: 1px solid var(--rule);
  align-items: stretch;
}

.project-row:last-child { border-bottom: none; }

.project-index {
  padding: 3rem 2rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: rgba(244, 241, 236, 0.2);
  border-right: 1px solid var(--rule);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.project-name-col {
  padding: 3rem 4rem;
  border-right: 1px solid var(--rule);
}

.project-tag {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
  display: block;
}

.project-name {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 2.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.1;
}

.project-name a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--amber);
}

.project-url {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: rgba(244, 241, 236, 0.25);
  margin-top: 0.8rem;
  display: block;
  text-decoration: none;
}

.project-desc-col {
  padding: 3rem 4rem;
  border-right: 1px solid var(--rule);
}

.project-desc {
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(244, 241, 236, 0.65);
  max-width: 48ch;
}

.project-for {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-style: italic;
  color: rgba(244, 241, 236, 0.35);
  margin-top: 1.2rem;
  line-height: 1.7;
}

.project-status-col {
  padding: 3rem 3rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  min-width: 140px;
}

.status-pill {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4em 0.9em;
  border: 1px solid var(--rule);
  color: rgba(244, 241, 236, 0.3);
}

.status-pill.live {
  border-color: var(--amber);
  color: var(--amber);
}

.status-pill.proposed {
  border-color: rgba(244, 241, 236, 0.15);
  color: rgba(244, 241, 236, 0.25);
}

/* ── CLOSING / CTA ── */
.closing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
}

.closing-left {
  padding: 6rem 4rem;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.closing-headline {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 6.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.02em;
}

.closing-headline em {
  font-style: italic;
  color: var(--amber);
}

.closing-body {
  font-size: 0.9rem;
  color: rgba(244, 241, 236, 0.6);
  line-height: 1.8;
  max-width: 42ch;
  margin-bottom: 2rem;
}

.closing-cta {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid var(--white);
  padding: 1rem 2rem;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s, color 0.2s;
}

.closing-cta:hover {
  background: var(--white);
  color: var(--black);
  opacity: 1;
}

.closing-right {
  padding: 6rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.team-portraits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.portrait-card {
  text-align: center;
}

.portrait-image {
  overflow: hidden;
  margin-bottom: 1rem;
  aspect-ratio: 3 / 4;
  background: var(--mid);
}

.portrait-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.4s;
}

.portrait-image img:hover {
  filter: grayscale(0%);
}

.portrait-name {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.4);
}

.closing-method {
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 2;
  color: rgba(244, 241, 236, 0.4);
  border-top: 1px solid var(--rule);
  padding-top: 2rem;
}

.closing-method strong {
  color: var(--white);
  font-weight: 400;
}

/* ── HOW WE WORK (about page) ── */
.how-section {
  border-bottom: 1px solid var(--rule);
  padding: 6rem 4rem;
}

.how-section-inner {
  max-width: 52ch;
}

.how-section h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.how-section p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(244, 241, 236, 0.7);
}

.how-section p + p {
  margin-top: 1em;
}

.inspired-text {
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 2;
  color: rgba(244, 241, 236, 0.4);
  max-width: 60ch;
}

.inspired-text strong {
  color: var(--white);
  font-weight: 400;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--rule);
}

.contact-info {
  padding: 6rem 4rem;
  border-right: 1px solid var(--rule);
}

.contact-info h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.contact-info > p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(244, 241, 236, 0.7);
  max-width: 48ch;
  margin-bottom: 3rem;
}

.contact-detail {
  margin-bottom: 2rem;
}

.contact-detail h3 {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.contact-detail p {
  font-size: 0.95rem;
  color: rgba(244, 241, 236, 0.7);
}

.contact-detail a {
  color: var(--white);
  border-bottom: 1px solid var(--amber);
  text-decoration: none;
}

.contact-ventures {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.contact-ventures h3 {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.contact-ventures ul {
  list-style: none;
}

.contact-ventures li {
  margin-bottom: 0.5rem;
}

.contact-ventures a {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: rgba(244, 241, 236, 0.5);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.contact-ventures a:hover {
  color: var(--white);
  opacity: 1;
}

.contact-form-wrapper {
  padding: 6rem 4rem;
}

.contact-form-wrapper h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.4);
  margin-bottom: 0.75rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 0;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--white);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-bottom-color: var(--amber);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  border: 1px solid var(--rule);
  padding: 1rem;
  margin-top: 0.25rem;
}

.form-group textarea:focus {
  border-color: var(--amber);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f4f1ec' fill-opacity='0.3' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 1.5rem;
  cursor: pointer;
}

.form-group select option {
  background: var(--black);
  color: var(--white);
}

.btn-submit {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--white);
  padding: 1rem 2rem;
  cursor: pointer;
  width: 100%;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

.btn-submit:hover {
  background: var(--white);
  color: var(--black);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--rule);
  padding: 2.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
}

.footer-copy {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  color: rgba(244, 241, 236, 0.2);
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.footer-nav a {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.3);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ── FULL RULE ── */
.full-rule {
  border: none;
  border-top: 1px solid var(--rule);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1.5rem 2rem; }
  .nav-links { display: none; gap: 2rem; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.95);
    padding: 2rem;
    border-bottom: 1px solid var(--rule);
  }
  .nav-toggle { display: flex; }

  .hero { padding: 8rem 2rem 3rem; }
  .page-hero { padding: 8rem 2rem 3rem; }

  .identity { grid-template-columns: 1fr; }
  .identity-left { border-right: none; border-bottom: 1px solid var(--rule); padding: 4rem 2rem; }
  .identity-right { padding: 4rem 2rem; }

  .belief-block { grid-template-columns: 3rem 1fr; }
  .belief-left { border-right: none; border-bottom: 1px solid var(--rule); padding: 2rem; }
  .belief-right { padding: 2rem; grid-column: 2; }
  .belief-number { padding: 2rem 1rem; }

  .project-row { grid-template-columns: 3rem 1fr; }
  .project-name-col { border-right: none; border-bottom: 1px solid var(--rule); padding: 2rem; }
  .project-desc-col { border-right: none; padding: 2rem; grid-column: 2; }
  .project-status-col { grid-column: 2; padding: 0 2rem 2rem; justify-content: flex-start; }
  .project-index { padding: 2rem 1rem; }

  .closing { grid-template-columns: 1fr; }
  .closing-left { border-right: none; border-bottom: 1px solid var(--rule); padding: 4rem 2rem; }
  .closing-right { padding: 4rem 2rem; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { border-right: none; border-bottom: 1px solid var(--rule); padding: 4rem 2rem; }
  .contact-form-wrapper { padding: 4rem 2rem; }

  .work-header { padding: 4rem 2rem 2rem; flex-direction: column; gap: 1rem; }
  .work-header-right { text-align: left; }
  .beliefs-header { padding: 4rem 2rem 2rem; }
  .how-section { padding: 4rem 2rem; }

  footer { padding: 2rem; flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-nav { gap: 1.5rem; }
}
