/* TAS News & Insights page */

:root {
  --tas-gold: #f3b20c;
  --tas-text-muted: #9ca3af;
  --tas-text-light: #d1d5db;
  --tas-nav-pill: #0d0d0d;
  --tas-max: 1200px;
  --tas-font-display: "Clash Grotesk", "Segoe UI", system-ui, sans-serif;
  --tas-font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body.tas-news-page {
  margin: 0;
  min-height: 100vh;
  color: #fff;
  font-family: var(--tas-font-body);
  -webkit-font-smoothing: antialiased;
  background: #000;
  overflow-x: hidden;
}

#main {
  position: relative;
}

.nw-skip {
  position: absolute;
  left: -9999px;
}

/* Header */
.nw-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 24px;
}

.nw-header__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nw-nav-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  background: var(--tas-nav-pill);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.nw-nav-pill a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s;
}

.nw-nav-pill a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nw-nav-pill a.is-active {
  background: rgba(255, 255, 255, 0.1);
}

.nw-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: #202020;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 7px;
  flex-shrink: 0;
  transition: background 0.2s;
}

.nw-contact-btn:hover {
  background: #2a2a2a;
}

.nw-section__inner {
  max-width: var(--tas-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.nw-section__inner--center {
  text-align: center;
}

.nw-gold {
  color: var(--tas-gold);
}

/* Hero */
.nw-hero {
  padding: 128px 0 56px;
}

.nw-hero__inner {
  max-width: var(--tas-max);
  margin: 0 auto;
  padding: 0 24px;
}

.nw-hero h1 {
  font-family: var(--tas-font-display);
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.nw-hero__desc {
  max-width: 760px;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
  color: var(--tas-text-light);
  margin: 0;
}

/* Latest news */
.nw-latest {
  padding: 0 0 96px;
}

.nw-latest h2,
.nw-subscribe h2,
.nw-enquiries h2 {
  font-family: var(--tas-font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.2;
}

.nw-latest__head {
  margin-bottom: 36px;
}

.nw-section__subtitle {
  color: var(--tas-text-muted);
  font-size: 1rem;
  margin: 0;
  max-width: 640px;
}

.nw-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 24px;
  align-items: start;
}

.nw-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nw-card__media {
  display: block;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #111;
}

.nw-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.nw-card:hover .nw-card__media img,
.nw-card:focus-within .nw-card__media img {
  transform: scale(1.03);
}

/* Fleet collage: fit full image height; side gaps OK */
.nw-card__media--fleet {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #d8d8d8;
  overflow: hidden;
}

.nw-card__media--fleet img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  object-fit: contain;
  object-position: center center;
}

.nw-card > .nw-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: 10px;
}

.nw-card__title {
  font-family: var(--tas-font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  overflow-wrap: break-word;
}

.nw-grid > .nw-card:not(.nw-card--lead) .nw-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.35em * 3);
}

.nw-card > .nw-card__body .nw-card__title {
  flex: none;
}

.nw-card__title a {
  color: #fff;
  text-decoration: none;
}

.nw-card__title a:hover,
.nw-card:focus-within .nw-card__title a {
  color: var(--tas-gold);
}

.nw-card__date {
  display: block;
  font-size: 0.875rem;
  color: var(--tas-text-muted);
}

.nw-card--lead {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 8px 28px;
  align-items: start;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.nw-card--lead .nw-card__media {
  width: 100%;
  max-width: none;
  margin-bottom: 0;
}

.nw-card--lead .nw-card__media img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 42%;
}

.nw-card--lead .nw-card__body {
  min-width: 0;
  padding: 4px 0;
  gap: 0;
}

.nw-card__kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tas-gold);
  margin-bottom: 12px;
}

.nw-card--lead .nw-card__title {
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  margin: 0 0 10px;
  color: #fff;
  min-height: 0;
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.nw-card__excerpt {
  display: block;
  margin-top: 12px;
  color: var(--tas-text-light);
  font-size: 0.98rem;
  line-height: 1.6;
}

.nw-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--tas-gold);
}

.nw-card--lead:hover .nw-card__title,
.nw-card--lead:focus-visible .nw-card__title {
  color: var(--tas-gold);
}

.nw-card--lead:focus-visible {
  outline: 2px solid var(--tas-gold);
  outline-offset: 8px;
  border-radius: 16px;
}

/* Article */
.nw-article {
  padding: 128px 24px 80px;
}

.nw-article__inner {
  max-width: 820px;
  margin: 0 auto;
}

.nw-article__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--tas-text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.nw-article__back:hover {
  color: var(--tas-gold);
}

.nw-article__kicker {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tas-gold);
  margin: 0 0 16px;
}

.nw-article__title {
  font-family: var(--tas-font-display);
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.nw-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--tas-text-muted);
  font-size: 0.95rem;
  margin: 0 0 36px;
}

.nw-article__meta time {
  color: var(--tas-text-light);
}

.nw-article__cover {
  display: block;
  width: 100%;
  max-width: 640px;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  margin: 0 auto 40px;
}

.nw-article__cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 42%;
}

.nw-article__lead {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.7;
  color: #ececec;
  margin: 0 0 28px;
}

.nw-article__body p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--tas-text-light);
  margin: 0 0 22px;
}

.nw-article__body p:last-child {
  margin-bottom: 0;
}

.nw-approach {
  margin: 40px 0 48px;
  padding: 28px 28px 8px;
  border: 1px solid rgba(243, 178, 12, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(243, 178, 12, 0.08), rgba(243, 178, 12, 0.02) 42%, rgba(255, 255, 255, 0.02));
}

.nw-approach__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tas-gold);
  margin-bottom: 10px;
}

.nw-approach h2 {
  font-family: var(--tas-font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin: 0 0 12px;
  line-height: 1.25;
}

.nw-approach > p {
  color: var(--tas-text-light);
  line-height: 1.65;
  margin: 0 0 22px;
}

.nw-approach__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.nw-approach__item {
  padding: 16px 16px 18px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.nw-approach__item strong {
  display: block;
  font-family: var(--tas-font-display);
  font-size: 15px;
  margin-bottom: 8px;
}

.nw-approach__item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--tas-text-muted);
}

.nw-quote {
  margin: 32px 0;
  padding: 24px 0 24px 24px;
  border-left: 3px solid var(--tas-gold);
}

.nw-quote p {
  font-family: var(--tas-font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.55;
  color: #fff;
  margin: 0 0 14px;
}

.nw-quote footer {
  font-size: 0.9rem;
  color: var(--tas-text-muted);
  font-style: normal;
}

.nw-quote footer strong {
  color: #fff;
  font-weight: 600;
}

.nw-scope {
  list-style: none;
  margin: 8px 0 32px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.nw-scope li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border-radius: 12px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--tas-text-light);
  line-height: 1.55;
}

.nw-scope li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 1.15em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tas-gold);
}

.nw-article__aside {
  margin: 48px 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nw-article__aside h2 {
  font-family: var(--tas-font-display);
  font-size: 1.15rem;
  margin: 0 0 10px;
}

.nw-article__aside p {
  margin: 0;
  color: var(--tas-text-muted);
  line-height: 1.65;
}

.nw-article__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
}

.nw-article__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.nw-article__actions .nw-btn-contact {
  padding: 12px 26px;
}

.nw-article__actions .nw-btn-ghost {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.nw-article__actions .nw-btn-ghost:hover {
  border-color: var(--tas-gold);
  color: var(--tas-gold);
}

/* Subscribe */
.nw-subscribe {
  padding: 80px 0 100px;
}

.nw-subscribe__desc {
  max-width: 640px;
  margin: 0 auto 40px;
  color: var(--tas-text-light);
  font-size: 1rem;
  line-height: 1.6;
}

.nw-form {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.nw-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nw-field__label {
  font-size: 13px;
  color: var(--tas-text-muted);
}

.nw-field input,
.nw-field textarea {
  width: 100%;
  padding: 14px 16px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #fff;
  font-family: var(--tas-font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.nw-field input::placeholder,
.nw-field textarea::placeholder {
  color: #6b7280;
}

.nw-field input:focus,
.nw-field textarea:focus {
  border-color: rgba(243, 178, 12, 0.4);
}

.nw-field textarea {
  resize: vertical;
  min-height: 120px;
}

.nw-btn-subscribe {
  margin-top: 8px;
  padding: 14px 24px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 10px;
  font-family: var(--tas-font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.nw-btn-subscribe:hover {
  background: #e5e5e5;
  transform: translateY(-1px);
}

.nw-btn-subscribe:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.nw-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.nw-field.is-invalid input,
.nw-field.is-invalid textarea {
  border-color: rgba(255, 154, 154, 0.7);
}

.nw-form-status {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.nw-form-status[data-state="success"] {
  color: #8ee5a8;
}

.nw-form-status[data-state="error"] {
  color: #ff9a9a;
}

/* Enquiries */
.nw-enquiries {
  padding: 40px 0 120px;
}

.nw-enquiries h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.nw-enquiries__desc {
  max-width: 680px;
  margin: 0 auto 32px;
  color: var(--tas-text-light);
  font-size: 1rem;
  line-height: 1.6;
}

.nw-btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}

.nw-btn-contact:hover {
  background: #e5e5e5;
  transform: translateY(-1px);
}

.nw-shared-footer {
  width: 100%;
  background: #000;
}

.nw-shared-footer #footer {
  width: 100%;
}

html body.tas-news-page {
  background: #000 !important;
}

/* Scroll reveal */
html.tas-animations-ready .nw-scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 48px, 0);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--nw-reveal-delay, 0ms);
}

html.tas-animations-ready .nw-scroll-reveal.nw-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .nw-scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .nw-card__media img,
  .nw-card:hover .nw-card__media img,
  .nw-card:focus-within .nw-card__media img {
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 1100px) {
  .nw-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 22px;
  }

  .nw-card--lead {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 20px 28px;
  }
}

@media (max-width: 900px) {
  .nw-header {
    padding: 16px;
  }

  .nw-nav-pill {
    display: none;
  }

  .nw-hero {
    padding: 112px 0 44px;
  }

  .nw-card--lead {
    gap: 16px 22px;
  }

  .nw-approach__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nw-section__inner,
  .nw-hero__inner {
    padding: 0 20px;
  }

  .nw-grid {
    gap: 28px 18px;
  }

  .nw-card--lead {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .nw-card--lead .nw-card__body {
    padding: 0;
  }

  .nw-grid > .nw-card:not(.nw-card--lead) .nw-card__title {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .nw-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .nw-card--lead .nw-card__title {
    font-size: 1.25rem;
  }

  .nw-article {
    padding: 112px 16px 64px;
  }

  .nw-article__cover {
    max-width: none;
    border-radius: 14px;
    margin-bottom: 28px;
  }
}
