/* NOCTURNE phone-only presentation layer.
   Everything in this file is scoped to narrow viewports so desktop/laptop presentation is unchanged. */

@media (max-width: 700px) {
  html {
    scroll-padding-top: 76px;
  }

  .site-header {
    min-height: 68px;
    gap: .75rem;
    padding: .58rem max(1rem, env(safe-area-inset-right)) .58rem max(1rem, env(safe-area-inset-left));
    background: linear-gradient(180deg, rgba(3,3,3,.9), rgba(3,3,3,.56));
    backdrop-filter: blur(15px);
  }

  .site-header.scrolled {
    background: rgba(3,3,3,.94);
  }

  .brand {
    gap: .58rem;
    min-width: 0;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand::before {
    width: 52px;
    height: 52px;
    left: -5px;
  }

  .brand span {
    font-size: 1.08rem;
    letter-spacing: .14em;
    white-space: nowrap;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 0;
    border: 1px solid rgba(255,202,97,.28);
    background: rgba(8,6,4,.68);
    color: var(--champagne);
    font-size: 1.15rem;
    line-height: 1;
  }

  .nav {
    inset: 68px 0 auto 0;
    max-height: calc(100svh - 68px);
    overflow-y: auto;
    gap: 0;
    padding: .8rem 1rem max(1rem, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(216,154,43,.08);
    border-bottom: 1px solid rgba(216,154,43,.28);
    background:
      radial-gradient(circle at 84% 0, rgba(216,154,43,.10), transparent 17rem),
      rgba(3,3,3,.985);
    box-shadow: 0 24px 70px rgba(0,0,0,.5);
    backdrop-filter: blur(22px);
  }

  .nav a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: .8rem .3rem;
    border-bottom: 1px solid rgba(216,154,43,.11);
    color: #d6c7ae;
    font-size: .7rem;
    letter-spacing: .17em;
  }

  .nav .nav-cta {
    justify-content: center;
    min-height: 52px;
    margin-top: .85rem;
    padding: .8rem 1rem;
    border: 1px solid rgba(255,202,97,.48);
    background: linear-gradient(110deg, rgba(184,121,29,.12), rgba(255,226,160,.06));
    color: var(--gold-bright);
  }

  .hero {
    min-height: 100svh;
    place-items: end center;
    padding: 6.2rem 1.05rem 4.4rem;
  }

  .hero-media {
    inset: 0;
    opacity: .62;
    background-position: 66% 8%;
    filter: saturate(.7) contrast(1.1) brightness(.78);
    transform-origin: 66% 32%;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,.28) 22%, rgba(0,0,0,.7) 54%, rgba(0,0,0,.97) 91%),
      linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.28) 72%, rgba(0,0,0,.62));
  }

  .hero::after {
    background:
      radial-gradient(circle 300px at 72% 27%, rgba(255,198,84,.12), rgba(216,154,43,.035) 38%, transparent 74%),
      linear-gradient(115deg, transparent 32%, rgba(255,214,127,.02) 48%, transparent 64%);
  }

  .hero-inner {
    width: 100%;
    margin: 0;
  }

  .hero-copy {
    max-width: 100%;
    margin-top: 0;
    padding-left: 0;
  }

  .hero-copy::before {
    display: none;
  }

  .hero-copy::after {
    left: -12%;
    top: 25%;
    width: 112%;
    height: 72%;
    background: radial-gradient(ellipse, rgba(0,0,0,.48), transparent 70%);
    filter: blur(24px);
  }

  .eyebrow {
    max-width: 92%;
    margin: 0 0 .75rem;
    font-size: .6rem;
    line-height: 1.55;
    letter-spacing: .22em;
  }

  .hero-lockup {
    width: 104%;
    margin: -.15rem 0 .45rem -2%;
  }

  .hero-tagline {
    max-width: 21ch;
    margin: .05rem 0 .85rem;
    font-size: clamp(2rem, 10.2vw, 2.7rem);
    line-height: 1.01;
    letter-spacing: -.025em;
  }

  .hero-sub {
    max-width: 36rem;
    margin: 0;
    color: #c8baa5;
    font-size: .91rem;
    line-height: 1.72;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: .65rem;
    margin-top: 1.55rem;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 52px;
    padding: .85rem 1rem;
    font-size: .66rem;
    letter-spacing: .15em;
  }

  .hero-note {
    max-width: 34rem;
    margin: .9rem 0 0;
    color: #8e8272;
    font-size: .59rem;
    line-height: 1.55;
    letter-spacing: .075em;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 4.7rem 1.1rem;
  }

  .section-kicker {
    gap: .65rem;
    margin-bottom: .95rem;
    font-size: .59rem;
    line-height: 1.4;
    letter-spacing: .27em;
  }

  .section-kicker::before {
    width: 22px;
  }

  .section-title {
    font-size: clamp(2.75rem, 13.7vw, 4.15rem);
    line-height: .93;
    letter-spacing: -.02em;
  }

  .lead {
    font-size: 1.35rem;
    line-height: 1.34;
  }

  .manifesto-grid {
    gap: 1.8rem;
  }

  .manifesto-copy {
    padding-top: 0;
  }

  .manifesto-copy .lead {
    margin-bottom: 1.25rem;
  }

  .manifesto-copy p {
    margin-bottom: 1rem;
    line-height: 1.74;
  }

  .experience-grid {
    margin-top: 2.45rem;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
  }

  .experience-card {
    min-height: 0;
    padding: 1.55rem 1.35rem 1.7rem;
  }

  .experience-card .num {
    font-size: 2.1rem;
  }

  .experience-card h3 {
    margin: .45rem 0 .4rem;
    font-size: 1.85rem;
  }

  .experience-card p {
    margin-bottom: 0;
    font-size: .86rem;
    line-height: 1.7;
  }

  .details-strip {
    padding: .95rem 0;
  }

  .marquee {
    gap: 2rem;
    font-size: .56rem;
    letter-spacing: .24em;
  }

  .invite-process .lead {
    margin-top: 1.25rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 2.4rem;
  }

  .process-step {
    display: grid;
    grid-template-columns: 42px minmax(0,1fr);
    column-gap: .8rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(216,154,43,.25);
  }

  .process-step:last-child {
    border-bottom: 1px solid rgba(216,154,43,.18);
  }

  .process-step span {
    grid-column: 1;
    grid-row: 1 / 3;
    padding-top: .05rem;
    font-size: 1.35rem;
  }

  .process-step h3 {
    grid-column: 2;
    margin: 0 0 .25rem;
    font-size: 1.48rem;
  }

  .process-step p {
    grid-column: 2;
    margin: 0;
    font-size: .82rem;
    line-height: 1.66;
  }

  .apply-grid {
    gap: 2rem;
  }

  .apply-copy p {
    max-width: none;
    line-height: 1.72;
  }

  .application-form {
    padding: 1.25rem 1rem;
    box-shadow: 0 24px 65px rgba(0,0,0,.24);
  }

  .form-section {
    margin-bottom: 1.55rem;
    padding-bottom: 1.55rem;
  }

  .form-section h3 {
    margin-bottom: 1.1rem;
    font-size: 1.75rem;
  }

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

  .field.full {
    grid-column: auto;
  }

  .field label {
    font-size: .66rem;
    letter-spacing: .115em;
  }

  input,
  textarea,
  select {
    min-height: 50px;
    padding: .9rem .9rem;
    font-size: 16px;
  }

  textarea {
    min-height: 120px;
  }

  .check-row {
    display: grid;
    grid-template-columns: 21px minmax(0,1fr);
    gap: .7rem;
    margin: 1.05rem 0;
    font-size: .79rem;
    line-height: 1.58;
  }

  .check-row input {
    width: 20px;
    height: 20px;
    min-height: 0;
    margin-top: .08rem;
    padding: 0;
  }

  .form-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: .7rem;
  }

  .form-actions .btn {
    width: 100%;
    min-height: 52px;
  }

  .form-status {
    width: 100%;
    text-align: center;
  }

  #faq .section-title {
    margin-bottom: 0;
  }

  .faq-list {
    margin-top: 2.4rem;
  }

  .faq-item button {
    align-items: flex-start;
    gap: .8rem;
    padding: 1.25rem .1rem;
  }

  .faq-item button span:first-child {
    font-size: 1.3rem;
    line-height: 1.22;
  }

  .faq-item .plus {
    flex: 0 0 auto;
    margin-top: -.05rem;
  }

  .faq-answer p {
    padding-bottom: 1.3rem;
    font-size: .86rem;
    line-height: 1.7;
  }

  .footer {
    padding: 4rem 1.1rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.25rem;
  }

  .footer-brand,
  .footer-cta {
    grid-column: 1 / -1;
  }

  .footer-brand-lockup {
    gap: .8rem;
  }

  .footer-mark {
    width: 60px;
    height: 60px;
  }

  .footer-wordmark {
    font-size: 1.62rem;
  }

  .footer-summary {
    margin: 1.1rem 0 1.1rem;
    font-size: .82rem;
    line-height: 1.7;
  }

  .footer-column h4,
  .footer-cta h4 {
    margin-bottom: .9rem;
  }

  .footer-column a {
    margin: .58rem 0;
    font-size: .75rem;
    line-height: 1.45;
  }

  .footer-cta {
    display: block;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(216,154,43,.1);
  }

  .footer-cta p {
    margin-bottom: 1rem;
    font-size: 1.15rem;
  }

  .footer-cta .btn {
    width: 100%;
    min-height: 50px;
  }

  .footer-bottom {
    margin-top: 2.8rem;
    gap: .55rem;
    font-size: .55rem;
    line-height: 1.65;
  }
}

@media (max-width: 380px) {
  .brand span {
    font-size: .98rem;
    letter-spacing: .11em;
  }

  .hero {
    padding-inline: .85rem;
  }

  .hero-tagline {
    font-size: clamp(1.85rem, 10.2vw, 2.35rem);
  }

  .section {
    padding-inline: .95rem;
  }

  .section-title {
    font-size: clamp(2.55rem, 13.4vw, 3.7rem);
  }

  .footer {
    padding-inline: .95rem;
  }
}
