:root {
  --ink: #17201d;
  --muted: #58635f;
  --green: #17352f;
  --green-light: #21483f;
  --cream: #f4f0e7;
  --paper: #fffdf8;
  --sand: #e7ddca;
  --copper: #c8935f;
  --copper-dark: #9b673a;
  --line: rgba(23, 32, 29, 0.16);
  --white: #fff;
  --max: 1200px;
  --radius: 6px;
  --shadow: 0 18px 50px rgba(17, 34, 29, 0.1);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid #f4b777;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  line-height: 1;
}

.brand img,
.brand-logo {
  display: block;
  width: auto;
  height: 36px;
}

.footer-brand img,
.footer-brand .brand-logo {
  height: 34px;
}

.brand span {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
}

.brand small {
  margin-top: 7px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-left: auto;
}

.desktop-nav a,
.site-footer nav a {
  font-size: 0.84rem;
  font-weight: 650;
}

.desktop-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  color: #1d211f;
  background: #e4aa72;
  border: 1px solid #e4aa72;
  border-radius: 3px;
}

.desktop-nav a:hover {
  color: #1d211f;
  background: #f0bd8b;
  border-color: #f0bd8b;
}

.mobile-menu {
  display: none;
  position: relative;
  margin-left: auto;
}

.mobile-menu summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  color: #1d211f;
  background: #e4aa72;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

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

.mobile-menu nav {
  width: min(270px, calc(100vw - 28px));
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  padding: 10px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.mobile-menu nav a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  font-size: 0.9rem;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}

.mobile-menu nav a:last-child {
  border-bottom: 0;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button-small {
  min-height: 44px;
  padding: 10px 18px;
}

.button-light {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
}

.button-light:hover {
  background: var(--white);
}

.button-accent {
  color: #1d211f;
  background: #e4aa72;
}

.button-accent:hover {
  background: #f0bd8b;
}

.button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(15, 25, 22, 0.12);
}

.button-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.button-dark {
  color: var(--white);
  background: var(--green);
}

.button-dark:hover {
  background: var(--green-light);
}

.hero {
  position: relative;
  min-height: min(860px, 96svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--green);
}

.hero-slide,
.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-image {
  object-fit: cover;
  object-position: center 48%;
}

.hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(7, 20, 16, 0.68) 0%,
    rgba(7, 20, 16, 0.42) 30%,
    rgba(7, 20, 16, 0.1) 52%,
    transparent 70%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 180px;
  padding-bottom: clamp(70px, 10vw, 120px);
}

.eyebrow {
  margin: 0 0 16px;
  color: #f0c89f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--copper-dark);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.75rem, 6.4vw, 5.7rem);
  line-height: 0.98;
}

.hero-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.65;
}

.hero h1,
.hero-lead {
  text-shadow: 0 2px 16px rgba(3, 12, 9, 0.86);
}

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

.pathways {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pathway-grid a {
  min-height: 154px;
  display: grid;
  align-content: center;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.pathway-grid a:first-child {
  border-left: 1px solid var(--line);
}

.pathway-grid a:hover {
  background: rgba(255, 255, 255, 0.55);
}

.pathway-grid span {
  color: var(--copper-dark);
  font-size: 0.72rem;
  font-weight: 800;
}

.pathway-grid strong {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.25;
}

.pathway-grid small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.section {
  padding: clamp(76px, 9vw, 120px) 0;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.6fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 46px;
}

h2 {
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  line-height: 1.06;
}

.section-intro > p,
.investment-heading > p,
.enquiry-inner > div > p {
  margin: 0;
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.project-image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.project-card:hover .project-image img {
  transform: scale(1.025);
}

.project-copy {
  padding: 24px;
}

.project-place,
.location-copy > p:first-child {
  margin: 0 0 8px;
  color: var(--copper-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-card h3,
.benefit-grid h3,
.visa-note h3,
.location-grid h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
}

.project-card h3 {
  font-size: 1.55rem;
}

.project-card h3 a {
  display: inline-block;
  padding-block: 3px;
}

.project-copy > p:not(.project-place) {
  min-height: 5.1em;
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--copper-dark);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.text-link span {
  margin-left: 7px;
}

.text-link.light {
  color: #f2c08e;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.investment {
  color: var(--white);
  background: var(--green);
}

.investment-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 64px;
}

.investment-heading {
  align-self: start;
}

.investment-heading > p {
  max-width: 460px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.72);
}

.investment-visual {
  width: min(420px, 100%);
  margin: 34px 0 0;
}

.investment-visual img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.investment-visual figcaption {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  line-height: 1.5;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-grid article {
  min-height: 235px;
  padding: 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-grid span {
  color: #e7b37f;
  font-size: 0.72rem;
  font-weight: 800;
}

.benefit-grid h3 {
  margin-top: 28px;
  font-size: 1.45rem;
}

.benefit-grid p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.visa-note {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr auto;
  align-items: center;
  gap: 36px;
  margin-top: 12px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.visa-note h3 {
  font-size: 1.6rem;
}

.visa-note > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.location-grid article {
  min-height: 300px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  padding: 0;
  background: var(--cream);
  border-top: 3px solid var(--copper);
  overflow: hidden;
}

.location-image {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.location-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 22px;
}

.location-grid h3 {
  font-size: 2rem;
}

.location-copy > p:not(:first-child) {
  margin: 18px 0 24px;
  color: var(--muted);
}

.location-grid .text-link {
  margin-top: auto;
}

.guides {
  background: var(--cream);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.guide-grid a {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  background: rgba(255, 255, 255, 0.35);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.guide-grid a:hover {
  background: var(--white);
}

.guide-grid span {
  color: var(--copper-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.guide-grid svg {
  width: 42px;
  height: 42px;
  margin-block: 18px;
  fill: none;
  stroke: var(--copper-dark);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guide-grid h3 {
  max-width: 15em;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.3;
}

.enquiry {
  color: var(--white);
  background: #102721;
}

.enquiry-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.enquiry-inner h2 {
  max-width: 750px;
}

.enquiry-inner > div > p {
  max-width: 690px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.74);
}

.enquiry-inner > .button {
  flex: 0 0 auto;
}

.site-footer {
  color: #d9e0dd;
  background: #091713;
}

.footer-main {
  display: grid;
  grid-template-columns: 0.7fr 0.6fr 1.3fr;
  gap: 60px;
  padding-block: 68px;
}

.footer-brand {
  color: var(--white);
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.site-footer nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
}

.site-footer nav a:hover {
  color: var(--white);
}

.footer-note strong {
  color: var(--white);
  font-size: 0.9rem;
}

.footer-note p {
  max-width: 530px;
  margin: 12px 0 0;
  color: #aebbb6;
  font-size: 0.78rem;
}

.footer-bottom {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
  color: #91a09a;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.72rem;
}

@media (max-width: 1050px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-copy > p:not(.project-place) {
    min-height: auto;
  }

  .investment-layout {
    grid-template-columns: 1fr;
  }

  .visa-note {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .visa-note .text-link {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .header-inner {
    min-height: 76px;
  }

  .hero-content {
    padding-top: 145px;
  }

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

  .pathway-grid a:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .pathway-grid a:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .location-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .location-grid article {
    min-height: 0;
  }

  .enquiry-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 580px) {
  .shell {
    width: min(var(--max), calc(100% - 28px));
  }

  body {
    font-size: 16px;
  }

  .brand span {
    font-size: 1.32rem;
  }

  .brand img,
  .brand-logo {
    height: 30px;
  }

  .header-inner {
    gap: 12px;
  }

  .button-small {
    padding-inline: 14px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(7, 20, 16, 0.74) 0%, rgba(7, 20, 16, 0.3) 44%, transparent 72%),
      linear-gradient(90deg, rgba(7, 20, 16, 0.25), transparent 75%);
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .hero-content {
    padding-bottom: 56px;
  }

  .actions {
    display: grid;
  }

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

  .pathway-grid a,
  .pathway-grid a:first-child,
  .pathway-grid a:nth-child(odd) {
    min-height: 128px;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .project-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .project-copy {
    padding: 22px;
  }

  .benefit-grid article {
    min-height: auto;
  }

  .visa-note {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px;
  }

  .visa-note .text-link {
    grid-column: auto;
  }

  .location-grid article {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .location-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 8 / 5;
  }

  .location-copy {
    padding: 24px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-note {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .button,
  .project-card,
  .location-grid article,
  .guide-grid a {
    border: 1px solid CanvasText;
  }
}

/* Sticky Call / WhatsApp (ads lead fix) */
.mobile-contact-bar { display: none; }
@media (max-width: 820px) {
  .mobile-contact-bar {
    height: 58px; position: fixed; inset: auto 0 0; z-index: 30;
    display: grid; grid-template-columns: 1fr 1fr; color: #fff;
    background: #17352f; box-shadow: 0 -5px 20px rgba(0,0,0,.18);
  }
  .mobile-contact-bar a {
    display: grid; place-items: center; border-right: 1px solid rgba(255,255,255,.24);
    font-size: .82rem; font-weight: 800; color: #fff; text-decoration: none;
  }
  .mobile-contact-bar a:last-child { border-right: 0; }
  body { padding-bottom: 58px; }
}
