@layer reset, base, layout, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p { margin: 0; }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
}

@layer base {
  :root { color-scheme: dark; --ink: #090c13; --paper: #f2f3ee; --lime: #d4ff38; --muted: #a4a8b2; --line: #30343c; --gutter: clamp(1.5rem, 5.2vw, 6rem); }
  html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
  body { background: var(--ink); color: var(--paper); font-family: Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
  ::selection { background: var(--lime); color: var(--ink); }
  a { -webkit-tap-highlight-color: transparent; }
  a:focus-visible { outline: 3px solid var(--lime); outline-offset: 7px; }
  .contact a:focus-visible { outline-color: var(--ink); }
  h1, h2, h3 { line-height: 1.05; letter-spacing: -.055em; }
  .skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 10; padding: .75rem 1rem; background: var(--lime); color: var(--ink); transform: translateY(-180%); }
  .skip-link:focus { transform: none; }
  .muted { color: #7f8693; }
}

@layer layout {
  .site-header { min-height: 108px; padding: 1.5rem var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 2rem; border-bottom: 1px solid var(--line); }
  .brand { display: flex; align-items: center; gap: 1.4rem; }
  .brand-mark { font-size: 3rem; font-weight: 900; line-height: 1; letter-spacing: -.12em; color: var(--lime); }
  .brand-mark span { display: inline-block; margin-left: .3rem; font-size: 1.1rem; vertical-align: top; letter-spacing: 0; }
  .brand-name { font-size: .75rem; font-weight: 700; line-height: 1.25; letter-spacing: .035em; }
  nav { display: flex; align-items: center; gap: 2.5rem; font-size: .875rem; }
  nav a { padding-block: .75rem; transition: color .2s; }
  nav a:hover { color: var(--lime); }
  .nav-contact { border-bottom: 1px solid var(--lime); }
  .nav-contact span { margin-left: 1.5rem; color: var(--lime); font-size: 1.3rem; }
  .hero { position: relative; min-height: 670px; min-height: min(850px, 86svh); display: flex; flex-direction: column; justify-content: center; isolation: isolate; overflow: hidden; }
  .hero-art { position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(90deg, rgb(9 12 19 / 75%), rgb(9 12 19 / 14%) 80%), linear-gradient(0deg, #090c13, transparent 35%, rgb(9 12 19 / 12%)), url('/assets/hero.webp'); background-size: cover; background-position: center; }
  .hero-inner { padding: 5rem var(--gutter) 7rem; width: 100%; }
  .eyebrow { display: flex; align-items: center; gap: 1rem; font-size: .75rem; font-weight: 700; letter-spacing: .13em; line-height: 1.6; }
  .mini-cross { color: var(--lime); font-size: 1.75rem; font-weight: 400; }
  .eyebrow-line { width: 3rem; height: 1px; background: currentColor; opacity: .6; }
  h1 { font-size: clamp(3.4rem, 8.45vw, 9rem); line-height: .97; font-weight: 900; margin: 2rem 0 2.5rem; letter-spacing: -.065em; }
  h1 > span { color: var(--lime); }
  .hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; max-width: 1150px; }
  .hero-bottom p { font-size: 1.125rem; line-height: 1.65; color: #d6d7dc; }
  .hero-bottom em { color: var(--paper); font-style: normal; }
  .button { display: inline-flex; justify-content: space-between; align-items: center; gap: 3rem; min-height: 60px; padding: 1rem 1.5rem; color: var(--ink); background: var(--lime); font-weight: 700; transition: background .2s, transform .2s; }
  .button span { font-size: 1.6rem; line-height: 1; }
  .button:hover { background: var(--paper); transform: translateY(-3px); }
  .hero-caption { position: absolute; bottom: 2rem; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; color: #b8bdc7; font-size: .75rem; letter-spacing: .11em; }
  .hero-caption a span { margin-left: 1rem; color: var(--lime); font-size: 1rem; }
  .statement-strip { display: flex; justify-content: space-around; align-items: center; gap: 1.5rem; padding: 1.1rem 2rem; background: var(--lime); color: var(--ink); font-size: clamp(.875rem, 1.55vw, 1.4rem); letter-spacing: -.025em; font-weight: 800; }
  .strip-star { font-size: 1.9rem; line-height: 1; font-weight: 400; }
  .section-shell { padding: 6rem var(--gutter); }
  .section-label { display: flex; gap: 2rem; align-items: center; font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
  .section-label > span:first-child { flex-shrink: 0; }
  .label-line { display: block; height: 1px; background: var(--line); flex: 1; }
  .studio-content { display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem; padding-top: 4rem; }
  .studio h2 { font-size: clamp(2.2rem, 4vw, 4.5rem); line-height: 1.12; }
  .studio-copy { max-width: 480px; }
  .studio-copy p + p { margin-top: 1.5rem; }
  .studio-copy p { color: var(--muted); }
  .studio-copy .lead { font-size: 1.25rem; line-height: 1.6; color: var(--paper); }
  .studio-copy em { color: var(--lime); font-style: normal; }
  .small-signature { display: block; color: var(--lime); font-size: .75rem; letter-spacing: .065em; margin-top: 2.5rem; }
  .world-panel { position: relative; min-height: 600px; margin-inline: var(--gutter); overflow: hidden; isolation: isolate; }
  .world-panel > img { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
  .world-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(6 9 17 / 75%), rgb(6 9 17 / 10%)), linear-gradient(0deg, rgb(6 9 17 / 50%), transparent 40%); }
  .world-content { padding: 3.5rem; }
  .world-content .eyebrow { color: #d4d9e0; }
  .world-content h2 { margin-top: 4.5rem; font-size: clamp(2.8rem, 5.2vw, 6rem); line-height: 1.02; }
  .world-content em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.05em; color: var(--lime); }
  .world-index { position: absolute; right: 2.5rem; bottom: 2rem; font-size: .75rem; letter-spacing: .13em; }
  .section-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin: 3.5rem 0 4rem; }
  .section-intro h2 { font-size: clamp(2.3rem, 4vw, 4.5rem); line-height: 1.1; }
  .section-intro > p { color: var(--muted); }
  .principles { display: grid; grid-template-columns: repeat(3, 1fr); }
  .principles article { position: relative; padding: 1.25rem 2.5rem 0; border-left: 1px solid var(--line); }
  .principles article:first-child { border-left: 0; padding-left: 0; }
  .principles article:last-child { padding-right: 0; }
  .principle-number { display: block; font-size: .75rem; color: var(--muted); letter-spacing: .1em; }
  .principle-symbol { font-size: 5.25rem; line-height: 1.2; font-weight: 300; color: var(--lime); margin: 1.5rem 0; }
  .circular-symbol { font-size: 4.7rem; line-height: 1.34; }
  .principles h3 { font-size: 1.55rem; margin-bottom: 1.25rem; letter-spacing: -.035em; }
  .principles p { color: var(--muted); max-width: 340px; }
  .contact { background: var(--lime); color: var(--ink); padding-bottom: 5.5rem; }
  .contact .label-line { background: rgb(9 12 19 / 25%); }
  .contact-content { display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem; margin-top: 3.5rem; }
  .contact h2 { font-size: clamp(5rem, 10vw, 10rem); font-weight: 900; line-height: .86; margin-top: 2rem; }
  .contact-action { padding-bottom: .5rem; }
  .contact-link { display: flex; justify-content: space-between; align-items: center; font-size: clamp(1.2rem, 2.1vw, 2rem); font-weight: 700; letter-spacing: -.04em; border-bottom: 2px solid var(--ink); padding: 1rem 0; margin-top: 2rem; gap: 2rem; }
  .contact-link span { font-size: 2.25rem; transition: transform .2s; }
  .contact-link:hover span { transform: translate(4px, -4px); }
  .contact-email { display: block; font-size: .875rem; margin-top: 1rem; }
  .site-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 2.5rem; padding: 3.5rem var(--gutter); }
  .footer-brand { position: relative; font-size: 1.4rem; line-height: 1; font-weight: 900; letter-spacing: -.055em; padding-right: 2rem; }
  .footer-brand > span { position: absolute; top: 0; right: 0; color: var(--lime); }
  .footer-details { color: var(--muted); font-size: .75rem; line-height: 1.8; }
  .image-credit a { text-decoration: underline; text-underline-offset: 3px; }
  .back-top { font-size: .75rem; letter-spacing: .08em; white-space: nowrap; padding-block: .5rem; }
}

@layer responsive {
  @media (min-width: 1800px) { .hero-inner, .section-shell, .site-header, .site-footer { padding-inline: max(var(--gutter), calc((100vw - 1600px) / 2)); } .world-panel { max-width: 1600px; margin-inline: auto; } }
  @media (max-width: 900px) {
    .site-header { min-height: 90px; }
    .brand { gap: 1rem; }
    nav { gap: 1.5rem; }
    .hero { min-height: 640px; }
    .hero-inner { padding-block: 5rem 8rem; }
    .hero-bottom { align-items: flex-start; }
    .studio-content { gap: 3rem; grid-template-columns: 1fr 1fr; }
    .world-panel { min-height: 520px; }
    .world-content { padding: 2.5rem; }
    .principles article { padding-inline: 1.5rem; }
    .section-shell { padding-block: 4.5rem; }
    .site-footer { flex-wrap: wrap; }
  }
  @media (max-width: 600px) {
    .site-header { min-height: 86px; padding-block: 1rem; gap: 1rem; }
    .brand-mark { font-size: 2.6rem; }
    .brand-name { display: none; }
    nav { gap: 1.15rem; }
    nav a { font-size: .875rem; }
    nav a[href='#approach'] { display: none; }
    .nav-contact span { margin-left: .5rem; }
    .hero { min-height: 670px; min-height: 83svh; }
    .hero-art { background-position: 62% center; }
    .hero-inner { padding-block: 4rem 7rem; }
    .eyebrow { font-size: .75rem; letter-spacing: .06em; gap: .65rem; flex-wrap: wrap; }
    .hero .eyebrow { max-width: 270px; }
    .eyebrow-line { display: none; }
    h1 { font-size: clamp(2.5rem, 9.5vw, 3.55rem); margin-block: 2rem; line-height: 1.04; letter-spacing: -.06em; }
    .hero-bottom { flex-direction: column; gap: 2rem; }
    .hero-bottom p { font-size: 1rem; }
    .button { min-height: 54px; gap: 3rem; padding: .9rem 1.2rem; }
    .hero-caption { bottom: 1.5rem; font-size: .75rem; }
    .hero-caption > span { display: none; }
    .statement-strip { padding: 1rem 1.5rem; justify-content: space-between; gap: 1rem; font-size: .875rem; }
    .statement-strip > span:nth-child(n+5) { display: none; }
    .strip-star { font-size: 1.25rem; }
    .section-shell { padding-block: 3.5rem; }
    .section-label { gap: 1.2rem; }
    .studio-content { grid-template-columns: 1fr; gap: 2rem; padding-top: 2.5rem; }
    .studio h2 { font-size: clamp(2rem, 7.8vw, 3rem); }
    .studio-copy .lead { font-size: 1.125rem; }
    .small-signature { margin-top: 2rem; }
    .world-panel { margin-inline: 1rem; min-height: 470px; }
    .world-content { padding: 2rem 1.5rem; }
    .world-content h2 { margin-top: 5rem; font-size: 2.8rem; }
    .world-index { right: 1.5rem; bottom: 1.5rem; font-size: .75rem; letter-spacing: .05em; }
    .section-intro { flex-direction: column; align-items: flex-start; margin-block: 2.5rem; gap: 1.5rem; }
    .section-intro h2 { font-size: 2.25rem; }
    .principles { grid-template-columns: 1fr; }
    .principles article, .principles article:first-child { border-left: 0; border-top: 1px solid var(--line); padding: 2rem 0; }
    .principles article:last-child { padding-bottom: 0; }
    .principle-symbol { margin: 1rem 0; font-size: 4rem; }
    .circular-symbol { font-size: 3.6rem; }
    .principles p { max-width: none; }
    .contact-content { flex-direction: column; align-items: stretch; gap: 3rem; margin-top: 2.5rem; }
    .contact h2 { font-size: clamp(5rem, 22vw, 8rem); }
    .contact-link { font-size: 1.55rem; margin-top: 1.25rem; }
    .contact-action p br { display: none; }
    .site-footer { padding-block: 2.5rem; gap: 2rem; }
    .footer-details { order: 3; width: 100%; }
  }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
}
