:root {
  --bg: #f3f6fb;
  --surface: rgba(255, 255, 255, 0.92);
  --ink: #111318;
  --muted: #58677b;
  --blue: #22548c;
  --blue-deep: #173c66;
  --red: #b52b2c;
  --red-deep: #8f2022;
  --line: rgba(17, 28, 48, 0.1);
  --shadow: 0 20px 60px rgba(22, 44, 78, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(34, 84, 140, 0.14), transparent 30%),
    radial-gradient(circle at top right, rgba(181, 43, 44, 0.1), transparent 26%),
    linear-gradient(180deg, #eef3f9 0%, #f9fbff 45%, #eff4fa 100%);
}

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

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

.page-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 56px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(31, 48, 75, 0.08);
}

.brand-logo {
  width: 118px;
  height: auto;
}

.site-nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.96rem;
}

.site-nav a:hover,
.site-nav .is-active {
  color: var(--blue-deep);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta,
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  box-shadow: 0 14px 28px rgba(23, 60, 102, 0.22);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
}

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

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--red-deep);
}

.hero-visual {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
  margin-top: 26px;
  padding: 28px;
  border-radius: 38px;
  border: 1px solid rgba(18, 32, 55, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 253, 0.96));
  box-shadow: var(--shadow);
}

.hero-visual-copy h1,
.page-intro h1 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero-visual-copy h1 {
  font-size: clamp(2.4rem, 4.8vw, 4.25rem);
  max-width: 11ch;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-visual-text,
.quick-strip p,
.gallery-copy p,
.service-tile p,
.portal-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-visual-text {
  max-width: 52ch;
  margin: 18px 0 0;
  font-size: 1.02rem;
}

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

.hero-visual-art {
  min-height: 100%;
  padding: 8px;
}

.hero-visual-art img {
  width: 100%;
  border-radius: 28px;
}

.photo-crop {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-hero {
  min-height: 520px;
  object-position: center center;
}

.home-card-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}

.image-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border-radius: 30px;
  border: 1px solid rgba(17, 28, 48, 0.08);
  background: #fff;
  box-shadow: 0 14px 34px rgba(31, 48, 75, 0.08);
}

.image-card-large {
  min-height: 420px;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.image-card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px;
  background: linear-gradient(180deg, rgba(10, 16, 27, 0) 0%, rgba(10, 16, 27, 0.8) 100%);
  color: #fff;
}

.image-card-overlay span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.image-card-overlay strong {
  font-size: 1.3rem;
  line-height: 1.2;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.quick-strip article,
.gallery-card,
.service-tile,
.portal-card {
  border: 1px solid rgba(17, 28, 48, 0.08);
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(33, 49, 79, 0.06);
}

.quick-strip article {
  padding: 18px 20px;
  border-radius: 24px;
}

.quick-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-deep);
}

.inner-page {
  margin-top: 28px;
}

.page-intro {
  margin-bottom: 24px;
}

.page-intro h1 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  max-width: 12ch;
}

.gallery-grid,
.service-tiles,
.portal-grid {
  display: grid;
  gap: 20px;
}

.gallery-card {
  overflow: hidden;
  border-radius: 32px;
}

.gallery-card img {
  width: 100%;
  height: clamp(240px, 34vw, 360px);
  object-fit: cover;
  object-position: center center;
}

.gallery-copy {
  padding: 22px 24px 24px;
}

.gallery-copy span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(34, 84, 140, 0.08);
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-copy h2,
.service-tile h2,
.portal-card h2 {
  margin: 16px 0 10px;
  font-size: 1.5rem;
}

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

.service-tile,
.portal-card {
  padding: 24px;
  border-radius: 28px;
}

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

  .hero-visual,
  .home-card-grid,
  .quick-strip,
  .service-tiles,
  .portal-grid {
    grid-template-columns: 1fr;
  }

  .image-card-large {
    min-height: 320px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1240px);
    padding-top: 12px;
  }

  .site-header {
    top: 8px;
    padding: 12px 14px;
    border-radius: 20px;
  }

  .brand-logo {
    width: 94px;
  }

  .nav-cta {
    display: none;
  }

  .hero-visual {
    padding: 18px;
    border-radius: 28px;
  }

  .hero-visual-copy h1,
  .page-intro h1 {
    max-width: none;
  }

  .image-card,
  .gallery-card,
  .service-tile,
  .portal-card,
  .quick-strip article {
    border-radius: 24px;
  }
}
