/* ============================================================
   Allied Aeronautics Training Centre
   Minimal / blue design system, extended from the reference.
   ============================================================ */

@font-face {
  font-family: Manrope;
  src: url("fonts/manrope-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("fonts/manrope-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("fonts/manrope-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("fonts/manrope-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #0B0D10;
  --paper: #FFFFFF;

  /* Bright blue stays the brand fill: dots, tints, big display accents.
     blue-ink is the same hue darkened for small text and buttons, so
     14px labels and white-on-blue pills clear WCAG AA. */
  --blue: #129BDB;
  --blue-ink: #0A6E9E;
  --blue-tint: #EAF6FD;
  --blue-tint-2: #D6EDFA;

  --grey: #626D77;
  /* darkened from #7C8791 to pass AA on white */
  --grey-soft: #8B959E;
  /* decorative only, never body text */
  --ink-soft: #3E4750;
  --line: #E7EAEE;

  --display: Manrope, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, sans-serif;

  --r-pill: 100px;
  --r-lg: 24px;
  --r-md: 14px;
  --r-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  -webkit-text-size-adjust: 100%;
}

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

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

::selection {
  background: var(--blue);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--blue-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 14px 22px;
  z-index: 200;
}

.skip:focus {
  left: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width:640px) {
  .wrap {
    padding: 0 22px;
  }
}

/* ---------------------------------------------- header / nav */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
}

/* The frosted panel lives on a pseudo-element, not on <header> itself.
   backdrop-filter makes an element the containing block for its
   position:fixed descendants, which would anchor the mobile drawer to
   the header instead of the viewport and widen the page. */
header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 9px;
}

.logo .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  display: inline-block;
  flex-shrink: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a.link {
  font-size: 14.5px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

nav a.link:hover {
  color: var(--blue-ink);
}

nav a.link[aria-current="page"] {
  border-bottom-color: var(--blue);
  color: var(--blue-ink);
}

.pill {
  background: var(--blue-ink);
  color: #fff;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  min-height: 44px;
  line-height: 1.4;
  border: 1.5px solid var(--blue-ink);
  cursor: pointer;
  touch-action: manipulation;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(10, 110, 158, 0.30);
}

.pill.outline {
  background: white;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.pill.outline:hover {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}

.pill.ghost {
  background: #fff;
  color: var(--blue-ink);
  border-color: var(--line);
}

.pill.ghost:hover {
  border-color: var(--blue);
  box-shadow: none;
}

.pill.lg {
  padding: 18px 36px;
  font-size: 16px;
}

.actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
}

@media (max-width:900px) {
  nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: 82%;
    max-width: 320px;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 30px;
    gap: 22px;
    transform: translateX(100%);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    /* visibility:hidden keeps the closed drawer out of the document width
       and out of the tab order; without it the off-canvas panel widens
       the page and its links stay keyboard-focusable while invisible. */
    visibility: hidden;
    transition: transform .25s ease, visibility .25s ease;
  }

  nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .menu-toggle {
    display: block;
  }

  nav a.link {
    font-size: 17px;
  }
}

/* ---------------------------------------------- hero */
.hero {
  position: relative;
  padding: 110px 0 60px;
  overflow: hidden;
}

.hero.home-hero {
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 21%, rgba(255, 255, 255, 0.12) 100%), url("images/hero-image.png");
  background-size: 50%;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero.home-hero > .wrap {
  position: relative;
  z-index: 1;
}

.hero.short {
  padding: 80px 0 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue-ink);
  background: var(--blue-tint);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 32px;
}

h1.big {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(42px, 8.6vw, 72px);
  line-height: 0.98;
  margin: 0;
}

h1.mid {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(38px, 6.4vw, 82px);
  line-height: 1;
  margin: 0;
  max-width: 16ch;
}

h1.big .line {
  display: block;
}

.accent {
  color: var(--blue);
}

.hero-sub {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
  margin-top: 48px;
}

@media (max-width:800px) {
  .hero-sub {
    flex-direction: column;
  }
}

.hero-copy {
  font-size: 18px;
  color: var(--grey);
  max-width: 46ch;
  margin: 0;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  margin-top: 80px;
  border-top: 1px solid var(--line);
}

.hero-stats>div {
  flex: 1 1 180px;
  padding: 26px 0;
  border-right: 1px solid var(--line);
}

.hero-stats>div:last-child {
  border-right: none;
}

.hero-stats .n {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.hero-stats .n .u {
  color: var(--blue);
}

.hero-stats .l {
  font-size: 13px;
  color: var(--grey);
  margin-top: 6px;
  padding-right: 20px;
}

/* ---------------------------------------------- marquee */
.marquee-wrap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 26px 0;
  background: var(--blue-tint);
}

.marquee {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: scroll 26s linear infinite;
  width: max-content;
}

.marquee span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 56px;
}

.marquee span em {
  font-style: normal;
  color: var(--blue-ink);
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------------------------------------------- section shell */
section {
  padding: 120px 0;
  position: relative;
}

section.tight {
  padding: 80px 0;
}

.tinted {
  background: var(--blue-tint);
}

.kicker {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-ink);
  margin-bottom: 18px;
}

h2.section-title {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.025em;
  font-size: clamp(30px, 5vw, 64px);
  line-height: 1.02;
  margin: 0 0 20px;
  max-width: 16ch;
}

h3.sub-title {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.1;
  margin: 0 0 18px;
}

.section-note {
  font-size: 16px;
  color: var(--grey);
  max-width: 48ch;
  margin: 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 64px;
}

.prose {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 60ch;
}

.prose p {
  margin: 0 0 22px;
}

.prose a {
  color: var(--blue-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.two-col.aside {
  grid-template-columns: 1.1fr 1fr;
}

@media (max-width:860px) {

  .two-col,
  .two-col.aside {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

/* ---------------------------------------------- list rows */
.prog-list {
  border-top: 1px solid var(--line);
}

.prog-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .25s ease;
}

a.prog-row:hover {
  padding-left: 14px;
}

.prog-row .idx {
  font-family: var(--display);
  font-weight: 700;
  color: var(--grey);
  font-size: 16px;
}

.prog-row .title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.prog-row .title span {
  color: var(--grey);
  font-family: var(--body);
  font-weight: 400;
  font-size: 15px;
  display: block;
  margin-top: 8px;
  letter-spacing: 0;
}

.prog-row .meta {
  font-size: 14px;
  color: var(--grey);
  text-align: right;
  line-height: 1.5;
}

.prog-row .meta b {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
}

.prog-row .arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}

a.prog-row:hover .arrow {
  background: var(--blue-ink);
  color: #fff;
  border-color: var(--blue-ink);
  transform: rotate(45deg);
}

@media (max-width:700px) {
  .prog-row {
    grid-template-columns: 44px 1fr;
    gap: 14px 16px;
    padding: 28px 0;
  }

  .prog-row .meta {
    grid-column: 2;
    text-align: left;
  }

  .prog-row .arrow {
    grid-column: 2;
  }
}

/* ---------------------------------------------- callouts */
.callouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(11, 13, 16, 0.1);
  border-left: 1px solid rgba(11, 13, 16, 0.1);
}

.callout {
  padding: 32px 28px;
  border-right: 1px solid rgba(11, 13, 16, 0.1);
  border-bottom: 1px solid rgba(11, 13, 16, 0.1);
}

.callout .n {
  font-family: var(--display);
  font-weight: 800;
  font-size: 40px;
  color: var(--blue-ink);
  line-height: 1;
}

.callout .l {
  font-size: 13.5px;
  color: var(--grey);
  margin-top: 8px;
}

/* ---------------------------------------------- spec list */
.spec {
  margin: 0;
  border-top: 1px solid var(--line);
}

.spec-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width:620px) {
  .spec-row {
    grid-template-columns: 11rem minmax(0, 1fr);
    gap: 0 28px;
  }
}

.spec-key {
  font-size: 13.5px;
  color: var(--grey);
  font-weight: 500;
}

.spec-val {
  font-size: 16px;
}

.spec-val .big {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
  margin-bottom: 4px;
}

.spec-val ul {
  margin: 0;
  padding-left: 20px;
}

.spec-val li {
  margin-bottom: 4px;
}

.spec-val a {
  color: var(--blue-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------------------------------------------- feature grid */
.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width:760px) {
  .features {
    grid-template-columns: 1fr 1fr;
    column-gap: 60px;
  }
}

.features li {
  border-top: 1px solid var(--line);
  padding: 26px 0;
}

.features h4 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.features p {
  margin: 0;
  font-size: 15px;
  color: var(--grey);
}

/* ---------------------------------------------- chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.chips li {
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 9px 18px;
  font-size: 14px;
  background: #fff;
}

.tinted .chips li {
  border-color: transparent;
}

/* ---------------------------------------------- tables */
.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

caption {
  text-align: left;
  color: var(--grey);
  font-size: 14px;
  padding-bottom: 18px;
}

th,
td {
  text-align: left;
  padding: 20px 20px 20px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  font-size: 13px;
  font-weight: 600;
  color: var(--grey);
  border-bottom: 1px solid var(--ink);
}

tbody th {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

tbody td a {
  color: var(--blue-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width:760px) {
  .table-scroll {
    overflow-x: visible;
  }

  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
  }

  tbody tr {
    display: block;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
  }

  tbody tr:first-child {
    border-top: 1px solid var(--ink);
  }

  tbody th {
    display: block;
    padding: 0 0 14px;
    border: 0;
    font-size: 22px;
  }

  tbody td {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 0 16px;
    padding: 5px 0;
    border: 0;
  }

  tbody td::before {
    content: attr(data-label);
    font-size: 13px;
    color: var(--grey);
  }
}

/* ---------------------------------------------- image placeholders */
.ph {
  margin: 0;
  border-radius: var(--r-lg);
  background: var(--blue-tint);
  border: 1px dashed var(--blue-tint-2);
  aspect-ratio: var(--ratio, 4/3);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  gap: 4px;
  position: relative;
  overflow: hidden;
}

.ph::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
}

.ph span {
  font-size: 14px;
  line-height: 1.35;
  color: var(--ink);
  max-width: 36ch;
}

.ph small {
  font-size: 12px;
  color: var(--grey);
}

.ph-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ph-grid .ph span, .ph-grid .ph small{
  display: none;
}

.ph-grid .ph.p1{
  background: url("images/DSC_0454.jpg");
  background-size: cover;
  background-position: center;
}

.ph-grid .ph.p2{
  background: url("images/DSC_0463.jpg");
  background-size: cover;
  background-position: center;
}

.ph-grid .ph.p3{
  background: url("images/DSC_0473.jpg");
  background-size: cover;
  background-position: center;
}

.ph-grid ph.kl{
  background: url("images/KJ_Line_Lembah_Subang_Overall_View_5-scaled.jpg");
  background-size: cover;
  background-position: center;
}

/* collage — the reference's signature facilities treatment */
.collage {
  position: relative;
  height: 560px;
  margin-top: 20px;
}

.collage .ph {
  position: absolute;
  box-shadow: 0 30px 60px rgba(11, 13, 16, 0.14);
  aspect-ratio: auto;
}

.collage .ph span, .collage .ph small {
  display: none;
}

.collage .ph.p1 {
  width: 290px;
  height: 360px;
  left: 2%;
  top: 0;
  transform: rotate(-4deg);
  background: url("images/IMG_1900@2x.jpg");
  background-size: cover;
  background-position: center;
}

.collage .ph.p2 {
  width: 230px;
  height: 230px;
  left: 34%;
  top: 60px;
  transform: rotate(3deg);
  border-radius: 50%;
  background-image: url("images/IMG_2934-scaled.jpg");
  background-size: cover;
  background-position: center;
}

.collage .ph.p3 {
  width: 260px;
  height: 330px;
  right: 26%;
  top: 20px;
  transform: rotate(5deg);
  background-image: url("images/KJ_Line_Lembah_Subang_Overall_View_5-scaled.jpg");
  background-size: cover;
  background-position: center;
}

.collage .ph.p4 {
  width: 200px;
  height: 200px;
  right: 0;
  top: 90px;
  transform: rotate(-6deg);
  border-radius: 50%;
  background-image: url("images/photo6073321212857133696.jpg");
  background-size: cover;
  background-position: center;
}

.collage .label {
  position: absolute;
  bottom: 0;
  left: 8%;
  background: var(--ink);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.collage .label .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

@media (max-width:900px) {
  .collage {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
  }

  .collage .ph {
    position: static;
    transform: none !important;
    width: calc(50% - 9px) !important;
    height: 220px !important;
    border-radius: var(--r-lg) !important;
    box-shadow: none;
  }

  .collage .label {
    position: static;
    margin-top: 12px;
    width: max-content;
  }
}

/* ---------------------------------------------- quote */
.quote-section {
  background: var(--ink);
  color: #fff;
}

.quote-mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 120px;
  color: var(--blue);
  line-height: 0.5;
  margin-bottom: 10px;
}

blockquote {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 46px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 40px;
  max-width: 22ch;
}

.quote-who {
  display: flex;
  align-items: center;
  gap: 16px;
}

.quote-who .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #222932;
  border: 1px dashed #39424D;
  flex-shrink: 0;
}

.quote-who .name {
  font-weight: 600;
  font-size: 15px;
}

.quote-who .role {
  font-size: 13.5px;
  color: #9AA5B1;
}

.quote-grid {
  display: grid;
  gap: 56px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.quote-grid blockquote {
  font-size: clamp(20px, 2.4vw, 26px);
  margin-bottom: 24px;
  max-width: 26ch;
}

.quote-grid .quote-mark {
  font-size: 64px;
  margin-bottom: 18px;
}

/* ---------------------------------------------- faq */
.faq {
  border-top: 1px solid var(--line);
  max-width: 80ch;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 23px);
  letter-spacing: -0.01em;
  padding: 26px 60px 26px 0;
  cursor: pointer;
  position: relative;
  list-style: none;
  line-height: 1.25;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 400;
  color: var(--blue-ink);
}

.faq details[open] summary::after {
  content: "\2013";
  background: var(--blue-tint);
  border-color: var(--blue-tint);
}

.faq .answer {
  padding-bottom: 26px;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 62ch;
}

.faq .answer p {
  margin: 0 0 16px;
}

.faq .answer p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------- forms */
.form {
  max-width: 720px;
}

.field {
  margin-bottom: 22px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.field .hint {
  display: block;
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 8px;
}

input,
select,
textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 13px 16px;
  min-height: 48px;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--grey-soft);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue-tint-2);
  outline-offset: 0;
  border-color: var(--blue-ink);
}

.field-pair {
  display: grid;
  gap: 0 22px;
  grid-template-columns: 1fr;
}

@media (min-width:620px) {
  .field-pair {
    grid-template-columns: 1fr 1fr;
  }
}

fieldset {
  border: 0;
  border-top: 1px solid var(--line);
  padding: 32px 0 0;
  margin: 0 0 40px;
}

legend {
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  padding: 0;
  margin-bottom: 26px;
}

legend .step {
  color: var(--blue-ink);
  margin-right: 12px;
}

/* ---------------------------------------------- roll / empty */
.roll {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 1;
  column-gap: 40px;
  font-size: 15px;
}

@media (min-width:560px) {
  .roll {
    columns: 2;
  }
}

@media (min-width:900px) {
  .roll {
    columns: 3;
  }
}

@media (min-width:1150px) {
  .roll {
    columns: 4;
  }
}

.roll li {
  break-inside: avoid;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.roll .n {
  color: var(--grey-soft);
  display: inline-block;
  min-width: 2.6em;
  font-size: 13px;
}

.empty {
  border: 1px dashed var(--blue-tint-2);
  background: var(--blue-tint);
  border-radius: var(--r-lg);
  padding: 48px;
  max-width: 56ch;
}

.empty h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  margin: 0 0 12px;
}

.empty p {
  margin: 0 0 24px;
  color: var(--ink-soft);
}

/* ---------------------------------------------- cta */
.cta {
  text-align: center;
  padding: 150px 0;
}

.cta h2 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(36px, 7vw, 84px);
  line-height: 1;
  margin: 0 0 28px;
}

.cta p {
  font-size: 17px;
  color: var(--grey);
  max-width: 46ch;
  margin: 0 auto 40px;
}

.cta .actions {
  justify-content: center;
}

/* ---------------------------------------------- footer */
footer {
  border-top: 1px solid var(--line);
  padding: 70px 0 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 50px;
}

.footer-cols {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}

.footer-cols h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--grey);
  margin: 0 0 16px;
}

.footer-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.footer-cols a {
  font-size: 14.5px;
}

.footer-cols a:hover {
  color: var(--blue-ink);
}

.footer-cols address {
  font-style: normal;
  font-size: 14.5px;
  color: var(--grey);
  line-height: 1.7;
}

.footer-cols address a {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  font-size: 13px;
  color: var(--grey);
}

.footer-bottom .socials {
  display: flex;
  gap: 20px;
}

.footer-bottom .socials a:hover {
  color: var(--blue-ink);
}

@media (prefers-reduced-motion:reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

@media print {

  header,
  footer,
  .cta,
  .marquee-wrap {
    display: none;
  }
}

/* Circular collage slots clip a bottom-left caption, so centre it instead. */
.collage .ph.p2,
.collage .ph.p4 {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 38px;
}

.collage .ph.p2::before,
.collage .ph.p4::before {
  display: none;
}

.collage .ph.p2 span,
.collage .ph.p4 span {
  font-size: 13px;
}