/* Layout: MV動画と問い合わせの暗い帯で、明るい紙面のページを挟む。左寄せの大きな見出しと余白で組む。 */
/* 数字（0〜9）だけZen Kaku Gothic Newで表示する */
@font-face { font-family: "NYX Num"; font-weight: 400; font-display: swap; src: url("../fonts/zen-num-400.woff2") format("woff2"); unicode-range: U+30-39; }
@font-face { font-family: "NYX Num"; font-weight: 500; font-display: swap; src: url("../fonts/zen-num-500.woff2") format("woff2"); unicode-range: U+30-39; }
@font-face { font-family: "NYX Num"; font-weight: 700; font-display: swap; src: url("../fonts/zen-num-700.woff2") format("woff2"); unicode-range: U+30-39; }
:root {
  --paper: #ebe9e9;      /* わずかに赤みのある白灰 */
  --paper-2: #e1dddd;
  --ink: #1a1213;
  --muted: #675c5e;
  --line: #cfc7c8;
  --accent: #a20b20;     /* R162 G11 B32 */
  --night: #140305;      /* MV・問い合わせの背景 R20 G3 B5（テーマに関係なく常に暗い） */
  --night-2: #2c0f14;
  --moon: #efe6e7;
  --moon-dim: #a8979a;
  --mark-filter: none;

  /* 癖のない書体：欧文Inter＋和文Zen Kaku Gothic New */
  --f-en: "NYX Num", "Inter", "Zen Kaku Gothic New", "Helvetica Neue", Arial, sans-serif;
  --f-mincho: "NYX Num", "Inter", "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-body: "NYX Num", "Inter", "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-mono: "NYX Num", "Inter", "Zen Kaku Gothic New", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4.5vw, 64px);
  --maxw: 1320px;
  --header-h: 68px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #140d0e; --paper-2: #1e1517; --ink: #efe7e8; --muted: #a9999c;
    --line: #33262a; --accent: #e0455a; --mark-filter: invert(1);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #140d0e; --paper-2: #1e1517; --ink: #efe7e8; --muted: #a9999c;
  --line: #33262a; --accent: #e0455a; --mark-filter: invert(1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); word-break: auto-phrase; line-break: strict; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 15px; line-height: 1.9; letter-spacing: .02em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }

.eyebrow {
  margin: 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--moon { color: var(--moon-dim); }
.note { font-size: 12px; color: var(--muted); }
.ph { border-bottom: 1px dashed var(--accent); color: var(--muted); }
.ph--moon { border-color: var(--moon-dim); color: var(--moon); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 40;
  padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background .35s, color .35s, border-color .35s;
}
.site-header.is-night { background: transparent; color: var(--moon); border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 34px; height: auto; filter: var(--mark-filter); }
.is-night .brand-mark, .site-footer .brand-mark { filter: invert(1); }
.brand-name { font-family: var(--f-en); font-weight: 700; font-size: 15px; letter-spacing: .14em; }
.nav { display: flex; align-items: center; gap: 28px; font-family: var(--f-en); font-weight: 600; font-size: 14px; letter-spacing: .06em; }
.nav a { text-decoration: none; position: relative; padding-block: 4px; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .3s; }
.nav a:hover::after { right: 0; }
.nav-cta { border: 1px solid currentColor; padding: 6px 16px !important; border-radius: 999px; }
.nav-cta::after { display: none; }
.menu-btn { display: none; background: none; border: 0; align-items: center; gap: 10px; font-family: var(--f-en); font-weight: 600; letter-spacing: .08em; padding: 8px 0; }
.menu-btn-icon { width: 22px; height: 8px; border-block: 1.5px solid currentColor; transition: transform .3s; }
.menu-btn[aria-expanded="true"] .menu-btn-icon { transform: rotate(90deg); }

.drawer {
  position: fixed; inset: 0; z-index: 35; background: var(--night); color: var(--moon);
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px) var(--gutter) 40px;
  display: flex; align-items: flex-start; overflow-y: auto;
}
.drawer-nav { display: grid; gap: 6px; width: 100%; }
.drawer-nav a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; text-decoration: none; padding-block: 14px; border-bottom: 1px solid var(--night-2); }
.drawer-nav span { font-family: var(--f-en); font-weight: 700; font-size: clamp(30px, 9vw, 48px); line-height: 1.1; }
.drawer-nav small { color: var(--moon-dim); font-size: 12px; }
.drawer-open .site-header { background: transparent; color: var(--moon); border-color: transparent; }
.drawer-open .site-header .brand-mark { filter: invert(1); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--night); color: var(--moon);
  /* 読み込み時にブラウザの画面いっぱいに表示（svh はスマホのアドレスバー分を除いた高さ） */
  min-height: 480px; height: 100vh; height: 100svh;
  padding: calc(var(--header-h) + 40px) var(--gutter) 56px;
  display: flex; align-items: flex-end;
  isolation: isolate;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; background: var(--night); }
.hero::after { /* 文字を読みやすくする下側の影 */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 3, 5, .45) 0%, rgba(20, 3, 5, 0) 22%, rgba(20, 3, 5, 0) 50%, rgba(20, 3, 5, .82) 100%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; /* 画面幅に関係なく、左上のロゴと同じ左余白にそろえる */ display: grid; gap: 28px; pointer-events: none; }
.hero-title { display: grid; gap: 22px; font-weight: 400; }
.hero-title-en { font-family: var(--f-en); font-weight: 700; font-size: clamp(66px, 10.5vw, 156px); line-height: .9; letter-spacing: -.01em; }
.hero-scroll {
  position: absolute; right: var(--gutter); bottom: 56px; z-index: 1;
  writing-mode: vertical-rl; font-family: var(--f-mono); font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  text-decoration: none; color: var(--moon-dim); display: flex; align-items: center; gap: 12px;
}
/* 右端の縦書き：SCROLLと同じ列、MVの高さの中央 */
.hero-side {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 1; margin: 0;
  writing-mode: vertical-rl; font-family: var(--f-mono); font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--moon-dim); display: flex; align-items: center; gap: 12px; pointer-events: none;
}
/* SCROLLの棒：うすい線の上を、明るい光が上から下へ流れ続ける */
.hero-scroll::after {
  content: ""; width: 1px; height: 80px;
  background: linear-gradient(transparent, var(--moon) 50%, transparent) no-repeat, rgba(239, 230, 231, .22);
  background-size: 1px 32px, 1px 100%;
  animation: scroll-flow 1.8s cubic-bezier(.6, 0, .4, 1) infinite;
}
@keyframes scroll-flow { from { background-position: 0 -32px, 0 0; } to { background-position: 0 80px, 0 0; } }

/* ---------- Sections ---------- */
.section { max-width: var(--maxw); margin-inline: auto; padding: clamp(80px, 11vw, 140px) var(--gutter) 0; box-sizing: content-box; }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 24px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .eyebrow { grid-column: 1 / -1; }
.section-title { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.4; letter-spacing: .06em; }


/* Arrow buttons (modal) */
.arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 16px; transition: background .25s, color .25s, border-color .25s; }
.arrow:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* About */
.about-grid { margin-top: 0; }
.about-body { max-width: 34em; display: grid; gap: 18px; font-size: 15px; line-height: 2.1; }
.about-body p { margin: 0; }

/* Works grid */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4.5vw, 64px) clamp(16px, 2.5vw, 32px); }
.card { all: unset; display: grid; gap: 14px; cursor: pointer; width: 100%; }
.card:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s; }
.card-media::after { content: "View"; position: absolute; right: 12px; bottom: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; background: var(--paper); color: var(--ink); padding: 4px 10px; opacity: 0; transform: translateY(6px); transition: .3s; }
.card:hover .card-media img { transform: scale(1.04); }
.card:hover .card-media::after, .card:focus-visible .card-media::after { opacity: 1; transform: none; }
.card-cat { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--accent); }
.card-title { font-family: var(--f-mincho); font-weight: 600; font-size: 17px; line-height: 1.5; margin-top: -8px; }
.card-client { font-size: 12px; color: var(--muted); margin-top: -12px; }
.grid li { animation: rise .5s both; }
@keyframes rise { from { opacity: .3; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* 斜めの矢印（文字だとスマホで絵文字になるため線で描く） */
.arrow-ne { width: .8em; height: .8em; flex: none; }

/* 制作実績の右端：Pinterestへのリンク */
.more-link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-en); font-weight: 600; font-size: 15px; letter-spacing: .08em; text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid currentColor; white-space: nowrap; transition: color .25s; }
.more-link:hover { color: var(--accent); }
.more-link .arrow-ne { transition: transform .25s; }
.more-link:hover .arrow-ne { transform: translate(2px, -2px); }

/* Service */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.service-item { padding: 32px clamp(16px, 2.5vw, 36px) 36px 0; display: grid; gap: 14px; align-content: start; }
.service-item + .service-item { border-left: 1px solid var(--line); padding-left: clamp(16px, 2.5vw, 36px); }
.service-en { margin: 0; font-family: var(--f-en); font-weight: 700; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; letter-spacing: -.01em; }
.service-item h3 { font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--accent); }
.service-item p { margin: 0; }
.service-item ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.service-item li::before { content: "— "; color: var(--line); }

/* Studio */
.studio-list { margin: 0 0 clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.studio-list div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.studio-list dt { font-size: 13px; color: var(--muted); letter-spacing: .12em; }
.studio-list dd { margin: 0; }

/* 見出しを本文の上に置き、プロフィール本文と同じ列・同じ幅にそろえる */
.philosophy { display: grid; grid-template-columns: minmax(0, 286px) minmax(0, 1fr); gap: 16px clamp(24px, 5vw, 64px); margin-bottom: 0; }
.philosophy > * { grid-column: 2; }
.philosophy-title { font-size: 17px; font-weight: 700; letter-spacing: .08em; }
.philosophy-body { display: grid; gap: 14px; max-width: 40em; }
.philosophy-body p { margin: 0; }
.achievements { margin-top: clamp(40px, 5vw, 64px); }
.achievement-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; max-width: 40em; }
.achievement-list li { position: relative; padding-left: 1.4em; }
.achievement-list li::before { content: ""; position: absolute; left: 0; top: .9em; width: .55em; height: 1px; background: var(--accent); }
/* 開閉式：閉じているときは4行目あたりからフェードアウト */
.is-collapsible { overflow: hidden; transition: max-height .6s cubic-bezier(.2,.7,.2,1); }
.is-collapsible:not(.is-open) { -webkit-mask-image: linear-gradient(#000 45%, transparent); mask-image: linear-gradient(#000 45%, transparent); }
.more-toggle { justify-self: start; display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 6px 0; font-size: 13px; letter-spacing: .1em; color: var(--muted); }
.more-toggle:hover { color: var(--ink); }
.more-toggle .chevron { width: 20px; height: 20px; padding: 3px; border: 1px solid currentColor; border-radius: 50%; transition: transform .35s; }
.more-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }
@media (max-width: 640px) { .philosophy { grid-template-columns: minmax(0, 1fr); } .philosophy > * { grid-column: 1; } }

/* Contact */
.contact { background: var(--night); color: var(--moon); margin-top: clamp(80px, 11vw, 140px); padding: clamp(80px, 11vw, 140px) var(--gutter); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 60vw; aspect-ratio: 1; right: -18vw; top: -30vw; border-radius: 50%; background: radial-gradient(circle, #3d0a13 0%, transparent 65%); }
.contact-inner { position: relative; max-width: var(--maxw); margin-inline: auto; display: grid; gap: 28px; }
.contact-title { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(24px, 4vw, 51px); line-height: 1.45; letter-spacing: .06em; }
.contact-lead { margin: 0; max-width: 42em; color: var(--moon-dim); }
.contact-rows { display: grid; border-top: 1px solid var(--night-2); max-width: 760px; }
.contact-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--night-2); }
.contact-label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--moon-dim); }
.contact-value { font-family: var(--f-en); font-weight: 700; font-size: clamp(18px, 2.4vw, 28px); overflow-wrap: anywhere; justify-self: start; }
.copy-btn { vertical-align: middle; white-space: nowrap; font-family: var(--f-body); font-weight: 400; background: transparent; border: 1px solid var(--night-2); border-radius: 999px; padding: 6px 16px; font-size: 12px; color: var(--moon); }
.copy-btn:hover { border-color: var(--moon); }

/* Footer */
.site-footer { background: var(--night); color: var(--moon-dim); border-top: 1px solid var(--night-2); padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.brand--footer { color: var(--moon); }
.copyright { margin: 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; }

/* ---------- Modal ---------- */
.modal {
  border: 0; padding: 0; width: min(1240px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  background: var(--paper); color: var(--ink);
  display: none; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); overflow: hidden;
}
.modal[open] { display: grid; animation: pop .35s cubic-bezier(.2,.7,.2,1); }
.modal::backdrop { background: rgba(20, 3, 5, .86); backdrop-filter: blur(4px); }
@keyframes pop { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.modal-media { background: var(--night); display: grid; place-items: center; min-height: 0; max-height: calc(100dvh - 32px); }
.modal-media img { max-height: calc(100dvh - 32px); width: 100%; object-fit: contain; }
.modal-info { padding: 28px clamp(20px, 3vw, 40px) 28px; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; max-height: calc(100dvh - 32px); min-width: 0; }
.modal-close { align-self: flex-end; background: none; border: 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; color: var(--muted); padding: 4px 0; }
.modal-close:hover { color: var(--ink); }
.modal-cat { margin: 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--accent); }
.modal-title { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.45; }
.modal-meta { margin: 0; display: grid; gap: 6px; font-size: 13px; border-block: 1px solid var(--line); padding-block: 12px; }
.modal-meta:empty { display: none; }
.modal-meta div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; }
.modal-meta dt { color: var(--muted); }
.modal-meta dd { margin: 0; }
.modal-text { margin: 0; }
.modal-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.modal-gallery:empty { display: none; }
.modal-gallery button { padding: 0; border: 1px solid var(--line); background: none; aspect-ratio: 1; overflow: hidden; }
.modal-gallery img { width: 100%; height: 100%; object-fit: cover; }
.modal-nav { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .service-item, .service-item + .service-item { border-left: 0; padding: 28px 0; border-bottom: 1px solid var(--line); }
  .modal { grid-template-columns: minmax(0, 1fr); overflow-y: auto; }
  .modal-media, .modal-info { max-height: none; }
  .modal-media img { max-height: 60dvh; }
}
@media (max-width: 760px) {
  :root { --header-h: 60px; }
  .nav { display: none; }
  .menu-btn { display: flex; }
  .studio-list div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .contact-row { grid-template-columns: minmax(0, 1fr) auto; }
  .contact-label { grid-column: 1 / -1; }
  .hero-scroll { display: none; }
  .hero-side { right: 14px; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .works .section-head { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .hero-scroll::after { animation-duration: 1.8s !important; animation-iteration-count: infinite !important; } /* 小さな線なので常に動かす */
}

/* Flow */
.flow-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(16px, 2.5vw, 36px); counter-reset: none; }
.flow-list li { border-top: 1px solid var(--line); padding: 22px 0 32px; display: grid; gap: 8px; align-content: start; }
.flow-no { font-family: var(--f-en); font-weight: 700; font-size: 28px; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.flow-list h3 { font-size: 17px; font-weight: 700; letter-spacing: .06em; }
.flow-list p { margin: 0; font-size: 13px; color: var(--muted); }

/* Price */
.price-table { border-top: 1px solid var(--ink); }
.price-row { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto; gap: 8px 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.price-name { font-family: var(--f-mincho); font-weight: 600; font-size: 18px; }
.price-desc { font-size: 13px; color: var(--muted); }
.price-yen { font-family: var(--f-en); font-weight: 700; font-size: 20px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.price-note { margin: 16px 0 0; font-size: 12px; color: var(--muted); max-width: 52em; }

/* Contact form button */
.form-btn { justify-self: start; display: inline-flex; align-items: center; gap: 21px; background: var(--moon); color: var(--night); text-decoration: none; font-weight: 700; letter-spacing: .08em; font-size: 22.5px; padding: 24px 48px; border-radius: 999px; transition: transform .25s, background .25s; }
.form-btn:hover { transform: translateY(-2px); background: #ffffff; }
a.contact-value { text-decoration: none; }
a.contact-value:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 960px) {
  .flow-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .flow-list { grid-template-columns: minmax(0, 1fr); }
  .flow-list li { grid-template-columns: 44px minmax(0, 1fr); padding: 18px 0 20px; }
  .flow-list li p { grid-column: 2; }
  .price-row { grid-template-columns: minmax(0, 1fr) auto; }
  .price-desc { grid-column: 1 / -1; grid-row: 2; }
  .form-btn { justify-self: stretch; justify-content: center; }
}

/* Profile (About内の代表者) */
.profile { display: grid; grid-template-columns: minmax(0, 286px) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: end; margin-bottom: clamp(24px, 3.5vw, 40px); }
.profile-photo { margin: 0; aspect-ratio: 1; max-width: 100%; }
.profile-photo img { width: 100%; height: 100%; object-fit: contain; filter: var(--mark-filter); }
.profile-body { display: grid; gap: 14px; align-content: start; min-width: 0; }
.profile-role { margin: 0; font-size: 13px; color: var(--accent); letter-spacing: .1em; font-weight: 500; }
.profile-name { font-size: clamp(21px, 2.4vw, 29px); font-weight: 700; letter-spacing: .12em; }
.profile-bio { margin: 0; max-width: 40em; }
@media (max-width: 640px) {
  .profile { grid-template-columns: minmax(0, 1fr); }
  .profile-photo { max-width: 264px; }
}
