:root {
  --bg: #f3f6f9;
  --bg-alt: #ffffff;
  --navy: #0b2545;
  --navy-deep: #071a30;
  --navy-soft: rgba(11, 37, 69, 0.05);
  --steel: #45566b;
  --line: rgba(11, 37, 69, 0.12);
  --text: #16232f;
  --muted: #56687b;
  --accent: #c8792f;
  --accent-soft: rgba(200, 121, 47, 0.14);
  --white: #ffffff;
  --shadow: 0 14px 34px rgba(11, 37, 69, 0.08);
  --shadow-strong: 0 26px 60px rgba(7, 26, 48, 0.16);
  --radius: 22px;
  --radius-sm: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Source Sans 3", sans-serif;
  background: var(--bg);
  color: var(--text);
}

body.homepage {
  background:
    radial-gradient(circle at top left, rgba(14, 46, 84, 0.46), transparent 28%),
    linear-gradient(180deg, #061321 0%, #081b2f 38%, #0a1f36 62%, #f3f6f9 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

li + li {
  margin-top: 8px;
}

h1,
h2,
h3,
strong,
.eyebrow,
.nav-cta,
.button,
.document-label {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.02em;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
}

.site-shell,
.document-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 0;
}

.utility-bar {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
}

.utility-bar::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--navy-deep);
  z-index: -1;
}

.utility-links {
  display: flex;
  gap: 20px;
}

.utility-links a:hover {
  color: var(--white);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  background: transparent;
  transition: box-shadow 200ms ease;
}

.topbar::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  z-index: -1;
}

.topbar.is-scrolled {
  box-shadow: none;
}

.topbar.is-scrolled::before {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 14px 30px rgba(11, 37, 69, 0.1);
}

.brand {
  display: flex;
  align-items: center;
}

.site-logo {
  display: block;
  height: 90px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  column-gap: 16px;
  row-gap: 8px;
  color: var(--steel);
}

.nav a {
  font-size: 0.88rem;
  font-weight: 600;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: var(--navy);
}

.nav a.is-current {
  border-color: var(--accent);
  color: var(--navy);
}

.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 1rem;
  border-bottom: 0;
}

.nav-cta.is-current {
  border-bottom: 0;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px 0;
  background: var(--navy);
}

.section {
  padding: 68px 0;
}

.hero,
.page-hero {
  position: relative;
  display: grid;
  gap: 32px;
  align-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, #0d2f57 100%);
  box-shadow: 0 0 0 100vmax var(--navy);
}

.hero {
  grid-template-columns: 1.25fr 0.9fr;
  min-height: calc(100vh - 118px);
}

.hero--image {
  overflow: hidden;
}

.hero--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 26, 48, 0.9) 0%, rgba(7, 26, 48, 0.82) 38%, rgba(7, 26, 48, 0.5) 68%, rgba(7, 26, 48, 0.68) 100%),
    url("images/home/hero-refinery-twilight.png") center/cover no-repeat;
  z-index: 0;
}

.hero--image > * {
  position: relative;
  z-index: 1;
}

.page-hero {
  grid-template-columns: 1.1fr 0.9fr;
}

.hero h1,
.hero p,
.hero strong,
.page-hero h1,
.page-hero p,
.page-hero strong {
  color: var(--white);
}

.hero .lead,
.page-hero .lead {
  color: rgba(255, 255, 255, 0.78);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 1rem;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(3.2rem, 8vw, 6rem);
  line-height: 0.92;
}

.hero h1 {
  max-width: 11ch;
}

.lead {
  max-width: 650px;
  margin-top: 22px;
  font-size: 1.2rem;
}

.hero-actions,
.contact-actions,
.resource-actions,
.document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions,
.document-actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 1rem;
  transition: transform 180ms ease, background-color 180ms ease;
  border: 0;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: var(--white);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(11, 37, 69, 0.03);
  color: var(--navy);
}

.hero .button-secondary,
.page-hero .button-secondary,
.contact-panel .button-secondary {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.content-card,
.service-card,
.value-card,
.project-card,
.mini-card,
.form-card,
.detail-card,
.document-page,
.document-toolbar {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.document-toolbar {
  border-radius: var(--radius);
}

.hero-panel {
  padding: 24px;
  position: relative;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-kicker {
  margin-bottom: 16px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.panel-grid,
.stacked-cards,
.form-grid,
.details-grid,
.resource-grid {
  display: grid;
  gap: 18px;
}

.panel-grid article {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.panel-grid span,
.document-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
}

.panel-grid strong {
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1.1;
}

.intro-band {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}

body.homepage .intro-band {
  position: relative;
  padding: 34px 28px;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.intro-band p {
  max-width: 920px;
  color: var(--navy);
  font-weight: 500;
  font-size: 1.16rem;
}

body.homepage .intro-band p {
  color: rgba(255, 255, 255, 0.82);
}

.trust-strip {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

body.homepage .home-services,
body.homepage .home-global,
body.homepage .home-resources {
  position: relative;
  margin-top: 34px;
  padding: 42px 0;
  border-radius: 30px;
  background: rgba(6, 19, 33, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

body.homepage .home-markets {
  margin-top: 34px;
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(200, 121, 47, 0.14), rgba(11, 37, 69, 0.64));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
}

body.homepage .home-trust {
  position: relative;
  margin-top: 34px;
  padding: 42px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.homepage .home-services,
body.homepage .home-global,
body.homepage .home-markets,
body.homepage .home-trust,
body.homepage .home-resources {
  box-shadow:
    0 0 0 100vmax transparent,
    0 28px 80px rgba(0, 0, 0, 0.2);
}

body.homepage .home-services .section-heading h2,
body.homepage .home-global .section-heading h2,
body.homepage .home-markets .section-heading h2,
body.homepage .home-trust h2,
body.homepage .home-resources .section-heading h2 {
  color: var(--white);
}

body.homepage .home-services .eyebrow,
body.homepage .home-global .eyebrow,
body.homepage .home-markets .eyebrow,
body.homepage .home-resources .eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

body.homepage .home-services .section-heading,
body.homepage .home-global .section-heading,
body.homepage .home-markets .section-heading,
body.homepage .home-resources .section-heading,
body.homepage .home-trust .trust-heading {
  padding-inline: 28px;
}

body.homepage .home-trust .trust-heading p,
body.homepage .home-services .section-heading p,
body.homepage .home-global .section-heading p,
body.homepage .home-markets .section-heading p,
body.homepage .home-resources .section-heading p {
  color: rgba(255, 255, 255, 0.68);
}

.trust-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.trust-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px;
}

.trust-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 14px;
  border: 1px solid #d9e0e7;
  border-radius: 14px;
  background: var(--white);
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgba(11, 37, 69, 0.06);
}

.trust-logo-image {
  display: block;
  width: 100%;
  max-width: 140px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading::before {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin-bottom: 16px;
  border-radius: 2px;
  background: var(--accent);
}

.hero .section-heading::before,
.page-hero .section-heading::before {
  background: var(--accent);
}

.section-heading h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 0.98;
}

.split-grid,
.resource-grid,
.page-grid,
.contact-layout,
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.content-card,
.mini-card,
.service-card,
.value-card,
.project-card,
.form-card,
.detail-card {
  border-radius: var(--radius-sm);
  padding: 24px;
}

.content-card,
.mini-card,
.form-card,
.detail-card {
  display: grid;
  gap: 16px;
}

.card-grid > *,
.split-grid > *,
.page-grid > *,
.contact-layout > *,
.details-grid > *,
.timeline > article {
  height: 100%;
}

body.homepage .home-global .content-card,
body.homepage .home-global .mini-card,
body.homepage .home-resources .content-card {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

body.homepage .home-global .content-card h3,
body.homepage .home-global .mini-card h3,
body.homepage .home-resources .content-card h3 {
  color: var(--white);
}

body.homepage .home-global .content-card p,
body.homepage .home-global .mini-card p,
body.homepage .home-resources .content-card p {
  color: rgba(255, 255, 255, 0.74);
}

.content-card--tight {
  gap: 12px;
}

.content-card--media {
  padding: 0;
  overflow: hidden;
}

.media-card {
  padding: 0;
  overflow: hidden;
  gap: 0;
}

.media-card-image {
  display: block;
  width: 100%;
  object-fit: cover;
}

.media-card-image--executive,
.media-card-image--portrait {
  min-height: 430px;
  height: 100%;
}

.media-card-image--field {
  min-height: 380px;
  height: 100%;
}

.media-card-caption {
  padding: 18px 22px;
  color: var(--muted);
  background: var(--white);
  line-height: 1.6;
}

.media-card-caption--dark {
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
}

.media-card-caption strong {
  color: var(--navy);
}

.media-card-caption--dark strong {
  color: var(--white);
}

.region-card {
  display: flex;
  flex-direction: column;
}

.region-card-image {
  height: 240px;
}

.region-card-body {
  display: grid;
  gap: 16px;
  padding: 22px 24px 24px;
}

.project-profile-card {
  display: flex;
  flex-direction: column;
}

.project-profile-image {
  height: 220px;
}

.project-profile-body {
  display: grid;
  gap: 14px;
  padding: 22px 24px 24px;
}

.project-profile-meta {
  margin: 0;
}

.safety-media-card {
  display: flex;
  flex-direction: column;
}

.safety-media-image {
  height: 240px;
}

.safety-media-body {
  display: grid;
  gap: 14px;
  padding: 22px 24px 24px;
}

.safety-highlight-card {
  margin: 0 0 24px;
}

.safety-highlight-image {
  height: 320px;
}

.careers-media-card {
  display: flex;
  flex-direction: column;
}

.careers-media-image {
  height: 250px;
}

.careers-media-body {
  display: grid;
  gap: 14px;
  padding: 22px 24px 24px;
}

.careers-highlight-card {
  margin: 0 0 24px;
}

.careers-highlight-image {
  height: 320px;
}

.contact-media-card {
  padding: 0;
  overflow: hidden;
}

.contact-media-image {
  height: 280px;
}

.contact-media-body {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.careers-detail-card {
  align-content: start;
}

.section-image,
.service-card-image {
  display: block;
  width: 100%;
  object-fit: cover;
}

.section-image {
  height: 100%;
  min-height: 420px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.service-card,
.value-card,
.project-card {
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.service-card {
  overflow: hidden;
  padding: 0;
}

body.homepage .service-card {
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(9, 26, 45, 0.78), rgba(6, 18, 31, 0.96));
}

.service-card-image {
  height: 210px;
}

.service-card h3,
.service-card p {
  padding-inline: 24px;
}

.service-card h3 {
  margin-top: 22px;
}

body.homepage .service-card h3 {
  color: var(--white);
}

.service-card p {
  padding-bottom: 24px;
}

body.homepage .service-card p {
  color: rgba(255, 255, 255, 0.72);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}

.card-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card:hover,
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.service-card h3,
.value-card h3,
.project-card h3,
.content-card h3,
.mini-card h3,
.form-card h3,
.detail-card h3,
.document-page h3,
.document-page h2 {
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.accent-section,
.page-accent {
  position: relative;
  padding: 36px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--navy-soft);
}

.page-accent {
  display: grid;
  gap: 14px;
  align-content: start;
  box-shadow: var(--shadow);
}

.hero .page-accent,
.page-hero .page-accent {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.hero .page-accent h3,
.page-hero .page-accent h3,
.hero .page-accent p,
.page-hero .page-accent p,
.hero .page-accent strong,
.page-hero .page-accent strong {
  color: rgba(255, 255, 255, 0.92);
}

.pill-grid,
.capability-list,
.role-grid,
.values-row,
.market-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-grid span,
.capability-list span,
.role-grid span,
.values-row span,
.market-grid span {
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.92rem;
  box-shadow: 0 4px 10px rgba(11, 37, 69, 0.05);
}

body.homepage .home-markets .pill-grid span {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  box-shadow: none;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.timeline article {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.2rem;
}

.project-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  border-color: var(--navy-deep);
}

.project-card h3 {
  color: var(--white);
  margin-bottom: 0;
}

.project-card .card-icon {
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.contact-panel,
.contact-layout {
  gap: 24px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  padding: 32px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  box-shadow: var(--shadow-strong);
}

.contact-panel h2,
.contact-panel strong {
  color: var(--white);
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.78);
}

body.homepage .trust-strip {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.contact-actions {
  align-content: start;
}

.detail-list {
  display: grid;
  gap: 8px;
}

.footer {
  margin-top: 40px;
  padding: 56px 0 0;
  background: var(--navy);
  box-shadow: 0 0 0 100vmax var(--navy);
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  padding-bottom: 36px;
}

.footer-brand {
  display: grid;
  gap: 14px;
  align-content: start;
}

.site-logo--footer {
  height: 70px;
  padding: 10px 16px;
  background: var(--white);
  border-radius: 14px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.68);
}

.footer-col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-col h4 {
  margin: 0 0 4px;
  color: var(--white);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a,
.footer-note {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer strong {
  display: block;
  margin-bottom: 8px;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.input-group {
  display: grid;
  gap: 8px;
}

.input-group.is-full {
  grid-column: 1 / -1;
}

label {
  color: var(--navy);
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #93a2b3;
}

.form-note,
.status-message,
.contact-note {
  color: var(--muted);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.status-message {
  min-height: 24px;
}

button:disabled {
  cursor: wait;
  opacity: 0.8;
}

.document-shell {
  max-width: 1020px;
}

.document-toolbar {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  margin: 24px 0;
  color: var(--text);
}

.document-toolbar strong {
  color: var(--navy);
}

.document-page {
  padding: 38px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 251, 0.98));
  color: #172331;
}

.document-page p,
.document-page li,
.document-page h2,
.document-page h3,
.document-page strong {
  color: #172331;
}

.document-page .muted {
  color: #4d5d6f;
}

.document-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 2px solid #d7dee6;
}

.document-columns {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  margin-top: 28px;
}

.document-section + .document-section {
  margin-top: 24px;
}

.document-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.document-list span {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f1f4f7;
}

.sheet-stack {
  display: grid;
  gap: 26px;
}

.sheet {
  padding: 30px;
  border-radius: 24px;
  border: 1px solid #d7dee6;
  background: #ffffff;
}

.sheet-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 2px solid #e4e9ef;
}

.sheet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.sheet-block {
  padding: 18px;
  border-radius: 18px;
  background: #f6f8fa;
}

.sheet-block ul {
  margin: 8px 0 0 0;
  padding-left: 20px;
}

.sheet-block li {
  margin-bottom: 5px;
  line-height: 1.5;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 12px;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 1080px) {
  .hero,
  .page-hero,
  .contact-panel,
  .split-grid,
  .resource-grid,
  .page-grid,
  .contact-layout,
  .details-grid,
  .document-columns,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-shell,
  .document-shell {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .section {
    padding: 56px 0;
  }

  .topbar,
  .document-toolbar,
  .document-header,
  .sheet-header,
  .footer {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0 4px;
  }

  .nav.is-open {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 20px;
  }

  .hero h1,
  .page-hero h1 {
    max-width: none;
    font-size: clamp(2.9rem, 16vw, 4.8rem);
  }

  .site-logo {
    height: 68px;
  }

  .card-grid,
  .timeline,
  .form-grid,
  .sheet-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 42px 0;
  }

  .utility-bar span {
    display: none;
  }

  .intro-band {
    padding-inline: 18px;
  }

  .document-page,
  .sheet {
    padding: 24px;
  }
}

@media print {
  body {
    background: #ffffff;
  }

  body::before,
  .document-toolbar {
    display: none !important;
  }

  .document-shell {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .document-page {
    box-shadow: none;
    border: 0;
    padding: 0;
  }

  .sheet {
    break-inside: avoid;
  }
}