/* ==========================================================================
   CO-DE-SIGN / BEHIND THE MARK — V5

   Used by identity.html only. Sections appear in the same order as the page.
   Global brand colors and navbar/footer styles come from styles.css.

   KEY LAYOUT RULE:
   The introduction fills the viewport BELOW the fixed navbar.
   The orange logo on charcoal begins only once the visitor scrolls.
   ========================================================================== */

/* ===================
   00 / IDENTITY PAGE SHARED UTILITIES
   =================== */

.identity-space {
  padding-block: clamp(88px, 10vw, 160px);
}

.identity-section-tag {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .15em;
  color: #6c6a65;
}

.identity-section-tag.orange {
  color: var(--orange);
}

/* ===================
   01 / THE MARK HERO — COMPLETE FIRST VIEWPORT
   =================== */

.identity-hero {
  /* Occupy ALL space below the fixed navbar. No cut-off orange logo at the fold. */
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100svh - var(--nav-height));
  min-height: calc(100dvh - var(--nav-height));

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: clamp(34px, 5.2vh, 94px);
  padding-bottom: clamp(22px, 3.5vh, 55px);
}

.story-topline {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  font-size: 11px;
  letter-spacing: .15em;
  font-weight: 750;
}

.story-topline span:last-child {
  color: #8d8b85;
}

.identity-hero h1 {
  /* Two-line editorial title; shrink slightly on shorter monitors. */
  font-size: clamp(64px, min(8.4vw, 12vh), 132px);
  line-height: 0.99;
  font-weight: 650;
  letter-spacing: -0.085em;
  margin: clamp(38px, 8vh, 110px) 0 clamp(22px, 4.5vh, 74px);
}

.identity-hero h1 em, .identity-intro h2 em, .meaning-header h2 em, .exploration-head h2 em, .identity-motion-head h2 em, .identity-outcome h2 em {
  font-style: normal;
}

.identity-hero-bottom {
  margin-top: auto;
  padding-bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: flex-end;
}

.identity-hero-bottom p {
  max-width: 790px;
  font-size: clamp(19px, 2.1vw, 31px);
  line-height: 1.4;
  letter-spacing: -.05em;
  margin: 0;
}

.identity-hero-bottom span {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .14em;
  color: #777671;
}

/* ===================
   02 / FULL LOGO REVEAL — SECOND VIEWPORT
   =================== */

.identity-hero-art {
  width: 100%;
  background: var(--charcoal);
  color: var(--warm);
  position: relative;
  padding: clamp(30px, 4vw, 68px) var(--pad) 30px;
}

.identity-hero-mark {
  min-height: min(640px, 47vw);
  display: grid;
  place-items: center;
}

.identity-hero-mark img {
  width: min(720px, 72vw);
  height: auto;
}

.identity-art-foot {
  max-width: var(--max);
  margin-inline: auto;
  border-top: 1px solid #5b5a54;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  font-size: 10px;
  letter-spacing: .14em;
  font-weight: 750;
  color: #AFAEA9;
}

/* ===================
   03 / THE STARTING POINT
   =================== */

.identity-intro-main {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 6%;
  margin-top: 44px;
}

.identity-intro h2,.meaning-header h2,.exploration-head h2,.identity-motion-head h2,.identity-outcome h2 {
  font-size: clamp(66px,6.3vw,99px);
  letter-spacing: -.08em;
  font-weight: 650;
  line-height: 1.04;
  margin: 0;
}

.identity-intro-copy {
  padding-top: 13px;
}

.identity-intro-copy p {
  font-size: 19px;
  line-height: 1.7;
  color: #44433F;
  max-width: 580px;
  margin: 0 0 28px;
}

/* ===================
   04 / VISUAL LANGUAGE — SYMBOLISM
   =================== */

.identity-meanings {
  background: #E5E1D9;
}

.meaning-header {
  display: grid;
  grid-template-columns: 58% 1fr;
  gap: 6%;
  align-items: end;
  margin: 41px 0 65px;
}

.meaning-header p {
  max-width: 500px;
  margin: 0 0 10px;
  font-size: 19px;
  color: #4d4b45;
  line-height: 1.6;
}

.meaning-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 0;
  border-top: 1px solid #b9b5ad;
}

.meaning-item {
  border-right: 1px solid #b9b5ad;
  padding: 32px 26px 34px;
  min-height: 280px;
}

.meaning-item:first-child {
  padding-left: 0;
}

.meaning-item:last-child {
  border-right: 0;
}

.meaning-item > span {
  font-size: 10px;
  letter-spacing: .15em;
  color: var(--orange);
  font-weight: 750;
}

.meaning-item h3 {
  font-size: clamp(43px,4vw,67px);
  letter-spacing: -.08em;
  margin: 38px 0 28px;
  font-weight: 650;
  line-height: 1;
}

.meaning-item p {
  font-size: 15px;
  line-height: 1.6;
  color: #4c4944;
  margin: 0;
  max-width: 285px;
}

/* ===================
   05 / THREE ACTUAL LOGO ITERATIONS
   =================== */

.exploration-head {
  display: grid;
  grid-template-columns: 58% 1fr;
  align-items: end;
  gap: 4%;
  padding: 35px 0 74px;
}

.exploration-head > p {
  font-size: 18px;
  line-height: 1.6;
  color: #54524b;
  margin: 0 0 7px;
}

.exploration-row {
  display: grid;
  grid-template-columns: minmax(0,1.07fr) minmax(0,.93fr);
  gap: min(8vw,100px);
  padding-block: 51px;
  border-top: 1px solid #B8B5AE;
  align-items: center;
}

.exploration-row figure {
  background: #fff;
  min-height: 410px;
  margin: 0;
  padding: 50px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.exploration-row img {
  object-fit: contain;
  width: 100%;
  max-height: 305px;
  min-height: 170px;
  margin: auto 0;
}

.exploration-row figcaption {
  font-size: 10px;
  letter-spacing: .15em;
  color: #706E68;
  font-weight: 700;
  margin-top: 30px;
}

.exploration-description > span {
  font-size: 10px;
  font-weight: 750;
  color: var(--orange);
  letter-spacing: .16em;
}

.exploration-description h3 {
  font-size: clamp(43px,4vw,65px);
  letter-spacing: -.07em;
  font-weight: 650;
  margin: 22px 0 25px;
}

.exploration-description p {
  font-size: 18px;
  line-height: 1.65;
  max-width: 515px;
  color: #4e4d48;
  margin: 0 0 35px;
}

.exploration-description .exploration-decision {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
  color: #7A7770;
  border-top: 1px solid #D0CCC3;
  padding-top: 19px;
  margin-bottom: 0;
}

/* ===================
   06 / OPTION B RESOLUTION
   =================== */

.identity-resolution {
  background: var(--charcoal);
  color: var(--warm);
}

.identity-resolution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6%;
  align-items: center;
}

.identity-resolution-copy h2 {
  font-size: clamp(61px,6.3vw,95px);
  letter-spacing: -.08em;
  font-weight: 650;
  line-height: 1.04;
  margin: 35px 0;
}

.identity-resolution-copy p {
  color: #BCBAB3;
  font-size: 18px;
  max-width: 560px;
  line-height: 1.65;
  margin: 0 0 23px;
}

.resolution-spec {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 23px;
  margin-top: 37px;
  color: #BBB9B4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}

.resolution-spec b {
  display: block;
  color: var(--warm);
  font-size: 15px;
  letter-spacing: 0;
  margin-bottom: 7px;
}

.resolution-logo {
  min-height: 540px;
  display: grid;
  justify-items: center;
  align-content: center;
  background: var(--warm);
  color: var(--charcoal);
  padding: 50px 40px;
}

.resolution-logo img {
  width: 100%;
}

.resolution-logo span {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .15em;
  margin-top: 70px;
}

/* ===================
   07 / MOTION DEMONSTRATION
   =================== */

.identity-motion-head {
  display: grid;
  grid-template-columns: 58% 1fr;
  gap: 5%;
  align-items: end;
  margin: 40px 0 60px;
}

.identity-motion-head p {
  font-size: 19px;
  line-height: 1.64;
  color: #4B4B47;
  margin: 0 0 12px;
}

.motion-demo {
  position: relative;
  background: var(--charcoal);
  min-height: 520px;
  color: var(--warm);
  padding: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.motion-demo-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.motion-demo-img {
  position: relative;
  width: min(400px,67vw);
}

.motion-demo-img img {
  width: 100%;
}

.motion-demo-img span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-size: clamp(30px,4vw,59px);
  letter-spacing: -.07em;
  font-weight: 650;
}

.motion-demo-inner p {
  letter-spacing: .23em;
  color: #BBB9B3;
  font-size: 10px;
  margin-top: 30px;
  font-weight: 750;
}

.motion-button {
  position: absolute;
  bottom: 25px;
  right: 25px;
  padding: 21px 24px;
  background: var(--orange);
  color: var(--charcoal);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .07em;
  display: flex;
  align-items: center;
  gap: 34px;
  transition: background .2s ease;
}

.motion-button:hover {
  background: var(--warm);
}

/* ===================
   08 / OUTCOME + BACK LINK
   =================== */

.identity-outcome {
  border-top: 1px solid var(--hairline);
}

.identity-outcome h2 {
  margin: 43px 0 35px;
}

.identity-outcome > p {
  max-width: 885px;
  font-size: clamp(20px,2vw,27px);
  line-height: 1.65;
  letter-spacing: -.025em;
  color: #494843;
}

.story-back {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
  display: inline-flex;
  gap: 45px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--orange);
  color: var(--orange);
  margin-top: 34px;
}

.primary-nav [aria-current="page"] {
  color: var(--orange);
}

/* ===================
   09 / RESPONSIVE IDENTITY PAGE
   =================== */

@media (max-width: 1100px) {
  .meaning-grid {
    grid-template-columns: repeat(2,1fr);
    border: 0;
  }

  .meaning-item {
    border-top: 1px solid #B9B5AD;
  }

  .meaning-item:nth-child(2) {
    border-right: 0;
  }

  .exploration-row {
    gap: 5%;
  }

  .exploration-row figure {
    min-height: 350px;
  }
}

@media (max-width:760px) {
  .identity-space {
    padding-block: 85px;
  }

  .identity-hero {
    /* A complete opening screen even on mobile. */
    min-height: calc(100svh - var(--nav-height));
    min-height: calc(100dvh - var(--nav-height));
    padding-top: clamp(32px, 5vh, 48px);
    padding-bottom: clamp(24px, 4vh, 40px);
  }

  .story-topline {
    font-size: 9px;
  }

  .story-topline span:last-child {
    display: none;
  }

  .identity-hero h1 {
    font-size: clamp(52px,11.5vw,82px);
    margin: clamp(60px, 11vh, 100px) 0 clamp(24px, 5vh, 48px);
  }

  .identity-hero-bottom {
    display: block;
    padding-bottom: 0;
  }

  .identity-hero-bottom p {
    font-size: 18px;
    margin-bottom: 33px;
  }

  .identity-hero-bottom span {
    font-size: 9px;
  }

  .identity-hero-art {
    padding: 28px 22px 24px;
  }

  .identity-hero-mark {
    min-height: 330px;
  }

  .identity-hero-mark img {
    width: 87vw;
  }

  .identity-art-foot {
    font-size: 9px;
  }

  .identity-art-foot span:last-child {
    display: none;
  }

  .identity-intro-main,.meaning-header,.exploration-head,.identity-resolution-grid,.identity-motion-head {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .identity-intro h2,.meaning-header h2,.exploration-head h2,.identity-motion-head h2,.identity-outcome h2 {
    font-size: clamp(49px,11vw,70px);
  }

  .identity-intro-copy p,.meaning-header p,.exploration-head p,.identity-motion-head p {
    font-size: 17px;
  }

  .meaning-header {
    margin-bottom: 45px;
  }

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

  .meaning-item {
    padding: 24px 15px 30px;
    min-height: 244px;
  }

  .meaning-item h3 {
    font-size: 47px;
    margin: 34px 0 20px;
  }

  .meaning-item p {
    font-size: 13px;
  }

  .exploration-head {
    padding-bottom: 43px;
  }

  .exploration-row {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 35px 65px;
  }

  .exploration-row figure {
    min-height: 288px;
    padding: 26px 20px 20px;
  }

  .exploration-row img {
    max-height: 220px;
    min-height: 135px;
  }

  .exploration-description h3 {
    font-size: clamp(38px,10vw,50px);
  }

  .exploration-description p {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .identity-resolution-copy h2 {
    font-size: clamp(48px,11vw,70px);
  }

  .identity-resolution-copy p {
    font-size: 16px;
  }

  .resolution-logo {
    min-height: 325px;
    padding: 35px;
  }

  .resolution-logo span {
    margin-top: 36px;
  }

  .identity-motion-head {
    margin-bottom: 40px;
  }

  .motion-demo {
    min-height: 415px;
    padding: 24px 21px 102px;
  }

  .motion-demo-inner p {
    font-size: 8px;
  }

  .motion-button {
    bottom: 18px;
    left: 18px;
    right: 18px;
    justify-content: space-between;
    font-size: 10px;
  }

  .identity-outcome>p {
    font-size: 19px;
  }
}

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

  .meaning-item {
    border-right: 0;
    padding: 23px 0;
    min-height: 170px;
  }

  .identity-hero h1 {
    font-size: 49px;
  }
}

/* 09.4 / SHORT SCREENS: TIGHTER TITLE SPACING, NOT A CROPPED NEXT PANEL */
@media (min-width: 761px) and (max-height: 750px) {
  .identity-hero {
    padding-top: 29px;
    padding-bottom: 26px;
  }

  .identity-hero h1 {
    font-size: clamp(62px, min(7.2vw, 11vh), 103px);
    margin: 40px 0 24px;
  }

  .identity-hero-bottom p {
    font-size: clamp(18px, 1.8vw, 24px);
  }
}

@media (max-width: 760px) and (max-height: 620px) {
  .identity-hero h1 {
    font-size: clamp(43px, 10vw, 62px);
    margin: 34px 0 22px;
  }
}
