@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

/* Aer Lingus Roblox Branding */
:root {
  --teal: #008274;
  --lime: #89ba16;
  --white: #ffffff;
  --black: #1a1a1a;
  --ink: #163129;
  --light-gray: #f5f8f6;
  --soft-teal: #e9f5f2;
  --soft-lime: #f0f7d8;
  --medium-gray: #66746f;
  --line: rgba(22, 49, 41, 0.12);
  --shadow: 0 18px 40px rgba(13, 35, 29, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Poppins",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    radial-gradient(
      circle at top left,
      rgba(0, 130, 116, 0.08),
      transparent 28%
    ),
    linear-gradient(180deg, #fcfdfc, #f6faf8 52%, #eef5f2);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

main {
  width: min(1400px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 24px 0 42px;
}

.site-header,
.site-footer {
  width: min(1400px, calc(100vw - 48px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 22px;
  background: var(--teal);
  color: var(--white);
  border-radius: 0 0 18px 18px;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand img {
  width: 48px;
  height: 48px;
  flex: none;
}

.brand span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand strong,
.page-intro h1,
.hero h1,
.card h2,
.section-title {
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand strong {
  font-size: 1.15rem;
  color: var(--white);
}

.brand small {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.76rem;
}

.site-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--white);
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--lime);
  color: var(--black);
  transform: translateY(-1px);
}

.hero,
.two-up,
.three-up {
  display: grid;
  gap: 18px;
}

.hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.95fr);
  align-items: stretch;
  margin-top: 18px;
}

.content-block,
.hero-panel,
.stat,
.mini-card,
.detail-card,
.story-panel,
.news-item,
.fleet-item,
.career-step {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.hero-copy {
  padding: 8px 4px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1,
.page-intro h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.96;
  color: var(--teal);
}

.lead,
.page-intro p,
.story-panel p,
.card p,
.news-item p,
.fleet-item p,
.career-step p {
  color: var(--medium-gray);
}

.lead,
.page-intro p {
  margin: 16px 0 0;
  max-width: 64ch;
  font-size: 1.04rem;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.button.primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 14px 24px rgba(0, 130, 116, 0.18);
}

.button.secondary {
  background: var(--lime);
  color: var(--black);
}

.button:hover {
  transform: translateY(-1px);
}

.hero-panel {
  padding: 18px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.82),
      rgba(255, 255, 255, 0.9)
    ),
    linear-gradient(135deg, rgba(0, 130, 116, 0.08), rgba(137, 186, 22, 0.08));
}

.hero-board {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat span {
  display: block;
  color: var(--teal);
  font-size: 1.8rem;
  font-weight: 800;
}

.stat small,
.detail-card small,
.press-date,
.fleet-type,
.section-kicker {
  color: var(--medium-gray);
}

.callout {
  grid-column: 1 / -1;
  color: var(--ink);
}

.callout small,
.callout p,
.callout strong {
  color: inherit;
}

.callout strong {
  display: block;
  margin: 8px 0;
  font-size: 1.35rem;
}

.section-title {
  margin: 32px 0 0;
  font-size: 1.9rem;
  color: var(--teal);
}

.press-feed {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.press-entry {
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

.press-entry:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.press-entry h2 {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 1.25rem;
}

.press-entry p {
  margin: 0;
  color: var(--medium-gray);
  max-width: 75ch;
}

.content-block h2,
.story-panel h2,
.fleet-item h2,
.news-item h2,
.career-step h2 {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 1.35rem;
}

.stack {
  display: grid;
  gap: 14px;
}

.stack-item {
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
}

.stack-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

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

.grid.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.list,
.timeline,
.fleet-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--medium-gray);
}

.fleet-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 18px;
}

.fleet-image {
  width: min(340px, 36vw);
  height: auto;
  display: block;
  flex: none;
}

.fleet-layout .fleet-list {
  margin-top: 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.fleet-layout .fleet-list div {
  margin: 8px 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
}

.list li,
.timeline li,
.fleet-list li {
  margin: 8px 0;
}

.timeline li strong,
.fleet-item strong,
.career-step strong,
.news-item strong {
  color: var(--ink);
}

.story-panel {
  margin-top: 18px;
}

.story-panel p {
  margin: 0 0 12px;
}

.news-date,
.press-date,
.fleet-type,
.career-tag {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}

.fleet-item,
.news-item,
.career-step {
  position: static;
  overflow: visible;
}

.fleet-item::before,
.news-item::before,
.career-step::before {
  content: none;
}

.feature-panel,
.card,
.news-item,
.fleet-item,
.career-step,
.story-panel {
  box-shadow: none;
}

.fleet-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.site-footer {
  padding: 10px 0 34px;
  color: var(--medium-gray);
  text-align: center;
}

.career-intro {
  margin: 24px 0 18px;
}

.career-card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.career-card h2 {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 1.35rem;
}

.career-card p {
  margin: 0;
  color: var(--medium-gray);
}

.career-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: fit-content;
  margin: auto 0 0;
  padding: 0 22px;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

@media (max-width: 900px) {
  .site-header,
  .hero,
  .grid.two-up,
  .grid.three-up {
    grid-template-columns: 1fr;
    display: grid;
  }

  .site-header {
    justify-content: start;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero-board {
    grid-template-columns: 1fr;
  }

  .callout {
    grid-column: auto;
  }

  .fleet-layout {
    flex-direction: column;
  }

  .fleet-image {
    width: min(340px, 100%);
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  main {
    width: min(1400px, calc(100vw - 18px));
  }

  .site-header {
    padding: 14px 16px;
  }

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

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
