/* Shared colours, type and page grid */
:root {
  color-scheme: light;
  --ink: #142a3b;
  --navy: #0b2033;
  --muted: #485a65;
  --gold: #ac8340;
  --brass: #806221;
  --light-gold: #edd39d;
  --line: #d7dfe1;
  --tint: #f2f5f5;
  --serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", "MS PMincho", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, system-ui, sans-serif;
  --latin: "Inter", "Segoe UI", Arial, sans-serif;
  --gutter: clamp(1.25rem, 5.9vw, 6.4rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { color: var(--ink); background: #fff; scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; font: 1rem/1.95 var(--sans); font-feature-settings: "palt"; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .28em; }
button { color: inherit; font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, main:focus-visible { outline: 3px solid #0075a0; outline-offset: 4px; }
.hero :focus-visible, .contact-strip :focus-visible, .quick-nav :focus-visible { outline-color: #ffe2a2; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: pretty; }
h1, h2, .statement, .chapter-quote { font-family: var(--serif); font-weight: 600; }
h2 { font-size: clamp(2rem, 3.2vw, 3.25rem); letter-spacing: .035em; line-height: 1.48; }
h3 { font-size: clamp(1.25rem, 1.65vw, 1.58rem); line-height: 1.7; }
p { color: var(--muted); }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 79rem); margin-inline: auto; }
.section { padding-block: clamp(4rem, 7.5vw, 8.5rem); }
.tint { background: var(--tint); }
.eyebrow { display: flex; align-items: center; gap: .8rem; color: var(--brass); font: 650 .81rem/1.4 var(--latin); letter-spacing: .17em; margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 1.9rem; height: 2px; background: var(--gold); flex: none; }
.skip { position: absolute; top: .5rem; left: 1rem; padding: .5rem 1rem; background: white; z-index: 20; transform: translateY(-170%); }
.skip:focus { transform: none; }

/* Header. Without JavaScript, the entire navigation stays visible. */
.masthead { position: relative; z-index: 5; background: white; border-bottom: 1px solid var(--line); }
.header-inner { width: min(calc(100% - 2 * clamp(1rem, 3.4vw, 4rem)), 95rem); min-height: 5rem; margin-inline: auto; display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.4rem); }
.identity { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; width: fit-content; }
.identity img { width: 4.2rem; height: auto; flex: none; }
.identity span { font-size: clamp(.84rem, 1.2vw, 1rem); font-weight: 700; line-height: 1.55; letter-spacing: .015em; color: #233039; }
#site-nav { margin-inline-start: auto; display: flex; align-items: stretch; gap: clamp(1rem, 1.9vw, 2.1rem); align-self: stretch; }
#site-nav a { position: relative; display: flex; align-items: center; text-decoration: none; color: var(--ink); font-weight: 650; font-size: .925rem; white-space: nowrap; }
#site-nav a::after { content: ""; position: absolute; right: 0; bottom: .9rem; left: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .16s; }
#site-nav a:is(:hover,[aria-current="page"])::after { transform: scaleX(1); }
.header-contact, .button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; white-space: normal; text-align: center; font-weight: 700; line-height: 1.55; }
.header-contact { background: var(--navy); color: white; font-size: .92rem; min-height: 2.8rem; padding: .7rem 1.35rem; flex: none; }
.header-contact:hover { background: #254358; }
.menu-toggle { display: none; }
main { display: block; }
main:focus:not(:focus-visible) { outline: 0; }

/* The visual is illustrative. All headline text remains selectable HTML. */
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(33rem, 43vw, 46rem); background: #061523; color: #fff; }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-image { object-fit: cover; object-position: 60% center; }
.hero::after { content: ""; background: linear-gradient(90deg,rgba(3,15,27,.88),rgba(4,18,31,.67) 34%,rgba(6,20,33,.2) 68%,rgba(0,12,22,.02)); }
.hero-content { padding-block: clamp(4.8rem, 6.6vw, 7.5rem); }
.hero .eyebrow, .contact-strip .eyebrow { color: var(--light-gold); }
.hero .eyebrow::before, .contact-strip .eyebrow::before { background: var(--light-gold); }
.hero h1 { font-size: clamp(2.6rem, 4.8vw, 5.6rem); line-height: 1.45; letter-spacing: .045em; font-weight: 600; margin: 1.2rem 0 1.35rem; }
.hero h1 span { display: inline-block; }
.hero-content > p:not(.eyebrow) { color: #f1f4f6; font-size: clamp(1rem, 1.3vw, 1.25rem); line-height: 2; letter-spacing: .055em; }
.hero-link { display: inline-block; border: 1px solid #d3c095; padding: .65rem 1.7rem; margin-top: 1.8rem; color: #fff; font-weight: 650; letter-spacing: .07em; text-decoration: none; background: rgba(4,20,34,.45); }
.hero-link:hover { background: #efe2be; color: var(--ink); }
.quick-nav { background: var(--navy); color: #fff; }
.quick-nav .wrap { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.quick-nav a { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: .25rem 1.1rem; padding: 1.35rem .5rem; border-left: 1px solid #475663; font-weight: 650; letter-spacing: .07em; text-decoration: none; }
.quick-nav a:last-child { border-right: 1px solid #475663; }
.quick-nav a span { color: #e7cf9c; letter-spacing: .14em; font: 600 .78rem/1.4 var(--latin); }
.quick-nav a:hover { background: #1c384c; }

.split, .reading-grid { display: grid; grid-template-columns: minmax(0,.84fr) minmax(0,1.55fr); gap: clamp(2rem, 7vw, 8rem); }
.split > *, .reading-grid > *, .directory-grid > *, .service-feature > * { min-width: 0; }
.split h2 + p, .service-feature h2 + p { margin-top: 1.3rem; }
.statement { font-size: clamp(1.65rem, 2.5vw, 2.65rem); line-height: 1.75; letter-spacing: .025em; margin-bottom: 1.15rem; }
.brand-path { margin: 2.1rem 0 0 .1rem; width: clamp(5.5rem, 10vw, 8.5rem); height: auto; }
.read-link { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: .2em; padding-block: .35rem; border-bottom: 1px solid var(--brass); font-weight: 700; font-size: .98rem; text-decoration: none; line-height: 1.7; }
p + .read-link, .field-list > .read-link { margin-top: 1.55rem; }
.read-link:hover, .inline:hover, .crumb a:hover { color: var(--brass); }
.tab-note { font-weight: 500; font-size: .84rem; }
.field-list { border-top: 1px solid #b5c1c5; }
.field-list > div { padding: 1.4rem 0 1.55rem; border-bottom: 1px solid #cbd5d7; }
.field-list h3 { margin-bottom: .35rem; }
.home-directory { border-block-start: 1px solid var(--line); background: #f8f9f8; }
.directory-grid { display: grid; grid-template-columns: 1fr 1fr; }
.directory-grid section { padding: clamp(2.7rem,5vw,5rem) clamp(1.8rem,5vw,5rem) clamp(2.7rem,5vw,5rem) 0; }
.directory-grid section + section { padding-left: clamp(1.8rem,5vw,5rem); padding-right: 0; border-left: 1px solid var(--line); }
.directory-grid h2 { font-size: clamp(1.85rem, 2.7vw, 2.75rem); }
.directory-grid p:not(.eyebrow) { margin-top: 1rem; max-width: 29em; }

/* Inner pages */
.subhead { position: relative; isolation: isolate; background: #edf2f3; overflow: hidden; border-bottom: 1px solid var(--line); }
.subhead::after { content: ""; position: absolute; width: min(36vw, 31rem); height: 78%; right: max(var(--gutter),calc((100vw - 79rem)/2)); bottom: 2%; background: url("../images/path.png") center / contain no-repeat; opacity: .075; z-index: -1; }
.subhead .wrap { padding-block: 1.45rem clamp(2.5rem, 4.4vw, 4.9rem); }
.crumb { margin-bottom: clamp(2rem, 3vw, 3.3rem); }
.crumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.crumb li { display: flex; align-items: center; color: var(--muted); font-size: .88rem; }
.crumb li + li::before { content: ""; margin: 0 .9rem; width: .38rem; height: .38rem; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
.subhead .eyebrow { margin-bottom: .4rem; }
.subhead h1 { font-size: clamp(2.6rem, 4.4vw, 4.8rem); line-height: 1.45; letter-spacing: .065em; }
.intro-copy { margin-top: .75rem; max-width: 43em; }
.reading-grid { grid-template-columns: minmax(13rem,.65fr) minmax(0,1.65fr); align-items: start; }
.contents { border-block: 1px solid var(--line); padding-block: 1.2rem; position: sticky; top: 1.25rem; }
.contents h2 { font: 700 1rem/1.7 var(--sans); padding-bottom: .7rem; }
.contents ul { list-style: none; padding: 0; }
.contents a { display: block; width: fit-content; padding: .28rem 0; color: var(--muted); font-size: .95rem; }
.contents a:hover { color: var(--brass); }
.longform { max-width: 50rem; }
.chapter { padding-bottom: clamp(3rem, 5vw, 5rem); scroll-margin-top: 1.5rem; }
.chapter + .chapter { padding-top: clamp(3rem, 5vw, 5rem); border-top: 1px solid var(--line); }
.chapter h2 { font-size: clamp(1.9rem, 2.75vw, 2.7rem); }
.chapter-quote { font-size: clamp(1.35rem, 1.8vw, 2rem); line-height: 1.8; margin: 1.4rem 0 1.1rem; }
.chapter p:not(.eyebrow) { line-height: 2.06; margin-block: .55rem; }
.principle { margin-top: 2.25rem; }
.principle h3 { color: var(--ink); font-size: 1.22rem; padding-left: .88rem; border-left: 3px solid var(--gold); margin-bottom: .8rem; }
.related { border-left: 3px solid var(--gold); padding: 1.3rem 1.6rem; background: var(--tint); }
.related .read-link { margin-top: .3rem; }
.service-feature { display: grid; grid-template-columns: .95fr 1.1fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.service-image { min-height: 13rem; display: grid; place-items: center; padding: 2.2rem; background: white; border: 1px solid var(--line); }
.service-image img { width: min(100%, 20rem); height: auto; }
.service-feature h2 { font-family: var(--latin); letter-spacing: 0; }
.reading { display: inline-block; font: 600 .9rem var(--sans); margin-left: 1rem; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(2.6rem, 5vw, 5rem); }
.member { display: grid; grid-template-columns: minmax(0,.76fr) minmax(0,1fr); gap: 1.4rem; align-content: start; align-items: start; padding-top: 1.45rem; border-top: 1px solid #aebcc1; }
.portrait { position: relative; aspect-ratio: 4/5; overflow: hidden; border: 1px solid var(--line); background: white; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transform-origin: center top; }
/* Match the head size across the supplied bust and half-length portraits. */
.portrait img[src$="/ef.webp"] { transform: scale(1.26); }
.portrait img[src$="/itp.webp"] { transform: scale(1.47); }
.role { font-weight: 700; color: var(--brass); font-size: .9rem; }
.bio h2 { font-size: 1.95rem; margin: .3rem 0 .6rem; }
.bio p + p { margin-top: .45rem; }
.profile { border-top: 2px solid var(--ink); }
.profile > div { display: grid; grid-template-columns: minmax(8rem,.64fr) minmax(0,1.5fr); gap: 1rem; border-bottom: 1px solid var(--line); padding: 1.15rem .2rem; }
.profile dt { font-weight: 700; }
.profile dd { color: var(--muted); }
.inline { color: var(--ink); font-weight: 650; }
.notice { background: var(--tint); border-top: 2px solid var(--gold); padding: clamp(1.5rem, 3vw, 3rem); }
.notice p { margin-top: .6rem; }

/* Contact and footer */
.contact-strip { background: var(--navy); color: #fff; }
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: clamp(3rem, 5.5vw, 6rem); }
.contact-inner p:not(.eyebrow) { color: #e0e7e9; margin-top: .7rem; }
.gold-button { padding: 1rem 1.8rem; background: #e8d2a3; color: #172b3b; }
.gold-button:hover { background: #f5e8cc; }
.footer { padding: clamp(2.5rem,4vw,4rem) 0 1.3rem; }
.footer-main, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer-main { flex-wrap: wrap; }
.footer nav { display: flex; flex-wrap: wrap; gap: .55rem 1.4rem; }
.footer nav a, .footer-bottom { font-size: .88rem; }
.footer nav a { text-decoration: none; }
.footer nav a:is(:hover,[aria-current="page"]) { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35em; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2rem; color: var(--muted); }
.footer-bottom small { font: .81rem var(--latin); }

@media (max-width: 66rem) {
  .header-inner { flex-wrap: wrap; gap: .55rem .8rem; min-height: 4.4rem; padding-block: .48rem; }
  .header-contact { margin-left: auto; min-height: 2.65rem; padding: .55rem .9rem; }
  #site-nav { order: 4; width: 100%; margin: 0; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; border-top: 1px solid var(--line); padding: .45rem 0; }
  #site-nav a { min-height: 2.75rem; }
  #site-nav a::after { bottom: .25rem; }
  .nav-ready .menu-toggle { order: 3; display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .25rem .5rem; border: 0; background: transparent; font-weight: 650; font-size: .88rem; }
  .menu-icon { width: 1.3rem; height: .65rem; display: inline-block; border-block: 2px solid currentColor; }
  .menu-toggle[aria-expanded="true"] .menu-icon { height: 2px; border: 0; background: currentColor; }
  .nav-ready #site-nav { display: none; }
  .nav-ready #site-nav.is-open { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .1rem 1.8rem; padding: .7rem .2rem; }
  .member { grid-template-columns: minmax(0,1fr); gap: 1rem; }
  .portrait { max-width: 18.5rem; width: 100%; }
}
@media (max-width: 47rem) {
  .split, .reading-grid, .service-feature { grid-template-columns: minmax(0,1fr); gap: 1.85rem; }
  .hero { min-height: 31rem; }
  .hero-image { object-position: 70% 50%; }
  .hero::after { background: linear-gradient(90deg,rgba(3,16,28,.89),rgba(4,20,33,.69) 60%,rgba(4,19,32,.38)); }
  .hero-content { padding-block: 3.65rem; }
  .hero h1 { font-size: clamp(2.1rem, 6.6vw, 3.1rem); }
  .quick-nav a { flex-direction: column; align-items: center; padding: .85rem .25rem; gap: .3rem; }
  .quick-nav a span { font-size: .75rem; }
  .brand-path { display: none; }
  .directory-grid { grid-template-columns: 1fr; }
  .directory-grid section { padding: 2.7rem 0; }
  .directory-grid section + section { border-left: 0; border-top: 1px solid var(--line); padding: 2.7rem 0; }
  .contents { position: static; }
  .contents ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .2rem 1rem; }
  .desktop-break { display: none; }
  .contact-inner, .footer-main { align-items: flex-start; flex-direction: column; }
  .contact-inner { gap: 1.4rem; }
  .team-grid { gap: 2.5rem 1.5rem; }
}
@media (max-width: 36rem) {
  .header-inner { gap: .25rem .3rem; }
  .identity { gap: .5rem; }
  .header-inner .identity img { width: 3rem; }
  .header-inner .identity span { font-size: .75rem; line-height: 1.5; }
  .header-inner .identity .company-prefix { display: none; }
  .header-inner .identity .company-kind { display: block; }
  .hero h1 br { display: none; }
  .hero h1 span:first-of-type { display: inline; }
  .hero h1 span:last-of-type { display: block; }
  .header-contact { font-size: .85rem; padding-inline: .6rem; }
  .nav-ready .menu-toggle { flex-direction: column; justify-content: center; font-size: .75rem; gap: .25rem; line-height: 1.3; }
  .team-grid { grid-template-columns: 1fr; }
  .member { grid-template-columns: minmax(0,.68fr) minmax(0,1fr); align-items: start; gap: .95rem; }
  .profile > div { grid-template-columns: 1fr; gap: .3rem; }
  .footer nav { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .footer nav a { padding-block: .25rem; }
}
@media (max-width: 25rem) {
  .hero h1 { font-size: clamp(1.9rem, 8.5vw, 2.1rem); }
  .hero { min-height: 29rem; }
}
@media (max-width: 22rem) {
  .header-inner .identity > span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::after, *::before { transition: none !important; animation: none !important; }
}
