:root {
  --white: #ffffff;
  --off-white: #f7f9fb;
  --ivory: #fffdf8;
  --mist: #eef4f8;
  --navy: #071a2f;
  --deep-blue: #0c2d4d;
  --blue: #174c76;
  --blue-soft: #dfeaf2;
  --gold: #d5b36a;
  --gold-soft: #f2d99c;
  --warm: #f4a64b;
  --ink: #10243a;
  --muted: #5e6f7f;
  --line: rgba(15, 55, 91, 0.13);
  --line-strong: rgba(213, 179, 106, 0.34);
  --shadow: 0 28px 70px rgba(5, 25, 45, 0.13);
  --shadow-soft: 0 18px 48px rgba(5, 25, 45, 0.08);
  --radius: 30px;
  --font-serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-sans: "Zen Kaku Gothic New", system-ui, sans-serif;
  --button-bg: linear-gradient(135deg, #0c3156, var(--blue) 58%, #1f638d);
  --button-hover-bg: linear-gradient(135deg, #0c3156, var(--blue) 58%, #1f638d);
  --button-color: var(--white);
  --button-border: rgba(255, 255, 255, 0.18);
  --button-hover-border: rgba(255, 255, 255, 0.26);
  --button-shadow: 0 16px 32px rgba(7, 26, 47, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  --button-hover-shadow: 0 18px 36px rgba(7, 26, 47, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.85;
  background:
    radial-gradient(circle at 8% 4%, rgba(213, 179, 106, 0.12), transparent 24rem),
    linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}

body.nav-open {
  overflow: hidden;
}

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

img,
svg {
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(15, 55, 91, 0.1);
  box-shadow: 0 10px 40px rgba(7, 26, 47, 0.05);
  backdrop-filter: blur(18px);
}

.header-inner,
.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  background: linear-gradient(145deg, var(--deep-blue), var(--blue) 58%, var(--gold));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50% 50% 48% 52%;
  box-shadow: 0 12px 28px rgba(7, 26, 47, 0.2);
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.12rem;
}

.logo--company {
  flex-shrink: 0;
  max-width: min(52vw, 360px);
  padding: 8px 0;
  color: var(--navy);
  letter-spacing: 0.045em;
  line-height: 1.35;
}

.logo--company .logo-text {
  font-size: clamp(1.05rem, 1.15vw, 1.28rem);
  font-weight: 600;
  white-space: nowrap;
  overflow-wrap: anywhere;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(16, 36, 58, 0.76);
  font-size: 0.92rem;
  font-weight: 500;
}

.global-nav a {
  transition: color 0.2s ease, opacity 0.2s ease;
}

.global-nav a:hover,
.global-nav a:focus-visible {
  color: var(--blue);
}

.nav-contact {
  padding: 9px 18px;
  color: var(--button-color) !important;
  border: 1px solid var(--button-border);
  border-radius: 999px;
  background: var(--button-bg);
  box-shadow: 0 10px 24px rgba(7, 26, 47, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.nav-contact:hover,
.nav-contact:focus-visible {
  color: var(--button-color) !important;
  background: var(--button-hover-bg);
  border-color: var(--button-hover-border);
  box-shadow: var(--button-hover-shadow);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(7, 26, 47, 0.08);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--deep-blue);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 820px;
  padding: 158px 0 112px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 14, 28, 0.96) 0%, rgba(5, 22, 42, 0.9) 31%, rgba(7, 26, 47, 0.66) 52%, rgba(7, 26, 47, 0.18) 72%, rgba(7, 26, 47, 0.04) 100%),
    linear-gradient(180deg, rgba(3, 14, 28, 0.26) 0%, rgba(3, 14, 28, 0.08) 42%, rgba(3, 14, 28, 0.36) 100%),
    url("images/hero-candle.png") right center / cover no-repeat,
    #071a2f;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 22% 28%, rgba(52, 105, 148, 0.28), transparent 28rem),
    linear-gradient(90deg, rgba(7, 26, 47, 0.5), transparent 68%);
  pointer-events: none;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 22%, rgba(0, 0, 0, 0.16) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 550px;
}

.hero-copy {
  max-width: 720px;
  padding: clamp(18px, 4vw, 46px) 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: var(--font-serif);
  line-height: 1.45;
}

h1 {
  max-width: 860px;
  margin-bottom: 34px;
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  letter-spacing: 0.02em;
}

.hero-title {
  max-width: 8.6em;
  margin: 0;
  color: var(--white);
  font-size: clamp(3.7rem, 5.8vw, 5.9rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.04em;
  text-shadow: 0 20px 46px rgba(0, 0, 0, 0.3), 0 0 28px rgba(242, 217, 156, 0.2);
  text-wrap: balance;
}

.hero-title-desktop {
  display: inline;
}

.hero-title-mobile {
  display: none;
}

h2 {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
}

h3 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 1.22rem;
}

.hero-lead {
  max-width: 560px;
  margin: 0 0 clamp(30px, 4vw, 48px);
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.5vw, 1.34rem);
  font-weight: 500;
  line-height: 2.15;
  letter-spacing: 0.09em;
}


.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 154px;
  min-height: 52px;
  padding: 12px 26px;
  color: var(--button-color);
  font-weight: 700;
  border: 1px solid var(--button-border);
  border-radius: 999px;
  background: var(--button-bg);
  box-shadow: var(--button-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  color: var(--button-color);
  background: var(--button-hover-bg);
  border-color: var(--button-hover-border);
  box-shadow: var(--button-hover-shadow);
  transform: translateY(-2px);
}

.button.primary {
  color: var(--button-color);
  background: var(--button-bg);
  border-color: var(--button-border);
  box-shadow: var(--button-shadow);
}

.button.secondary {
  color: var(--button-color);
  background: var(--button-bg);
  border-color: var(--button-border);
  box-shadow: var(--button-shadow);
}

.section {
  padding: 112px 0;
}

.two-column,
.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 76px;
  align-items: center;
}

.section-text,
.split-content p,
.section-heading p,
.contact-copy p,
.contact-card p {
  color: var(--muted);
}

.section-text p:last-child,
.split-content p:last-child,
.contact-copy p:last-child {
  margin-bottom: 0;
}

.centered {
  max-width: 720px;
  margin: 0 auto 54px;
  text-align: center;
}

.business,
.company {
  background:
    radial-gradient(circle at 92% 10%, rgba(213, 179, 106, 0.12), transparent 18rem),
    linear-gradient(180deg, #f6f9fc, #edf4f8);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 26px;
  align-items: stretch;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 260px;
  padding: 44px 32px 38px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.service-card::before {
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.service-card h3 {
  min-height: 2.9em;
  margin-bottom: 18px;
  font-size: clamp(1.16rem, 1.6vw, 1.25rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.035em;
  text-wrap: balance;
}

.service-card p {
  flex: 1 1 auto;
  max-width: 30em;
  margin-bottom: 0;
  color: #5a6b7b;
  font-size: 0.98rem;
  line-height: 2;
  letter-spacing: 0.025em;
}


.links {
  position: relative;
  padding: 128px 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% -18%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0) 44rem),
    radial-gradient(circle at 14% 18%, rgba(213, 179, 106, 0.13), transparent 18rem),
    radial-gradient(circle at 88% 76%, rgba(23, 76, 118, 0.09), transparent 22rem),
    linear-gradient(145deg, #ffffff 0%, #f4f8fb 48%, #edf4f8 100%);
}

.links::before {
  position: absolute;
  inset: 32px;
  content: "";
  border: 1px solid rgba(213, 179, 106, 0.18);
  border-radius: 46px;
  pointer-events: none;
}

.links::after {
  position: absolute;
  top: -18%;
  left: 42%;
  width: 46rem;
  height: 64rem;
  content: "";
  background: linear-gradient(106deg, rgba(255, 255, 255, 0) 19%, rgba(255, 255, 255, 0.58) 44%, rgba(242, 217, 156, 0.1) 56%, rgba(255, 255, 255, 0) 75%);
  filter: blur(1px);
  opacity: 0.74;
  pointer-events: none;
  transform: rotate(10deg);
}

.links .section-inner {
  position: relative;
  z-index: 1;
}

.links .section-heading {
  max-width: 690px;
  margin-bottom: 62px;
}

.links .section-heading h2 {
  margin-bottom: 18px;
  letter-spacing: 0.035em;
}

.links .section-heading p:not(.eyebrow) {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
  line-height: 2;
}

.link-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 28px;
  align-items: stretch;
}

.link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 320px;
  padding: 42px 24px 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 253, 0.94));
  border: 1px solid rgba(15, 55, 91, 0.11);
  border-radius: 34px;
  box-shadow: 0 22px 54px rgba(5, 25, 45, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.link-card:hover,
.link-card:focus-within {
  border-color: rgba(213, 179, 106, 0.3);
  box-shadow: 0 30px 68px rgba(5, 25, 45, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateY(-6px);
}

.link-card::before {
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(213, 179, 106, 0.82), transparent);
}

.link-card::after {
  position: absolute;
  top: -84px;
  right: -82px;
  width: 190px;
  height: 190px;
  content: "";
  background: radial-gradient(circle, rgba(223, 234, 242, 0.58), transparent 66%);
  pointer-events: none;
}

.link-card-title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 4.1em;
  margin-bottom: 18px;
}

.link-card-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--deep-blue);
  background: linear-gradient(145deg, #ffffff, rgba(223, 234, 242, 0.72));
  border: 1px solid rgba(213, 179, 106, 0.28);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.5), 0 10px 22px rgba(7, 26, 47, 0.06);
}

.link-card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.link-card h3 {
  margin-bottom: 0;
  padding-top: 0.28em;
  font-size: clamp(1rem, 1.12vw, 1.08rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.018em;
  white-space: nowrap;
}

.link-card p {
  flex: 1 1 auto;
  max-width: 30em;
  margin-bottom: 32px;
  color: #5a6b7b;
  font-size: 0.96rem;
  line-height: 2;
  letter-spacing: 0.02em;
}

.link-button {
  align-self: flex-start;
  margin-top: auto;
  min-width: 0;
  min-height: 50px;
  padding: 10px 24px;
  color: var(--button-color);
  background: var(--button-bg);
  border-color: var(--button-border);
  box-shadow: var(--button-shadow);
}

.link-button::after {
  margin-left: 10px;
  font-size: 0.9em;
  content: "↗";
  transition: transform 0.2s ease;
}

.link-button:hover,
.link-button:focus-visible {
  color: var(--button-color);
  background: var(--button-hover-bg);
  border-color: var(--button-hover-border);
  box-shadow: var(--button-hover-shadow);
}

.link-button:hover::after,
.link-button:focus-visible::after {
  transform: translate(2px, -2px);
}

.split-section {
  background: linear-gradient(180deg, var(--white), #f8fbfd);
}

.split-section.alt {
  background: var(--white);
}

.split-grid.reverse {
  grid-template-columns: 1.08fr 0.92fr;
}

.split-visual {
  position: relative;
  min-height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 40px;
  background:
    radial-gradient(circle at 68% 22%, rgba(245, 179, 88, 0.22), transparent 13rem),
    linear-gradient(145deg, #f8fbfd, #dcebf3 58%, #a9c8da);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.split-visual::before {
  position: absolute;
  inset: 30px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 32px;
}

.split-visual::after {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  content: "";
  background: radial-gradient(circle, rgba(7, 26, 47, 0.2), transparent 66%);
  border-radius: 50%;
}

.material-visual {
  display: grid;
  min-height: 430px;
  padding: clamp(16px, 2.2vw, 26px);
  background: linear-gradient(145deg, #ffffff, #f6f9fb);
  place-items: stretch;
}

.material-visual::before {
  inset: clamp(10px, 1.6vw, 18px);
  z-index: 2;
  pointer-events: none;
}

.material-visual::after {
  z-index: 0;
  pointer-events: none;
}

.material-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 28px;
  box-shadow: 0 20px 46px rgba(5, 25, 45, 0.16);
}

.wax-circle {
  position: absolute;
  top: 72px;
  left: 50%;
  width: 196px;
  height: 196px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(23, 76, 118, 0.12);
  border-radius: 50%;
  box-shadow: inset 0 -18px 38px rgba(23, 76, 118, 0.1), 0 22px 48px rgba(7, 26, 47, 0.12);
  transform: translateX(-50%);
}

.wick-line {
  position: absolute;
  right: 30%;
  bottom: 82px;
  width: 140px;
  height: 200px;
  border-right: 4px solid rgba(12, 45, 77, 0.34);
  border-bottom: 4px solid rgba(12, 45, 77, 0.34);
  border-radius: 0 0 120px 0;
}

.oem-visual {
  --oem-frame-inset: clamp(24px, 4vw, 44px);

  display: grid;
  padding: var(--oem-frame-inset);
  background:
    radial-gradient(circle at 50% 34%, rgba(245, 179, 88, 0.28), transparent 10rem),
    linear-gradient(145deg, #06162a, #0b3155 62%, #174c76);
  place-items: stretch;
}

.oem-visual::before {
  border-color: rgba(255, 255, 255, 0.16);
}

.oem-visual img {
  position: absolute;
  inset: var(--oem-frame-inset);
  z-index: 1;
  display: block;
  width: calc(100% - (var(--oem-frame-inset) * 2));
  height: calc(100% - (var(--oem-frame-inset) * 2));
  object-fit: cover;
  object-position: center;
  border-radius: 28px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--ink);
  font-weight: 500;
}

.check-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 16px;
  height: 16px;
  content: "";
  background: linear-gradient(135deg, var(--deep-blue), var(--blue) 62%, var(--gold));
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(23, 76, 118, 0.09);
}

.company-table-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 8px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

.company-table {
  width: 100%;
  overflow: hidden;
  background: var(--white);
  border-collapse: collapse;
  border-radius: 24px;
}

.company-table th,
.company-table td {
  padding: 24px 28px;
  text-align: left;
  border-bottom: 1px solid rgba(15, 55, 91, 0.1);
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: 0;
}

.company-table th {
  width: 210px;
  color: var(--deep-blue);
  font-weight: 700;
  background: linear-gradient(135deg, #f5f9fc, #eaf2f7);
}

.contact {
  background:
    radial-gradient(circle at 14% 18%, rgba(213, 179, 106, 0.11), transparent 18rem),
    linear-gradient(180deg, var(--white), #f7fafc);
}

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


.contact-card {
  display: grid;
  gap: 18px;
  padding: 38px;
  background: linear-gradient(145deg, #ffffff, #f1f6fa);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card-label {
  margin-bottom: -6px;
  color: var(--gold) !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-mail {
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-mail:hover,
.contact-mail:focus-visible {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-button {
  width: fit-content;
}

.site-footer {
  padding: 36px 0;
  color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(135deg, #06162a, #0b2745 58%, #071a2f);
}

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

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

.footer-logo .logo-mark {
  box-shadow: none;
}

.footer-inner p {
  margin: 0;
}

@media (min-width: 921px) {
  .hero-title {
    max-width: min(8.6em, 100%);
    white-space: nowrap;
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .global-nav {
    position: fixed;
    top: 78px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    padding: 14px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-14px);
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .global-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .global-nav a {
    padding: 13px 12px;
  }

  .nav-contact {
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    min-height: 720px;
    padding: 132px 0 82px;
    background:
      linear-gradient(90deg, rgba(3, 14, 28, 0.96) 0%, rgba(5, 22, 42, 0.88) 44%, rgba(7, 26, 47, 0.42) 78%, rgba(7, 26, 47, 0.14) 100%),
      linear-gradient(180deg, rgba(3, 14, 28, 0.18) 0%, rgba(3, 14, 28, 0.18) 48%, rgba(3, 14, 28, 0.64) 100%),
      url("images/hero-candle.png") 64% center / cover no-repeat,
      #071a2f;
  }

  .hero-content {
    min-height: 500px;
  }

  .two-column,
  .split-grid,
  .split-grid.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .materials .split-content {
    order: 1;
  }

  .materials .material-visual {
    order: 2;
  }

  .service-grid,
  .link-card-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .link-card-grid {
    grid-auto-rows: auto;
  }

  .service-card,
  .link-card {
    min-height: auto;
  }

  .service-card h3,
  .link-card-title {
    min-height: auto;
  }

  .links {
    padding: 104px 0;
  }

  .link-card:hover,
  .link-card:focus-within {
    transform: translateY(-4px);
  }

  .split-visual,
  .material-visual {
    min-height: 340px;
  }

  .material-visual img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .section-inner {
    width: min(100% - 28px, 1120px);
  }

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

  .global-nav {
    top: 68px;
    left: 14px;
    right: 14px;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .logo--company {
    max-width: calc(100vw - 92px);
    letter-spacing: 0.02em;
  }

  .logo--company .logo-text {
    font-size: clamp(0.98rem, 4.5vw, 1.08rem);
  }

  .hero {
    min-height: 690px;
    padding: 116px 0 68px;
    background:
      linear-gradient(180deg, rgba(3, 14, 28, 0.94) 0%, rgba(5, 22, 42, 0.86) 42%, rgba(7, 26, 47, 0.48) 66%, rgba(3, 14, 28, 0.76) 100%),
      linear-gradient(90deg, rgba(3, 14, 28, 0.94) 0%, rgba(5, 22, 42, 0.78) 50%, rgba(7, 26, 47, 0.24) 100%),
      url("images/hero-candle.png") 72% center / cover no-repeat,
      #071a2f;
  }

  .hero-content {
    align-items: flex-start;
    min-height: 500px;
  }

  h1 {
    margin-bottom: 30px;
  }

  .hero-title {
    max-width: 6.5em;
    margin-bottom: 0;
    font-size: clamp(2.35rem, 10.4vw, 3.45rem);
    line-height: 1.18;
    letter-spacing: 0.04em;
    white-space: normal;
  }

  .hero-title-desktop {
    display: none;
  }

  .hero-title-mobile {
    display: inline-block;
  }

  .hero-copy {
    max-width: min(100%, 24rem);
    padding-top: clamp(12px, 4vw, 24px);
  }

  .hero-lead {
    max-width: 22em;
    margin-bottom: clamp(34px, 10vw, 52px);
    font-size: clamp(0.98rem, 4vw, 1.12rem);
    line-height: 2;
    letter-spacing: 0.04em;
  }

  .button,
  .contact-button {
    width: 100%;
  }

  .section {
    padding: 76px 0;
  }

  .centered {
    text-align: left;
  }

  .links .centered {
    text-align: center;
  }

  .links .section-heading {
    margin-bottom: 42px;
  }

  .links .section-heading p:not(.eyebrow) {
    max-width: 27em;
    padding-right: 4px;
    padding-left: 4px;
    text-align: left;
    line-height: 1.95;
  }

  .service-card,
  .link-card,
  .contact-card {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .links::before {
    inset: 14px;
    border-radius: 28px;
  }

  .links::after {
    left: 20%;
    width: 28rem;
    opacity: 0.56;
  }

  .service-card p,
  .link-card p {
    line-height: 1.95;
  }

  .links .link-card {
    align-items: center;
    text-align: center;
  }

  .links .link-card p {
    width: min(100%, 25rem);
    max-width: none;
    margin-right: auto;
    margin-bottom: 30px;
    margin-left: auto;
    padding-right: 4px;
    padding-left: 4px;
    text-align: left;
    line-height: 2;
  }

  .links .link-card-title {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    min-height: auto;
    margin-bottom: 18px;
    text-align: center;
  }

  .links .link-card-icon {
    margin-right: auto;
    margin-left: auto;
  }

  .links .link-card h3 {
    width: 100%;
    padding-top: 0;
    text-align: center;
    white-space: normal;
  }

  .links .link-button {
    align-self: center;
    width: auto;
  }

  .company-table,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table th,
  .company-table td {
    padding: 16px 18px;
  }

  .company-table th {
    border-bottom: 0;
  }

  .company-table td {
    border-bottom: 1px solid rgba(15, 55, 91, 0.1);
  }

  .material-visual {
    padding: 14px;
    border-radius: 28px;
  }

  .material-visual::before {
    inset: 10px;
    border-radius: 22px;
  }

  .material-visual img {
    aspect-ratio: 4 / 3;
    border-radius: 20px;
  }

  .oem-visual {
    --oem-frame-inset: 28px;

    min-height: 300px;
    padding: var(--oem-frame-inset);
  }

  .oem-visual::before {
    inset: 12px;
    border-radius: 22px;
  }

  .oem-visual img {
    width: calc(100% - (var(--oem-frame-inset) * 2));
    height: calc(100% - (var(--oem-frame-inset) * 2));
    border-radius: 20px;
  }

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