/* ============================================================
   ヒトニギリ研究所 - Common Stylesheet
   Brand Color: #0C8DC4
   Tone: 誠実・落ち着き・専門性
   ============================================================ */

/* --- Reset & Base ------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

:root {
  --color-brand: #0C8DC4;
  --color-brand-dark: #086A95;
  --color-brand-soft: #E6F3FA;
  --color-ink: #1A2733;
  --color-ink-soft: #4A5868;
  --color-ink-mute: #7A8694;
  --color-line: #E1E5EA;
  --color-bg: #FFFFFF;
  --color-bg-soft: #F5F7FA;
  --color-bg-section: #FAFBFC;
  --shadow-sm: 0 1px 2px rgba(26, 39, 51, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 39, 51, 0.08);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --max-content: 1080px;
  --max-narrow: 760px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
               "Yu Gothic", "Meiryo", "Inter", -apple-system,
               BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-ink);
  background: var(--color-bg);
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Layout Containers -------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  width: 100%;
  max-width: var(--max-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header ------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--color-line);
  box-shadow: 0 4px 24px rgba(26, 39, 51, 0.05);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 24px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-ink);
}
.site-logo span {
  color: var(--color-brand);
}
.site-logo img {
  height: 40px;
  width: auto;
  display: block;
}
.site-nav ul {
  display: flex;
  gap: 32px;
  align-items: center;
}
.site-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-ink-soft);
  transition: color 0.2s;
  padding: 4px 0;
}
.site-nav ul > li > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--color-brand);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}
.site-nav ul > li > a:not(.nav-cta):hover {
  color: var(--color-brand);
}
.site-nav ul > li > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}
.site-nav .nav-cta {
  background: var(--color-brand);
  color: #fff;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.65, 0, 0.35, 1);
  box-shadow: 0 2px 8px rgba(12, 141, 196, 0.22);
}
.site-nav .nav-cta:hover {
  background: var(--color-brand-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(12, 141, 196, 0.32);
}

.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 2px;
  background: var(--color-ink);
  transition: 0.25s;
}
.nav-toggle span:nth-child(1) { top: 9px; }
.nav-toggle span:nth-child(2) { top: 15px; }
.nav-toggle span:nth-child(3) { top: 21px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- Hero / First View -------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #F5F9FC 0%, #FFFFFF 100%);
  padding: 140px 24px 140px;
  min-height: 88vh;
  display: flex;
  align-items: center;
  text-align: left;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(12, 141, 196, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: hero-pulse 8s ease-in-out infinite;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(12, 141, 196, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: hero-pulse 10s ease-in-out infinite reverse;
}
@keyframes hero-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.85; }
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  z-index: 2;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--color-brand);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero__eyebrow::before {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--color-brand);
}
.hero__main {
  font-size: clamp(30px, 5.6vw, 60px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--color-ink);
  margin-bottom: 36px;
}
.hero__main .accent {
  position: relative;
  color: var(--color-brand);
  display: inline-block;
}
.hero__main .accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 6px;
  background: rgba(12, 141, 196, 0.18);
  z-index: -1;
}
.hero__sub {
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 400;
  color: var(--color-ink-soft);
  letter-spacing: 0.06em;
  line-height: 1.9;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 3;
  pointer-events: none;
}
.scroll-indicator__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--color-ink-soft);
  text-transform: uppercase;
}
.scroll-indicator__line {
  position: relative;
  width: 1px;
  height: 64px;
  background: rgba(26, 39, 51, 0.15);
  overflow: hidden;
}
.scroll-indicator__line::after {
  content: "";
  position: absolute;
  top: -64px;
  left: 0;
  width: 100%;
  height: 64px;
  background: var(--color-brand);
  animation: scroll-line 2.2s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}
@keyframes scroll-line {
  0% { transform: translateY(0); }
  100% { transform: translateY(192px); }
}

/* --- Page Header (non-top pages) ---------------------------- */
.page-header {
  position: relative;
  background: var(--color-bg-soft);
  padding: 96px 24px 80px;
  border-bottom: 1px solid var(--color-line);
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(12, 141, 196, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.page-header__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-content);
  margin: 0 auto;
}
.page-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-brand);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.page-header__eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--color-brand);
}
.page-header h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: var(--color-ink);
  margin-bottom: 20px;
}
.page-header__lead {
  font-size: 16px;
  color: var(--color-ink-soft);
  max-width: 720px;
  line-height: 1.95;
}

/* --- Sections ----------------------------------------------- */
.section {
  padding: 88px 0;
}
.section--soft {
  background: var(--color-bg-section);
}
.section--brand {
  background: linear-gradient(135deg, #0C8DC4 0%, #086A95 100%);
  color: #fff;
}
.section__title {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-ink);
  margin-bottom: 16px;
  line-height: 1.4;
}
.section__lead {
  font-size: 16px;
  color: var(--color-ink-soft);
  margin-bottom: 48px;
  max-width: 720px;
  line-height: 1.95;
}
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-brand);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section__eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--color-brand);
}

/* --- Prose (Article Content) -------------------------------- */
.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-ink);
  margin: 72px 0 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-brand);
  line-height: 1.5;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-ink);
  margin: 40px 0 16px;
  line-height: 1.6;
}
.prose p {
  font-size: 16px;
  color: var(--color-ink);
  line-height: 1.95;
  margin-bottom: 1.4em;
}
.prose p + p { margin-top: 0; }
.prose strong {
  font-weight: 700;
  background: linear-gradient(transparent 70%, rgba(12, 141, 196, 0.18) 70%);
  padding: 0 2px;
}
.prose ul {
  margin: 16px 0 1.4em;
  padding-left: 0;
}
.prose ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-ink);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--color-brand);
  border-radius: 50%;
}
.prose ol {
  counter-reset: prose-counter;
  margin: 16px 0 1.4em;
}
.prose ol li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 16px;
  counter-increment: prose-counter;
  line-height: 1.85;
}
.prose ol li::before {
  content: counter(prose-counter);
  position: absolute;
  left: 0;
  top: 2px;
  width: 28px;
  height: 28px;
  background: var(--color-brand);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prose .lead {
  font-size: 18px;
  color: var(--color-ink-soft);
  line-height: 2;
  margin-bottom: 48px;
}
.prose blockquote {
  border-left: 4px solid var(--color-brand);
  background: var(--color-bg-soft);
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 16px;
  color: var(--color-ink-soft);
}

/* --- Highlight Box ------------------------------------------ */
.highlight-box {
  background: var(--color-brand-soft);
  border-left: 4px solid var(--color-brand);
  padding: 28px 32px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 32px 0;
}
.highlight-box h3 {
  font-size: 18px;
  color: var(--color-brand-dark);
  margin: 0 0 12px;
}
.highlight-box p:last-child { margin-bottom: 0; }

/* --- Buttons ------------------------------------------------ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 36px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border-radius: 999px;
  transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}
.btn--primary {
  background: var(--color-brand);
  color: #fff;
  box-shadow: 0 4px 16px rgba(12, 141, 196, 0.22);
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-brand-dark);
  transform: translateX(-101%);
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: -1;
}
.btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(12, 141, 196, 0.36);
}
.btn--primary:hover::before {
  transform: translateX(0);
}
.btn--outline {
  background: transparent;
  color: var(--color-brand);
  border: 1.5px solid var(--color-brand);
}
.btn--outline::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: -1;
}
.btn--outline:hover {
  color: #fff;
  border-color: var(--color-brand);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(12, 141, 196, 0.22);
}
.btn--outline:hover::before {
  transform: scaleX(1);
}
.btn--white {
  background: #fff;
  color: var(--color-brand-dark);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.btn--white::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-bg-soft);
  transform: translateX(-101%);
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: -1;
}
.btn--white:hover {
  color: var(--color-brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
.btn--white:hover::before {
  transform: translateX(0);
}
.btn--large {
  padding: 22px 44px;
  font-size: 16px;
}
.btn__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 12px;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.btn:hover .btn__arrow {
  transform: translateX(8px);
}

/* --- Service Cards (Top page) ------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin: 56px 0 64px;
}
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 40px 32px 32px;
  transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-brand) 0%, #34c0ee 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.service-card:hover {
  border-color: var(--color-brand);
  box-shadow: 0 12px 32px rgba(12, 141, 196, 0.15);
  transform: translateY(-6px);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card__num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 44px;
  font-weight: 700;
  color: rgba(12, 141, 196, 0.12);
  letter-spacing: 0;
  line-height: 1;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  transition: color 0.4s;
}
.service-card:hover .service-card__num {
  color: rgba(12, 141, 196, 0.32);
}
.service-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 14px;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
.service-card__desc {
  font-size: 14px;
  color: var(--color-ink-soft);
  line-height: 1.85;
  flex: 1;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brand);
  letter-spacing: 0.05em;
  transition: gap 0.3s;
}
.service-card:hover .service-card__link {
  gap: 14px;
}

/* --- Service Block (Services list page) --------------------- */
.service-block {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 44px;
  margin-bottom: 28px;
  transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  overflow: hidden;
  isolation: isolate;
}
.service-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-brand);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.service-block:hover {
  border-color: var(--color-brand);
  box-shadow: 0 16px 40px rgba(12, 141, 196, 0.12);
  transform: translateY(-4px);
}
.service-block:hover::before {
  transform: scaleY(1);
}
.service-block__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.service-block__body {
  font-size: 15px;
  line-height: 1.95;
  color: var(--color-ink);
  margin-bottom: 24px;
}
.service-block__body strong {
  font-weight: 700;
  background: linear-gradient(transparent 70%, rgba(12, 141, 196, 0.18) 70%);
  padding: 0 2px;
}
.service-block__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-brand);
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 2px;
  transition: gap 0.3s, color 0.2s;
}
.service-block__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--color-brand);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.service-block:hover .service-block__link {
  gap: 14px;
  color: var(--color-brand-dark);
}
.service-block:hover .service-block__link::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* --- About / Profile ---------------------------------------- */
.profile-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
  background: var(--color-bg-soft);
  padding: 40px;
  border-radius: var(--radius-lg);
  margin-bottom: 48px;
}
.profile-card__photo {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #C5DCE8 0%, #E1ECF2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink-mute);
  font-size: 13px;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(26, 39, 51, 0.12);
}
.profile-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-card__info h2 {
  font-size: 24px;
  margin-bottom: 8px;
  border-bottom: none;
  padding-bottom: 0;
  margin-top: 0;
}
.profile-card__role {
  font-size: 14px;
  color: var(--color-ink-soft);
}

.tagline {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-ink);
  letter-spacing: 0.02em;
  margin: 40px 0 16px;
}
.tagline + p {
  font-size: 16px;
  color: var(--color-ink-soft);
  margin-bottom: 32px;
}
.tagline .accent,
.accent {
  color: var(--color-brand);
  font-weight: 700;
}

.career-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0;
}
.career-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.career-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-brand-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-line);
}
.career-card ul {
  list-style: none;
  padding: 0;
}
.career-card ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--color-ink);
  line-height: 1.7;
}
.career-card ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--color-brand);
  border-radius: 50%;
}

.company-info {
  margin-top: 64px;
}
.company-info h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-brand);
}
.company-info dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px 24px;
  font-size: 15px;
}
.company-info dt {
  color: var(--color-ink-soft);
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-line);
}
.company-info dd {
  color: var(--color-ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-line);
  margin: 0;
}

/* --- Contact Form ------------------------------------------- */
.form {
  background: #fff;
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  margin-top: 40px;
}
.form-group {
  margin-bottom: 28px;
}
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 8px;
}
.form-label .required {
  display: inline-block;
  background: var(--color-brand);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.form-label .optional {
  display: inline-block;
  background: var(--color-bg-soft);
  color: var(--color-ink-soft);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--color-ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(12, 141, 196, 0.12);
}
.form-textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.8;
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231A2733' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-notice {
  background: var(--color-bg-soft);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--color-ink-soft);
  line-height: 1.85;
  margin: 32px 0 24px;
}
.form-notice a {
  color: var(--color-brand);
  text-decoration: underline;
}
.form-submit {
  display: block;
  width: 100%;
  padding: 18px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--color-brand);
  border-radius: var(--radius-md);
  letter-spacing: 0.05em;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 4px 16px rgba(12, 141, 196, 0.2);
}
.form-submit:hover {
  background: var(--color-brand-dark);
}
.form-submit:active { transform: translateY(1px); }

/* --- Complete Page ------------------------------------------ */
.complete-message {
  text-align: center;
  padding: 80px 24px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-lg);
  margin: 40px 0;
}
.complete-message__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: var(--color-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
}
.complete-message h2 {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--color-ink);
}
.complete-message p {
  color: var(--color-ink-soft);
  font-size: 15px;
  line-height: 1.95;
  max-width: 480px;
  margin: 0 auto 8px;
}

/* --- Page Nav (bottom) -------------------------------------- */
.page-nav {
  background: var(--color-bg-soft);
  padding: 64px 0;
  border-top: 1px solid var(--color-line);
}
.page-nav__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink-soft);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  text-align: center;
}
.page-nav__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* --- CTA Section -------------------------------------------- */
.cta {
  position: relative;
  background: linear-gradient(135deg, #0C8DC4 0%, #086A95 100%);
  color: #fff;
  padding: 96px 24px;
  text-align: center;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  top: -180px;
  left: -180px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta::after {
  content: "";
  position: absolute;
  bottom: -180px;
  right: -180px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-narrow);
  margin: 0 auto;
}
.cta__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.cta__eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
}
.cta__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
.cta__text {
  font-size: 15px;
  margin-bottom: 40px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.95;
}

/* --- Footer ------------------------------------------------- */
.site-footer {
  background: var(--color-ink);
  color: #B5BDC5;
  padding: 56px 24px 32px;
  font-size: 14px;
}
.site-footer__inner {
  max-width: var(--max-content);
  margin: 0 auto;
}
.site-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 32px;
}
.site-footer__brand {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.site-footer__address {
  font-size: 13px;
  color: #8A95A0;
  line-height: 1.7;
}
.site-footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer__links a {
  font-size: 13px;
  color: #B5BDC5;
  transition: color 0.2s;
}
.site-footer__links a:hover { color: #fff; }
.site-footer__copy {
  font-size: 12px;
  color: #6A7480;
  letter-spacing: 0.05em;
}

/* --- Utilities ---------------------------------------------- */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }

/* --- Scroll Animations -------------------------------------- */
[data-animate] {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-animate="fade-up"] { transform: translateY(32px); }
[data-animate="fade-in"] { transform: none; }
[data-animate="slide-right"] { transform: translateX(-32px); }
[data-animate="zoom-in"] { transform: scale(0.96); }

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

[data-stagger] > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-stagger].is-visible > * {
  opacity: 1;
  transform: none;
}
[data-stagger].is-visible > *:nth-child(1) { transition-delay: 0ms; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: 90ms; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: 180ms; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: 270ms; }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: 360ms; }
[data-stagger].is-visible > *:nth-child(6) { transition-delay: 450ms; }

@media (prefers-reduced-motion: reduce) {
  [data-animate],
  [data-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero::before, .hero::after,
  .scroll-indicator__line::after {
    animation: none !important;
  }
}

/* --- Hero entry (on page load) ------------------------------ */
.hero__eyebrow,
.hero__main,
.hero__sub {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero__eyebrow { animation-delay: 0.1s; }
.hero__main { animation-delay: 0.25s; }
.hero__sub { animation-delay: 0.45s; }
@keyframes hero-enter {
  to {
    opacity: 1;
    transform: none;
  }
}
.scroll-indicator {
  opacity: 0;
  animation: hero-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.9s forwards;
}

/* --- Prose strong: cleaner highlight ------------------------ */
.prose a {
  color: var(--color-brand);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.prose a:hover {
  color: var(--color-brand-dark);
}

/* --- Responsive --------------------------------------------- */
@media (max-width: 768px) {
  body { font-size: 15px; }

  .site-header__inner { height: 60px; padding: 0 20px; }
  .site-nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-line);
    transform: translateY(-150%);
    transition: transform 0.3s;
    padding: 16px 0;
  }
  .site-nav.is-open { transform: translateY(0); }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .site-nav li { border-bottom: 1px solid var(--color-line); }
  .site-nav li:last-child { border-bottom: none; }
  .site-nav a {
    display: block;
    padding: 16px 24px;
    font-size: 15px;
  }
  .site-nav .nav-cta {
    margin: 12px 24px;
    text-align: center;
    border-radius: var(--radius-md);
  }
  .nav-toggle { display: block; }

  .hero { padding: 72px 20px 64px; }
  .page-header { padding: 56px 20px 40px; }
  .section { padding: 64px 0; }

  .container, .container-narrow { padding: 0 20px; }

  .prose h2 { margin: 56px 0 20px; padding-bottom: 12px; }
  .prose h3 { margin: 32px 0 12px; }

  .profile-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 24px;
    text-align: center;
  }
  .profile-card__photo {
    margin: 0 auto;
    width: 160px;
    height: 160px;
  }
  .profile-card__info h2 { text-align: center; }
  .profile-card__role { text-align: center; }

  .career-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .company-info dl {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .company-info dt {
    padding: 12px 0 4px;
    border-bottom: none;
  }
  .company-info dd {
    padding: 0 0 12px;
    font-weight: 500;
  }

  .form { padding: 28px 20px; }

  .site-footer__top {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-footer__links { gap: 16px; }

  .page-nav__links {
    flex-direction: column;
    align-items: stretch;
  }
  .page-nav__links .btn { justify-content: center; }
}

@media (max-width: 480px) {
  .hero__main { font-size: 26px; }
  .service-block { padding: 28px 24px; }
  .service-block__title { font-size: 19px; }
  .complete-message { padding: 56px 20px; }
}
