:root {
  --ink: #151515;
  --muted: #6b6b6b;
  --line: #e8e8e8;
  --page: #f5f7f8;
  --header-height: 92px;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--page);
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  gap: 32px;
  padding: 12px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 2px 16px rgb(0 0 0 / 4%);
}

.brand {
  display: block;
  width: clamp(210px, 24vw, 330px);
  aspect-ratio: 5.48 / 1;
  overflow: hidden;
  flex: 0 1 auto;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.5vw, 52px);
  margin-left: auto;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.home-main {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  min-height: calc(100vh - var(--header-height));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 104px) 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vw, 48px);
}

h1 {
  margin: 0;
  font-size: clamp(1rem, 2.1vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-align: center;
}

.home-copy {
  width: min(900px, 100%);
  text-align: center;
}

.home-copy p {
  margin: clamp(18px, 3vw, 28px) 0 0;
  color: #303030;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.65;
  text-align: justify;
  text-align-last: left;
}

.video-frame {
  width: min(960px, 100%);
  overflow: hidden;
  border-radius: 3px;
  background: #000;
  box-shadow: 0 20px 56px rgb(0 0 0 / 18%);
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.page-main {
  display: grid;
  min-height: calc(100vh - var(--header-height));
  padding: 64px 24px;
  place-items: center;
}

.page-message {
  max-width: 720px;
  text-align: center;
}

.page-message p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.aircraft-main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(52px, 7vw, 96px) 0 clamp(72px, 9vw, 120px);
}

.content-page-title {
  max-width: 940px;
  margin: 0 auto clamp(30px, 4vw, 48px);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.08;
  text-align: center;
}

.aircraft-intro {
  max-width: 900px;
  margin: 0 auto clamp(36px, 5vw, 64px);
  color: #303030;
  font-size: clamp(1.15rem, 2.1vw, 1.65rem);
  line-height: 1.55;
  text-align: justify;
  text-align-last: left;
}

.aircraft-photo {
  margin: 0;
}

.aircraft-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  box-shadow: 0 20px 56px rgb(0 0 0 / 16%);
}

.specifications {
  width: min(760px, 100%);
  margin: clamp(58px, 8vw, 100px) auto 0;
}

.specifications h2 {
  margin-bottom: clamp(28px, 4vw, 42px);
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-align: center;
}

.specifications table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--ink);
  background: #fff;
}

.specifications th,
.specifications td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.4;
  text-align: left;
}

.specifications th {
  width: 58%;
  font-weight: 700;
}

.specifications td {
  color: var(--muted);
}

.next-main {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(52px, 7vw, 96px) 0 clamp(72px, 9vw, 120px);
}

.next-intro {
  max-width: 940px;
  margin: 0 auto;
  color: #303030;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.7;
  text-align: justify;
  text-align-last: left;
}

.next-intro p {
  margin: 0;
}

.next-intro p + p {
  margin-top: 1.4em;
}

.expertise {
  display: grid;
  max-width: 940px;
  margin: clamp(56px, 8vw, 92px) auto 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.expertise-group {
  padding: 8px clamp(28px, 5vw, 68px);
}

.expertise-group + .expertise-group {
  border-left: 1px solid #bcbcbc;
}

.expertise-group h2 {
  margin: 0 0 28px;
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: left;
}

.expertise-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.expertise-group li {
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.4;
}

.expertise-group li:last-child {
  border-bottom: 1px solid var(--line);
}

.next-email {
  display: block;
  width: fit-content;
  margin: clamp(58px, 8vw, 90px) auto 0;
  color: var(--ink);
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  font-weight: 700;
  text-align: center;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.site-footer {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 58px);
  padding: 24px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer a {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration-color: #aaa;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration-color: var(--ink);
}

@media (max-width: 700px) {
  :root {
    --header-height: 116px;
  }

  .site-header {
    gap: 6px;
    padding: 9px 18px 12px;
    flex-wrap: wrap;
  }

  .brand {
    width: min(270px, 82vw);
  }

  .site-nav {
    width: 100%;
    justify-content: flex-end;
    gap: 26px;
  }

  .site-nav a {
    padding: 5px 0;
    font-size: 0.84rem;
  }

  .site-nav a::after {
    bottom: 0;
  }

  .home-main {
    width: min(100% - 28px, 1120px);
    justify-content: flex-start;
    padding: 54px 0 72px;
  }

  .aircraft-main {
    width: min(100% - 28px, 1120px);
    padding-top: 44px;
  }

  .specifications th,
  .specifications td {
    padding: 16px 14px;
  }

  .next-main {
    width: min(100% - 28px, 1080px);
    padding-top: 44px;
  }

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

  .expertise-group {
    padding: 0 0 42px;
  }

  .expertise-group + .expertise-group {
    padding-top: 42px;
    border-top: 1px solid #bcbcbc;
    border-left: 0;
  }

  .next-email {
    overflow-wrap: anywhere;
  }

  .site-footer {
    min-height: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav a::after {
    transition: none;
  }
}
