/* designstudioso.com — Design Studio SO */
@font-face { font-family: 'Felt Tip Roman'; src: url('../fonts/felt-tip-roman.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
:root {
  --ink: #16161D;
  --ink-2: #3A3A44;
  --ink-3: #4A4A55;
  --gold: #B8862B;
  --gold-text: #8A6420;
  --cream: #F3E9D8;
  --paper: #F6F3EE;
  --line: #E8E4DD;
  --line-2: #D9D3C9;
  --pill: #C9C3B8;
  --sans: 'Hind', 'Noto Sans JP', sans-serif;
  --head: 'Montserrat', 'Noto Sans JP', sans-serif;
  --serif: 'Lora', 'Noto Serif JP', serif;
  --script: 'Felt Tip Roman', 'Comic Sans MS', cursive;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FFFFFF; color: var(--ink); font-family: var(--sans); font-weight: 400; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--gold-text); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 16px; z-index: 10; }
.skip:focus { left: 8px; color: #fff; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .wrap { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 40px; height: 40px; flex: none; }
.wordmark { font-family: 'Inter Tight', sans-serif; font-size: 17px; font-weight: 300; letter-spacing: 0.06em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; }
.nav a { min-height: 44px; display: inline-flex; align-items: center; }
.lang-toggle { display: flex; border: 1px solid var(--ink); border-radius: 999px; overflow: hidden; }
.lang-toggle button { min-height: 36px; padding: 0 14px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.lang-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Shared type */
.script { font-family: var(--script); font-size: 60px; line-height: 1; font-weight: 400; color: var(--gold); margin-bottom: 2px; }
.h2 { margin: 0; font-family: var(--head); font-size: 36px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
.lede { margin: 0; font-family: var(--serif); font-style: italic; color: var(--ink-3); }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 28px; border-radius: 999px; font-size: 15px; border: 1px solid var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2C2C38; color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; border-bottom: 1px solid var(--ink); align-self: flex-start; }
html[lang="ja"] .h2, html[lang="ja"] h1 { letter-spacing: 0.01em; }

/* Hero */
.hero { position: relative; background: var(--cream); overflow: hidden; }
.hero-bands { position: absolute; top: 0; right: 0; height: 100%; width: 44%; min-width: 260px; }
.hero .wrap { position: relative; padding-top: 120px; padding-bottom: 128px; }
.hero-copy { max-width: 640px; display: flex; flex-direction: column; gap: 28px; }
.kicker { font-size: 13px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-text); }
.hero h1 { margin: 0; font-family: var(--head); font-size: 58px; line-height: 1.1; font-weight: 700; letter-spacing: -0.015em; }
.hero .lede { max-width: 560px; font-size: 24px; line-height: 1.45; color: var(--ink-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }

/* About */
.about { background: var(--paper); }
.about .wrap { padding-top: 112px; padding-bottom: 112px; display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.polaroid-col { flex: 0 1 360px; min-width: 0; max-width: 360px; margin: 0 auto; padding: 24px 16px; }
.polaroid { position: relative; background: #fff; padding: 14px 14px 56px; box-shadow: 0 2px 4px rgba(22,22,29,.06), 0 18px 40px rgba(22,22,29,.12); transform: rotate(-3deg); }
.polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.signature { position: absolute; left: 50%; bottom: 12px; font-family: 'Nothing You Could Do', cursive; font-size: 24px; line-height: 1; color: #23232E; transform: translateX(-46%) rotate(-3deg); white-space: nowrap; }
.about-copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about-copy p { margin: 0; font-size: 18px; color: var(--ink-2); }
.about-copy p.strong { font-weight: 500; color: var(--ink); }

/* Services */
.services { position: relative; overflow: hidden; }
.sphere { position: absolute; right: -180px; top: -140px; width: 680px; max-width: none; opacity: .35; pointer-events: none; }
.services .wrap { position: relative; padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 56px; }
.section-head { display: flex; flex-direction: column; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.service { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 1px solid var(--ink); }
.service h3 { margin: 0; font-family: var(--head); font-size: 22px; font-weight: 700; }
.service .lede { font-size: 17px; }
.service ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.service li { display: flex; align-items: center; gap: 10px; }
.service li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }

/* Works */
.works { border-top: 1px solid var(--line); }
.works .wrap { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 56px; }
.works-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 56px 40px; }
.work-card { display: flex; flex-direction: column; gap: 18px; }
.work-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top left; display: block; background: var(--paper); transition: opacity .2s; }
.work-card:hover img { opacity: .9; }
.work-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.work-name { display: block; font-size: 19px; font-weight: 500; }
.work-scope { display: block; font-size: 15px; color: var(--ink-3); }
.tag { font-size: 12px; font-weight: 500; letter-spacing: .08em; padding: 4px 12px; border: 1px solid var(--pill); border-radius: 999px; color: var(--ink-2); }

/* Price */
.price { background: var(--paper); }
.price .wrap { padding-top: 112px; padding-bottom: 112px; display: flex; flex-wrap: wrap; gap: 48px 80px; }
.price-intro { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.price-intro .lede { font-size: 18px; }
.price-list { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.price-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.price-group-head h3 { margin: 0; font-family: var(--head); font-size: 20px; font-weight: 700; }
.price-group-head .lede { font-size: 15px; }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.price-row .item { flex: 1 1 260px; min-width: 0; font-size: 17px; }
.price-row .amount { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.amount .main { font-size: 17px; font-weight: 600; }
.amount .rev { font-size: 14px; color: var(--ink-3); }
.amount .rev:empty { display: none; }
.prices-pending .amount { visibility: hidden; }
.terms { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-3); }

/* Contact */
.contact { padding-top: 128px; padding-bottom: 128px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.contact .lede { max-width: 560px; font-size: 20px; }
.contact .btn { min-height: 52px; padding: 0 36px; font-size: 16px; margin-top: 8px; }
.mail-link { font-size: 15px; color: var(--ink-3); border-bottom: 1px solid var(--pill); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; font-size: 13px; color: var(--ink-3); }
.site-footer a { color: var(--ink-3); }

/* Project pages */
.project-intro { padding-top: 88px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 40px 72px; }
.project-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.project-copy .script { font-size: 56px; }
.project-copy h1 { margin: 0; font-family: var(--head); font-size: 52px; line-height: 1.1; font-weight: 700; letter-spacing: -0.015em; }
.project-copy .lede { font-size: 22px; line-height: 1.5; color: var(--ink-2); }
.project-copy p.body { margin: 0; font-size: 18px; color: var(--ink-2); }
.project-copy .btn { align-self: flex-start; margin-top: 8px; }
.facts { flex: 1 1 280px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; font-size: 15px; }
.facts > div { display: flex; flex-direction: column; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; gap: 6px; }
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.facts dd { margin: 0; }
.facts dd a { font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--ink); }
.facts ul { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 4px; }
.gallery { padding-bottom: 120px; display: flex; flex-direction: column; gap: 56px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery img, .gallery video { width: 100%; height: auto; display: block; border: 1px solid var(--line); }
.gallery video { aspect-ratio: 1410 / 798; background: var(--paper); }
.gallery figcaption, .caption { margin: 0; font-size: 14px; color: var(--ink-3); }
.gallery figcaption a { border-bottom: 1px solid var(--ink); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px; align-items: start; }
.cards-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px; align-items: center; background: var(--paper); padding: 48px; }
.cards-panel img { border: 0; box-shadow: 0 10px 30px rgba(22,22,29,.12); }
.cards-panel + .caption { margin-top: -40px; }
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 32px; border-top: 1px solid var(--line); }
.pager a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; border-bottom: 1px solid var(--ink); }

/* Privacy */
.legal { padding-top: 88px; padding-bottom: 120px; max-width: 760px; }
.legal h1 { margin: 0 0 24px; font-family: var(--head); font-size: 40px; line-height: 1.15; }
.legal h2 { font-family: var(--head); font-size: 20px; margin: 36px 0 8px; }
.legal p { margin: 0 0 12px; font-size: 17px; color: var(--ink-2); }

/* Responsive */
@media (max-width: 720px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .nav { gap: 0 18px; font-size: 14px; }
  .hero .wrap { padding-top: 72px; padding-bottom: 80px; }
  .hero h1 { font-size: 38px; }
  .hero .lede { font-size: 19px; }
  .hero-bands { opacity: .35; }
  .script, .project-copy .script { font-size: 46px; margin-bottom: 0; }
  .h2 { font-size: 28px; }
  .about .wrap, .price .wrap { padding-top: 72px; padding-bottom: 72px; gap: 40px; }
  .services .wrap, .works .wrap { padding-top: 72px; padding-bottom: 72px; gap: 40px; }
  .sphere { width: 420px; right: -160px; top: -100px; }
  .contact { padding-top: 80px; padding-bottom: 80px; }
  .project-intro { padding-top: 56px; }
  .project-copy h1 { font-size: 36px; }
  .project-copy .lede { font-size: 19px; }
  .cards-panel { padding: 24px; gap: 20px; }
  .cards-panel + .caption { margin-top: -36px; }
  .price-row .amount { align-items: flex-start; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html[lang="ja"] .lede { font-style: normal; }

/* Price — consultation note + button */
.price-cta { margin-top: 24px; padding-top: 24px; border-top: 1px solid #C9B48A; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.price-cta p { margin: 0; max-width: 380px; font-size: 15px; line-height: 1.8; color: var(--ink-3); }
.btn-consult { gap: 14px; min-height: 52px; padding: 0 30px; font-weight: 500; letter-spacing: .04em; }
.btn-consult svg { flex: none; transition: transform .2s ease; }
.btn-consult:hover svg { transform: translateX(4px); }
