:root {
  color-scheme: light;
  --navy: #101b2c;
  --navy-soft: #1b2b40;
  --ink: #1a2635;
  --muted: #647180;
  --paper: #f7f6f2;
  --white: #fff;
  --gold: #c5a56b;
  --gold-light: #dfc895;
  --line: #e5e2d9;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--navy);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 2;
  background: var(--white);
}

.header-inner,
.footer-inner,
.section-wrap {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: grid;
  gap: 0.18rem;
}

.brand-name {
  color: var(--navy);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.brand-department {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.primary-nav a {
  color: #485564;
  font-size: 0.79rem;
  text-decoration: none;
  transition: color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--navy);
}

.primary-nav .nav-contact {
  padding: 0.72rem 1rem;
  border: 1px solid #d5d9dc;
  color: var(--navy);
  font-weight: 600;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 545px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 5.5rem max(calc((100vw - 1120px) / 2), 1.5rem);
  background:
    radial-gradient(ellipse at 79% 45%, rgb(47 68 90 / 44%), transparent 39%),
    linear-gradient(112deg, #101b2c 4%, #15243a 60%, #1a2c43 100%);
  color: var(--white);
}

.hero::after {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, transparent 49.9%, rgb(255 255 255 / 5%) 50%, transparent 50.1%);
  background-size: 118px 100%;
  content: "";
  opacity: 0.3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(590px, 60%);
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-line,
.kicker-rule {
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  max-width: 620px;
  margin: 1.35rem 0 1rem;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 7vw, 5.7rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.99;
}

.hero h1 span {
  color: var(--gold-light);
}

.hero-summary {
  max-width: 450px;
  margin: 0;
  color: #d3dae2;
  font-size: 0.98rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 47px;
  padding: 0.75rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  background: var(--gold);
  color: var(--navy);
  transition: background 160ms ease;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--gold-light);
}

.text-link {
  color: var(--white);
  font-size: 0.78rem;
  text-decoration-color: var(--gold);
  text-underline-offset: 5px;
}

.hero-note {
  margin: 2.5rem 0 0;
  color: #aab5c2;
  font-size: 0.69rem;
  letter-spacing: 0.03em;
}

.hero-seal {
  position: absolute;
  top: 50%;
  right: max(calc((100vw - 1120px) / 2 + 5.5rem), 7%);
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 1.2rem;
  transform: translateY(-50%);
}

.seal-ring {
  width: clamp(190px, 24vw, 290px);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 1px solid rgb(223 200 149 / 62%);
  border-radius: 50%;
  box-shadow: inset 0 0 0 8px rgb(16 27 44 / 30%), inset 0 0 0 9px rgb(223 200 149 / 22%), 0 0 0 16px rgb(255 255 255 / 2%);
  color: var(--gold-light);
  transform: rotate(-8deg);
}

.seal-top,
.seal-bottom,
.seal-caption {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.seal-symbol {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 1px solid rgb(223 200 149 / 48%);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 2rem;
  letter-spacing: 0.06em;
}

.seal-caption {
  color: #aab5c2;
  letter-spacing: 0.24em;
}

.hero-index {
  position: absolute;
  right: max(calc((100vw - 1120px) / 2), 1.5rem);
  bottom: 1.8rem;
  color: #aab5c2;
  font-size: 0.62rem;
  letter-spacing: 0.13em;
}

.hero-index span {
  color: var(--gold-light);
}

.intro {
  padding-block: 6rem 5.7rem;
}

.section-kicker {
  color: #6b7480;
  font-size: 0.65rem;
}

.section-kicker > span:first-child {
  color: #a18a5e;
}

.intro .kicker-rule,
.section-heading .kicker-rule,
.contact .kicker-rule {
  background: #c5a56b;
}

.intro-copy {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr;
  gap: 6rem;
  align-items: end;
  margin: 1.7rem 0 0 4.2rem;
}

.intro h2,
.section-heading h2,
.contact h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.intro-detail p,
.section-heading > p,
.contact-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.85;
}

.arrow-link {
  display: inline-flex;
  gap: 0.7rem;
  margin-top: 1.4rem;
  color: var(--navy);
  font-size: 0.77rem;
  font-weight: 700;
  text-decoration-color: var(--gold);
  text-underline-offset: 5px;
}

.services {
  padding-block: 0 6.5rem;
}

.section-heading {
  margin-bottom: 2.3rem;
}

.section-heading h2 {
  margin-top: 1.2rem;
}

.section-heading > p {
  margin-top: 0.75rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 275px;
  padding: 1.6rem 1.55rem 2rem;
  border-right: 1px solid var(--line);
  background: transparent;
  transition: background 180ms ease;
}

.service-card:first-child {
  border-left: 1px solid var(--line);
}

.service-card:hover {
  background: var(--white);
}

.card-number {
  color: #9c8b6a;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.card-icon {
  width: 42px;
  height: 42px;
  margin-top: 1.5rem;
  color: #a58d61;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  margin: 1rem 0 0.55rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
}

.service-card p {
  max-width: 270px;
  margin: 0;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.7;
}

.card-accent {
  position: absolute;
  bottom: -1px;
  left: 1.55rem;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 180ms ease;
}

.service-card:hover .card-accent {
  width: 44px;
}

.notice-band {
  background: #eceae3;
}

.notice-inner {
  width: min(1120px, calc(100% - 3rem));
  min-height: 170px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  margin-inline: auto;
  padding-block: 2rem;
}

.notice-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #c5a56b;
  color: #93774a;
  font-family: var(--serif);
  font-size: 1.5rem;
}

.notice-label {
  margin: 0 0 0.45rem;
  color: #8b7857;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.notice-inner h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
}

.notice-inner > div > p:last-child {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.notice-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #687281;
  font-size: 0.68rem;
}

.notice-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7d9a83;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 5rem;
  align-items: center;
  padding-block: 6rem;
}

.contact h2 {
  max-width: 470px;
  margin-top: 1.4rem;
}

.contact-copy > p {
  max-width: 490px;
  margin-top: 1rem;
}

.contact-copy .contact-note {
  margin-top: 1rem;
  color: #8b7857;
  font-size: 0.76rem;
}

.contact-panel {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.2rem;
  border: 1px solid #d9d4c8;
  background: var(--white);
}

.contact-panel-label {
  color: #8b7857;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-panel-title {
  margin-top: 0.8rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.75rem;
}

.contact-panel-rule {
  width: 37px;
  height: 1px;
  margin-top: 1.3rem;
  background: var(--gold);
}

.contact-panel-caption {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.7rem;
}

.site-footer {
  background: var(--navy);
  color: #d8dee5;
}

.footer-inner {
  min-height: 135px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}

.footer-brand {
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
}

.footer-brand span {
  padding-inline: 0.35rem;
  color: var(--gold);
}

.footer-inner p {
  max-width: 425px;
  margin: 0;
  color: #aeb8c3;
  font-size: 0.68rem;
  line-height: 1.7;
}

.copyright {
  color: #aeb8c3;
  font-size: 0.66rem;
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

@media (max-width: 820px) {
  .primary-nav {
    gap: 1.1rem;
  }

  .hero {
    min-height: 515px;
  }

  .hero-content {
    width: 72%;
  }

  .hero-seal {
    right: 4%;
    opacity: 0.38;
  }

  .intro-copy {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-left: 0;
  }

  .contact {
    gap: 2rem;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    gap: 0.8rem 1.5rem;
    padding-block: 1.7rem;
  }

  .footer-inner p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 620px) {
  .header-inner,
  .footer-inner,
  .section-wrap {
    width: min(100% - 2rem, 1120px);
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-mark {
    width: 39px;
    height: 39px;
  }

  .brand-name {
    font-size: 0.68rem;
  }

  .brand-department {
    font-size: 0.67rem;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0;
    border: 0;
    background: transparent;
    color: var(--navy);
    font: inherit;
    font-size: 0.76rem;
  }

  .menu-toggle-icon,
  .menu-toggle-icon::before,
  .menu-toggle-icon::after {
    width: 17px;
    height: 1px;
    display: block;
    background: currentColor;
  }

  .menu-toggle-icon {
    position: relative;
  }

  .menu-toggle-icon::before,
  .menu-toggle-icon::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .menu-toggle-icon::before {
    top: -5px;
  }

  .menu-toggle-icon::after {
    top: 5px;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 12px 18px rgb(16 27 44 / 10%);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 0.85rem 0.25rem;
  }

  .primary-nav .nav-contact {
    margin-top: 0.35rem;
    text-align: center;
  }

  .hero {
    min-height: 520px;
    padding: 4.2rem 1.2rem 5rem;
  }

  .hero-content {
    width: 100%;
  }

  .hero h1 {
    max-width: 440px;
    font-size: clamp(3.25rem, 15vw, 4.4rem);
  }

  .hero-summary {
    max-width: 390px;
    font-size: 0.9rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.15rem;
  }

  .hero-note {
    max-width: 220px;
    margin-top: 1.8rem;
    line-height: 1.6;
  }

  .hero-seal {
    top: auto;
    right: -80px;
    bottom: 22px;
    transform: scale(0.65);
    transform-origin: bottom right;
  }

  .hero-index {
    right: 1rem;
    bottom: 1rem;
  }

  .intro {
    padding-block: 4rem;
  }

  .intro h2,
  .section-heading h2,
  .contact h2 {
    font-size: 2.45rem;
  }

  .services {
    padding-bottom: 4rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:first-child {
    min-height: 0;
    padding: 1.4rem 1.2rem 1.6rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .card-icon {
    margin-top: 1rem;
  }

  .service-card h3 {
    margin-top: 0.6rem;
  }

  .notice-inner {
    width: calc(100% - 2rem);
    grid-template-columns: auto 1fr;
    gap: 1rem;
  }

  .notice-mark {
    width: 40px;
    height: 40px;
  }

  .notice-inner h2 {
    font-size: 1.3rem;
  }

  .notice-status {
    grid-column: 2;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 4rem;
  }

  .contact-panel {
    min-height: 190px;
    padding: 1.6rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .footer-inner p {
    grid-column: auto;
    grid-row: auto;
  }

  .copyright {
    margin-top: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
