/* ==========================================================================
   RFMANAGER — RESPONSIVE
   All responsive breakpoints, kept in their original cascade order.
   Load this file after sections.css.
   ========================================================================== */
@media ( max-width: 900px ) {

  .container {
    width: min(
          calc(100% - 40px),
          var(--max-width)
        );
  }

  .hero {
    height: 225vh;
  }

  .hero-logo {
    width: 92vw;
    max-height: 86vh;
  }

  .hero-content-layer {
    top: 103vh;
  }

  .hero-content {
    min-height: 122vh;
    padding: 90px
        0
        120px;
  }

  .hero h1 {
    max-width: 850px;
    font-size: clamp(
          58px,
          14vw,
          92px
        );
  }

  .hero-lead {
    max-width: 700px;
    font-size: 20px;
  }

  .hero-details {
    max-width: 650px;
    gap: 24px;
  }

  .hero-tags {
    margin-top: 40px;
  }
}

@media ( max-width: 600px ) {

  .container {
    width: calc(100% - 32px);
  }

  .hero {
    height: 220vh;
  }

  .hero-logo {
    width: 96vw;
    max-height: 82vh;
  }

  .hero-content-layer {
    top: 102vh;
  }

  .hero-content {
    min-height: 118vh;
    padding: 75px
        0
        100px;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .hero h1 {
    max-width: 100%;
    margin-bottom: 30px;
    font-size: clamp(
          50px,
          15vw,
          76px
        );
    line-height: 0.92;
  }

  .hero-lead {
    max-width: 100%;
    font-size: 20px;
    line-height: 1.5;
  }

  .hero-details {
    max-width: 100%;
    gap: 22px;
  }

  .hero-details p {
    font-size: 16px;
  }

  .hero-tags {
    justify-content: center;
    margin-top: 38px;
  }

  .hero-tags span {
    font-size: 10px;
    padding: 8px
        11px;
  }
}

@media ( max-width: 1000px ) {

  .rf-coordination {
    padding: 100px
        0
        90px;
  }

  .rf-section-header {
    margin-bottom: 70px;
  }

  .rf-section-header h2 {
    font-size: clamp(
          55px,
          9vw,
          82px
        );
  }

  .rf-expertise-grid {
    grid-template-columns: repeat(
          2,
          1fr
        );
  }

  .rf-expertise-item {
    min-height: 340px;
  }

  .rf-expertise-item:nth-child(2) {
    border-right: none;
  }

  .rf-expertise-item:nth-child(-n/**/+2) {
    border-bottom: 1px
        solid
        rgba(
          255,
          255,
          255,
          0.25
        );
  }

  .rf-expertise-number {
    margin-bottom: 45px;
  }
}

@media ( max-width: 600px ) {

  .rf-coordination {
    padding: 80px
        0
        70px;
  }

  .rf-section-header {
    margin-bottom: 55px;
  }

  .rf-section-number {
    font-size: 11px;
    margin-bottom: 22px;
  }

  .rf-section-header h2 {
    margin-bottom: 32px;
    font-size: clamp(
          48px,
          14vw,
          68px
        );
  }

  .rf-section-intro {
    font-size: 18px;
  }

  .rf-expertise-grid {
    grid-template-columns: 1fr;
  }

  .rf-expertise-item {
    min-height: auto;
    padding: 32px
        0
        40px;
    border-right: none !important;
    border-bottom: 1px
        solid
        rgba(
          255,
          255,
          255,
          0.25
        );
  }

  .rf-expertise-item:last-child {
    border-bottom: none;
  }

  .rf-expertise-number {
    margin-bottom: 28px;
  }

  .rf-expertise-item h3 {
    font-size: 27px;
  }

  .rf-expertise-item p {
    max-width: 100%;
  }

  .rf-statement {
    padding-top: 70px;
  }

  .rf-statement p {
    font-size: clamp(
          42px,
          12vw,
          60px
        );
  }

  .rf-statement p span {
    display: block;
  }
}

@media (max-width: 1000px) {

  .intercom-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intercom-item {
    min-height: 340px;
  }

  .intercom-item:nth-child(2) {
    border-right: none;
  }

  .intercom-item:nth-child(-n/**/+2) {
    border-bottom: 1px solid
        rgba(29, 62, 112, 0.30);
  }

  .intercom-number {
    margin-bottom: 45px;
  }
}

@media (max-width: 600px) {

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

  .intercom-item {
    min-height: auto;
    padding: 32px
        0
        40px;
    border-right: none !important;
    border-bottom: 1px solid
        rgba(29, 62, 112, 0.30);
  }

  .intercom-item:last-child {
    border-bottom: none;
  }

  .intercom-number {
    margin-bottom: 28px;
  }

  .intercom-item h3 {
    font-size: 27px;
  }

  .intercom-item p {
    max-width: 100%;
  }
}

@media ( max-width: 600px ) {

  .intercom-section {
    padding: 80px
        0
        70px;
  }

  .intercom-label {
    font-size: 11px;
  }

  .intercom-header h2 {
    font-size: clamp(
          48px,
          14vw,
          68px
        );
  }

  .intercom-intro {
    font-size: 18px;
  }

  .intercom-item h3 {
    font-size: 29px;
  }

  .intercom-platforms {
    padding: 60px
        0;
  }

  .intercom-statement {
    padding-top: 70px;
  }

  .intercom-statement p {
    font-size: clamp(
          42px,
          12vw,
          60px
        );
  }

  .intercom-statement p span {
    display: block;
  }
}

@media (max-width: 900px) {

  .rf-transmission-section {
    padding: 100px
        0
        90px;
  }

  .rf-transmission-header {
    margin-bottom: 65px;
  }

  .rf-transmission-header h2 {
    font-size: clamp(
          56px,
          11vw,
          88px
        );
  }

  .rf-transmission-grid {
    grid-template-columns: repeat(
          2,
          minmax(0, 1fr)
        );
  }

  .rf-transmission-item {
    min-height: 280px;
    border-bottom: 1px solid
        rgba(
          255,
          255,
          255,
          0.3
        );
  }

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

  .rf-transmission-item:nth-child(3),
    .rf-transmission-item:nth-child(4) {
    border-bottom: 0;
  }

  .rf-transmission-statement {
    margin-top: 70px;
  }
}

@media (max-width: 600px) {

  .rf-transmission-section {
    padding: 80px
        0
        70px;
  }

  .rf-transmission-header {
    margin-bottom: 50px;
  }

  .rf-transmission-header h2 {
    margin-bottom: 32px;
    font-size: clamp(
          48px,
          15vw,
          68px
        );
  }

  .rf-transmission-intro {
    font-size: 16px;
  }

  .rf-transmission-grid {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .rf-transmission-item,
    .rf-transmission-item:first-child {
    min-height: auto;
    padding: 30px
        0
        38px;
    border-right: 0;
    border-bottom: 1px solid
        rgba(
          255,
          255,
          255,
          0.3
        );
  }

  .rf-transmission-item:last-child {
    border-bottom: 0;
  }

  .rf-transmission-number {
    margin-bottom: 30px;
  }

  .rf-transmission-item h3 {
    font-size: 23px;
  }

  .rf-transmission-statement {
    margin-top: 60px;
  }

  .rf-transmission-statement p {
    font-size: clamp(
          42px,
          12vw,
          60px
        );
  }

  .rf-transmission-statement span {
    display: block;
  }
}

@media ( max-width: 900px ) {

  .experience-section {
    padding: 100px
        0
        90px;
  }

  .experience-header {
    margin-bottom: 75px;
  }

  .experience-years {
    gap: 25px;
  }

  .experience-projects-grid {
    grid-template-columns: 1fr;
  }

  .experience-project,
    .experience-project:nth-child(odd),
    .experience-project:nth-child(even) {
    min-height: auto;
    padding: 32px
        0
        36px;
    border-right: none;
  }

  .contact-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media ( max-width: 600px ) {

  .experience-section {
    padding: 80px
        0
        70px;
  }

  .experience-header h2 {
    font-size: clamp(
          48px,
          14vw,
          68px
        );
  }

  .experience-intro {
    font-size: 20px;
  }

  .experience-years {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    padding: 45px
        0;
  }

  .experience-years-number {
    font-size: clamp(
          110px,
          35vw,
          170px
        );
  }

  .selected-experience {
    padding-top: 70px;
  }

  .experience-project h3 {
    font-size: 30px;
  }

  .experience-collaborations {
    padding-top: 60px;
  }
}

@media (max-width: 700px) {

  .contact-section {
    padding: 80px
        0
        30px;
  }

  .contact-main h2 {
    font-size: clamp(
          48px,
          14vw,
          70px
        );
  }

  .contact-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    margin-top: 70px;
    padding: 38px
        0;
  }

  .contact-location {
    flex-direction: column;
    gap: 0;
  }

  .contact-link {
    flex-wrap: wrap;
    gap: 10px
        14px;
  }

  .contact-link-label {
    width: 100%;
    font-size: 24;
  }

  .contact-email {
    font-size: clamp(
          23px,
          7vw,
          32px
        );
  }

  .contact-footer {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 600px) {

  .hero-content-card {
    padding: 40px
        22px
        35px;
  }
}

/* ==========================================================================
   DESKTOP COMPACT SCALE
   Reproduces approximately Safari at two zoom-out steps (about 80%)
   while preserving the original mobile and tablet layouts.
   ========================================================================== */

@media (min-width: 1001px) {

  .container {
    width: min(
      calc(100% - 64px),
      1008px
    );
  }

  /* HERO */

  .hero-logo {
    width: min(82vw, 920px);
    max-height: 72vh;
  }

  .hero-content {
    padding: 80px 0 112px;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 21px;
  }

  .hero h1 {
    max-width: 880px;
    margin-bottom: 32px;
    font-size: clamp(56px, 8.5vw, 106px);
  }

  .hero-lead {
    max-width: 640px;
    margin-bottom: 26px;
    font-size: 18px;
  }

  .hero-details {
    gap: 18px;
    max-width: 600px;
  }

  .hero-details p {
    font-size: 16px;
  }

  .hero-description {
    max-width: 600px;
  }

  .hero-tags {
    gap: 8px;
    margin-top: 36px;
  }

  .hero-tags span {
    padding: 7px 11px;
    font-size: 9px;
  }

  .hero-content-card {
    max-width: 840px;
    padding: 56px 56px 48px;
  }

  /* RF COORDINATION */

  .rf-coordination {
    padding: 104px 0 88px;
  }

  .rf-section-header {
    max-width: 840px;
    margin-bottom: 72px;
  }

  .rf-section-number {
    margin-bottom: 22px;
    font-size: 11px;
  }

  .rf-section-header h2 {
    max-width: 840px;
    margin-bottom: 36px;
    font-size: clamp(52px, 7vw, 86px);
  }

  .rf-section-intro {
    max-width: 624px;
    font-size: 17px;
  }

  .rf-expertise-item {
    min-height: 312px;
    padding: 28px 26px 32px;
  }

  .rf-expertise-number {
    margin-bottom: 52px;
    font-size: 10px;
  }

  .rf-expertise-item h3 {
    margin-bottom: 19px;
    font-size: 23px;
  }

  .rf-expertise-item p {
    max-width: 216px;
    font-size: 16px;
  }

  .rf-statement {
    padding-top: 80px;
    padding-bottom: 16px;
  }

  .rf-statement p {
    max-width: 880px;
    font-size: clamp(37px, 5.5vw, 66px);
  }

  /* INTERCOM */

  .intercom-section {
    padding: 112px 0 96px;
  }

  .intercom-header {
    max-width: 840px;
    margin-bottom: 80px;
  }

  .intercom-label {
    margin-bottom: 22px;
    font-size: 11px;
  }

  .intercom-header h2 {
    max-width: 880px;
    margin-bottom: 36px;
    font-size: clamp(56px, 8vw, 96px);
  }

  .intercom-intro {
    max-width: 640px;
    font-size: 17px;
  }

  .intercom-item {
    min-height: 312px;
    padding: 28px 26px 32px;
  }

  .intercom-number {
    margin-bottom: 44px;
    font-size: 10px;
  }

  .intercom-item h3 {
    max-width: 344px;
    margin-bottom: 18px;
    font-size: 27px;
  }

  .intercom-item p {
    max-width: 376px;
    font-size: 16px;
  }

  .intercom-platforms {
    padding: 64px 0;
  }

  .intercom-platforms > p {
    margin-bottom: 20px;
    font-size: 16px;
  }

  .intercom-platform-list {
    gap: 16px;
  }

  .intercom-platform-list span {
    padding: 10px 14px;
    font-size: 10px;
  }

  .intercom-statement {
    padding-top: 80px;
  }

  .intercom-statement p {
    max-width: 920px;
    font-size: clamp(38px, 5.5vw, 67px);
  }

  /* RF TRANSMISSION */

  .rf-transmission-section {
    padding: 112px 0 96px;
  }

  .rf-transmission-header {
    max-width: 720px;
    margin-bottom: 72px;
  }

  .rf-transmission-label {
    margin-bottom: 22px;
    font-size: 10px;
  }

  .rf-transmission-header h2 {
    max-width: 720px;
    margin-bottom: 34px;
    font-size: clamp(51px, 7vw, 88px);
  }

  .rf-transmission-intro {
    max-width: 608px;
    margin-bottom: 19px;
    font-size: 16px;
  }

  .rf-transmission-grid {
    margin-top: 56px;
  }

  .rf-transmission-item {
    min-height: 256px;
    padding: 27px 27px 34px;
  }

  .rf-transmission-item:first-child {
    padding-left: 22px;
  }

  .rf-transmission-number {
    margin-bottom: 46px;
    font-size: 9px;
  }

  .rf-transmission-item h3 {
    margin-bottom: 19px;
    font-size: 20px;
  }

  .rf-transmission-item p {
    font-size: 16px;
  }

  .rf-transmission-statement {
    margin-top: 72px;
  }

  .rf-transmission-statement p {
    max-width: 880px;
    font-size: clamp(38px, 5.5vw, 67px);
  }

  /* EXPERIENCE */

  .experience-section {
    padding: 112px 0 96px;
  }

  .experience-header {
    max-width: 800px;
    margin-bottom: 80px;
  }

  .experience-label {
    margin-bottom: 22px;
    font-size: 11px;
  }

  .experience-header h2 {
    max-width: 840px;
    margin-bottom: 36px;
    font-size: clamp(54px, 7.5vw, 96px);
  }

  .experience-intro {
    max-width: 640px;
    margin-bottom: 19px;
    font-size: 16px;
  }

  .experience-years {
    gap: 28px;
    padding: 48px 0;
  }

  .experience-years-number {
    font-size: clamp(96px, 18vw, 200px);
  }

  .experience-years-text {
    padding-bottom: 6px;
  }

  .experience-years-text span:first-child,
  .experience-years-text span:last-child {
    font-size: clamp(19px, 3vw, 34px);
  }

  .selected-experience {
    padding-top: 80px;
  }

  .selected-experience-label {
    margin-bottom: 28px;
    font-size: 10px;
  }

  .experience-project {
    min-height: 144px;
    padding: 30px 36px 34px 0;
  }

  .experience-project:nth-child(even) {
    padding-left: 36px;
  }

  .experience-project h3 {
    margin-bottom: 10px;
    font-size: clamp(22px, 3vw, 34px);
  }

  .experience-project p {
    font-size: 16px;
  }

  .experience-collaborations {
    padding-top: 64px;
  }

  .experience-collaborations-label {
    margin-bottom: 19px;
    font-size: 10px;
  }

  .experience-collaboration-list {
    gap: 10px;
  }

  .experience-collaboration-list span {
    padding: 9px 13px;
    font-size: 10px;
  }

  /* CONTACT */

  .contact-section {
    padding: 96px 0 28px;
  }

  .contact-main {
    max-width: 920px;
  }

  .contact-main > .contact-label,
  .contact-label {
    margin-bottom: 24px;
    font-size: 11px;
  }

  .contact-main h2 {
    font-size: clamp(56px, 8vw, 100px);
  }

  .contact-bottom,
  .contact-line {
    gap: 40px;
    margin-top: 80px;
    padding: 36px 0;
  }

  .contact-location,
  .contact-location p {
    font-size: 14px;
  }

  .contact-email a {
    font-size: clamp(20px, 4vw, 42px);
  }

  .contact-email {
    font-size: 16px;
  }

  .contact-arrow {
    font-size: 26px;
  }

  .contact-footer {
    gap: 24px;
    padding-top: 22px;
  }

  .contact-footer p {
    font-size: 14px;
  }
}

/* ==========================================================================
   MOBILE FIX — HERO & CONTACT
   Corrects oversized typography, justified text spacing and contact overflow.
   Loaded last so these rules take priority over the earlier mobile rules.
   ========================================================================== */

@media (max-width: 600px) {

  /* HERO */

  .hero-content {
    padding: 58px 0 82px;
  }

  .hero-content-card {
    padding: 34px 20px 32px;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 9px;
  }

  .hero h1 {
    margin-bottom: 26px;
    font-size: clamp(40px, 11.5vw, 56px);
    line-height: 0.94;
    letter-spacing: -0.055em;
  }

  .hero-lead {
    margin-bottom: 26px;
    font-size: 18px;
    line-height: 1.48;
  }

  .hero-details {
    align-items: stretch;
    gap: 24px;
    text-align: left;
  }

  .hero-details p,
  .hero-description {
    max-width: none;
    font-size: 16px;
    line-height: 1.58;
    text-align: left;
  }

  .hero-location {
    text-align: center;
  }

  .hero-tags {
    gap: 8px;
    margin-top: 30px;
  }

  .hero-tags span {
    padding: 7px 9px;
    font-size: 9px;
  }

  /* CONTACT */

  .contact-section {
    padding: 68px 0 26px;
    overflow: hidden;
  }

  .contact-main h2 {
    font-size: clamp(42px, 11.5vw, 58px);
    line-height: 0.92;
  }

  .contact-line {
    width: 100%;
    gap: 28px;
    margin-top: 56px;
    padding: 32px 0;
  }

  .contact-location {
    font-size: 16px;
    line-height: 1.45;
  }

  .contact-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    gap: 10px;
  }

  .contact-link-label {
    grid-column: 1 / -1;
    width: auto;
    font-size: 14px;
  }

  .contact-email {
    min-width: 0;
    max-width: 100%;
    font-size: clamp(16px, 4.7vw, 21px);
    line-height: 1.3;
    letter-spacing: 0.08em;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .contact-arrow {
    font-size: 24px;
  }

  .contact-footer {
    gap: 10px;
    padding-top: 24px;
  }

  .contact-footer p {
    font-size: 14px;
    line-height: 1.45;
  }
}

/* ==========================================================================
   MOBILE FIX V2 — HERO NATURAL HEIGHT
   The mobile introduction became taller after removing justified text.
   The hero now follows its real content height instead of ending at 220vh.
   ========================================================================== */

@media (max-width: 600px) {

  .hero {
    height: auto;
    min-height: 0;
  }

  .hero-logo-layer {
    position: sticky;
    top: 0;
    height: 100vh;
  }

  .hero-content-layer {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
  }

  .hero-content {
    min-height: 0;
  }
}

/* ==========================================================================
   TABLET FIX — HERO NATURAL HEIGHT
   Targets touch tablets (including iPad portrait and landscape) without
   changing the validated desktop layout.
   ========================================================================== */

@media (min-width: 601px) and (max-width: 1200px) and (hover: none) and (pointer: coarse) {

  .hero {
    height: auto;
    min-height: 0;
  }

  .hero-logo-layer {
    position: sticky;
    top: 0;
    height: 100vh;
  }

  .hero-content-layer {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
  }

  .hero-content {
    min-height: 0;
    padding: 72px 0 96px;
  }

  .hero-content-card {
    max-width: 860px;
    padding: 54px 52px 48px;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 15px;
  }

  .hero h1 {
    max-width: 860px;
    margin-bottom: 30px;
    font-size: clamp(54px, 8vw, 84px);
    line-height: 0.92;
  }

  .hero-lead {
    max-width: 720px;
    margin-bottom: 28px;
    font-size: 19px;
  }

  .hero-details {
    max-width: 720px;
    gap: 24px;
    text-align: left;
  }

  .hero-details p,
  .hero-description {
    max-width: none;
    font-size: 17px;
    line-height: 1.58;
    text-align: left;
  }

  .hero-location {
    text-align: center;
  }
}

/* ==========================================================================
   TABLET FIX V2 — WIDTH-BASED OVERRIDE
   iPad simulators do not always expose (hover: none) / (pointer: coarse).
   This rule is deliberately placed last and therefore overrides the
   desktop compact block between 1001px and 1200px.
   ========================================================================== */

@media (min-width: 601px) and (max-width: 1200px) {

  .hero {
    height: auto;
    min-height: 0;
  }

  .hero-logo-layer {
    position: sticky;
    top: 0;
    height: 100vh;
  }

  .hero-content-layer {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
  }

  .hero-content {
    min-height: 0;
    padding: 64px 0 84px;
  }

  .hero-content-card {
    max-width: 860px;
    padding: 48px 46px 44px;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 14px;
  }

  .hero h1 {
    max-width: 820px;
    margin-bottom: 28px;
    font-size: clamp(50px, 7.2vw, 76px);
    line-height: 0.93;
    letter-spacing: -0.055em;
  }

  .hero-lead {
    max-width: 700px;
    margin-bottom: 26px;
    font-size: 18px;
    line-height: 1.5;
  }

  .hero-details {
    align-items: stretch;
    max-width: 700px;
    gap: 22px;
    text-align: left;
  }

  .hero-details p,
  .hero-description {
    max-width: none;
    font-size: 16px;
    line-height: 1.58;
    text-align: left;
  }

  .hero-location {
    text-align: center;
  }
}

