/*
Theme Name: SHIRABELL Cinematic
Description: 白沙事務所のオリジナル WordPress テーマ
Version: 1.0.1
Requires at least: 7.1.5
Requires PHP: 8.4
Text Domain: shirabell-cinematic
*/
:root {
  color-scheme: dark;
  --ink: #080a0c;
  --surface: #1c2228;
  --paper: #f5f5f3;
  --muted: #a8b0b5;
  --brand: #00bca5;
  --glow: #00ffd1;
  --line: #303940;
  --gutter: clamp(1.25rem, 5.5vw, 6rem);
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 1rem/1.8 -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  overflow-wrap: anywhere;
}
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--glow); }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 5px; }
img { max-width: 100%; height: auto; }
h1, h2, p { margin: 0; }
h1, h2 { line-height: 1.18; }
.shell { width: min(100% - 2 * var(--gutter), 88rem); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; inset: .75rem auto auto .75rem; padding: .5rem 1rem; background: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1.2rem; }
.wordmark { display: inline-flex; align-items: center; gap: .72rem; font-size: .9rem; font-weight: 780; letter-spacing: .17em; text-decoration: none; white-space: nowrap; }
.wordmark span { width: .7rem; height: .7rem; border: 1px solid var(--glow); transform: rotate(45deg); box-shadow: 0 0 10px #00ffd155; }
.site-nav ul { display: flex; gap: .35rem clamp(.9rem, 2.6vw, 2.3rem); flex-wrap: wrap; padding: 0; margin: 0; list-style: none; }
.site-nav a { display: flex; align-items: center; min-height: 2.75rem; color: var(--muted); text-decoration: none; font-size: .875rem; }
.site-nav a:hover, .site-nav [aria-current] { color: var(--glow); }
.hero { min-height: min(45rem, max(32rem, 77svh)); display: grid; align-items: end; isolation: isolate; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-image, .hero-light, .hero-foreground { position: absolute; pointer-events: none; inset: -24% -18%; }
.hero-foreground { z-index: -1; background: url("assets/foreground.svg") 64% 45% / cover no-repeat; }
.hero-image { z-index: -3; background: #10171a url("assets/threshold.svg") 64% 45% / cover no-repeat; }
.hero-light {
  z-index: -2;
  background: radial-gradient(ellipse at 72% 46%, #00ffd116, transparent 26%);
  mix-blend-mode: screen;
}
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, #080a0c 0%, #080a0cd9 18%, #080a0c55 49%, transparent 82%); }
.hero-content { padding-block: clamp(4rem, 9vw, 7rem) clamp(2.8rem, 6vw, 5rem); }
.eyebrow { color: var(--brand); font: 600 .875rem/1.4 ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(3rem, 11vw, 10.5rem); line-height: .84; letter-spacing: -.09em; font-weight: 730; overflow-wrap: normal; margin-left: -.05em; }
.hero h1 span { color: var(--glow); text-shadow: 0 0 .16em #00ffd14d; }
.hero-tagline { margin-top: clamp(1.3rem, 3vw, 2.2rem); font-size: clamp(1.15rem, 2.1vw, 2rem); font-weight: 620; line-height: 1.5; letter-spacing: .025em; max-width: 40em; text-shadow: 0 2px 14px #080a0c; }
.hero-description { margin-top: .75rem; max-width: 42em; text-wrap: pretty; color: #d5dfdf; font-size: clamp(.9rem, 1.1vw, 1.06rem); text-shadow: 0 2px 12px #080a0c; }
.action { display: inline-block; margin-top: 2rem; padding: .65rem 1.15rem; border: 1px solid var(--brand); text-decoration: none; font-weight: 600; }
.action:hover { background: var(--brand); color: var(--ink); box-shadow: 0 0 18px #00ffd12b; }
.editorial-band--paper { color-scheme: light; --line: #d4d9d7; --muted: #465258; --brand: #00675e; --glow: #005e55; background: var(--paper); color: var(--ink); }
.editorial-band--paper .editorial { border-bottom: 0; }
.editorial-band--paper .journal li { border-color: var(--line); }
.editorial-band--paper :focus-visible { outline-color: var(--glow); }
.editorial { display: grid; grid-template-columns: 1.05fr .75fr; gap: 1.5rem clamp(2rem, 11vw, 11rem); align-items: start; border-bottom: 1px solid var(--line); padding-block: clamp(3rem, 8vw, 7rem); }
.editorial h2 { font-size: clamp(1.75rem, 4.8vw, 4.4rem); letter-spacing: -.055em; }
.editorial h2 a { text-decoration: none; }
.editorial-detail { align-self: center; }
.editorial p:not(.eyebrow), .site-footer, time { color: var(--muted); }
.editorial-about { grid-template-columns: 1.15fr 1fr; }
.editorial-about h2 { text-wrap: balance; }
.editorial-works { padding-left: clamp(0rem, 8vw, 7rem); }
.text-link { display: inline-block; color: var(--brand); }
.editorial-detail p + .text-link { margin-top: 1rem; }
.contact-band { background: var(--surface); }
.contact-band .editorial { align-items: center; border: 0; }
.site-footer { border-top: 1px solid var(--line); font-size: .875rem; }
.site-footer .wordmark { color: var(--paper); }
.front-copy { padding-block: 3rem; }
.inner-page { min-height: 65vh; padding-block: clamp(3.5rem, 10vw, 9rem); }
.article-head { border-bottom: 1px solid var(--line); padding-bottom: clamp(1rem, 4vw, 3rem); margin-bottom: 2rem; }
.article-head h1 { font-size: clamp(2rem, 7vw, 6rem); letter-spacing: -.055em; }
.article-media { margin-block: 2rem; }
.prose { max-width: 48rem; }
.prose > * + * { margin-top: 1.35rem; }
.prose a { color: var(--glow); }
.journal { margin: 0; padding: 0; list-style: none; }
.journal li { display: grid; grid-template-columns: minmax(7.5rem, auto) 1fr; gap: .5rem 1rem; align-items: baseline; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.journal h2 { font-size: clamp(1.2rem, 3vw, 2rem); }
.journal a { text-decoration: none; }
time { font-variant-numeric: tabular-nums; font-size: .875rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.screen-reader-text:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
input:not([type="submit"]), textarea, select { max-width: 100%; padding: .55rem; border: 1px solid #727d85; background: var(--surface); color: var(--paper); font: inherit; }
input[type="submit"], button { padding: .55rem 1.2rem; border: 1px solid var(--brand); background: var(--brand); color: var(--ink); font: inherit; cursor: pointer; }
@media (max-width: 767px) {
  .header-inner { gap: .6rem; }
  .site-nav { flex-basis: 100%; }
  .site-nav ul { column-gap: 1rem; }
  .site-nav a { min-height: 2.5rem; }
  .hero { min-height: 30rem; }
  .hero-image, .hero-foreground, .hero-light { inset: 0; background-position: 65% center; }
  .hero-tagline { font-size: clamp(1.05rem, 4.5vw, 1.4rem); }
  .hero-description { text-wrap: balance; }
  .hero h1 { font-size: clamp(2.25rem, 14.5vw, 5.5rem); }
  .editorial { grid-template-columns: 1fr; padding-left: 0; }
  .editorial-detail:empty { display: none; }
  .journal li { grid-template-columns: 1fr; gap: .15rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-image, .hero-light, .hero-foreground { transform: none !important; }
}
