:root {
  --os-ink: #171b19;
  --os-green: #0e4639;
  --os-green-dark: #082f27;
  --os-paper: #f7f3ea;
  --os-white: #fffdf8;
  --os-copper: #ce6646;
  --os-muted: #69736e;
  --os-line: #ddd6ca;
  --os-serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --os-sans: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.os-journal-page,
body.os-article-page,
body.os-category-page {
  margin: 0;
  background: var(--os-paper);
  color: var(--os-ink);
  font-family: var(--os-sans);
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .os-header { top: 32px; }
a { color: inherit; }
.os-skip { position: fixed; z-index: 9999; top: 8px; left: 8px; padding: 10px 16px; background: #fff; color: #111; }
.os-skip:not(:focus) { width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.os-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid #ffffff26;
  background: rgba(8, 17, 14, .97);
  color: #fff;
  backdrop-filter: blur(12px);
}
.os-header-inner { display: flex; width: min(1180px, calc(100% - 48px)); min-height: 72px; margin: auto; align-items: center; justify-content: space-between; }
.os-brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; font-family: var(--os-serif); font-size: 17px; font-weight: 700; letter-spacing: .13em; text-decoration: none; white-space: nowrap; }
.os-brand-mark { position: relative; display: inline-block; width: 30px; height: 30px; flex: 0 0 auto; overflow: hidden; border: 0; border-radius: 50%; background: #f7f1e7 url("icon-512-v2.png") center / contain no-repeat; }
.os-brand-mark::before,
.os-brand-mark::after,
.os-brand-mark i::before,
.os-brand-mark i::after { display: none; content: none; }
.os-brand-mark > i { display: none; }
.os-header nav { display: flex; align-items: center; gap: 27px; }
.os-header nav a { color: #e5e7e3; font-size: 13px; font-weight: 700; text-decoration: none; }
.os-header nav a:hover,
.os-header nav a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.os-header .os-header-cta { min-height: 40px; padding: 0 17px; border: 1px solid #ffffff8a; display: inline-flex; align-items: center; }

.os-eyebrow { margin: 0 0 16px; color: var(--os-copper); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.os-journal-hero { position: relative; min-height: 510px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(120deg, #07100d, #0c2d25 58%, #0e4639); color: #fff; }
.os-journal-hero::before { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 119px, #ffffff0a 120px), repeating-linear-gradient(0deg, transparent 0 119px, #ffffff0a 120px); content: ""; }
.os-journal-hero-inner { position: relative; z-index: 2; width: min(1100px, calc(100% - 48px)); }
.os-journal-hero h1 { max-width: 760px; margin: 0 0 24px; font-family: var(--os-serif); font-size: clamp(44px, 6vw, 76px); font-weight: 500; line-height: 1.45; letter-spacing: .06em; }
.os-journal-lead { max-width: 650px; margin: 0; color: #e4e8e5; font-family: var(--os-serif); font-size: 18px; line-height: 2; letter-spacing: .04em; }
.os-journal-hero-inner > span { display: block; margin-top: 34px; color: #aebdb7; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.os-journal-symbol { position: absolute; right: max(6vw, 40px); bottom: -90px; width: 350px; height: 350px; display: grid; place-items: center; color: #d07a5e33; }
.os-journal-symbol .os-brand-mark { width: 280px; height: 280px; opacity: .32; }

.os-cluster-nav { border-bottom: 1px solid var(--os-line); background: var(--os-white); }
.os-cluster-nav > div { width: min(1100px, calc(100% - 48px)); margin: auto; display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 20px; }
.os-cluster-nav a { color: var(--os-green); font-size: 13px; font-weight: 700; text-decoration: none; }
.os-cluster-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

.os-journal-intro { width: min(1100px, calc(100% - 48px)); margin: auto; padding: 100px 0 92px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; border-bottom: 1px solid var(--os-line); }
.os-journal-intro > p { grid-column: 1 / -1; margin: 0 0 -35px; color: var(--os-copper); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.os-journal-intro h2 { margin: 0; color: var(--os-green); font-family: var(--os-serif); font-size: clamp(31px, 4vw, 47px); font-weight: 500; line-height: 1.65; letter-spacing: .04em; }
.os-journal-intro > div { padding-top: 7px; color: #4d5954; font-size: 15px; line-height: 2.15; }
.os-journal-intro > div p { margin: 0 0 20px; }

.os-article-index,
.os-related { width: min(1100px, calc(100% - 48px)); margin: auto; padding: 90px 0 110px; }
.os-section-heading { margin-bottom: 38px; }
.os-section-heading h2 { margin: 0; color: var(--os-green); font-family: var(--os-serif); font-size: 38px; font-weight: 500; letter-spacing: .05em; }
.os-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px; }
.os-card { min-width: 0; border: 1px solid var(--os-line); background: var(--os-white); transition: transform .2s, box-shadow .2s; }
.os-card:hover { transform: translateY(-4px); box-shadow: 0 18px 35px #26352f15; }
.os-card > a { height: 100%; display: flex; flex-direction: column; text-decoration: none; }
.os-card-visual { min-height: 146px; aspect-ratio: 12 / 5; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #0b3028, #0f4c3e); color: #d9c3ac; }
.os-card:nth-child(3n + 2) .os-card-visual { background: linear-gradient(135deg, #5a3023, #a24d33); }
.os-card:nth-child(3n) .os-card-visual { background: linear-gradient(135deg, #e9e0d1, #d7cab7); color: var(--os-green); }
.os-card-visual img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; transition: transform .35s ease; }
.os-card:hover .os-card-visual img { transform: scale(1.025); }
.os-card-body { padding: 25px 24px 27px; flex: 1; display: flex; flex-direction: column; }
.os-card-category { color: var(--os-copper); font-size: 11px; font-weight: 800; letter-spacing: .09em; }
.os-card time { margin: 8px 0 15px; color: #8a928e; font-size: 11px; }
.os-card h2 { margin: 0 0 13px; color: var(--os-ink); font-family: var(--os-serif); font-size: 20px; font-weight: 600; line-height: 1.7; }
.os-card p { margin: 0 0 22px; color: var(--os-muted); font-size: 13px; line-height: 1.9; }
.os-card-more { margin-top: auto; color: var(--os-green); font-size: 12px; font-weight: 800; }
.os-card-more b { margin-left: 7px; color: var(--os-copper); }

.os-breadcrumb { width: min(1040px, calc(100% - 48px)); margin: 0 auto; padding: 24px 0; }
.os-breadcrumb ol { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.os-breadcrumb li { color: #78817d; font-size: 11px; }
.os-breadcrumb li:not(:last-child)::after { margin-left: 8px; content: "/"; }
.os-breadcrumb a { color: var(--os-green); text-decoration: none; }

.os-article { background: var(--os-white); }
.os-article-header { width: min(920px, calc(100% - 48px)); margin: auto; padding: 72px 0 62px; text-align: center; }
.os-article-meta { margin-bottom: 25px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; }
.os-article-meta a { padding: 5px 11px; background: #e7efeb; color: var(--os-green); font-size: 11px; font-weight: 800; text-decoration: none; }
.os-article-meta time { color: #808985; font-size: 11px; }
.os-article-header h1 { margin: 0; color: var(--os-green-dark); font-family: var(--os-serif); font-size: clamp(34px, 5vw, 56px); font-weight: 500; line-height: 1.55; letter-spacing: .035em; }
.os-article-header > p { max-width: 730px; margin: 27px auto 0; color: #5a6661; font-size: 15px; line-height: 2; }
.os-article-visual { width: 100%; height: clamp(300px, 36vw, 560px); overflow: hidden; background: #e8eee9; }
.os-article-visual img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.os-article-layout { width: min(1040px, calc(100% - 48px)); margin: auto; padding: 86px 0 112px; display: grid; grid-template-columns: minmax(0, 760px) 220px; gap: 60px; align-items: start; }
.os-article-body { color: #303a36; font-size: 16px; line-height: 2.05; }
.os-article-body > p { margin: 0 0 27px; }
.os-article-body > h2 { margin: 72px 0 25px; padding: 0 0 14px; border-bottom: 1px solid var(--os-line); color: var(--os-green); font-family: var(--os-serif); font-size: 30px; font-weight: 600; line-height: 1.6; }
.os-article-body > h2:first-child { margin-top: 0; }
.os-article-body > h3 { margin: 46px 0 17px; color: var(--os-green-dark); font-family: var(--os-serif); font-size: 21px; line-height: 1.65; }
.os-article-body ul,
.os-article-body ol { margin: 25px 0 32px; padding: 22px 24px 22px 46px; background: #f4f1e9; }
.os-article-body li { margin: 8px 0; }
.os-article-body a { color: var(--os-green); font-weight: 700; text-underline-offset: 4px; }
.os-article-body strong { color: var(--os-green-dark); }
.os-article-body blockquote { margin: 38px 0; padding: 24px 28px; border-left: 3px solid var(--os-copper); background: #fbf4ed; color: #4b5551; }
.os-deep-dive { display: contents; }
.os-product-screen { margin: 44px 0 58px; padding: 14px; border: 1px solid #cfd9d4; background: #eef3f0; }
.os-product-screen img { width: 100%; height: auto; display: block; border: 1px solid #d6d8d3; background: #fff; }
.os-product-screen figcaption { padding: 17px 8px 5px; color: #53615b; font-size: 13px; line-height: 1.85; }
.os-product-screen figcaption strong { margin-right: 10px; color: var(--os-green); }
.os-product-screen figcaption small { margin-top: 5px; display: block; color: #78827d; font-size: 11px; }
.os-deep-workflow { counter-reset: os-step; padding: 0 !important; background: transparent !important; list-style: none; }
.os-deep-workflow li { position: relative; min-height: 82px; margin: 0 0 14px; padding: 19px 20px 19px 67px; border: 1px solid var(--os-line); background: #f8f5ee; }
.os-deep-workflow li::before { position: absolute; top: 19px; left: 19px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--os-green); color: #fff; counter-increment: os-step; content: counter(os-step); font-size: 12px; font-weight: 800; }
.os-deep-workflow strong { display: block; margin-bottom: 4px; }
.os-deep-workflow span { display: block; color: #56615c; font-size: 14px; line-height: 1.9; }
.os-role-list { margin: 28px 0 38px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.os-role-list > section { padding: 23px 19px; border: 1px solid var(--os-line); background: #faf8f2; }
.os-role-list h3 { margin: 0 0 12px; color: var(--os-green); font-family: var(--os-serif); font-size: 18px; }
.os-role-list p { margin: 0; color: #59635e; font-size: 13px; line-height: 1.9; }
.os-record-examples li { margin-bottom: 12px; }
.os-practice-plan { padding-left: 0 !important; background: transparent !important; list-style: none; }
.os-practice-plan li { margin: 0; padding: 18px 0; display: grid; grid-template-columns: 110px 1fr; gap: 22px; border-bottom: 1px solid var(--os-line); }
.os-practice-plan li:first-child { border-top: 1px solid var(--os-line); }
.os-practice-plan strong { color: var(--os-copper); }
.os-practice-plan span { color: #56615c; font-size: 14px; line-height: 1.9; }
.os-metric-list { margin: 28px 0 36px; border-top: 1px solid var(--os-line); }
.os-metric-list dt { padding: 20px 20px 4px; color: var(--os-green); font-weight: 800; }
.os-metric-list dd { margin: 0; padding: 0 20px 20px; border-bottom: 1px solid var(--os-line); color: #59645f; font-size: 14px; line-height: 1.9; }
.os-faq-list > section { margin: 0; padding: 3px 0 30px; border-bottom: 1px solid var(--os-line); }
.os-faq-list > section:last-child { border-bottom: 0; }
.os-faq-list h3 { position: relative; margin: 28px 0 12px; padding-left: 38px; }
.os-faq-list h3::before { position: absolute; top: 0; left: 0; color: var(--os-copper); content: "Q"; font-family: var(--os-sans); font-size: 20px; font-weight: 800; }
.os-faq-list p { margin: 0; padding-left: 38px; }
.os-category-guide { margin: 72px 0 46px; padding: 36px 34px; border: 1px solid #cfd9d4; background: #f0f5f2; }
.os-category-guide > h2 { margin: 0 0 22px; color: var(--os-green); font-family: var(--os-serif); font-size: 28px; line-height: 1.55; }
.os-category-guide > h3 { margin: 38px 0 14px; color: var(--os-green-dark); font-family: var(--os-serif); font-size: 20px; line-height: 1.6; }
.os-category-guide > p { margin: 0 0 22px; color: #46534d; font-size: 14px; line-height: 2; }
.os-category-guide > ol { margin: 22px 0 28px; background: #fffdf9; }
.os-category-guide > blockquote { margin: 28px 0 0; background: #fff9f2; }
.os-article-side { position: sticky; top: 102px; }
.os-article-side > div { padding: 28px 20px; border: 1px solid var(--os-line); text-align: center; }
.os-article-side .os-brand-mark { width: 48px; height: 48px; color: var(--os-green); }
.os-article-side p { margin: 14px 0 8px; color: var(--os-green); font-family: var(--os-serif); font-weight: 700; letter-spacing: .08em; }
.os-article-side small { display: block; color: var(--os-muted); font-size: 11px; line-height: 1.8; }
.os-article-side a { display: block; margin-top: 20px; color: var(--os-green); font-size: 11px; font-weight: 800; }
.os-editorial-note { margin-top: 70px; padding: 35px; border: 1px solid #c9d5d0; background: #eef4f1; }
.os-editorial-note h2 { margin: 0 0 15px; color: var(--os-green); font-family: var(--os-serif); font-size: 24px; }
.os-editorial-note p { margin: 0 0 18px; font-size: 14px; }
.os-editorial-note a { font-size: 13px; }

.os-related { background: var(--os-paper); }
.os-category-hero { padding: 82px 24px 75px; background: linear-gradient(120deg, #092a23, var(--os-green)); color: #fff; text-align: center; }
.os-category-hero h1 { margin: 0 0 20px; font-family: var(--os-serif); font-size: clamp(38px, 5vw, 58px); font-weight: 500; }
.os-category-hero > p:last-child { margin: 0; color: #d9e3df; line-height: 2; }

.os-article-cta { padding: 86px 24px; background: linear-gradient(120deg, #07110e, #0b352b); color: #fff; text-align: center; }
.os-article-cta h2 { margin: 0 0 22px; font-family: var(--os-serif); font-size: clamp(33px, 5vw, 52px); font-weight: 500; line-height: 1.55; letter-spacing: .06em; }
.os-article-cta > p:not(.os-eyebrow) { margin: 0 auto; color: #d4ded9; font-size: 15px; line-height: 2; }
.os-cta-actions { margin-top: 31px; display: flex; justify-content: center; gap: 14px; }
.os-button { min-width: 220px; min-height: 54px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; letter-spacing: .08em; text-decoration: none; }
.os-button-primary { background: var(--os-copper); color: #fff; }
.os-button-secondary { border: 1px solid #ffffff88; color: #fff; }

.os-footer { padding: 54px 24px 25px; background: #070c0a; color: #dce0dd; }
.os-footer-inner { width: min(1100px, 100%); margin: auto; padding-bottom: 35px; display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid #ffffff1c; }
.os-footer p { margin: 13px 0 0; color: #8f9994; font-family: var(--os-serif); font-size: 13px; letter-spacing: .06em; }
.os-footer nav { display: grid; grid-template-columns: repeat(2, auto); gap: 15px 28px; }
.os-footer nav a { color: #c1c9c5; font-size: 12px; text-decoration: none; }
.os-footer > small { width: min(1100px, 100%); margin: 20px auto 0; display: block; color: #66706b; font-size: 10px; }

@media (max-width: 800px) {
  body.admin-bar .os-header { top: 46px; }
  .os-header-inner { width: calc(100% - 28px); min-height: 62px; }
  .os-header .os-brand { font-size: 14px; }
  .os-header .os-brand-mark { width: 25px; height: 25px; }
  .os-header nav a:not(.os-header-cta) { display: none; }
  .os-header .os-header-cta { min-height: 38px; padding: 0 13px; font-size: 11px; }
  .os-journal-hero { min-height: 510px; }
  .os-journal-hero-inner { width: calc(100% - 36px); }
  .os-journal-hero h1 { font-size: clamp(32px, 8.5vw, 36px); line-height: 1.55; letter-spacing: .015em; }
  .os-journal-lead { font-size: 15px; line-height: 2; }
  .os-journal-symbol { right: -100px; bottom: -130px; opacity: .7; }
  .os-cluster-nav { overflow-x: auto; }
  .os-cluster-nav > div { width: max-content; min-width: 100%; padding: 0 18px; justify-content: flex-start; }
  .os-cluster-nav a { white-space: nowrap; }
  .os-journal-intro { width: calc(100% - 36px); padding: 70px 0 64px; grid-template-columns: 1fr; gap: 22px; }
  .os-journal-intro > p { margin: 0 0 2px; }
  .os-journal-intro h2 { font-size: 30px; }
  .os-journal-intro > div { padding: 0; font-size: 14px; }
  .os-article-index,
  .os-related { width: calc(100% - 36px); padding: 64px 0 78px; }
  .os-section-heading { margin-bottom: 28px; }
  .os-section-heading h2 { font-size: 30px; }
  .os-card-grid { grid-template-columns: 1fr; gap: 18px; }
  .os-card { border-radius: 2px; }
  .os-card > a { display: grid; grid-template-columns: 104px 1fr; }
  .os-card-visual { min-height: 100%; aspect-ratio: auto; }
  .os-card-body { padding: 19px 17px 20px; }
  .os-card h2 { margin-bottom: 8px; font-size: 17px; line-height: 1.65; }
  .os-card p { display: none; }
  .os-breadcrumb { width: calc(100% - 36px); padding: 18px 0; }
  .os-article-header { width: calc(100% - 36px); padding: 52px 0 45px; text-align: left; }
  .os-article-meta { justify-content: flex-start; }
  .os-article-header h1 { font-size: clamp(30px, 8.6vw, 39px); line-height: 1.55; }
  .os-article-header > p { font-size: 14px; }
  .os-article-visual { height: clamp(230px, 64vw, 310px); }
  .os-article-layout { width: calc(100% - 36px); padding: 60px 0 76px; display: block; }
  .os-article-body { font-size: 16px; line-height: 2.05; }
  .os-article-body > h2 { margin-top: 58px; font-size: 25px; }
  .os-article-body > h3 { margin-top: 38px; font-size: 19px; }
  .os-article-body ul,
  .os-article-body ol { padding: 19px 18px 19px 38px; }
  .os-product-screen { margin: 36px -6px 48px; padding: 7px; }
  .os-product-screen figcaption { padding: 14px 8px 6px; }
  .os-deep-workflow li { padding: 17px 16px 17px 59px; }
  .os-deep-workflow li::before { top: 17px; left: 15px; }
  .os-role-list { grid-template-columns: 1fr; }
  .os-practice-plan li { grid-template-columns: 1fr; gap: 5px; }
  .os-faq-list h3,
  .os-faq-list p { padding-left: 31px; }
  .os-category-guide { margin: 58px -4px 40px; padding: 28px 20px; }
  .os-category-guide > h2 { font-size: 24px; }
  .os-article-side { display: none; }
  .os-editorial-note { margin-top: 55px; padding: 26px 21px; }
  .os-cta-actions { flex-direction: column; }
  .os-button { width: 100%; min-width: 0; }
  .os-footer-inner { flex-direction: column; gap: 35px; }
  .os-footer nav { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .os-card { transition: none; }
}
