/* Issei Mori Photography */
:root {
  --bg: #f7f6f3;
  --ink: #1f2023;
  --sub: #5f6167;
  --mute: #9a978f;
  --line: #dcdad4;
  --line-soft: #ebe9e4;
  --field: #c9c6bf;
  --ph: #e6e4df;
  --note: #eceae5;
  --ai: #2b3a55;
  --ai-tint: #eef0f4;
  --gut: 64px;
  --mincho: "Zen Old Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
}
@media (max-width: 767px) { :root { --gut: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--mincho); font-size: 15px; line-height: 1.9; font-feature-settings: "pkna" 0; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .3s; }
a:hover { color: var(--ai); }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ai); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mincho { font-family: var(--mincho); font-weight: 400; }
.small { font-size: 11px; letter-spacing: .16em; color: var(--sub); }
.label-en { font-size: 12px; font-weight: 500; letter-spacing: .32em; margin: 0; }

/* ---------- fade-in ---------- */
.js .fi { opacity: 0; transform: translateY(28px); transition: opacity 1.4s cubic-bezier(.25,.6,.3,1), transform 1.4s cubic-bezier(.25,.6,.3,1); }
.js .fi.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .fi { opacity: 1; transform: none; transition: none; } }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 20; height: 104px; padding: 0 var(--gut); display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 14px; font-weight: 500; letter-spacing: .32em; }
.gnav { display: flex; gap: 48px; font-size: 12px; letter-spacing: .24em; }
.gnav a { padding: 14px 0; border-bottom: 1px solid transparent; }
.gnav a[aria-current="page"] { color: var(--ai); border-bottom-color: var(--ai); }
.menu-btn { display: none; width: 48px; height: 48px; margin-right: -12px; border: 0; background: none; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span { position: relative; display: block; width: 22px; height: 10px; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 100%; height: 1.2px; background: currentColor; transition: transform .35s, top .35s; }
.menu-btn span::before { top: 0; } .menu-btn span::after { top: 9px; }
.is-menu-open .menu-btn span::before { top: 4.5px; transform: rotate(20deg); }
.is-menu-open .menu-btn span::after { top: 4.5px; transform: rotate(-20deg); }
@media (max-width: 767px) {
  .site-header { height: 64px; }
  .logo { font-size: 13px; letter-spacing: .3em; }
  .menu-btn { display: flex; }
  .gnav { position: fixed; inset: 64px 0 0 0; padding: 48px var(--gut); flex-direction: column; gap: 0; background: var(--bg); font-size: 14px; letter-spacing: .28em; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .gnav a { padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 0; }
  .gnav a:last-child { border-bottom: 1px solid var(--line); }
  .gnav a[aria-current="page"] { border-bottom-color: transparent; }
  .gnav a:last-child[aria-current="page"] { border-bottom-color: var(--line); }
  .is-menu-open .gnav { opacity: 1; visibility: visible; }
  .is-menu-open { overflow: hidden; }
}

/* ---------- footer ---------- */
.site-footer { margin-top: 160px; padding: 48px var(--gut); display: flex; justify-content: space-between; gap: 16px; font-size: 11px; letter-spacing: .16em; color: var(--sub); }
.site-footer .links { display: flex; gap: 32px; }
.site-footer a { color: var(--sub); }
@media (max-width: 767px) { .site-footer { margin-top: 96px; padding: 40px var(--gut); flex-direction: column-reverse; font-size: 10px; } .site-footer .links { justify-content: space-between; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 56px; padding: 0 40px; border: 1px solid var(--ai); background: var(--ai); color: var(--bg); font-size: 13px; letter-spacing: .2em; cursor: pointer; transition: background .3s, color .3s; }
.btn:hover { background: #1f2b40; color: var(--bg); }
.btn--ghost { background: transparent; color: var(--ai); }
.btn--ghost:hover { background: var(--ai); color: var(--bg); }
.btn svg { width: 18px; height: 10px; flex-shrink: 0; }
@media (max-width: 767px) { .btn { width: 100%; padding: 0 24px; } }

/* ---------- top ---------- */
.hero { padding: 56px var(--gut) 0; }
.hero figure { margin: 0 auto; max-width: 1040px; }
.hero figcaption, .cap { display: flex; justify-content: space-between; margin-top: 16px; font-size: 11px; letter-spacing: .16em; color: var(--sub); }
.lead { padding: 200px var(--gut) 0; text-align: center; }
.lead p { margin: 0 auto; max-width: 640px; font-family: var(--mincho); font-weight: 400; font-size: 22px; line-height: 2.2; letter-spacing: .08em; }
.works { padding: 200px var(--gut) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 16px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.works-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; row-gap: 88px; }
.work-card { display: flex; flex-direction: column; gap: 18px; }
.work-card .thumb { aspect-ratio: 1.38; overflow: hidden; background: var(--ph); }
.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.25,.6,.3,1); }
.work-card:hover .thumb img { transform: scale(1.02); }
.work-card .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 12px; letter-spacing: .16em; color: var(--sub); }
.work-card .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.work-card .title { font-family: var(--mincho); font-weight: 400; font-size: 20px; letter-spacing: .06em; }
.cta { margin: 200px var(--gut) 0; padding: 72px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta p { margin: 14px 0 0; font-family: var(--mincho); font-weight: 400; font-size: 20px; line-height: 1.9; letter-spacing: .06em; }
@media (max-width: 767px) {
  .hero { padding-top: 24px; }
  .hero figcaption, .cap { font-size: 10px; letter-spacing: .14em; margin-top: 12px; }
  .lead { padding-top: 120px; }
  .lead p { font-size: 17px; letter-spacing: .06em; }
  .works { padding-top: 120px; }
  .sec-head { margin-bottom: 32px; padding-bottom: 12px; }
  .works-grid { grid-template-columns: minmax(0, 1fr); row-gap: 56px; }
  .work-card { gap: 14px; }
  .work-card .title { font-size: 17px; letter-spacing: .04em; }
  .cta { margin-top: 120px; padding: 48px 0; flex-direction: column; align-items: stretch; gap: 24px; }
  .cta p { font-size: 16px; line-height: 2; }
}

/* ---------- series ---------- */
.series-head { padding: 120px var(--gut) 160px; display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; }
.series-head h1 { margin: 0 0 20px; font-family: var(--mincho); font-weight: 400; font-size: 40px; letter-spacing: .08em; line-height: 1.4; }
.series-head .specs { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.series-head .statement { margin: 0; max-width: 520px; font-family: var(--mincho); font-weight: 400; font-size: 15px; line-height: 2.3; letter-spacing: .06em; }
.gallery { padding: 0 var(--gut); display: flex; flex-direction: column; gap: 200px; }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 14px; font-size: 11px; letter-spacing: .16em; color: var(--sub); }
.g-l { width: 79%; align-self: center; }
.g-xl { width: 91.5%; align-self: center; }
.g-m { width: 61%; align-self: center; }
.g-right { width: 48.8%; align-self: flex-end; margin-right: 7.3% !important; }
.g-pair { display: flex; justify-content: center; gap: 64px; }
.g-pair figure { width: 42.7%; }
.g-pair.is-wide figure { width: 45.7%; }
.g-stagger { display: flex; justify-content: space-between; align-items: flex-start; padding: 0 4.9%; }
.g-stagger figure:first-child { width: 43.6%; }
.g-stagger figure:last-child { width: 47%; margin-top: 200px; }
.series-foot { margin: 200px var(--gut) 0; }
.series-nav { padding: 40px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 12px; letter-spacing: .2em; }
.series-nav a { padding: 12px 0; }
.series-nav .next { font-family: var(--mincho); font-weight: 400; font-size: 16px; letter-spacing: .06em; }
.series-foot .center { margin-top: 80px; display: flex; justify-content: center; }
@media (max-width: 767px) {
  .series-head { padding: 72px var(--gut) 96px; flex-direction: column; gap: 28px; }
  .series-head h1 { font-size: 28px; letter-spacing: .06em; margin-bottom: 14px; }
  .series-head .specs { font-size: 10px; letter-spacing: .14em; gap: 4px 16px; }
  .series-head .statement { font-size: 14px; line-height: 2.2; letter-spacing: .04em; }
  .gallery { gap: 88px; }
  .gallery figcaption { margin-top: 10px; font-size: 10px; letter-spacing: .14em; }
  .g-l, .g-xl { width: calc(100% + 2 * var(--gut)); margin-inline: calc(-1 * var(--gut)) !important; }
  .g-l figcaption, .g-xl figcaption { padding-inline: var(--gut); }
  .g-m, .g-right { width: 100%; margin-right: 0 !important; }
  .g-pair, .g-stagger { flex-direction: column; gap: 88px; padding: 0; }
  .g-pair figure, .g-pair.is-wide figure, .g-stagger figure:first-child, .g-stagger figure:last-child { width: 78%; margin-top: 0; }
  .g-pair figure:last-child, .g-stagger figure:last-child { align-self: flex-end; }
  .g-stagger figure:first-child { width: 68%; }
  .series-foot { margin-top: 120px; display: flex; flex-direction: column-reverse; gap: 16px; }
  .series-foot .center { margin-top: 0; }
  .series-nav { padding: 16px 0 0; }
  .series-nav .next { font-size: 14px; }
}

/* ---------- about ---------- */
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 0 var(--gut); }
.about-intro { padding-top: 120px; }
.about-intro .portrait { grid-column: 1 / span 5; aspect-ratio: 5 / 6; background: var(--ph); display: flex; align-items: center; justify-content: center; font-size: 12px; letter-spacing: .16em; color: var(--sub); }
.about-intro .body { grid-column: 7 / span 5; display: flex; flex-direction: column; gap: 40px; }
.about-intro h1 { margin: 0 0 10px; font-family: var(--mincho); font-weight: 400; font-size: 32px; letter-spacing: .12em; line-height: 1.4; }
.about-intro p { margin: 0; line-height: 2.2; letter-spacing: .04em; }
.about-sec { padding-top: 160px; }
.about-sec + .about-sec { padding-top: 120px; }
.about-sec h2 { grid-column: 1 / span 5; }
.about-sec .content { grid-column: 7 / span 6; }
.services { margin: 0; padding: 0; list-style: none; }
.services li { padding: 24px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.services li:last-child { border-bottom: 1px solid var(--line); }
.services .name { font-family: var(--mincho); font-weight: 400; font-size: 18px; letter-spacing: .06em; }
.services .desc { font-size: 12px; letter-spacing: .08em; color: var(--sub); }
.cta--simple { margin-top: 140px; padding: 56px 0; border-bottom: 0; }
.cta--simple p { margin: 0; font-size: 18px; }
@media (max-width: 767px) {
  .grid12 { display: flex; flex-direction: column; gap: 20px; }
  .about-intro { padding-top: 32px; gap: 36px; }
  .about-intro .portrait { aspect-ratio: 358 / 440; font-size: 11px; }
  .about-intro .body { gap: 28px; }
  .about-intro h1 { font-size: 26px; }
  .about-intro p { font-size: 14px; line-height: 2.1; letter-spacing: .03em; }
  .about-sec { padding-top: 96px; }
  .about-sec + .about-sec { padding-top: 72px; }
  .services li { padding: 18px 0; flex-direction: column; gap: 6px; }
  .services .name { font-size: 16px; }
  .cta--simple { margin-top: 96px; padding: 40px 0; }
  .cta--simple p { font-size: 16px; }
}

/* ---------- contact ---------- */
.contact-head { padding: 104px var(--gut) 88px; max-width: calc(760px + 2 * var(--gut)); }
.contact-head h1 { margin: 24px 0; font-family: var(--mincho); font-weight: 400; font-size: 34px; line-height: 1.7; letter-spacing: .08em; }
.contact-head p { margin: 0; font-size: 14px; line-height: 2.1; color: var(--sub); }
.contact-body { align-items: start; }
.contact-main { grid-column: 1 / span 7; }
.contact-aside { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 48px; position: sticky; top: 32px; }
.cform { display: flex; flex-direction: column; gap: 72px; }
.cform fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.step-legend { display: flex; align-items: baseline; gap: 16px; padding: 0; margin-bottom: 24px; }
.step-legend .no { font-family: var(--mincho); font-size: 14px; color: var(--ai); }
.step-legend .ttl { font-size: 17px; letter-spacing: .08em; }
.req, .opt { font-size: 11px; letter-spacing: .1em; }
.req { color: var(--ai); }
.opt { color: var(--sub); }
.step-legend .req { border: 1px solid var(--ai); padding: 2px 8px; }
.panel { display: flex; flex-direction: column; gap: 40px; }
.type-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.type-card { position: relative; display: flex; gap: 16px; align-items: flex-start; min-height: 112px; padding: 24px; border: 1px solid var(--field); background: #fff; cursor: pointer; transition: border-color .25s, background .25s, box-shadow .25s; }
.type-card input { position: absolute; opacity: 0; pointer-events: none; }
.type-card .dot { flex-shrink: 0; width: 14px; height: 14px; margin-top: 5px; border-radius: 50%; border: 1px solid var(--mute); background: #fff; transition: border .25s; }
.type-card .txt { display: flex; flex-direction: column; gap: 8px; }
.type-card .t { font-size: 16px; letter-spacing: .06em; line-height: 1.5; }
.type-card .d { font-size: 12px; line-height: 1.8; color: var(--sub); }
.type-card:has(input:checked) { border-color: var(--ai); box-shadow: inset 0 0 0 1px var(--ai); background: var(--ai-tint); }
.type-card:has(input:checked) .dot { border: 4px solid var(--ai); }
.type-card:has(input:focus-visible) { outline: 2px solid var(--ai); outline-offset: 3px; }
.group { display: flex; flex-direction: column; gap: 14px; }
.group-label { font-size: 14px; letter-spacing: .06em; }
.group-label small { font-size: 12px; color: var(--sub); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--field); font-size: 13px; letter-spacing: .04em; transition: background .25s, color .25s, border-color .25s; }
.chip input:checked + span { background: var(--ai); border-color: var(--ai); color: var(--bg); }
.chip input:focus-visible + span { outline: 2px solid var(--ai); outline-offset: 3px; }
.note { margin: 0; padding: 20px 24px; background: var(--note); font-size: 13px; line-height: 1.9; color: var(--sub); }
.field { display: flex; flex-direction: column; gap: 10px; font-size: 14px; letter-spacing: .06em; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid var(--field); border-radius: 0; background: #fff; font-size: 15px; letter-spacing: 0; -webkit-appearance: none; appearance: none; }
.field textarea { padding: 16px; line-height: 1.9; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--ai); outline-offset: 1px; border-color: var(--ai); }
.field .help { font-size: 12px; letter-spacing: 0; color: var(--sub); }
.field.is-error input { border-color: #a3362b; }
.hints { padding: 16px 20px; background: var(--note); display: flex; flex-direction: column; gap: 6px; }
.hints .h { font-size: 12px; letter-spacing: .08em; color: var(--sub); }
.hints ul { margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.8; }
.hints li::before { content: "・"; }
.fields2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.submit-row { padding-top: 40px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.agree { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 13px; cursor: pointer; }
.agree input { width: 18px; height: 18px; accent-color: var(--ai); }
.agree a { color: var(--ai); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; padding: 16px 20px; border: 1px solid #a3362b; color: #8a2d24; font-size: 13px; line-height: 1.9; }
.memo { padding: 32px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; }
.memo .ttl { font-size: 12px; letter-spacing: .24em; }
.memo dl { margin: 0; }
.memo dl div { padding: 14px 0; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 16px; }
.memo dt { font-size: 12px; color: var(--sub); flex-shrink: 0; }
.memo dd { margin: 0; font-size: 13px; text-align: right; line-height: 1.7; }
.memo dd.empty { color: var(--mute); }
.memo .help { font-size: 12px; line-height: 1.8; color: var(--sub); }
.flow { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; counter-reset: flow; }
.flow li { display: flex; gap: 16px; align-items: baseline; font-size: 13px; line-height: 1.8; counter-increment: flow; }
.flow li::before { content: counter(flow); font-family: var(--mincho); font-size: 14px; color: var(--ai); }
.alt { padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; font-size: 13px; line-height: 1.8; }
.alt a { color: var(--ai); text-decoration: underline; }
.thanks { padding: 72px 56px; border: 1px solid var(--ai); display: flex; flex-direction: column; gap: 24px; }
.thanks .en { font-size: 12px; letter-spacing: .32em; color: var(--ai); }
.thanks .msg { margin: 0; font-family: var(--mincho); font-weight: 400; font-size: 24px; line-height: 1.8; letter-spacing: .06em; }
.thanks p { margin: 0; font-size: 14px; line-height: 2; color: var(--sub); }
.stepper, .step-nav, .memo--inline { display: none; }
[hidden] { display: none !important; }

@media (max-width: 767px) {
  .contact-head { padding: 40px var(--gut) 32px; }
  .contact-head h1 { margin: 16px 0; font-size: 22px; letter-spacing: .06em; }
  .contact-head p { font-size: 13px; line-height: 2; }
  .contact-body { gap: 0; }
  .contact-aside { position: static; margin-top: 64px; gap: 40px; }
  .contact-aside .memo { display: none; }
  .cform { gap: 32px; }
  .cform.is-stepper .stepper { display: flex; flex-direction: column; gap: 10px; }
  .stepper .bars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .stepper .bars span { height: 3px; background: var(--line); transition: background .4s; }
  .stepper .bars span.on { background: var(--ai); }
  .stepper .lbl { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .08em; }
  .stepper .lbl b { font-weight: 400; color: var(--ai); }
  .stepper .lbl span { color: var(--sub); }
  .cform.is-stepper fieldset[data-step] { display: none; }
  .cform.is-stepper fieldset[data-step].is-current { display: block; }
  .cform.is-stepper .step-legend { display: none; }
  .cform.is-stepper .step-q { display: block; margin-bottom: 16px; font-size: 16px; letter-spacing: .06em; }
  .cform.is-stepper .step-nav { display: flex; gap: 10px; }
  .cform.is-stepper .submit-row { display: none; }
  .cform.is-stepper.on-last .step-nav .next { display: none; }
  .cform.is-stepper:not(.on-last) .step-nav .send { display: none; }
  .cform.is-stepper .memo--inline { display: flex; padding: 20px; gap: 4px; margin-top: 32px; }
  .memo--inline .ttl { margin-bottom: 8px; }
  .memo--inline dl div { padding: 10px 0; }
  .step-nav .back { min-height: 56px; padding: 0 20px; border: 1px solid var(--field); background: transparent; font-size: 13px; letter-spacing: .1em; cursor: pointer; }
  .step-nav .btn { flex-grow: 1; width: auto; }
  .step-nav .btn:disabled { background: var(--field); border-color: var(--field); color: #4a4c52; cursor: not-allowed; }
  .step-nav .linkbtn { display: none; }
  .memo--inline .linkbtn { align-self: flex-start; min-height: 44px; padding: 0; border: 0; background: none; color: var(--ai); font-size: 12px; text-decoration: underline; cursor: pointer; }
  .type-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .type-card { min-height: 88px; padding: 18px; gap: 14px; }
  .type-card .t { font-size: 15px; }
  .panel { gap: 32px; }
  .chips { gap: 8px; }
  .chip span { padding: 0 16px; }
  .field { gap: 8px; }
  .field input, .field textarea { font-size: 16px; padding-inline: 14px; }
  .fields2 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .agree { margin-top: 16px; }
  .thanks { padding: 40px 24px; gap: 20px; }
  .thanks .msg { font-size: 18px; }
}
.step-q { display: none; }

/* ---------- privacy ---------- */
.doc { padding: 104px var(--gut) 0; max-width: calc(760px + 2 * var(--gut)); }
.doc h1 { margin: 24px 0 48px; font-family: var(--mincho); font-weight: 400; font-size: 28px; letter-spacing: .08em; }
.doc h2 { margin: 48px 0 12px; font-size: 15px; font-weight: 500; letter-spacing: .06em; }
.doc p, .doc li { font-size: 14px; line-height: 2.1; }
@media (max-width: 767px) { .doc { padding-top: 40px; } .doc h1 { font-size: 22px; } }

/* ---------- small fixes ---------- */
.sp-only { display: none; }
@media (max-width: 767px) { .sp-only { display: inline; } }
.submit-row { justify-content: flex-end; }
.group > legend { padding: 0; margin-bottom: 14px; }
@media (max-width: 767px) { .contact-body { align-items: stretch; } }
.site-footer .links { flex: 1; justify-content: space-between; }

/* ---------- literary type ---------- */
/* UI stays in gothic for legibility; everything written reads like a book */
.field input, .field textarea, .btn, .chip span, .step-nav .back, .stepper, .memo dd, .form-error { font-family: var(--gothic); }
.lead p, .cta p, .series-head .statement, .contact-head h1, .contact-head .letter, .thanks .msg { font-feature-settings: normal; }
.contact-head .letter { margin: 0; color: var(--ink); font-size: 16px; line-height: 2.5; letter-spacing: .1em; }
.contact-head h1 { font-size: 36px; letter-spacing: .12em; }
.about-intro p, .doc p, .doc li { line-height: 2.3; letter-spacing: .06em; }
.type-card .t, .step-legend .ttl { letter-spacing: .1em; }
.hints ul { line-height: 2; }
@media (max-width: 767px) {
  .contact-head h1 { font-size: 23px; letter-spacing: .08em; }
  .contact-head .letter { font-size: 15px; line-height: 2.4; letter-spacing: .06em; }
}

/* vertical statement on wide screens — like a page of an essay */
@media (min-width: 768px) {
  .series-head .statement { writing-mode: vertical-rl; max-width: none; height: 24em; font-size: 16px; line-height: 2.4; letter-spacing: .14em; text-align: justify; }
}

/* ---------- typing ---------- */
.js [data-type] { visibility: hidden; animation: type-fallback 0s 5s forwards; }
.js [data-type].type-ready { visibility: visible; animation: none; }
@keyframes type-fallback { to { visibility: visible; } }
[data-type] .ch { opacity: 0; transition: opacity .6s ease-out, filter .6s ease-out; filter: blur(2px); }
[data-type] .ch.on, [data-type].type-done .ch { opacity: 1; filter: none; }
.caret { display: inline-block; width: 1px; height: 1.05em; margin: 0 1px; vertical-align: -.12em; background: var(--ai); animation: caret-blink 1.05s steps(1) infinite; }
.caret.is-moving { animation: none; }
@keyframes caret-blink { 50% { opacity: 0; } }
@media (min-width: 768px) {
  .series-head .statement .caret { width: 1.05em; height: 1px; margin: 1px 0; vertical-align: baseline; }
}
@media (prefers-reduced-motion: reduce) {
  [data-type] .ch { opacity: 1; filter: none; transition: none; }
  .caret { display: none; }
}

/* ---------- clients ---------- */
.clients { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 2; letter-spacing: .08em; }
.clients-note { margin: 20px 0 0; }
@media (max-width: 767px) { .clients { font-size: 14px; } }


/* ---------- header contact button ----------
   A quiet framed button with a small indigo "lamp" that breathes,
   like a light left on — the one thing in the header that invites. */
.hdr-right { display: flex; align-items: center; gap: 48px; }
.gnav .nav-contact { display: none; }
.hdr-cta { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 22px; border: 1px solid var(--ai); color: var(--ai); font-size: 12px; letter-spacing: .24em; transition: background .4s, color .4s; }
.hdr-cta .lamp { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: lamp 3.2s ease-in-out infinite; }
.hdr-cta:hover, .hdr-cta[aria-current="page"] { background: var(--ai); color: var(--bg); }
.hdr-cta[aria-current="page"] .lamp { animation: none; }
@keyframes lamp { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hdr-cta .lamp { animation: none; } }
@media (max-width: 767px) {
  .hdr-right { gap: 6px; }
  .gnav .nav-contact { display: block; }
  .hdr-cta { min-height: 40px; padding: 0 14px; gap: 9px; font-size: 11px; letter-spacing: .2em; }
}

/* ---------- file upload ---------- */
.upload { display: flex; flex-direction: column; gap: 14px; }
.drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 148px; padding: 28px 20px; border: 1px dashed var(--field); background: rgba(255,255,255,.55); text-align: center; cursor: pointer; transition: border-color .3s, background .3s; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop:hover, .drop.is-over { border-color: var(--ai); background: var(--ai-tint); }
.drop:focus-within { outline: 2px solid var(--ai); outline-offset: 3px; }
.drop-icon { width: 26px; height: 26px; color: var(--ai); }
.drop-t { font-size: 14px; letter-spacing: .08em; line-height: 1.8; }
.drop-s { font-size: 11px; letter-spacing: .06em; color: var(--sub); }
.file-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.file-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-family: var(--gothic); font-size: 13px; }
.file-list .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .sz { color: var(--sub); font-size: 12px; flex-shrink: 0; }
.file-list button { width: 44px; height: 36px; margin-right: -10px; border: 0; background: none; color: var(--sub); cursor: pointer; flex-shrink: 0; }
.file-list button:hover { color: var(--ai); }
.meter { display: flex; align-items: center; gap: 12px; font-family: var(--gothic); font-size: 11px; color: var(--sub); }
.meter .bar { flex: 1; height: 2px; background: var(--line); }
.meter .bar span { display: block; height: 100%; width: 0; background: var(--ai); transition: width .4s; }
.meter.is-full .bar span { background: #a3362b; }
.file-note { margin: 0; font-size: 12px; line-height: 1.9; color: #8a2d24; }
.file-note:empty { display: none; }
.big-files { font-size: 13px; }
.big-files summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--ai); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; list-style: none; }
.big-files summary::-webkit-details-marker { display: none; }
.big-files p { margin: 4px 0 16px; line-height: 2; color: var(--sub); }

/* ---------- contact intro: vertical, centered ---------- */
.contact-head { max-width: none; padding: 120px var(--gut) 120px; display: flex; justify-content: center; }
.contact-head .vtext { writing-mode: vertical-rl; inline-size: max-content; }
.contact-head .label-en { margin: 0 0 0 40px; letter-spacing: .4em; }
.contact-head h1 { margin: 0 0 0 44px; line-height: 1.9; letter-spacing: .16em; }
.contact-head .letter { line-height: 2.6; letter-spacing: .16em; }
.contact-head .caret { width: 1.05em; height: 1px; margin: 1px 0; vertical-align: baseline; }
@media (max-width: 767px) {
  .contact-head { padding: 56px var(--gut) 56px; }
  .contact-head .label-en { margin-left: 22px; font-size: 11px; }
  .contact-head h1 { margin-left: 26px; font-size: 22px; letter-spacing: .12em; }
  .contact-head .letter { font-size: 14px; line-height: 2.4; letter-spacing: .12em; }
}

/* ---------- top lead: vertical, centered ---------- */
.lead { display: flex; justify-content: center; }
.lead p { writing-mode: vertical-rl; inline-size: max-content; max-width: none; margin: 0; text-align: start; line-height: 2.6; letter-spacing: .22em; }
.lead .caret { width: 1.05em; height: 1px; margin: 1px 0; vertical-align: baseline; }
@media (max-width: 767px) { .lead p { font-size: 17px; line-height: 2.5; letter-spacing: .18em; } }

/* about photo: shown whole, film rebate included */
.about-intro .portrait--photo { margin: 0; aspect-ratio: auto; background: none; display: block; align-self: start; }
.about-intro .portrait--photo img { width: 100%; height: auto; }

/* ---------- top photos: slow crossfade ---------- */
.slides-frame { position: relative; aspect-ratio: 1600 / 1271; }
.slides-frame .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 2s ease-in-out; }
.slides-frame .slide.is-active { opacity: 1; }
.slides figcaption { align-items: center; }
.slide-toggle { min-height: 36px; padding: 0 0 0 16px; border: 0; background: none; color: var(--sub); font-size: 11px; letter-spacing: .16em; cursor: pointer; }
.slide-toggle:hover { color: var(--ai); }
@media (prefers-reduced-motion: reduce) { .slides-frame .slide { transition: none; } }

/* ---------- interior page ---------- */
.series-head--simple { padding-bottom: 120px; }
.g-duo { display: flex; justify-content: center; align-items: flex-end; gap: 64px; }
.g-duo figure:first-child { width: 50%; }
.g-duo figure:last-child { width: 29%; }
@media (max-width: 767px) {
  .series-head--simple { padding-bottom: 64px; }
  .g-duo { flex-direction: column; align-items: stretch; gap: 88px; }
  .g-duo figure:first-child { width: 86%; }
  .g-duo figure:last-child { width: 62%; align-self: flex-end; }
}

/* series statement as a list of words: each line is its own column */
@media (min-width: 768px) {
  .series-head .statement { height: auto; inline-size: max-content; line-height: 2.6; letter-spacing: .2em; }
}
@media (max-width: 767px) {
  .series-head .statement { font-size: 15px; line-height: 2.4; letter-spacing: .12em; }
}
