:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #5d6975;
  --line: #d9e1e7;
  --soft: #f3f6f8;
  --logo: #005f4b;
  --accent: #005f4b;
  --accent-dark: #004838;
  --mint: #7ee6c8;
  --warm: #b85c38;
  --header-edge-x: clamp(24px, 4vw, 96px);
  --hero-copy-x: var(--header-edge-x);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Malgun Gothic", "맑은 고딕", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  overflow-x: hidden;
  word-break: keep-all;
}

a {
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.navbar {
  min-height: 76px;
  padding: 0;
}

.navbar .container-xxl {
  position: relative;
  width: 100%;
  max-width: none;
  padding-right: var(--header-edge-x);
  padding-left: var(--header-edge-x);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
  white-space: nowrap;
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: #ffffff;
}

.brand-logo {
  display: block;
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
}

.brand-text {
  display: inline-block;
  color: #ffffff;
}

.nav-link {
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
  padding: 10px 12px !important;
}

.nav-link:hover,
.nav-link:focus {
  color: rgba(255, 255, 255, 0.78);
}

.dropdown-toggle::after {
  display: none;
}

.dropdown-menu {
  border-color: var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(23, 32, 38, 0.12);
}

.dropdown-item {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  padding: 9px 16px;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: var(--accent);
  background: rgba(18, 110, 130, 0.08);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.utility-button {
  position: relative;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: #ffffff;
  background: transparent;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.42));
}

.utility-button:hover,
.utility-button:focus {
  color: rgba(255, 255, 255, 0.78);
}

.utility-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notice-dot {
  display: none;
  position: absolute;
  top: 1px;
  right: 0;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #e60045;
}

.utility-button--notice.has-new .notice-dot {
  display: block;
}

.utility-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 30;
  width: max-content;
  max-width: 220px;
  transform: translateX(-50%) translateY(-4px);
  border-radius: 4px;
  padding: 7px 10px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.82);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.utility-tooltip::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -5px;
  width: 10px;
  height: 10px;
  transform: translateX(-50%) rotate(45deg);
  background: rgba(0, 0, 0, 0.82);
}

.utility-button:hover .utility-tooltip,
.utility-button:focus .utility-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  margin-left: auto;
  width: 44px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
}

.quick-menu {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 19;
  width: 56px;
  display: grid;
  justify-items: end;
  overflow: hidden;
  transform: translateY(-50%);
  transition: width 0.24s ease;
}

.quick-menu:hover,
.quick-menu:focus-within {
  width: 160px;
}

.quick-menu-item {
  width: 160px;
  height: 56px;
  display: grid;
  grid-template-columns: 104px 56px;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background: rgba(28, 32, 31, 0.72);
  transform: translateX(-104px);
  transition: background 0.18s ease, transform 0.24s ease;
}

.quick-menu-item:hover,
.quick-menu-item:focus,
.quick-menu:hover .quick-menu-item,
.quick-menu:focus-within .quick-menu-item {
  color: #ffffff;
  background: rgba(28, 32, 31, 0.84);
  transform: translateX(0);
}

.quick-menu-icon {
  grid-column: 2;
  grid-row: 1;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.quick-menu-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-menu-label {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  padding-left: 14px;
  font-size: 15px;
  font-weight: 800;
  opacity: 0;
  white-space: nowrap;
  transform: translateX(4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.quick-menu-item:hover .quick-menu-label,
.quick-menu-item:focus .quick-menu-label,
.quick-menu:hover .quick-menu-label,
.quick-menu:focus-within .quick-menu-label {
  opacity: 1;
  transform: translateX(0);
}

.navbar-toggler-icon {
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.94%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.site-header.is-over-light {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(23, 32, 38, 0.12);
  box-shadow: 0 8px 28px rgba(23, 32, 38, 0.16);
  backdrop-filter: blur(14px);
}

.site-header.is-over-light .navbar-brand,
.site-header.is-over-light .brand-text,
.site-header.is-over-light .nav-link,
.site-header.is-over-light .utility-button {
  color: var(--ink);
  text-shadow: none;
  filter: none;
}

.site-header.is-over-light .navbar-brand:hover,
.site-header.is-over-light .navbar-brand:focus,
.site-header.is-over-light .nav-link:hover,
.site-header.is-over-light .nav-link:focus,
.site-header.is-over-light .utility-button:hover,
.site-header.is-over-light .utility-button:focus {
  color: var(--accent);
}

.site-header.is-over-light .navbar-toggler {
  border-color: rgba(23, 32, 38, 0.24);
}

.site-header.is-over-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2823, 32, 38, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.hero-section {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0d1417;
}

.hero-motion-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("/static/img/hero-engineering.png");
  background-position: center;
  background-size: cover;
  transform-origin: center;
  animation: hero-bg-drift 15s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 22%, rgba(0, 24, 19, 0.28) 56%, rgba(0, 24, 19, 0.38) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.26));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  padding-left: var(--hero-copy-x);
  padding-right: clamp(24px, 6vw, 120px);
  padding-top: 124px;
  padding-bottom: 48px;
}

.hero-content .row {
  margin-right: 0;
  margin-left: 0;
}

.hero-content .row > * {
  padding-right: 0;
  padding-left: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(44px, 4.7vw, 66px);
  line-height: 1.16;
  font-weight: 800;
}

.hero-statement {
  max-width: none;
  color: #ffffff;
  padding-left: 0;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.34);
}

.hero-line {
  display: block;
  white-space: nowrap;
}

.brand-emphasis {
  color: inherit;
  text-shadow: inherit;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  width: 42px;
  height: 42px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-indicator span {
  width: 18px;
  height: 18px;
  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.42));
  transform: rotate(45deg);
  animation: scroll-bounce 1.45s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%,
  100% {
    opacity: 0.42;
    transform: translateY(-5px) rotate(45deg);
  }

  50% {
    opacity: 1;
    transform: translateY(7px) rotate(45deg);
  }
}

@keyframes hero-bg-drift {
  from {
    transform: scale(1.02) translate3d(-1.6%, 0, 0);
  }

  to {
    transform: scale(1.16) translate3d(2.8%, -0.8%, 0);
  }
}

h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.28;
  font-weight: 800;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 800;
}

.hero-lead,
.section-copy {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-lead {
  max-width: 660px;
  margin: 24px 0 0;
}

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

.btn {
  border-radius: 8px;
  font-weight: 700;
}

.btn-primary {
  border-color: var(--accent);
  background: var(--accent);
}

.btn-primary:hover,
.btn-primary:focus {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.btn-outline-dark {
  border-color: #31424f;
  color: #1f303b;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-metrics span {
  border: 1px solid rgba(23, 32, 38, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px 14px;
  color: #24323b;
  font-size: 14px;
  font-weight: 700;
}

.intro-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 72px 0;
  background: #ffffff;
}

.intro-band .container-xxl {
  width: 100%;
  max-width: none;
  padding-right: var(--header-edge-x);
  padding-left: var(--header-edge-x);
}

.intro-band .row {
  margin-right: 0;
  margin-left: 0;
}

.intro-band .row > * {
  padding-right: 0;
  padding-left: 0;
}

.intro-band h2 {
  padding-left: clamp(12px, 1.6vw, 28px);
}

.section-block {
  padding: 96px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.service-card {
  height: 100%;
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: rgba(18, 110, 130, 0.5);
  transform: translateY(-3px);
}

.service-number {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--warm);
  font-size: 14px;
  font-weight: 800;
}

.service-card p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.muted-section {
  background: var(--soft);
}

.portfolio-list,
.notice-list {
  display: grid;
  gap: 12px;
}

.portfolio-item,
.notice-list a {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 22px 24px;
}

.portfolio-item strong,
.notice-list span {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.portfolio-item span,
.notice-list time {
  color: var(--muted);
}

.notice-list a:hover,
.notice-list a:focus {
  border-color: rgba(18, 110, 130, 0.55);
}

.contact-page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(96px, 12vh, 150px) 0 clamp(72px, 8vh, 112px);
  color: var(--ink);
  background: #eef5f2;
}

.contact-page .container-xxl {
  width: 100%;
  max-width: none;
  padding-right: var(--header-edge-x);
  padding-left: var(--header-edge-x);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(400px, 0.82fr);
  gap: clamp(28px, 4.2vw, 72px);
  align-items: center;
}

.contact-copy {
  max-width: 820px;
  padding-left: clamp(12px, 1.6vw, 28px);
}

.contact-page p {
  color: rgba(23, 32, 38, 0.78);
}

.contact-page h2 {
  color: var(--ink);
  font-size: 38px;
  line-height: 1.28;
  font-weight: 800;
}

.contact-page h2 span,
.contact-copy p span {
  display: block;
}

.contact-copy p {
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.75;
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(0, 95, 75, 0.16);
  border-radius: 8px;
  padding: clamp(22px, 2.8vw, 34px);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(23, 32, 38, 0.08);
}

.contact-messages {
  display: grid;
  gap: 8px;
}

.contact-message {
  margin: 0;
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.48);
  font-size: 14px;
  font-weight: 700;
}

.contact-message--success {
  background: rgba(0, 95, 75, 0.14);
}

.contact-message--error {
  background: rgba(184, 92, 56, 0.18);
}

.contact-message--warning {
  background: rgba(210, 145, 45, 0.2);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-field {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: rgba(23, 32, 38, 0.82);
  font-size: 14px;
  font-weight: 800;
}

.contact-field--full {
  grid-column: 1 / -1;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(0, 95, 75, 0.25);
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  background: #f8fbfa;
  font: inherit;
  font-weight: 500;
  outline: none;
}

.contact-field textarea {
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--logo);
  background: #ffffff;
}

.contact-field input[name="password"]::placeholder {
  font-size: 12px;
}

.contact-field small {
  color: rgba(23, 32, 38, 0.64);
  font-size: 12px;
  font-weight: 500;
}

.contact-password-field {
  width: min(100%, 360px);
}

.file-dropzone {
  min-height: 138px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  border: 1px dashed rgba(0, 95, 75, 0.42);
  border-radius: 8px;
  padding: 18px;
  color: var(--ink);
  background: #f8fbfa;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.file-dropzone.is-dragover,
.file-dropzone:hover,
.file-dropzone:focus-within {
  border-color: var(--logo);
  background: #ffffff;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-dropzone-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.file-dropzone-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.file-dropzone-title {
  font-size: 17px;
  font-weight: 800;
}

.file-dropzone-copy,
.file-summary {
  color: rgba(23, 32, 38, 0.7);
  font-size: 13px;
  line-height: 1.5;
}

.file-summary {
  margin: -6px 0 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.contact-page .btn-light {
  border-color: var(--logo);
  color: #ffffff;
  background: var(--logo);
}

.contact-page .btn-light:hover,
.contact-page .btn-light:focus {
  border-color: var(--accent-dark);
  color: #ffffff;
  background: var(--accent-dark);
}

.contact-page .btn-outline-light {
  border-color: rgba(23, 32, 38, 0.48);
  color: var(--ink);
}

.contact-page .btn-outline-light:hover,
.contact-page .btn-outline-light:focus {
  border-color: var(--ink);
  color: #ffffff;
  background: var(--ink);
}

.quote-page-body {
  min-height: 100vh;
  color: var(--ink);
  background: #eef5f2;
}

.quote-board-page {
  padding-top: 92px;
}

.quote-board {
  min-height: 100vh;
  padding: 72px 0;
}

.quote-board .container-xxl {
  width: 100%;
  max-width: none;
  padding-right: clamp(72px, 12vw, 288px);
  padding-left: clamp(72px, 12vw, 288px);
}

.quote-board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.quote-board-messages {
  margin-bottom: 20px;
}

.quote-board-title-block {
  padding-left: 0;
}

.quote-board h1 {
  margin: 0;
  color: var(--ink);
  font-size: 38px;
  line-height: 1.28;
  font-weight: 800;
}

.quote-board-copy {
  margin: 16px 0 0;
  color: #2a3741;
  font-size: 18px;
  line-height: 1.85;
}

.quote-search {
  display: flex;
  width: min(100%, 360px);
  min-width: 280px;
  border: 1px solid rgba(0, 95, 75, 0.35);
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}

.quote-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  outline: 0;
}

.quote-search input::placeholder {
  color: rgba(23, 32, 38, 0.5);
}

.quote-search button {
  width: 46px;
  flex: 0 0 auto;
  border: 0;
  color: #ffffff;
  background: var(--logo);
}

.quote-search button:hover,
.quote-search button:focus {
  background: var(--accent-dark);
}

.quote-search svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.quote-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(0, 95, 75, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 42px rgba(23, 32, 38, 0.08);
}

.quote-table {
  width: 100%;
  min-width: 1020px;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.quote-table th,
.quote-table td {
  overflow: hidden;
  padding: 18px 8px;
  border-bottom: 1px solid rgba(0, 95, 75, 0.1);
  color: rgba(23, 32, 38, 0.8);
  vertical-align: middle;
}

.quote-table th {
  color: rgba(23, 32, 38, 0.66);
  background: rgba(0, 95, 75, 0.06);
  font-size: 14.3px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.quote-table tbody tr:last-child td {
  border-bottom: 0;
}

.quote-number,
.quote-company,
.quote-author,
.quote-date,
.quote-view-col {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 400;
}

.quote-number,
.quote-company,
.quote-author,
.quote-date,
.quote-view-col {
  text-align: center;
}

.quote-title {
  padding-left: 20px !important;
  text-align: left;
}

.quote-title a {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quote-title a:hover,
.quote-title a:focus {
  color: var(--logo);
  text-decoration: underline;
}

.quote-company,
.quote-author {
  overflow: hidden;
  text-overflow: ellipsis;
}

.quote-status-col {
  text-align: center;
  white-space: nowrap;
}

.quote-status {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 3px;
  color: var(--logo);
  background: rgba(0, 95, 75, 0.12);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.quote-status--received {
  color: #1683d8;
  background: rgba(22, 131, 216, 0.14);
}

.quote-status--reviewing {
  color: #163f78;
  background: rgba(22, 63, 120, 0.16);
}

.quote-status--quoted {
  color: var(--logo);
  background: rgba(0, 95, 75, 0.14);
}

.quote-status--answered {
  color: #58636a;
  background: rgba(88, 99, 106, 0.15);
}

.quote-empty {
  height: 220px;
  color: rgba(23, 32, 38, 0.62);
  text-align: center;
}

.quote-board-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  margin-top: 22px;
}

.quote-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.quote-pagination a,
.quote-pagination span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 95, 75, 0.2);
  border-radius: 4px;
  color: var(--ink);
  background: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.quote-pagination a[aria-label] ,
.quote-pagination .is-disabled {
  width: auto;
  padding: 0 10px;
}

.quote-pagination a:hover,
.quote-pagination a:focus,
.quote-pagination .is-current {
  border-color: var(--logo);
  color: #ffffff;
  background: var(--logo);
}

.quote-pagination .is-disabled {
  color: rgba(23, 32, 38, 0.35);
  background: rgba(255, 255, 255, 0.55);
}

.quote-compose-button,
.quote-edit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  min-height: 36px;
  border: 1px solid var(--logo);
  border-radius: 4px;
  padding: 8px 14px;
  color: #ffffff;
  background: var(--logo);
  font-size: 14px;
  font-weight: 800;
}

.quote-compose-button {
  position: absolute;
  right: 0;
}

.quote-compose-button:hover,
.quote-compose-button:focus,
.quote-edit-button:hover,
.quote-edit-button:focus {
  border-color: var(--accent-dark);
  color: #ffffff;
  background: var(--accent-dark);
}

.quote-detail-page {
  min-height: 100vh;
  padding: 72px 0;
}

.quote-detail .container-xxl {
  width: 100%;
  max-width: 980px;
}

.quote-back-link {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--logo);
  font-size: 14px;
  font-weight: 800;
}

.quote-detail-sheet {
  border: 1px solid rgba(0, 95, 75, 0.16);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 46px);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(23, 32, 38, 0.08);
}

.quote-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(0, 95, 75, 0.14);
}

.quote-detail-meta {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.quote-detail h1 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.35;
}

.quote-detail-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  margin: 28px 0;
}

.quote-detail-info div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
}

.quote-detail-info dt {
  color: var(--muted);
  font-size: 14px;
}

.quote-detail-info dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
}

.quote-detail-content {
  min-height: 200px;
  padding: 24px 0;
  border-top: 1px solid rgba(0, 95, 75, 0.14);
  color: var(--ink);
  line-height: 1.85;
}

.quote-detail-files {
  padding-top: 22px;
  border-top: 1px solid rgba(0, 95, 75, 0.14);
}

.quote-detail-files h2 {
  margin: 0 0 12px;
  font-size: 17px;
}

.quote-detail-files ul {
  margin: 0;
  padding-left: 18px;
}

.quote-detail-files a {
  color: var(--logo);
}

.quote-detail-messages {
  margin-bottom: 18px;
}

.quote-detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 95, 75, 0.14);
}

.quote-detail-actions form {
  margin: 0;
}

.quote-delete-button,
.quote-cancel-button {
  display: inline-flex;
  min-width: 78px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23, 32, 38, 0.32);
  border-radius: 4px;
  padding: 8px 14px;
  color: var(--ink);
  background: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.quote-delete-button:hover,
.quote-delete-button:focus {
  border-color: #b13f3f;
  color: #ffffff;
  background: #b13f3f;
}

.quote-cancel-button:hover,
.quote-cancel-button:focus {
  border-color: var(--ink);
  color: #ffffff;
  background: var(--ink);
}

.quote-password-sheet {
  width: min(100%, 480px);
  margin: 0 auto;
  border: 1px solid rgba(0, 95, 75, 0.16);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 42px);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(23, 32, 38, 0.08);
}

.quote-password-sheet h1 {
  margin: 0;
  color: var(--ink);
  font-size: 27px;
  font-weight: 800;
}

.quote-password-sheet > p,
.quote-password-help {
  margin: 12px 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.quote-password-form {
  display: grid;
  gap: 16px;
}

.quote-password-form .quote-edit-button {
  justify-self: end;
}

.quote-password-error {
  margin: -4px 0 0;
  color: #a23b3b;
  font-size: 13px;
  font-weight: 700;
}

.quote-edit-form {
  margin-top: 28px;
}

.quote-edit-files {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 95, 75, 0.14);
}

.quote-edit-files h2 {
  margin: 0 0 12px;
  font-size: 17px;
}

.quote-edit-files ul {
  margin: 0;
  padding-left: 18px;
}

.site-footer {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
  background: var(--logo);
  font-size: 14px;
}

.company-info-strip {
  scroll-margin-top: 76px;
}

.company-info-strip .container-xxl {
  width: 100%;
  max-width: none;
  padding-right: var(--header-edge-x);
  padding-left: var(--header-edge-x);
}

.company-info-layout {
  display: grid;
  gap: 3px;
  padding-left: clamp(12px, 1.6vw, 28px);
}

.company-info-layout p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: inherit;
  line-height: 1.83;
}

.company-story {
  display: grid;
  gap: 24px;
  padding-left: clamp(18px, 3vw, 58px);
}

.company-story p {
  margin: 0;
  color: #2a3741;
  font-size: 18px;
  line-height: 1.85;
}

.company-name {
  color: var(--logo);
  font-weight: 800;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.business-grid span {
  min-height: 66px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  color: var(--ink);
  background: #ffffff;
  font-size: 17px;
  font-weight: 800;
}

.business-showcase {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background: #0d1417;
}

.business-showcase-bg,
.business-showcase-overlay,
.business-bg-slide {
  position: absolute;
  inset: 0;
}

.business-showcase-bg {
  z-index: 0;
  overflow: hidden;
}

.business-bg-slide {
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform-origin: center;
  animation: business-bg-cycle 60s linear infinite;
  will-change: opacity, transform;
}

.business-bg-slide--1 {
  background-image: url("/static/img/business-bg-1.jpg");
}

.business-bg-slide--2 {
  background-image: url("/static/img/business-bg-2.jpg");
  animation-delay: 15s;
}

.business-bg-slide--3 {
  background-image: url("/static/img/business-bg-3.jpg");
  animation-delay: 30s;
}

.business-bg-slide--4 {
  background-image: url("/static/img/business-bg-4.jpg");
  animation-delay: 45s;
}

.business-showcase-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.64) 0%, rgba(0, 0, 0, 0.38) 45%, rgba(0, 0, 0, 0.76) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28));
}

.business-showcase-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  padding-right: var(--header-edge-x);
  padding-left: var(--header-edge-x);
  padding-top: 112px;
  padding-bottom: 76px;
}

.business-showcase-copy {
  grid-column: 2;
  width: min(100%, 700px);
  justify-self: start;
  padding-left: clamp(40px, 4.8vw, 92px);
  padding-top: clamp(24px, 4vh, 44px);
}

.business-showcase-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(44px, 4.7vw, 66px);
  line-height: 1.16;
  font-weight: 800;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.42);
}

.business-showcase-title span {
  display: block;
}

.business-showcase-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 34px;
  margin-top: clamp(34px, 4vw, 56px);
}

.business-showcase-list span {
  min-width: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  padding-bottom: 12px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 19px;
  line-height: 1.45;
  font-weight: 800;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.36);
}

.members-section.section-block {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  scroll-margin-top: 0;
  padding: clamp(88px, 9vh, 112px) 0 clamp(34px, 4vh, 52px);
  background: #ffffff;
}

.members-section .container-xxl {
  width: 100%;
  max-width: none;
  padding-right: var(--header-edge-x);
  padding-left: var(--header-edge-x);
}

.members-title {
  margin: 0 0 clamp(28px, 3.5vh, 42px);
  padding-left: clamp(12px, 1.6vw, 28px);
  color: var(--ink);
  font-size: 38px;
  line-height: 1.28;
  font-weight: 800;
}

.members-grid {
  width: auto;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 260px));
  justify-content: center;
  gap: clamp(40px, 4.8vh, 52px) clamp(88px, 5.7vw, 96px);
}

.member-card {
  min-width: 0;
  display: grid;
  justify-items: center;
  text-align: center;
}

.member-photo {
  width: min(100%, clamp(198px, 16.5vw, 236px));
  aspect-ratio: 1;
  overflow: hidden;
  border: 8px solid #e3e7eb;
  border-radius: 50%;
  background: #eef2f4;
  box-shadow: 0 16px 34px rgba(23, 32, 38, 0.12);
}

.member-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.member-card h3 {
  margin-top: clamp(16px, 2vh, 22px);
  color: var(--ink);
  font-family: inherit;
  font-size: 27px;
  line-height: 1.38;
  font-weight: 800;
}

.member-card p {
  min-height: 33px;
  margin: 3px 0 0;
  color: var(--muted);
  font-family: inherit;
  font-size: 18px;
  line-height: 1.82;
  font-weight: 400;
}

.member-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 13px;
}

.member-links a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--ink);
  transition: background 0.18s ease, transform 0.18s ease;
}

.member-links a:hover,
.member-links a:focus {
  color: #ffffff;
  background: var(--accent);
  transform: translateY(-2px);
}

.member-links svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes business-bg-cycle {
  0% {
    opacity: 1;
    transform: scale(1.02);
  }

  23% {
    opacity: 1;
    transform: scale(1.16);
  }

  25% {
    opacity: 0;
    transform: scale(1.17);
  }

  100% {
    opacity: 0;
    transform: scale(1.02);
  }
}

.history-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.26fr) minmax(0, 0.74fr);
  gap: clamp(28px, 3vw, 60px);
  align-items: start;
}

#history .container-xxl {
  width: 100%;
  max-width: none;
  padding-right: var(--header-edge-x);
  padding-left: var(--header-edge-x);
}

.history-lead {
  position: sticky;
  top: 132px;
  min-height: 420px;
  padding-top: 8px;
  padding-left: clamp(12px, 1.6vw, 28px);
}

.history-lead p {
  margin: 0 0 32px;
  color: var(--ink);
  font-size: 38px;
  line-height: 1.28;
  font-weight: 800;
}

.history-lead h2 {
  color: var(--ink);
  font-size: clamp(50px, 5.2vw, 82px);
  line-height: 1.08;
  font-weight: 800;
}

.history-lead h2 span {
  color: var(--logo);
}

.history-timeline {
  position: relative;
  display: grid;
  gap: 109px;
  padding: 4px 0 20px;
  transform: translateX(clamp(128px, calc(128px + (100vw - 1184px) * 0.2), 208px));
}

.history-timeline::before {
  content: "";
  position: absolute;
  top: 103px;
  bottom: 103px;
  left: 107px;
  width: 2px;
  transform: translateX(-50%);
  background: #dfe5ea;
}

.history-item {
  position: relative;
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr);
  gap: clamp(42px, 3.9vw, 66px);
  align-items: center;
  min-height: 246px;
}

.history-media {
  position: relative;
  z-index: 1;
  width: 214px;
  height: 214px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 8px solid #e9edf1;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(23, 32, 38, 0.14);
}

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

.history-media--logo img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.history-item:nth-child(2) .history-media img {
  object-position: 52% center;
}

.history-copy {
  min-width: 0;
  max-width: 560px;
  justify-self: start;
  text-align: left;
}

.history-item--wide-title .history-copy {
  max-width: 720px;
}

.history-copy time {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
}

.history-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 27px;
  line-height: 1.38;
}

.history-item--wide-title .history-copy h3 {
  white-space: nowrap;
}

.history-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.82;
}

@media (min-width: 992px) {
  .navbar .container-xxl {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    align-items: center;
    column-gap: clamp(24px, 4vw, 80px);
  }

  .navbar-brand {
    grid-column: 1;
    justify-self: start;
  }

  .navbar-collapse {
    grid-column: 2;
    justify-content: center;
  }

  .navbar-actions {
    grid-column: 3;
    justify-self: end;
  }

  .navbar .dropdown > .dropdown-menu.show {
    display: none;
  }

  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
  }

  .navbar .dropdown-menu {
    margin-top: 0;
  }

  .hero-content .col-lg-7 {
    flex: 0 1 auto;
    width: auto;
    max-width: min(70vw, 980px);
  }
}

@media (min-width: 992px) and (max-width: 1099.98px) {
  .history-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .history-timeline {
    transform: translateX(clamp(330px, calc(50vw - 147px), 370px));
  }

  .history-lead {
    position: static;
    min-height: 0;
  }

  .history-lead p {
    margin-bottom: 18px;
  }

  .history-lead h2 {
    font-size: 48px;
  }
}

@media (max-width: 991.98px) {
  .navbar {
    padding: 14px 0;
  }

  .navbar-toggler {
    position: absolute;
    top: 4px;
    right: 12px;
    display: inline-flex;
  }

  .navbar-expand-lg .navbar-toggler {
    display: inline-flex !important;
  }

  .navbar-nav {
    padding-top: 12px;
    align-items: stretch !important;
  }

  .navbar-actions {
    position: absolute;
    top: 4px;
    right: 68px;
    gap: 12px;
  }

  .navbar-brand {
    max-width: calc(100% - 170px);
    font-size: 13px;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .utility-button {
    width: 26px;
    height: 26px;
  }

  .utility-button svg {
    width: 22px;
    height: 22px;
  }

  .utility-tooltip {
    display: none;
  }

  .quick-menu {
    display: none;
  }

  .hero-section {
    height: 100vh;
    height: 100dvh;
    min-height: 560px;
  }

  .hero-motion-bg {
    background-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(0, 24, 19, 0.62)),
      rgba(0, 0, 0, 0.24);
  }

  .hero-line {
    white-space: normal;
  }

  h2 {
    font-size: 32px;
  }

  .section-block {
    padding: 72px 0;
  }

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

  .business-showcase-content {
    grid-template-columns: 1fr;
    align-items: end;
    padding-top: 120px;
    padding-bottom: 82px;
  }

  .business-showcase-copy {
    grid-column: 1;
    width: min(100%, 680px);
    justify-self: end;
    padding-left: 0;
  }

  .business-showcase-list {
    gap: 12px 24px;
  }

  .business-showcase-list span {
    font-size: 17px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact-copy {
    max-width: 720px;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .quote-board-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .quote-board .container-xxl {
    padding-right: var(--header-edge-x);
    padding-left: var(--header-edge-x);
  }

  .quote-search {
    width: 100%;
    min-width: 0;
  }

  .members-title {
    margin-bottom: 42px;
    font-size: 32px;
  }

  .members-grid {
    grid-template-columns: repeat(2, minmax(220px, 260px));
    justify-content: center;
    gap: 46px clamp(39px, 6vw, 68px);
  }

  .member-card h3 {
    font-size: 27px;
  }

  .history-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .history-lead {
    position: static;
    min-height: 0;
  }

  .history-lead p {
    margin-bottom: 18px;
    font-size: 32px;
  }

  .history-lead h2 {
    font-size: 48px;
  }

  .history-timeline {
    gap: 83px;
  }

  .history-timeline::before {
    top: 60px;
    bottom: 60px;
    left: 62px;
  }

  .history-item {
    grid-template-columns: 125px minmax(0, 1fr);
    gap: 36px;
    min-height: 0;
  }

  .history-timeline {
    transform: translateX(clamp(260px, calc(50vw - 95px), 340px));
  }

  .history-media {
    width: 125px;
    height: 125px;
    border-width: 6px;
  }
}

@media (max-width: 767.98px) {
  .history-timeline {
    transform: none;
  }

  .history-item--wide-title .history-copy h3 {
    white-space: normal;
  }
}

@media (max-width: 1279.98px) {
  .history-copy,
  .history-item--wide-title .history-copy {
    width: calc(50vw - 212px);
    max-width: calc(50vw - 212px);
  }

  .history-item--wide-title .history-copy h3 {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (min-width: 1280px) and (max-width: 1499.98px) {
  .history-copy,
  .history-item--wide-title .history-copy {
    width: calc(50vw - 230px);
    max-width: calc(50vw - 230px);
  }

  .history-item--wide-title .history-copy h3 {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 991.98px) {
  .history-copy,
  .history-item--wide-title .history-copy {
    width: calc(50vw - 120px);
    max-width: calc(50vw - 120px);
  }
}

@media (max-width: 575.98px) {
  body {
    word-break: normal;
  }

  h1,
  h2,
  h3,
  p,
  span,
  a {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero-content {
    padding-left: var(--header-edge-x);
    padding-right: var(--header-edge-x);
    padding-top: 112px;
    padding-bottom: 56px;
  }

  .navbar-brand {
    gap: 8px;
    max-width: calc(100% - 112px);
    font-size: 10px;
    line-height: 1.2;
    white-space: normal;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .navbar-actions {
    right: 62px;
    gap: 8px;
  }

  .utility-button--notice,
  .navbar-actions .utility-button:nth-child(2) {
    display: none;
  }

  h1 {
    font-size: clamp(23px, 6vw, 26px);
  }

  .hero-statement {
    max-width: 100%;
    line-height: 1.22;
  }

  .hero-line {
    overflow-wrap: normal;
    white-space: nowrap;
  }

  h2 {
    font-size: 25px;
  }

  .hero-lead,
  .section-copy {
    max-width: 100%;
    font-size: 16px;
  }

  .btn-lg {
    width: 100%;
  }

  .service-card {
    min-height: 0;
  }

  .company-story p {
    font-size: 16px;
  }

  .company-story,
  .intro-band h2 {
    padding-left: 0;
  }

  .business-grid {
    grid-template-columns: 1fr;
  }

  .business-grid span {
    min-height: 56px;
    font-size: 16px;
  }

  .business-showcase {
    min-height: 100svh;
  }

  .business-showcase-content {
    padding-top: 96px;
    padding-bottom: 56px;
  }

  .business-showcase-title {
    font-size: clamp(23px, 6vw, 26px);
  }

  .business-showcase-list {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 28px;
  }

  .business-showcase-list span {
    padding-bottom: 8px;
    font-size: 15px;
  }

  .contact-page {
    padding-top: 96px;
    padding-bottom: 52px;
  }

  .contact-page h2 {
    font-size: 28px;
  }

  .contact-copy {
    padding-left: 0;
  }

  .contact-copy p {
    font-size: 16px;
  }

  .contact-form {
    padding: 18px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions .btn-lg {
    width: 100%;
  }

  .quote-board {
    padding: 52px 0;
  }

  .quote-board h1 {
    font-size: 25px;
  }

  .quote-board-title-block {
    padding-left: 0;
  }

  .quote-board-copy {
    font-size: 16px;
  }

  .quote-board-footer {
    flex-direction: column;
    gap: 16px;
  }

  .quote-compose-button {
    position: static;
    width: 100%;
  }

  .quote-detail-page {
    padding: 34px 0;
  }

  .quote-detail-head,
  .quote-detail-info {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .quote-edit-button {
    width: 100%;
  }

  .site-footer {
    padding: 18px 0;
  }

  .members-title {
    padding-left: 0;
    font-size: 25px;
  }

  .members-grid {
    grid-template-columns: minmax(220px, 260px);
    justify-content: center;
    gap: 42px;
  }

  .member-photo {
    width: min(100%, 207px);
    border-width: 6px;
  }

  .member-card h3 {
    margin-top: 20px;
    font-size: 27px;
  }

  .member-card p {
    min-height: 0;
    font-size: 16px;
    line-height: 1.82;
  }

  .history-lead {
    padding-left: 0;
  }

  .history-lead p {
    font-size: 25px;
  }

  .history-lead h2 {
    font-size: 38px;
  }

  .history-timeline {
    padding-left: 0;
  }

  .history-timeline::before {
    display: none;
  }

  .history-item {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
  }

  .history-item--wide-title .history-copy h3 {
    white-space: normal;
  }

  .history-media {
    width: 96px;
    height: 96px;
    border-width: 5px;
  }

  .history-copy time {
    font-size: 22px;
  }

  .history-item--wide-title .history-copy h3 {
    font-size: 22px;
    white-space: normal;
  }

  .history-copy p {
    font-size: 16px;
  }
}
