/* ---------------------------------------------------------------------------
   UK homepage (/en-gb/).

   Built entirely from the existing tokens in tokens.css — no new brand colours.
   The layout deliberately diverges from the India homepage: a split hero on a
   white ground instead of a full-bleed video, capability figures immediately
   below it, and the full product range indexed on the page rather than hidden
   in the mega menu. Everything is a flex or grid track with `gap`, so sections
   never fight each other over collapsing margins.

   The page runs under `solidHeader`, so the header is opaque and the hero does
   not need to clear a transparent bar.
--------------------------------------------------------------------------- */

.uk-eyebrow {
  margin: 0 0 10px;
  color: var(--color-navy);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.uk-eyebrow--light {
  color: var(--color-gold);
}

/* --- buttons ------------------------------------------------------------- */

.uk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: var(--fs-button);
  font-weight: var(--fw-medium);
  line-height: 1;
  text-decoration: none;
  transition: background-color var(--dur-base) var(--ease-default),
              color var(--dur-base) var(--ease-default),
              border-color var(--dur-base) var(--ease-default);
}

.uk-btn--solid {
  background: var(--color-navy);
  color: var(--color-on-navy);
}

.uk-btn--solid:hover,
.uk-btn--solid:focus-visible {
  background: var(--color-navy-dark);
}

.uk-btn--ghost {
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.uk-btn--ghost:hover,
.uk-btn--ghost:focus-visible {
  background: var(--color-navy);
  color: var(--color-on-navy);
}

.uk-btn--light {
  background: var(--color-gold);
  color: var(--color-text-dark);
}

.uk-btn--light:hover,
.uk-btn--light:focus-visible {
  background: var(--color-on-dark);
}

/* --- hero ---------------------------------------------------------------- */

.uk-hero {
  /* the header is absolutely positioned over the page, so the hero has to
     clear its 90px before its own spacing starts */
  padding: calc(var(--header-height) + clamp(24px, 3vw, 48px)) 0 clamp(32px, 4vw, 56px);
  background: var(--color-surface);
}

.uk-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.uk-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.uk-hero__kicker {
  margin: 0;
  color: var(--color-text-light);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.uk-hero__title {
  max-width: 16ch;
  margin: 0;
  color: var(--color-text-dark);
  font-size: var(--fs-h1);
  font-weight: var(--fw-light);
  line-height: var(--lh-heading);
  letter-spacing: -1.4px;
  text-wrap: balance;
}

.uk-hero__standfirst {
  max-width: 52ch;
  margin: 0;
  color: var(--color-text);
  font-size: 1.0625rem;
  line-height: var(--lh-body);
}

.uk-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.uk-hero__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

@media (max-width: 900px) {
  .uk-hero__grid {
    grid-template-columns: 1fr;
  }

  .uk-hero__media {
    order: -1;
  }
}

/* --- capability strip ---------------------------------------------------- */

.uk-capability {
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.uk-capability__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px 32px;
}

.uk-capability__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 18px;
  border-left: 2px solid var(--color-gold);
}

.uk-capability__value {
  color: var(--color-navy);
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
  font-weight: var(--fw-semibold);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.uk-capability__label {
  color: var(--color-text);
  font-size: var(--fs-small);
  line-height: 1.45;
}

/* --- generic section ----------------------------------------------------- */

.uk-section {
  padding: clamp(48px, 7vw, 96px) 0;
  background: var(--color-surface);
}

.uk-section--tint {
  background: var(--color-bg);
}

.uk-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: end;
  gap: 20px clamp(24px, 5vw, 72px);
  margin-bottom: clamp(28px, 4vw, 48px);
}

.uk-section__title {
  margin: 0;
  color: var(--color-text-dark);
  font-size: var(--fs-h2);
  font-weight: var(--fw-light);
  line-height: var(--lh-heading);
  letter-spacing: -1px;
  text-wrap: balance;
}

.uk-section__intro {
  max-width: 58ch;
  margin: 0;
  color: var(--color-text);
  line-height: var(--lh-body);
}

@media (max-width: 860px) {
  .uk-section__head {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* --- glass range --------------------------------------------------------- */

/* Separate cards with real gutters. The old hairline grid painted the whole
   list grey behind a 1px gap, so seven items in four columns left a solid grey
   eighth cell, and the logo blocks ran edge to edge with nothing between them. */
.uk-range {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.uk-range__item {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
}

.uk-range__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  transition: background-color var(--dur-base) var(--ease-default);
}

.uk-range__link:hover,
.uk-range__link:focus-visible {
  background: var(--color-bg);
}

/* The lockups are solid white artwork on transparency, so they need a dark
   ground — on the light panel they were invisible. */
/* The wordmark filled the whole block. A shorter band with the logo at about
   half its width gives it room to read as a mark rather than a poster. */
.uk-range__figure {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 2 / 1;
  background: #161515;
}

.uk-range__figure img {
  width: 52%;
  height: auto;
  object-fit: contain;
}

.uk-range__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 22px 22px 24px;
}

.uk-range__name {
  color: var(--color-text-dark);
  font-size: var(--fs-h5);
  font-weight: var(--fw-semibold);
}

.uk-range__desc {
  flex: 1;
  color: var(--color-text);
  font-size: var(--fs-small);
  line-height: 1.55;
}

.uk-range__more {
  color: var(--color-navy);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
}

/* --- sectors ------------------------------------------------------------- */

.uk-sectors {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}

.uk-sectors__item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-dark);
  text-decoration: none;
  transition: border-color var(--dur-base) var(--ease-default),
              color var(--dur-base) var(--ease-default);
}

.uk-sectors__item a:hover,
.uk-sectors__item a:focus-visible {
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.uk-sectors__name {
  font-weight: var(--fw-medium);
}

.uk-sectors__item svg {
  flex: none;
  color: var(--color-navy);
}

/* --- projects ------------------------------------------------------------ */

.uk-projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.uk-projects__item a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.uk-projects__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.uk-projects__caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 14px;
}

.uk-projects__title {
  color: var(--color-text-dark);
  font-weight: var(--fw-medium);
}

.uk-projects__category {
  color: var(--color-text-light);
  font-size: var(--fs-small);
}

.uk-projects__item a:hover .uk-projects__title,
.uk-projects__item a:focus-visible .uk-projects__title {
  color: var(--color-navy);
}

/* --- enquiry band -------------------------------------------------------- */

.uk-enquiry {
  padding: clamp(48px, 7vw, 88px) 0;
  background: var(--color-dark-surface);
  color: var(--color-on-dark);
}

.uk-enquiry__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.uk-enquiry__title {
  max-width: 20ch;
  margin: 0 0 16px;
  /* sits on the #1a1919 band — without this it inherits the same near-black
     and disappears entirely */
  color: #fff;
  font-size: var(--fs-h2);
  font-weight: var(--fw-light);
  line-height: var(--lh-heading);
  letter-spacing: -1px;
  text-wrap: balance;
}

.uk-enquiry__text {
  max-width: 54ch;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.76);
  line-height: var(--lh-body);
}

.uk-enquiry__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding-top: 6px;
}

.uk-enquiry__details dt {
  margin-bottom: 4px;
  color: var(--color-gold);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.uk-enquiry__details dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.6;
}

.uk-enquiry__details a {
  color: var(--color-on-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.uk-enquiry__details a:hover,
.uk-enquiry__details a:focus-visible {
  border-bottom-color: var(--color-gold);
}

@media (max-width: 860px) {
  .uk-enquiry__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Enquiry lead form ---------- */
/* Sits in the dark band, so the fields are outlined in translucent white
   rather than filled, and the submit reuses the band's gold. */
.uk-lead {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.uk-lead__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.uk-lead__field--wide {
  grid-column: 1 / -1;
}

.uk-lead label {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8125rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.4px;
}

/* the checkbox is excluded — width:100% stretched it across the row and
   pushed its label out of reach */
.uk-lead input:not([type="checkbox"]),
.uk-lead textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.uk-lead textarea {
  min-height: 96px;
  resize: vertical;
}

.uk-lead__consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  accent-color: #ffbf01;
}

.uk-lead input::placeholder,
.uk-lead textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.uk-lead input:not([type="checkbox"]):focus-visible,
.uk-lead textarea:focus-visible {
  outline: 2px solid #ffbf01;
  outline-offset: 1px;
  border-color: transparent;
}

.uk-lead__consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.uk-lead__consent a {
  color: #ffbf01;
}

.uk-lead__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
}

.uk-lead .form-status {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
}

.uk-lead .form-status.is-error {
  color: #ffbda8;
}

.uk-lead .form-status.is-success {
  color: #b8f0c8;
}

.uk-lead .form-error {
  color: #ffbda8;
  font-size: 0.75rem;
}

@media (max-width: 600px) {
  .uk-lead {
    grid-template-columns: minmax(0, 1fr);
  }
}

.uk-enquiry__alt {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.uk-enquiry__alt:hover,
.uk-enquiry__alt:focus-visible {
  color: #ffbf01;
}
