:root {
  --background: #f8f9fa;
  --surface-low: #f3f4f5;
  --surface-base: #edeeef;
  --surface-high: #e7e8e9;
  --surface-highest: #e1e3e4;
  --surface-white: #ffffff;
  --primary: #003358;
  --primary-container: #004a7c;
  --secondary: #48626e;
  --secondary-container: #cbe7f5;
  --tertiary: #502600;
  --outline: #c1c7d0;
  --text: #191c1d;
  --text-soft: #42474f;
  --focus-ring: #87baf3;
  --shadow-soft: 0 28px 60px rgba(25, 28, 29, 0.06);
  --shadow-card: 0 32px 70px rgba(0, 51, 88, 0.08);
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --radius-sm: 0.75rem;
  --container: 74rem;
}

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

html {
  scroll-behavior: smooth;
  background: var(--primary);
}

[id] {
  scroll-margin-top: 1rem;
}

body {
  margin: 0;
  background: var(--primary);
  color: var(--text);
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.65;
}

main {
  display: block;
  background: var(--background);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

h1,
h2,
h3,
.brand,
.button {
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--primary);
  color: var(--surface-white);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.brand {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.8rem 1.25rem;
  border-radius: 0.45rem;
  text-decoration: none;
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.82;
  transform: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: var(--surface-white);
}

.button-light {
  background: var(--surface-white);
  color: var(--primary);
}

.button-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--surface-white);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.home-hero {
  position: relative;
  min-height: min(48rem, 88vh);
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.home-hero-media,
.home-hero-overlay {
  position: absolute;
  inset: 0;
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero-overlay {
  background:
    linear-gradient(135deg, rgba(0, 51, 88, 0.92), rgba(0, 74, 124, 0.72)),
    linear-gradient(180deg, rgba(0, 51, 88, 0.24), rgba(0, 51, 88, 0.12));
}

.home-hero-content,
.statement-main {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 33rem;
  color: var(--surface-white);
}

.kicker,
.mini-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker {
  color: var(--secondary);
  margin-bottom: 1.1rem;
}

.kicker.light {
  color: rgba(255, 255, 255, 0.76);
}

.kicker.accent {
  color: var(--tertiary);
}

.hero-copy h1,
.statement-hero-card h1 {
  font-size: clamp(3rem, 8vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-subtitle {
  max-width: 29rem;
  margin-top: 1.4rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}

.about-section {
  background: var(--background);
}

.surface-section {
  background: var(--surface-low);
}

.split-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.9fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.statement-block h2 {
  color: var(--primary);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.section-copy .section-intro,
.section-heading p,
.statement-block > p {
  margin-top: 1.25rem;
  color: var(--text-soft);
  font-size: 1.03rem;
}

.rich-copy {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
  color: var(--text-soft);
}

.image-panel {
  position: relative;
}

.image-panel img,
.bento-card img,
.statement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-crop-top-40 {
  height: calc(100% + 80px);
  transform: translateY(-80px);
}

.image-panel-about {
  min-height: 36rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.section-heading {
  max-width: 44rem;
}

.section-heading-wide {
  max-width: 52rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr auto;
  gap: 1.25rem;
  margin-top: 2.5rem;
  min-height: 40rem;
}

.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.bento-card-large {
  grid-row: 1 / span 2;
}

.bento-card-small {
  min-height: 18rem;
}

.bento-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 1.6rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.66));
  color: var(--surface-white);
}

.bento-card-small .bento-overlay {
  background: linear-gradient(180deg, transparent 18%, rgba(0, 0, 0, 0.82));
}

.bento-overlay h3 {
  font-size: 1.35rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.bento-overlay p {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.info-card,
.form-card,
.statement-sidebar-card,
.statement-callout,
.spec-card,
.feedback-card {
  background: var(--surface-white);
  box-shadow: var(--shadow-soft);
}

.info-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  border-radius: var(--radius-lg);
  color: var(--text-soft);
}

.mini-label {
  color: var(--tertiary);
  margin-bottom: 0.75rem;
}

.contact-section {
  background: var(--background);
}

.contact-layout {
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.contact-detail p:last-child,
.feedback-card a,
.contact-detail a {
  color: var(--text-soft);
}

.contact-detail a:hover,
.feedback-card a:hover,
.footer-nav a:hover,
.statement-sidebar-card a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.form-card {
  padding: 2rem;
  border-radius: 1.5rem;
}

.contact-form {
  display: grid;
  gap: 1.15rem;
}

.form-fields {
  display: grid;
  gap: 1.15rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0.65rem;
  background: var(--surface-low);
  color: var(--text);
  padding: 0.95rem 1rem;
  font: inherit;
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--primary);
  background: var(--surface-base);
}

.form-note {
  min-height: 1.4rem;
  color: var(--secondary);
  font-size: 0.94rem;
}

.form-note-success {
  color: #0f6642;
}

.form-note-error,
.field-error {
  color: #9c1f2f;
}

.field-error {
  min-height: 1rem;
  font-size: 0.86rem;
}

.form-confirmation {
  padding: 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(0, 51, 88, 0.06), rgba(0, 74, 124, 0.12));
  border: 1px solid rgba(0, 51, 88, 0.14);
}

.form-confirmation[hidden] {
  display: none;
}

.form-confirmation h3 {
  color: var(--primary);
  font-size: 1.6rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.form-confirmation p:last-child {
  margin-top: 0.75rem;
  color: var(--text-soft);
}

.contact-form.is-success .form-fields,
.contact-form.is-success .form-note-success,
.contact-form.is-success .form-note-error {
  display: none;
}

.site-footer {
  background: var(--surface-low);
  padding: 2.25rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand p,
.footer-nav a {
  color: var(--secondary);
  font-size: 0.88rem;
}

.footer-brand p {
  text-decoration: none;
}

.footer-nav a[aria-current="page"] {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25rem;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.statement-main {
  padding-top: 0;
}

.statement-hero {
  padding-top: 1.25rem;
  padding-bottom: 2rem;
}

.statement-hero-card {
  position: relative;
  overflow: hidden;
  padding: clamp(2.2rem, 4vw, 4rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: var(--surface-white);
  box-shadow: var(--shadow-card);
}

.statement-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.18), transparent 35%);
}

.statement-hero-card > * {
  position: relative;
  z-index: 1;
}

.statement-hero-card p:last-child {
  max-width: 42rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
}

.statement-section {
  padding-top: 0;
}

.statement-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.statement-sidebar {
  position: sticky;
  top: 1.5rem;
}

.statement-sidebar-card {
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  background: var(--surface-low);
}

.statement-sidebar-card nav {
  display: grid;
  gap: 0.9rem;
}

.statement-sidebar-card a {
  color: var(--secondary);
  font-weight: 500;
}

.statement-sidebar-card a:focus-visible {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.statement-article {
  display: grid;
  gap: 2.75rem;
}

.statement-block {
  display: grid;
  gap: 1rem;
}

.statement-block h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.statement-callout {
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  border-left: 4px solid var(--primary);
  border-radius: 0 1rem 1rem 0;
}

.statement-callout strong {
  display: block;
  font-family: "Manrope", sans-serif;
  color: var(--text);
}

.statement-callout p {
  margin-top: 0.5rem;
  color: var(--text-soft);
}

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

.spec-card {
  padding: 1.4rem;
  border-radius: 0.95rem;
  background: var(--surface-base);
}

.spec-card strong {
  display: block;
  font-family: "Manrope", sans-serif;
  color: var(--primary);
}

.spec-card p {
  margin-top: 0.45rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.feedback-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--surface-high);
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.statement-image {
  position: relative;
  overflow: hidden;
  min-height: 16rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.statement-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 51, 88, 0.5), rgba(0, 74, 124, 0.18));
}

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

  .button {
    transition: none;
  }
}

@media (max-width: 960px) {
  .split-layout,
  .contact-layout,
  .statement-layout,
  .field-row,
  .feedback-grid {
    grid-template-columns: 1fr;
  }

  .statement-sidebar {
    position: static;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .bento-card-large {
    grid-row: auto;
  }

}

@media (max-width: 780px) {
  .home-hero {
    min-height: 34rem;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .section-copy h2,
  .section-heading h2,
  .statement-block h2 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

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