:root {
  --ink: #121827;
  --ink-soft: #526176;
  --muted: #8b98ab;
  --pink: #e45299;
  --pink-soft: #fde8f2;
  --pink-light: #f7a8c8;
  --blue: #bfe8f9;
  --blue-soft: #f0fbff;
  --gray: #f6f8fb;
  --line: #e8edf4;
  --white: #ffffff;
  --shadow: 0 26px 80px rgba(42, 52, 74, .10);
  --shadow-soft: 0 16px 45px rgba(42, 52, 74, .08);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 4%, rgba(253, 214, 232, .72), transparent 30%),
    radial-gradient(circle at 88% 52%, rgba(191, 232, 249, .52), transparent 33%),
    linear-gradient(180deg, #fffafb 0%, #ffffff 48%, #fbfdff 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: 0; }
img { max-width: 100%; display: block; }

.ambient { position: fixed; inset: auto; width: 36vw; height: 36vw; border-radius: 999px; filter: blur(40px); opacity: .55; pointer-events: none; z-index: -1; }
.ambient-pink { top: -12vw; left: -8vw; background: rgba(247,168,200,.55); }
.ambient-blue { right: -11vw; top: 44vh; background: rgba(191,232,249,.6); }

.site-header {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1080px, calc(100% - 48px));
  height: 72px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  z-index: 30;
  border: 1px solid rgba(232,237,244,.9);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 245px; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--pink-light), var(--pink) 62%, #9cdcf6);
  color: #fff; font-weight: 900; box-shadow: 0 12px 24px rgba(228,82,153,.25);
}
.brand strong { display: block; font-size: 15px; line-height: 1; }
.brand small { color: var(--ink-soft); font-weight: 600; font-size: 12px; }
.main-nav { display: inline-flex; gap: 6px; align-items: center; border-radius: 999px; padding: 5px; background: rgba(246,248,251,.9); }
.main-nav a { padding: 12px 18px; border-radius: 999px; color: #253249; font-weight: 800; font-size: 13px; }
.main-nav a.active, .main-nav a:hover { background: var(--white); box-shadow: 0 8px 24px rgba(42,52,74,.08); }

.tour-panel {
  position: fixed;
  left: max(28px, calc((100vw - 1240px) / 2 - 105px));
  top: 150px;
  width: 138px;
  z-index: 20;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}
.tour-panel p, .progress-box small { margin: 0 0 18px; color: #708096; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; font-weight: 900; }
.tour-link { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 8px; align-items: center; min-height: 46px; color: #6b7a91; }
.tour-link::before { content: ''; position: absolute; left: 16px; top: -8px; bottom: -8px; width: 1px; background: #e4e9f0; z-index: -1; }
.tour-link span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid #e3e9f1; font-size: 11px; font-weight: 900; }
.tour-link b { font-size: 11px; line-height: 1.1; font-weight: 900; }
.tour-link.active { color: var(--pink); }
.tour-link.active span { background: var(--pink); color: #fff; border-color: var(--pink); box-shadow: 0 10px 24px rgba(228,82,153,.25); }
.progress-box { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.progress-box strong { display: block; color: var(--pink); font-size: 13px; margin-top: -10px; }
.progress-box i { display: block; height: 6px; background: #eef2f6; border-radius: 999px; overflow: hidden; margin-top: 8px; }
.progress-box em { display: block; height: 100%; width: 0%; background: var(--pink); border-radius: inherit; transition: width .25s ease; }

main { width: min(1180px, calc(100% - 56px)); margin: 0 auto; padding-top: 132px; }
.section-anchor { scroll-margin-top: 110px; }
.hero {
  position: relative;
  min-height: 675px;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 44px;
  align-items: center;
  padding: 54px 0 58px;
}
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--pink); text-transform: uppercase; letter-spacing: .18em; font-weight: 900; font-size: 12px; }
.eyebrow i { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 8px var(--pink-soft); }
.hero h1 { margin: 30px 0 0; font-family: 'Playfair Display', serif; font-size: clamp(76px, 8vw, 122px); line-height: .88; letter-spacing: -.06em; }
.hero h1 span { display: block; color: var(--ink); }
.hero h1 strong { display: block; color: var(--pink); font-weight: 800; }
.hero h2 { margin: 28px 0 0; max-width: 620px; font-size: clamp(28px, 3vw, 44px); line-height: 1.08; letter-spacing: -.055em; }
.hero p { margin: 28px 0 0; max-width: 610px; color: var(--ink-soft); font-size: 18px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 34px; }
.btn { min-height: 58px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 0 28px; border-radius: 18px; font-weight: 900; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.btn.primary { background: var(--pink); color: #fff; border-color: var(--pink); box-shadow: 0 18px 36px rgba(228,82,153,.24); }
.btn.ghost, .btn.soft { background: #fff; color: var(--ink); }
.btn span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.24); }
.btn.ghost span, .btn.soft span { background: #f7f9fc; color: var(--pink); }
.brand-strip { margin-top: 58px; }
.brand-strip small { color: var(--muted); font-weight: 700; }
.brand-strip div { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 28px; color: #a8b2c3; }
.brand-strip b { font-family: 'Playfair Display', serif; font-size: 22px; letter-spacing: .08em; opacity: .9; }
.office-shell {
  position: relative;
  overflow: hidden;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(240,251,255,.8));
  border: 1px solid rgba(232,237,244,.92);
  box-shadow: var(--shadow);
}
.office-shell img { width: 100%; border-radius: 38px; }
.scroll-hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); color: #8b98ab; font-size: 13px; font-weight: 800; }

.office-section, .process-section, .contact-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.78);
  box-shadow: 0 20px 70px rgba(42,52,74,.06);
  backdrop-filter: blur(12px);
}
.office-section { padding: 38px; }
.section-heading { margin-bottom: 28px; }
.section-heading h2, .work-intro h2, .process-section h2, .contact-copy h2 { font-family: 'Playfair Display', serif; margin: 8px 0 0; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.035em; line-height: 1; }
.section-heading p, .work-intro p, .process-section p, .contact-copy p { color: var(--ink-soft); line-height: 1.7; }
.room-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.room-card { min-height: 355px; position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 16px 42px rgba(42,52,74,.06); transition: transform .25s ease, box-shadow .25s ease; }
.room-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-soft); }
.icon-badge { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; font-weight: 900; margin-bottom: 22px; }
.icon-badge.pink { background: var(--pink-soft); color: var(--pink); box-shadow: 0 0 0 8px rgba(253,232,242,.52); }
.icon-badge.blue { background: var(--blue-soft); color: #549fbe; box-shadow: 0 0 0 8px rgba(240,251,255,.72); }
.mini-diagram { height: 104px; margin-bottom: 20px; position: relative; border-radius: 18px; background: linear-gradient(135deg, #fff, #f7fbff); border: 1px solid #edf1f6; overflow: hidden; }
.target-diagram i { position: absolute; inset: 27px 62px; border-radius: 50%; border: 14px solid rgba(228,82,153,.28); box-shadow: inset 0 0 0 8px rgba(228,82,153,.12); }
.target-diagram span { position: absolute; font-size: 10px; font-weight: 800; color: #6e7b90; }
.target-diagram span:nth-child(1){left:12px;top:20px}.target-diagram span:nth-child(2){right:12px;top:26px}.target-diagram span:nth-child(3){left:18px;bottom:20px}.target-diagram span:nth-child(4){right:10px;bottom:18px}
.screen-diagram { padding: 20px; }
.screen-diagram span { position: absolute; right: 28px; bottom: 26px; color: #8c99aa; font-size: 26px; font-weight: 800; }
.screen-diagram i { display: block; height: 8px; width: 65%; margin: 10px 0; border-radius: 999px; background: rgba(191,232,249,.8); }
.copy-diagram { padding: 20px; }
.copy-diagram b { display: block; height: 8px; width: 74%; margin: 12px 0; border-radius: 999px; background: rgba(228,82,153,.18); }
.copy-diagram i { position: absolute; right: 30px; bottom: 18px; width: 4px; height: 62px; transform: rotate(42deg); background: #b8c3d1; border-radius: 999px; }
.people-diagram i { position: absolute; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--pink-light), var(--blue)); }
.people-diagram i:nth-child(1){left:38px;top:24px}.people-diagram i:nth-child(2){right:38px;top:26px}.people-diagram i:nth-child(3){left:64px;bottom:26px}.people-diagram i:nth-child(4){right:66px;bottom:22px}
.people-diagram span { position: absolute; width: 46px; height: 20px; border-radius: 999px; background: rgba(191,232,249,.5); }
.people-diagram span:nth-of-type(1){left:22px;bottom:16px}.people-diagram span:nth-of-type(2){right:16px;top:56px}
.web-diagram span { position: absolute; inset: 22px; border-radius: 14px; border: 1px solid #cfd8e5; background: linear-gradient(90deg, rgba(228,82,153,.12) 0 38%, rgba(191,232,249,.22) 38%); }
.web-diagram b { position: absolute; right: 20px; top: 32px; color: var(--pink); font-size: 22px; }
.room-card small { color: var(--pink); font-weight: 900; }
.room-card h3 { margin: 10px 0 8px; font-family: 'Playfair Display', serif; font-size: 24px; }
.room-card p { margin: 0; color: var(--ink-soft); line-height: 1.55; }
.room-card > a { position: absolute; left: 22px; bottom: 20px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #f2cadd; color: var(--pink); font-weight: 900; }

.work-section { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 62px 0; }
.work-intro { padding-top: 12px; }
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.work-card { text-align: left; padding: 0 0 18px; border: 1px solid var(--line); border-radius: 22px; background: #fff; overflow: hidden; box-shadow: 0 16px 42px rgba(42,52,74,.06); }
.work-card strong, .work-card small, .work-card em { display: block; margin: 0 18px; }
.work-card strong { margin-top: 14px; }
.work-card small { color: var(--ink-soft); margin-top: 4px; }
.work-card em { width: max-content; margin-top: 12px; padding: 6px 10px; border-radius: 999px; background: var(--pink-soft); color: var(--pink); font-size: 12px; font-style: normal; font-weight: 900; }
.work-thumb { height: 150px; display: block; background: linear-gradient(135deg, var(--pink-soft), #fff, var(--blue-soft)); position: relative; }
.work-thumb::before, .work-thumb::after { content:''; position:absolute; border-radius:18px; background:#fff; box-shadow:0 10px 24px rgba(42,52,74,.1); }
.work-thumb::before { width: 54%; height: 64%; left: 22%; top: 18%; }
.work-thumb::after { width: 26%; height: 48%; right: 16%; bottom: 14%; background: rgba(228,82,153,.22); }
.branding { background: linear-gradient(135deg,#f6ede7,#fff,#f1f3f5); }
.website { background: linear-gradient(135deg,#e7f6fd,#fff,#f7e6ef); }
.organic { background: linear-gradient(135deg,#edf8ef,#fff,#fde8f2); }

.process-section { padding: 42px; display: grid; grid-template-columns: 280px 1fr; gap: 38px; }
.process-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: start; }
.process-flow article { position: relative; text-align: center; }
.process-flow article:not(:last-child)::after { content: '→'; position: absolute; right: -12px; top: 28px; color: #c5ceda; }
.process-flow span { width: 62px; height: 62px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid #f1cddd; box-shadow: 0 0 0 10px var(--pink-soft); color: var(--pink); }
.process-flow b { display: block; font-weight: 900; }
.process-flow p { font-size: 13px; color: var(--ink-soft); }

.contact-section { position: relative; margin-top: 42px; padding: 48px; display: grid; grid-template-columns: .95fr 1.05fr; gap: 36px; overflow: hidden; }
.contact-copy ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.contact-copy li { color: var(--ink-soft); font-weight: 700; }
.contact-copy li::before { content: '✓'; color: var(--pink); margin-right: 10px; }
.contact-form { position: relative; z-index: 2; display: grid; gap: 14px; padding: 24px; border-radius: 24px; background: rgba(255,255,255,.85); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.contact-form label { display: grid; gap: 8px; color: #334057; font-weight: 900; font-size: 13px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 14px 15px; color: var(--ink); outline: none; }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: rgba(228,82,153,.55); box-shadow: 0 0 0 4px var(--pink-soft); }
#formStatus { margin: 0; color: var(--ink-soft); font-weight: 800; }
.meeting-art { position: absolute; right: 0; bottom: 0; width: 52%; opacity: .55; border-top-left-radius: 26px; }

.site-footer { width: min(1180px, calc(100% - 56px)); margin: 24px auto 34px; display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 13px; }
.version-mark { color: var(--pink); font-weight: 900; }
.case-dialog { max-width: 520px; border: 0; border-radius: 28px; padding: 34px; box-shadow: var(--shadow); }
.case-dialog::backdrop { background: rgba(18,24,39,.42); backdrop-filter: blur(4px); }
.case-dialog button { position:absolute; right:18px; top:14px; background:#fff; font-size:28px; color:var(--ink); }
.case-dialog h3 { font-family:'Playfair Display',serif; font-size:38px; margin:10px 0; }
.case-dialog p { color:var(--ink-soft); line-height:1.7; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }.delay-2 { transition-delay: .16s; }.delay-3 { transition-delay: .24s; }.delay-4 { transition-delay: .32s; }

@media (max-width: 1180px) {
  .tour-panel { display: none; }
  main { width: min(1080px, calc(100% - 36px)); }
  .hero { grid-template-columns: 1fr; padding-top: 34px; }
  .hero-visual { max-width: 620px; margin: 0 auto; }
  .room-grid { grid-template-columns: repeat(2, 1fr); }
  .room-card:last-child { grid-column: span 2; }
}
@media (max-width: 780px) {
  .site-header { top: 12px; width: calc(100% - 24px); height: auto; align-items: flex-start; border-radius: 24px; flex-direction: column; }
  .brand { min-width: 0; }
  .main-nav { width: 100%; overflow-x: auto; justify-content: flex-start; }
  .main-nav a { white-space: nowrap; padding: 10px 14px; }
  main { width: calc(100% - 26px); padding-top: 126px; }
  .hero { min-height: auto; gap: 28px; padding-bottom: 40px; }
  .hero h1 { font-size: clamp(58px, 17vw, 88px); }
  .hero h2 { font-size: 30px; }
  .hero p { font-size: 16px; }
  .hero-actions, .brand-strip div { gap: 12px; }
  .btn { width: 100%; }
  .office-section, .process-section, .contact-section { padding: 22px; border-radius: 24px; }
  .room-grid, .work-grid, .process-flow, .work-section, .process-section, .contact-section { grid-template-columns: 1fr; }
  .room-card:last-child { grid-column: auto; }
  .work-section { padding: 42px 0; }
  .process-flow article:not(:last-child)::after { display: none; }
  .meeting-art { position: static; width: 100%; opacity: .75; margin-top: 14px; border-radius: 22px; }
  .site-footer { width: calc(100% - 26px); flex-direction: column; }
}
