/* =========================================================
   SKY CARRIER Corporate Site - Base Stylesheet
   ========================================================= */

:root {
  --color-primary: #0f2f5c;
  --color-primary-light: #1a4c96;
  --color-primary-lighter: #2a63b8;
  --color-accent: #ff6a1a;
  --color-accent-dark: #e2560c;
  --color-dark: #12161d;
  --color-text: #232830;
  --color-text-sub: #5a6472;
  --color-border: #e2e6ee;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7fb;
  --color-bg-dark: #0b1420;
  --max-width: 1180px;
  --header-height: 76px;
  --radius: 6px;
  --shadow-sm: 0 2px 10px rgba(15, 47, 92, 0.08);
  --shadow-md: 0 8px 28px rgba(15, 47, 92, 0.14);
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 2000;
}
.skip-link:focus { left: 10px; top: 10px; }

/* =========================================================
   Section utilities
   ========================================================= */

.section { padding: 88px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-narrow { padding: 64px 0; }

.section-head {
  text-align: center;
  margin-bottom: 52px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.section-lead {
  color: var(--color-text-sub);
  font-size: 15.5px;
  max-width: 640px;
  margin: 0 auto;
}

.page-header {
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-primary) 100%);
  color: #fff;
  padding: 68px 0 48px;
  margin-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, transparent 60%, rgba(255, 106, 26, 0.12) 100%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 40px);
  pointer-events: none;
}

.page-header .container { position: relative; z-index: 1; }

.breadcrumb {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { margin: 0 6px; opacity: 0.6; }

.page-header h1 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: 1px;
}

.page-header .sub {
  color: rgba(255, 255, 255, 0.75);
  margin-top: 10px;
  font-size: 14.5px;
}

/* =========================================================
   Header / Navigation
   ========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(11, 20, 32, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.25s ease;
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.5px;
}

.brand .brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand .brand-mark svg, .brand .brand-mark img { width: 100%; height: 100%; object-fit: contain; }

.brand .brand-text small {
  display: block;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-top: 1px;
}

.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav a {
  display: inline-block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  border-radius: 4px;
  position: relative;
}

.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }

.main-nav a.is-active { color: #fff; }
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 5px;
  height: 2px;
  background: var(--color-accent);
}

.nav-cta {
  margin-left: 12px;
  background: var(--color-accent);
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 999px;
  font-weight: 700 !important;
}

.nav-cta:hover { background: var(--color-accent-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1100;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero (TOP page)
   ========================================================= */

.hero {
  position: relative;
  margin-top: var(--header-height);
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg-dark);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.is-active { opacity: 1; }

.hero-slide--a {
  background-image: linear-gradient(120deg, rgba(11,20,32,.82) 10%, rgba(11,20,32,.35) 60%, rgba(11,20,32,.75) 100%), url('../img/hero-drone-flight.jpg');
  background-image: linear-gradient(120deg, rgba(11,20,32,.82) 10%, rgba(11,20,32,.35) 60%, rgba(11,20,32,.75) 100%), image-set(url('../img/hero-drone-flight.webp') type('image/webp'), url('../img/hero-drone-flight.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center 65%;
}
.hero-slide--b {
  background-image: linear-gradient(120deg, rgba(11,20,32,.82) 10%, rgba(11,20,32,.35) 60%, rgba(11,20,32,.75) 100%), url('../img/hero-vehicles.jpg');
  background-image: linear-gradient(120deg, rgba(11,20,32,.82) 10%, rgba(11,20,32,.35) 60%, rgba(11,20,32,.75) 100%), image-set(url('../img/hero-vehicles.webp') type('image/webp'), url('../img/hero-vehicles.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center 55%;
}
.hero-slide--c {
  background-image: linear-gradient(120deg, rgba(11,20,32,.85) 15%, rgba(11,20,32,.4) 60%, rgba(11,20,32,.8) 100%), url('../img/hero-drone-closeup.jpg');
  background-image: linear-gradient(120deg, rgba(11,20,32,.85) 15%, rgba(11,20,32,.4) 60%, rgba(11,20,32,.8) 100%), image-set(url('../img/hero-drone-closeup.webp') type('image/webp'), url('../img/hero-drone-closeup.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center 25%;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 120px 0 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 106, 26, 0.14);
  border: 1px solid rgba(255, 106, 26, 0.4);
  color: #ffb98a;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.5px;
  max-width: 780px;
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--color-accent);
}

.hero p.lead {
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 580px;
  margin-bottom: 38px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 40px;
}

.hero-stat .num {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: #fff;
}

.hero-stat .num span { color: var(--color-accent); }

.hero-stat .label {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 3;
}

.hero-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  padding: 0;
}

.hero-dots button.is-active { background: var(--color-accent); width: 22px; border-radius: 5px; }

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  transition: all 0.22s ease;
}

.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: var(--color-accent-dark); }

.btn-outline { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

.btn-navy { background: var(--color-primary); color: #fff; }
.btn-navy:hover { background: var(--color-primary-light); }

.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 17px 40px; font-size: 15.5px; }

/* =========================================================
   Cards / Grids
   ========================================================= */

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

a.card:hover, .card.is-link:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-media {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-bg-dark) 100%);
}

.media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.card-media .icon-plate {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-media .icon-plate svg { width: 46%; height: 46%; opacity: 0.9; }

.card-media .tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 20, 32, 0.75);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 999px;
}

.card-body { padding: 22px; }

.card-date { font-size: 12px; color: var(--color-text-sub); letter-spacing: 0.5px; }

.card-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--color-text);
  margin: 8px 0 10px;
  line-height: 1.6;
}

.card-desc { font-size: 13.5px; color: var(--color-text-sub); line-height: 1.75; }

.card-more {
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-primary-light);
  letter-spacing: 0.5px;
}

/* Strength / feature cards */
.feature-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: left;
}

.feature-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--color-primary-light);
}

.feature-card .icon svg { width: 26px; height: 26px; }

.feature-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.feature-card p { font-size: 13.5px; color: var(--color-text-sub); }

/* Number stat block used in achievements page */
.stat-strip {
  background: var(--color-primary);
  background: linear-gradient(120deg, var(--color-bg-dark), var(--color-primary));
  color: #fff;
  border-radius: var(--radius);
  padding: 44px 10px;
}

.stat-strip .grid { text-align: center; }

.stat-strip .num {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--color-accent);
}

.stat-strip .label {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 6px;
  letter-spacing: 0.5px;
}

/* =========================================================
   Achievement / work category list
   ========================================================= */

.work-item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--color-border);
}

.work-item:first-child { padding-top: 0; }
.work-item:last-child { border-bottom: none; }

.work-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--color-primary), var(--color-bg-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.work-visual svg { width: 42%; height: 42%; opacity: 0.92; }

.work-num {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  background: rgba(11, 20, 32, 0.6);
  padding: 4px 10px;
  border-radius: 4px;
}

.work-category {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.work-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.work-desc { color: var(--color-text-sub); font-size: 14.5px; margin-bottom: 16px; }

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.work-meta span {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary-light);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  padding: 6px 14px;
  border-radius: 999px;
}

/* =========================================================
   Equipment / spec table
   ========================================================= */

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-table th, .spec-table td {
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
}

.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

.spec-table th {
  width: 220px;
  color: var(--color-primary);
  font-weight: 700;
  background: var(--color-bg-alt);
}

/* =========================================================
   Timeline (company history)
   ========================================================= */

.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--color-border);
}

.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--color-accent);
}

.timeline-date {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-primary-light);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.timeline-text { font-size: 14.5px; color: var(--color-text); }

/* =========================================================
   CTA band
   ========================================================= */

.cta-band {
  background: linear-gradient(120deg, var(--color-bg-dark), var(--color-primary) 70%);
  color: #fff;
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 40px);
}

.cta-band .container { position: relative; z-index: 1; }

.cta-band h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, 0.78); margin-bottom: 30px; }
.cta-band .actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* =========================================================
   Footer
   ========================================================= */

.site-footer { background: var(--color-bg-dark); color: rgba(255, 255, 255, 0.75); }

.footer-top {
  padding: 64px 0 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: rgba(255, 255, 255, 0.55); max-width: 320px; }

.footer-col h4 {
  color: #fff;
  font-size: 13.5px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13.5px; color: rgba(255, 255, 255, 0.65); }
.footer-col ul li a:hover { color: var(--color-accent); }

.footer-contact p { font-size: 13.5px; margin-bottom: 8px; color: rgba(255, 255, 255, 0.65); }
.footer-contact strong { display: block; color: #fff; font-size: 12px; letter-spacing: 1px; margin-bottom: 4px; }

.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a { color: rgba(255, 255, 255, 0.45); }
.footer-bottom a:hover { color: #fff; }

/* =========================================================
   Forms (Contact page)
   ========================================================= */

.form-wrap {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 44px;
}

.form-row { margin-bottom: 24px; }
.form-row.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-row label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.form-row label .required {
  color: #fff;
  background: var(--color-accent);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 8px;
  letter-spacing: 0.5px;
}

.form-row label .optional {
  color: var(--color-text-sub);
  font-size: 10.5px;
  font-weight: 700;
  border: 1px solid var(--color-border);
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 8px;
  letter-spacing: 0.5px;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--color-text);
  background: #fcfdff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(26, 76, 150, 0.12);
}

.form-row textarea { resize: vertical; min-height: 160px; }

.field-hint { font-size: 12px; color: var(--color-text-sub); margin-top: 6px; }
.field-error {
  font-size: 12.5px;
  color: #d13438;
  margin-top: 6px;
  display: none;
}
.form-row.has-error input,
.form-row.has-error select,
.form-row.has-error textarea { border-color: #d13438; }
.form-row.has-error .field-error { display: block; }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text-sub);
}

.checkbox-row input { margin-top: 3px; }
.checkbox-row a { color: var(--color-primary-light); text-decoration: underline; }

.form-submit-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--color-text-sub);
  margin-top: 16px;
}

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 4px;
  font-size: 13.5px;
  display: none;
}
.form-status.is-error { display: block; background: #fdeceb; color: #b02a2a; border: 1px solid #f2c4c1; }
.form-status.is-loading { display: block; background: var(--color-bg-alt); color: var(--color-text-sub); }

.contact-info-card {
  background: linear-gradient(150deg, var(--color-bg-dark), var(--color-primary));
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 32px;
}

.contact-info-card h3 { font-size: 17px; margin-bottom: 22px; letter-spacing: 0.5px; }

.contact-info-row { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info-row .icon {
  width: 40px; height: 40px; flex: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.contact-info-row .icon svg { width: 20px; height: 20px; }
.contact-info-row strong { display: block; font-size: 12px; color: var(--color-accent); letter-spacing: 1px; margin-bottom: 4px; }
.contact-info-row span, .contact-info-row a { font-size: 14.5px; color: rgba(255, 255, 255, 0.9); }

/* Thanks page */
.thanks-block {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 60px 0;
}
.thanks-icon {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
  color: var(--color-primary-light);
}
.thanks-icon svg { width: 40px; height: 40px; }

/* =========================================================
   Article detail pages (news / achievement template)
   ========================================================= */

.article-head { max-width: 760px; margin: 0 auto; text-align: center; }
.article-meta {
  display: flex;
  justify-content: center;
  gap: 14px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
}
.article-meta .cat {
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 1px;
}

.article-hero-media {
  max-width: var(--max-width);
  margin: -30px auto 50px;
  padding: 0 24px;
}
.article-hero-media .media-plate {
  aspect-ratio: 21 / 9;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--color-primary), var(--color-bg-dark));
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.article-hero-media svg { width: 20%; height: 20%; opacity: 0.9; }

.article-body {
  max-width: 720px;
  margin: 0 auto;
}

.article-body h2 {
  font-size: 21px;
  color: var(--color-primary);
  font-weight: 700;
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--color-accent);
}

.article-body p { color: var(--color-text); margin-bottom: 18px; font-size: 15px; }
.article-body ul { margin: 0 0 18px 0; }
.article-body ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 14.5px;
  color: var(--color-text-sub);
}
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

.article-figure {
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-sub);
  font-size: 13px;
  margin: 24px 0;
  position: relative;
  overflow: hidden;
}

.article-footer-nav {
  max-width: 720px;
  margin: 60px auto 0;
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
}

.article-footer-nav a { font-size: 13.5px; font-weight: 700; color: var(--color-primary-light); }

/* =========================================================
   Recruit page
   ========================================================= */

.job-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 20px;
}

.job-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-border);
}

.job-card-head h3 { font-size: 18px; color: var(--color-primary); font-weight: 700; }

.job-tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  background: var(--color-bg-alt);
  color: var(--color-primary-light);
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
}

.job-detail-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  row-gap: 12px;
  font-size: 14px;
}

.job-detail-grid dt { color: var(--color-text-sub); font-weight: 600; }
.job-detail-grid dd { color: var(--color-text); }

/* =========================================================
   Misc: back to top, page load animation
   ========================================================= */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 900;
  border: none;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--color-primary-light); }
.back-to-top svg { width: 18px; height: 18px; }

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .work-item { grid-template-columns: 1fr; }
  .work-visual { max-width: 320px; }
}

@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { padding: 16px 10px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.06); border-radius: 0; }
  .main-nav a.is-active::after { display: none; }
  .nav-cta { margin: 14px 0 0; text-align: center; border-radius: 4px; }
  .nav-toggle { display: flex; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; padding: 48px 0 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row.cols-2 { grid-template-columns: 1fr; }
  .form-wrap { padding: 28px 22px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .job-detail-grid { grid-template-columns: 1fr; row-gap: 6px; }
  .job-detail-grid dd { margin-bottom: 10px; }
  .article-hero-media { margin-top: -20px; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .hero-content { padding: 100px 0 70px; }
}
