:root {
  /* Colors */
  --bg:        #e3edef;
  --panel:     #f5f5f5;
  --ink:       #1f1f1f;
  --muted:     #6f6a63;
  --sub:       #555;
  --sub-light: #666;
  --line:      rgba(0, 0, 0, .08);
  --glass:     rgba(255, 255, 255, .55);
  --accent-bg: rgba(233, 225, 215, .78);

  /* Typography */
  --font-body:    "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", serif;

  /* Layout */
  --max: 1080px;
}

/* =========================
   Base
========================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  letter-spacing: .02em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container {
  width: min(var(--max), calc(100% - 56px));
  margin-inline: auto;
}

/* =========================
   Header
========================= */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 18px 0 14px;
  gap: 24px;
}
.brand small {
  display: block;
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 14px;
  letter-spacing: .28em;
  color: var(--muted);
  margin-bottom: 6px;
}
.brand h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: .08em;
}
.brand p {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 640px;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 14px;
  letter-spacing: .22em;
  color: var(--ink);
  white-space: nowrap;
}
nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  opacity: .9;
}
nav a:hover {
  border-bottom-color: rgba(0, 0, 0, .35);
  opacity: 1;
}

/* =========================
   Hero
========================= */
.hero {
  padding: 22px 0 34px;
}
.hero-frame {
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px;
}
.hero-img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
}

/* =========================
   Sections
========================= */
section {
  padding: 60px 0;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 44px;
  letter-spacing: .18em;
  margin: 0 0 26px;
  text-align: center;
}
.subtle {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

/* =========================
   Works
========================= */
.works-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
  align-items: stretch;
}
.work-card {
  grid-column: 2 / span 10;
  background: rgba(255, 255, 255, .35);
  border: 1px solid var(--line);
  padding: 20px;
}
.work-inner {
  background: var(--panel);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  padding: 40px;
  align-items: stretch;
}
.work-media {
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.work-meta {
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.work-meta h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .14em;
}
.work-meta p {
  line-height: 1.8;
  color: var(--sub);
  font-size: 13px;
}
.work-meta dl {
  margin: 0;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px 4px;
  font-size: 12px;
  color: var(--muted);
}
.work-meta dt { letter-spacing: .12em; }
.work-meta dd { margin: 0; }
.work-actions {
  margin-top: 10px;
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 12px;
  letter-spacing: .18em;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, .18);
  background: rgba(255, 255, 255, .55);
  transition: .2s;
}
.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .75);
}

/* =========================
   About
========================= */
.about {
  padding: 120px 20px;
  display: flex;
  justify-content: center;
}
.about-wrapper {
  width: 100%;
  max-width: 820px;
}
.about-card {
  background: var(--glass);
  border: 1px solid var(--line);
  padding: 60px 70px;
  backdrop-filter: blur(6px);
}
.about-title {
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: .2em;
  margin: 0 0 50px;
  text-align: center;
}
.about-name {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: .12em;
  margin: 0 0 6px;
}
.about-role {
  font-size: 14px;
  letter-spacing: .12em;
  color: var(--sub-light);
  margin: 0 0 24px;
}
.about-text {
  line-height: 1.6;
  color: var(--sub);
  margin-bottom: 40px;
}
.list {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.list h4 {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: .15em;
  margin-bottom: 18px;
}
.list ul {
  list-style: none;
  padding-left: 0;
  line-height: 1.6;
  color: var(--sub);
}
.list ul li {
  display: grid;
  grid-template-columns: 5.5em 1fr;
  gap: 0 .5em;
  margin-bottom: 6px;
}
.media-links {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}
.media-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(0, 0, 0, .7);
  letter-spacing: .08em;
  white-space: nowrap;
}
.media-links a::before {
  content: "❖";
  opacity: .6;
}
.media-links a:hover {
  color: rgba(0, 0, 0, .95);
}

/* =========================
   Contact
========================= */
.contact-panel {
  width: min(720px, 100%);
  margin-inline: auto;
  background: var(--glass);
  border: 1px solid var(--line);
  padding: 44px 34px;
}
.send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
  padding: 14px 18px;
  border: none;
  border-radius: 999px;
  background: #006788;
  color: #fff;
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 20px;
  letter-spacing: .22em;
  cursor: pointer;
  text-decoration: none;
  transition: .2s;
}
.send:hover {
  transform: translateY(-1px);
  opacity: .92;
}
.contact-actions {
  margin-top: 18px;
}
.contact-note {
  text-align: center;
  margin: 12px 0 0;
}

/* =========================
   Footer
========================= */
footer {
  padding: 30px 0 60px;
  color: rgba(0, 0, 0, .35);
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 16px;
  text-align: center;
}

/* =========================
   Responsive
========================= */
@media (max-width: 900px) {
  .nav { align-items: flex-start; flex-direction: column; }
  nav ul { gap: 16px; flex-wrap: wrap; }
  .about-card { padding: 40px 28px; }
  .brand h1 { font-size: 28px; }
  .section-title { font-size: 36px; }
  .work-card  { grid-column: 1 / -1; }
  .work-inner { grid-template-columns: 1fr; }
  .work-media { min-height: 240px; }
  .work-media img { width: min(360px, 100%); }
  .work-meta{ padding: 26px 20px; }
  .work-meta dl { grid-template-columns: 5em 1fr; gap: 6px 10px; }
  .work-meta p { line-height: 1.9; }
  .work-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .work-actions .btn {
    width: 100%;
    text-align: center;
    padding: 12px 14px;
    white-space: nowrap;
  }
}
