@layer reset, base, frame, composition, parts, responsive;
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p, figure { margin: 0; }
  img, svg { max-width: 100%; display: block; }
  button, input { font: inherit; }
  [hidden] { display: none !important; }
}
@layer base {
  html { scroll-behavior: smooth; scroll-padding-top: 28px; }
  body { background-color: #FFFFFF; color: #1A1C1E; font-family: 'Hanken Grotesk', sans-serif; font-weight: 400; font-size: 18px; line-height: 1.6; }
  h1, h2 { font-weight: 300; line-height: 1.07; letter-spacing: -0.02em; text-wrap: balance; }
  h1 { font-size: clamp(44px, 4.1vw, 60px); }
  h2 { font-size: clamp(35px, 3.6vw, 52px); }
  h3 { font-size: 24px; line-height: 1.25; font-weight: 500; }
  p { color: #53575B; }
  a { color: inherit; text-underline-offset: 5px; }
  a, button, summary { -webkit-tap-highlight-color: rgba(26,28,30,0.1); }
  a:hover { text-decoration-thickness: 2px; }
  :focus-visible { outline: 3px solid #53575B; outline-offset: 5px; }
  button, summary { cursor: pointer; }
  ::selection { background-color: #D8B2A2; color: #1A1C1E; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
}
@layer frame {
  .width { width: min(1300px, calc(100% - 96px)); margin-inline: auto; }
  .skip { position: absolute; left: 20px; top: 8px; z-index: 20; padding: 12px 20px; background-color: #FFFFFF; color: #1A1C1E; transform: translateY(-180%); min-height: 48px; }
  .skip:focus { transform: translateY(0); }
  .notice { background-color: #000000; color: #FFFFFF; min-height: 44px; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 500; padding-inline: 16px; }
  .notice a { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; }
  .masthead { border-bottom: 1px solid #E3E7EA; }
  .masthead-row { min-height: 104px; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-block: 15px; }
  .identity { flex: 1 1 600px; }
  .identity>a { display: inline-flex; min-height: 44px; align-items: center; font-size: 26px; line-height: 1.15; text-decoration: none; font-weight: 500; }
  .identity p { font-size: 16px; line-height: 1.4; color: #1A1C1E; max-width: 630px; }
  .desktop-links { display: flex; gap: 24px; align-items: center; }
  .desktop-links a { display: inline-flex; align-items: center; min-height: 48px; font-size: 17px; text-decoration: none; white-space: nowrap; }
  .desktop-links a:hover { text-decoration: underline; }
  .phone-links { display: none; }
  .site-footer { border-top: 1px solid #E3E7EA; margin-top: 120px; padding-block: 54px 28px; }
  .footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
  .footer-top .footer-name { font-size: 25px; color: #1A1C1E; margin-bottom: 12px; }
  .footer-top p { max-width: 57ch; font-size: 16px; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 0 24px; }
  .footer-links a { display: flex; min-height: 48px; align-items: center; font-size: 16px; }
  .copyright { font-size: 16px; margin-top: 44px; }
}
@layer composition {
  .hero { position: relative; height: 700px; isolation: isolate; background-color: #293237; color: #FFFFFF; overflow: hidden; }
  .hero>img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 42%; position: absolute; inset: 0; z-index: -2; color: #FFFFFF; }
  .hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(35deg, rgba(25,34,39,0.57) 0%, rgba(25,34,39,0.26) 40%, rgba(25,34,39,0) 72%); }
  .hero-copy { position: absolute; left: 50px; right: 40px; bottom: 48px; }
  .hero h1 { max-width: 1020px; font-size: clamp(48px, 5.7vw, 82px); line-height: 1.02; }
  .hero-copy p { max-width: 670px; color: #FFFFFF; font-size: 22px; line-height: 1.35; margin-block: 24px; }
  .home-section { margin-top: 116px; }
  .center-heading { text-align: center; max-width: 950px; margin-inline: auto; }
  .center-heading p { font-size: 22px; margin-top: 18px; }
  .photo-groups { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; margin-top: 42px; }
  .group-link { text-align: center; text-decoration: none; display: block; }
  .group-link img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 7px; background-color: #E3E7EA; color: #1A1C1E; }
  .group-link h3 { margin-top: 22px; font-size: 23px; }
  .group-link p { font-size: 18px; line-height: 1.5; margin-top: 12px; }
  .group-link:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
  .index-chips { border-block: 1px solid #E3E7EA; padding-block: 24px; margin-block: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
  .index-chips a { border: 1px solid #1A1C1E; padding: 12px 22px; border-radius: 7px; min-height: 52px; font-size: 17px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
  .index-chips a:hover { background-color: #E3E7EA; }
  .index-layout { display: grid; grid-template-columns: 235px minmax(0,1fr); gap: 52px; }
  .index-filter h3 { font-size: 21px; margin-bottom: 18px; }
  .filter-link { display: flex; min-height: 48px; align-items: center; padding-block: 9px; font-size: 17px; gap: 12px; text-decoration: none; }
  .filter-link::before { content: ''; width: 16px; height: 16px; border: 1px solid #53575B; flex: 0 0 16px; }
  .filter-link[aria-current=true]::before { background-color: #1A1C1E; border-color: #1A1C1E; box-shadow: inset 0 0 0 3px #FFFFFF; }
  .term-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px 30px; }
  .term-card { border-top: 1px solid #B8BDC1; min-height: 192px; }
  .term-card a { display: block; height: 100%; padding-block: 20px; text-decoration: none; }
  .term-card h3 { font-size: 25px; }
  .term-card p { font-size: 17px; line-height: 1.5; margin-top: 14px; }
  .term-card:hover h3 { text-decoration: underline; }
  .term-card.start-card { border: 0; border-radius: 7px; padding-inline: 24px; background: linear-gradient(145deg, #E3E7EA, #D8B2A2); background-color: #E3E7EA; }
  .start-card p { color: #1A1C1E; }
  .glass-band { background-color: #E3E7EA; background: linear-gradient(155deg, #E3E7EA 10%, #D8B2A2 100%); border-radius: 7px; padding: 58px 62px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 90px; align-items: center; }
  .glass-band p { color: #1A1C1E; font-size: 21px; margin-top: 20px; max-width: 43ch; }
  .glass-links { background-color: rgba(255,255,255,0.48); border: 1px solid #FFFFFF; padding: 28px; border-radius: 5px; }
  .glass-links h3 { margin-bottom: 12px; }
  .glass-links a { display: flex; min-height: 50px; align-items: center; font-size: 18px; }
  .photo-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
  .photo-split img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 7px; background-color: #E3E7EA; color: #1A1C1E; }
  .split-copy { padding-top: 23%; padding-inline: 12px; }
  .split-copy p { font-size: 21px; line-height: 1.5; margin-block: 24px 28px; max-width: 43ch; }
  .reversed .split-copy { grid-column: 1; grid-row: 1; }
  .reversed .split-photo { grid-column: 2; grid-row: 1; }
  .breadcrumb { margin-top: 28px; font-size: 16px; color: #53575B; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .breadcrumb a { display: inline-flex; min-height: 44px; align-items: center; }
  .page-title { margin-top: 14px; max-width: 1050px; }
  .inner-lead { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,0.8fr); gap: 90px; align-items: center; margin-bottom: 70px; }
  .inner-lead p { font-size: 23px; line-height: 1.55; max-width: 61ch; }
  .inner-lead img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 7px; background-color: #E3E7EA; color: #1A1C1E; }
  .inner-lead.without-photo { display: block; max-width: 850px; }
  .reading-layout { display: grid; grid-template-columns: 235px minmax(0,1fr); gap: 90px; margin-top: 60px; }
  .contents-title { font-size: 23px; font-weight: 500; letter-spacing: 0; margin-bottom: 16px; }
  .contents a { display: flex; align-items: center; min-height: 48px; font-size: 17px; padding-block: 9px; }
  .terms-column { max-width: 75ch; }
  .entry-group-title { font-size: 42px; margin-block: 50px 30px; }
  .entry-group-title:first-child { margin-top: 0; }
  .term-entry h3 { font-weight: 300; line-height: 1.1; letter-spacing: -0.02em; }
  .term-entry { padding-block: 48px; border-top: 1px solid #B8BDC1; }
  .term-entry:first-child { padding-top: 0; border-top: 0; }
  .term-entry h2, .term-entry h3 { font-size: 40px; margin-bottom: 26px; }
  .term-entry p { max-width: 70ch; margin-top: 18px; font-size: 19px; }
  .term-entry p:first-of-type { font-size: 22px; color: #1A1C1E; line-height: 1.5; }
  .closing { border-top: 1px solid #B8BDC1; padding-top: 32px; }
  .closing>p { font-size: 21px; max-width: 65ch; }
  .next-links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
  .word-diagram { border-block: 1px solid #E3E7EA; padding-block: 28px; max-width: 880px; margin-bottom: 40px; }
  .word-diagram svg { width: 100%; height: auto; }
  .word-diagram text { font-family: 'Hanken Grotesk', sans-serif; font-size: 20px; fill: #1A1C1E; }
  .not-found { min-height: 52vh; padding-top: 100px; }
  .not-found p { font-size: 23px; max-width: 50ch; margin-block: 28px; }
}
@layer parts {
  .button { min-height: 50px; padding: 12px 24px; display: inline-flex; justify-content: center; align-items: center; border: 1px solid #1A1C1E; border-radius: 3px; background-color: #1A1C1E; color: #FFFFFF; text-decoration: none; font-size: 17px; font-weight: 500; line-height: 1.4; }
  .button:hover { background-color: #35383B; }
  .button.light { background-color: #FFFFFF; color: #1A1C1E; border-color: #FFFFFF; }
  .button.light:hover { background-color: #E3E7EA; }
  .source-drawer { margin-top: 24px; border-bottom: 1px solid #E3E7EA; }
  .source-drawer summary { padding: 13px 0; min-height: 50px; font-size: 17px; font-weight: 500; }
  .source-drawer summary::marker { color: #53575B; }
  .source-body { padding-block: 4px 22px; }
  .source-body p { font-size: 16px !important; color: #53575B !important; margin-top: 12px; }
  .source-body ul { list-style: none; padding: 0; margin: 0; }
  .source-body li { font-size: 16px; margin-top: 6px; overflow-wrap: anywhere; }
  .source-body li a { display: inline-flex; align-items: center; min-height: 44px; line-height: 1.45; padding-block: 8px; }
  .drawer-control { display: none; background-color: #FFFFFF; color: #1A1C1E; border: 1px solid #53575B; padding: 10px 16px; margin-top: 24px; border-radius: 3px; min-height: 48px; text-align: left; font-size: 16px; }
  .has-enhancements .drawer-control { display: block; }
}
@layer responsive {
  @media (max-width: 1100px) {
    .width { width: calc(100% - 64px); }
    .desktop-links { gap: 18px; }
    .identity>a { font-size: 23px; }
    .identity p { max-width: 470px; }
    .photo-groups { gap: 20px; }
    .index-layout { grid-template-columns: 180px minmax(0,1fr); gap: 32px; }
    .term-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .glass-band { gap: 42px; padding: 44px; }
    .reading-layout { grid-template-columns: 180px minmax(0,1fr); gap: 48px; }
    .inner-lead { gap: 45px; }
  }
  @media (max-width: 800px) {
    .width { width: calc(100% - 40px); }
    .masthead-row { position: relative; display: block; padding-block: 12px 18px; }
    .identity>a { max-width: calc(100% - 72px); font-size: 23px; }
    .identity p { max-width: 100%; margin-top: 6px; }
    .desktop-links { display: none; }
    .phone-links { display: block; position: absolute; right: 0; top: 12px; }
    .phone-links summary { min-height: 44px; min-width: 64px; border: 1px solid #B8BDC1; border-radius: 3px; padding: 9px; font-size: 16px; text-align: center; list-style: none; }
    .phone-links summary::-webkit-details-marker { display: none; }
    .phone-links:not([open]) .phone-panel { display: none; }
    .phone-panel { position: absolute; z-index: 5; right: 0; top: 54px; width: min(300px, calc(100vw - 40px)); background-color: #FFFFFF; color: #1A1C1E; border: 1px solid #B8BDC1; padding: 12px 22px; }
    .phone-panel a { display: flex; min-height: 48px; align-items: center; font-size: 18px; }
    .hero { height: 730px; }
    .hero-copy { left: 28px; right: 28px; bottom: 36px; }
    .hero h1 { font-size: 59px; max-width: 620px; }
    .photo-groups { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 46px 24px; }
    .home-section { margin-top: 88px; }
    .index-layout { grid-template-columns: 1fr; gap: 28px; }
    .index-filter { display: flex; gap: 12px 22px; flex-wrap: wrap; align-items: center; }
    .index-filter h3 { width: 100%; margin-bottom: 0; }
    .filter-link { min-height: 48px; }
    .term-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .glass-band { gap: 30px; padding: 40px 32px; grid-template-columns: 1fr; }
    .glass-links { max-width: 100%; }
    .photo-split { gap: 32px; }
    .split-copy { padding: 15% 0 0; }
    .split-copy h2 { font-size: 36px; }
    .split-copy p { font-size: 19px; }
    .reading-layout { grid-template-columns: 1fr; gap: 50px; }
    .contents nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
    .drawer-control { margin-top: 15px; }
    .inner-lead { gap: 32px; grid-template-columns: 1.4fr 1fr; }
    .inner-lead p { font-size: 21px; }
    .term-entry h2, .term-entry h3 { font-size: 36px; }
    .footer-top { gap: 35px; }
  }
  @media (max-width: 560px) {
    .notice { font-size: 16px; }
    .identity>a { font-size: 22px; max-width: calc(100% - 74px); }
    .identity p { font-size: 16px; line-height: 1.4; }
    .hero { height: 730px; }
    .hero>img { object-position: 70% 35%; }
    .hero-copy { left: 24px; right: 24px; bottom: 28px; }
    .hero h1 { font-size: 48px; line-height: 1.02; }
    .hero-copy p { font-size: 21px; line-height: 1.35; margin-block: 22px; }
    .hero .button { width: 100%; }
    h1 { font-size: 43px; }
    h2 { font-size: 37px; }
    .center-heading p { font-size: 20px; }
    .photo-groups { grid-template-columns: 1fr; gap: 48px; margin-top: 32px; }
    .group-link { max-width: 440px; margin-inline: auto; }
    .group-link h3 { font-size: 24px; margin-top: 20px; }
    .group-link p { max-width: 33ch; margin-inline: auto; }
    .index-chips { gap: 10px; padding-block: 22px; }
    .index-chips a { padding: 11px 14px; font-size: 16px; flex: 1 1 calc(50% - 10px); }
    .index-filter { column-gap: 18px; }
    .filter-link { font-size: 16px; }
    .term-grid { grid-template-columns: 1fr; gap: 12px; }
    .term-card { min-height: auto; }
    .term-card a { padding-block: 24px; }
    .term-card p { font-size: 18px; }
    .glass-band { padding: 36px 24px; }
    .glass-band p { font-size: 20px; }
    .glass-links { padding: 22px; }
    .photo-split { display: flex; flex-direction: column; gap: 30px; }
    .split-photo { width: 100%; }
    .split-copy { padding: 0; }
    .split-copy h2 { font-size: 39px; }
    .split-copy p { margin-block: 20px 24px; font-size: 20px; }
    .inner-lead { display: flex; flex-direction: column; align-items: stretch; gap: 30px; margin-bottom: 44px; }
    .inner-lead p { font-size: 21px; }
    .inner-lead img { max-height: 420px; }
    .breadcrumb { margin-top: 20px; }
    .page-title { margin-top: 10px; }
    .reading-layout { margin-top: 35px; }
    .contents nav { grid-template-columns: 1fr; }
    .term-entry { padding-block: 36px; }
    .term-entry h2, .term-entry h3 { font-size: 35px; margin-bottom: 22px; }
    .term-entry p { font-size: 18px; }
    .term-entry p:first-of-type { font-size: 21px; }
    .closing>p { font-size: 20px; }
    .word-diagram { overflow: visible; }
    .word-diagram svg { min-height: 170px; }
    .word-diagram text { font-size: 34px; }
    .footer-top { grid-template-columns: 1fr; gap: 30px; }
    .site-footer { margin-top: 84px; padding-top: 38px; }
  }
}
