*,
*::before,
*::after {
 box-sizing: border-box;
}

@font-face {
 font-family: "Paquito-Variable";
 src: url("../fonts/Paquito-Variable.woff2") format("woff2");
 font-weight: 300 700;
 font-display: swap;
 font-style: normal;
}

@font-face {
 font-family: "Paquito-Bold";
 src: url("../fonts/Paquito-Bold.woff2") format("woff2");
 font-weight: 700;
 font-display: swap;
 font-style: normal;
}

@font-face {
 font-family: "Satoshi-Home";
 src: url("../fonts/Satoshi-Bold.woff2") format("woff2");
 font-weight: 700;
 font-display: swap;
 font-style: normal;
}

:root {
 --color-pink: #fbe3e8;
 --color-mint: #5cbdb9;
 --color-mint-soft: #ebf6f5;
 --color-text: #202423;
 --color-muted: #66706e;
 --color-line: rgba(32, 36, 35, 0.1);
 --color-surface: #f7f8f8;
 --color-white: #ffffff;
 --color-dark: #202020;
 --radius-sm: 8px;
 --radius-md: 12px;
 --radius-lg: 12px;
 --radius-pill: 999px;
 --container: 1200px;
 --nav-height: 54px;
 --mobile-nav-height: 66px;
 --section-x: clamp(18px, 5vw, 64px);
 --section-y: clamp(56px, 7vw, 92px);
}

html {
 scroll-behavior: smooth;
 background: var(--color-white);
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
}

body {
 min-width: 320px;
 min-height: 100dvh;
 margin: 0;
 color: var(--color-text);
 background: var(--color-white);
 font-family:
  "Pretendard",
  -apple-system,
  BlinkMacSystemFont,
  "Segoe UI",
  sans-serif;
}

body.is-transitioning {
 overflow: hidden;
}

a,
button {
 color: inherit;
 font: inherit;
}

a {
 text-decoration: none;
}

button {
 border: 0;
 cursor: pointer;
}

img {
 max-width: 100%;
 outline: 1px solid rgba(0, 0, 0, 0.1);
 outline-offset: -1px;
}

::selection {
 background: var(--color-pink);
 color: var(--color-text);
}

.transition-fade {
 opacity: 1;
 transform: none;
 transition:
  opacity 0.18s ease,
  transform 0.18s ease;
}

html.is-animating .transition-fade {
 opacity: 0;
 transform: translateY(8px);
}

html.is-detail-nav-start .transition-fade {
 opacity: 0;
 transform: translateY(0);
 transition-duration: 0.08s;
}

.scroll-reveal {
 opacity: 0;
 transform: translateY(22px);
 transition:
  opacity 0.62s cubic-bezier(0.2, 0, 0, 1),
  transform 0.62s cubic-bezier(0.2, 0, 0, 1);
 transition-delay: var(--reveal-delay, 0ms);
}

.scroll-reveal.is-visible {
 opacity: 1;
 transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
 .scroll-reveal {
  opacity: 1;
  transform: none;
  transition: none;
 }
}

.campaign-page,
.detail-page {
 background: var(--color-white);
}

.campaign-shell {
 width: 100%;
 margin: 0;
 padding: 16px 0 0;
}

.detail-shell {
 width: 100%;
 margin: 0 auto;
 padding: 16px 0 0;
}

.main-menu,
.main-menu.side-index {
 position: sticky;
 top: 14px;
 z-index: 60;
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 4px;
 width: min(620px, calc(100% - 20px));
 min-height: var(--nav-height);
 margin: 0 auto 18px;
 padding: 6px;
 border: 0;
 border-radius: var(--radius-pill);
 background: rgba(255, 255, 255, 0.94);
 box-shadow: 0 8px 24px rgba(32, 36, 35, 0.1);
 backdrop-filter: blur(14px);
 transform: none;
}

.main-menu a,
.main-menu.side-index a {
 flex: 1 1 0;
 min-width: 0;
 color: var(--color-text);
}

.folder-tab-top {
 display: none;
}

.folder-tab-body,
.main-menu.side-index .folder-tab-body {
 position: relative;
 display: flex;
 align-items: center;
 justify-content: center;
 min-height: 42px;
 padding: 0 14px;
 border: 0;
 border-radius: var(--radius-pill);
 background: transparent;
 box-shadow: none;
 transition:
  color 0.16s ease;
}

.folder-tab-body::after {
 content: none;
}

.folder-tab-body span {
 position: relative;
 color: var(--color-text);
 font-size: 0.86rem;
 font-weight: 700;
 letter-spacing: 0;
}

.folder-tab-body span::after {
 content: "";
 position: absolute;
 right: 0;
 bottom: -9px;
 left: 0;
 height: 2px;
 border-radius: var(--radius-pill);
 background: transparent;
}

.main-menu a.active-tab .folder-tab-body {
 background: transparent;
}

.main-menu a.active-tab .folder-tab-body span::after {
 background: var(--color-mint);
}

.campaign-canvas {
 width: 100%;
 margin: 0;
 overflow: hidden;
 border: 0;
 border-radius: 0;
 background: var(--color-white);
}

.scroll-section {
 scroll-margin-top: 86px;
}

.campaign-hero {
 position: relative;
 display: flex;
 min-height: clamp(500px, 66vh, 680px);
 flex-direction: column;
 align-items: center;
 justify-content: center;
 padding: clamp(92px, 12vw, 132px) var(--section-x) clamp(64px, 8vw, 104px);
 overflow: hidden;
 text-align: center;
}

.local-hero {
 min-height: calc(100dvh - 110px);
 padding: clamp(18px, 3vw, 36px) 0 0;
 background: var(--color-white);
}

.home-concept {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 margin: 0;
 color: var(--color-mint);
 font-family: "Satoshi-Home", "Arial Rounded MT Bold", Arial, sans-serif;
 pointer-events: none;
 touch-action: none;
 user-select: none;
 -webkit-user-select: none;
 -webkit-touch-callout: none;
 -webkit-user-drag: none;
}

.home-concept *,
.home-concept *::before,
.home-concept *::after {
 user-select: none;
 -webkit-user-select: none;
 -webkit-touch-callout: none;
 -webkit-user-drag: none;
}

.concept-frame {
 position: absolute;
 display: flex;
 align-items: center;
 justify-content: center;
 box-sizing: border-box;
 width: max-content;
 max-width: calc(100vw - 32px);
 padding: 0 clamp(20px, 3.4vw, 34px);
 border: 2px solid currentColor;
 background: rgba(255, 255, 255, 0.86);
 box-shadow: 8px 8px 18px rgba(85, 88, 88, 0.08);
 cursor: grab;
 pointer-events: auto;
 touch-action: none;
 user-select: none;
 -webkit-user-select: none;
 -webkit-touch-callout: none;
 -webkit-user-drag: none;
 transition:
  border-color 0.16s ease,
  background 0.16s ease,
  scale 0.16s cubic-bezier(0.2, 0, 0, 1);
 z-index: 2;
}

.concept-frame:active,
.concept-frame.is-dragging {
 background: rgba(255, 255, 255, 0.96);
 scale: 0.96;
}

.concept-frame.is-dragging {
 cursor: grabbing;
}

.concept-frame-design {
 top: clamp(140px, 20vh, 230px);
 left: clamp(36px, 8vw, 150px);
 bottom: auto;
 height: clamp(88px, 10.5vw, 124px);
}

.concept-frame-web {
 top: clamp(52px, 10vh, 116px);
 right: clamp(44px, 10vw, 180px);
 height: clamp(86px, 10vw, 118px);
}

.frame-label {
 display: block;
 color: #111;
 font-size: clamp(2.9rem, 5.7vw, 5rem);
 font-weight: 700;
 line-height: 0.9;
 letter-spacing: 0;
 pointer-events: none;
 transform: scaleY(1.08);
 transform-origin: center;
 user-select: none;
 -webkit-user-select: none;
 -webkit-user-drag: none;
}

.frame-handle {
 position: absolute;
 width: clamp(10px, 1.2vw, 16px);
 height: clamp(10px, 1.2vw, 16px);
 border: 2px solid currentColor;
 background: var(--color-white);
}

.handle-tl {
 top: calc(clamp(10px, 1.2vw, 16px) / -2);
 left: calc(clamp(10px, 1.2vw, 16px) / -2);
}

.handle-tr {
 top: calc(clamp(10px, 1.2vw, 16px) / -2);
 right: calc(clamp(10px, 1.2vw, 16px) / -2);
}

.handle-bl {
 bottom: calc(clamp(10px, 1.2vw, 16px) / -2);
 left: calc(clamp(10px, 1.2vw, 16px) / -2);
}

.handle-br {
 right: calc(clamp(10px, 1.2vw, 16px) / -2);
 bottom: calc(clamp(10px, 1.2vw, 16px) / -2);
}

.concept-path {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 overflow: visible;
 pointer-events: none;
 z-index: 1;
}

.concept-path path {
 fill: none;
 stroke: currentColor;
 stroke-width: 3;
 stroke-linecap: round;
 stroke-dasharray: 4 14;
 animation: path-pulse 4.8s ease-in-out infinite;
}

.portfolio-title {
 position: absolute;
 right: 0;
 bottom: -0.035em;
 left: 0;
 z-index: 1;
 width: min(100vw, calc(100% - 18px));
 margin: 0;
 margin-right: auto;
 margin-left: auto;
 padding: 0.04em 0 0;
 color: #050505;
 font-family: "Satoshi-Home", Impact, sans-serif;
 font-size: clamp(6.6rem, 16.8vw, 17.5rem);
 font-weight: 700;
 line-height: 0.9;
 letter-spacing: 0;
 text-align: center;
 transform: scaleY(1.16);
 transform-origin: center bottom;
 white-space: nowrap;
}

.portfolio-title-svg {
 display: block;
 height: auto;
 overflow: visible;
 color: #050505;
}

.portfolio-svg-word {
 fill: currentColor;
 font-family: "Satoshi-Home", Impact, sans-serif;
 font-size: 224px;
 font-weight: 700;
 line-height: 1;
}

@keyframes path-pulse {
 0%,
 100% {
  stroke-dashoffset: 0;
 }

 50% {
  stroke-dashoffset: -24;
 }
}

.hero-kicker,
.section-eyebrow,
.detail-label,
.route-label,
.summary-label {
 margin: 0;
 color: var(--color-muted);
 font-size: 0.78rem;
 font-weight: 700;
 letter-spacing: 0;
 text-transform: none;
}

.hero-slot-title {
 max-width: 980px;
 margin: 16px auto 0;
 color: var(--color-text);
 font-size: clamp(3rem, 8.2vw, 7rem);
 font-weight: 700;
 line-height: 1;
 letter-spacing: 0;
 text-wrap: balance;
 word-break: keep-all;
}

.hero-line {
 display: block;
}

.role-line {
 margin: 0.04em 0;
}

.role-slot {
 position: relative;
 display: inline-block;
 color: var(--color-mint);
 white-space: nowrap;
}

.role-slot::after {
 content: "";
 position: absolute;
 right: 0;
 bottom: -0.08em;
 left: 0;
 height: 0.08em;
 border-radius: var(--radius-pill);
 background: var(--color-pink);
}

.role-slot.is-spinning {
 opacity: 0.72;
}

.hero-copy {
 max-width: 720px;
 margin: clamp(20px, 2.6vw, 30px) auto 0;
 color: var(--color-muted);
 font-size: clamp(1rem, 1.5vw, 1.26rem);
 font-weight: 400;
 line-height: 1.6;
 text-wrap: pretty;
 word-break: keep-all;
}

.hero-actions,
.form-bottom {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 justify-content: center;
 gap: 10px;
 margin-top: 28px;
}

.campaign-btn,
.card-cta,
.visit-btn,
.action-btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 0 18px;
 border-radius: var(--radius-sm);
 background: var(--color-mint-soft);
 color: #173634;
 font-size: 0.92rem;
 font-weight: 700;
 letter-spacing: 0;
 text-transform: none;
 box-shadow: none;
 transition:
  background 0.16s ease,
  color 0.16s ease,
  box-shadow 0.16s ease,
  scale 0.14s ease;
}

.campaign-btn.primary,
.guest-submit-btn,
.card-cta,
.visit-btn {
 background: var(--color-mint);
 color: #051312;
}

.campaign-btn:hover,
.card-cta:hover,
.visit-btn:hover,
.action-btn:hover {
 background: #4fb0ac;
 color: #051312;
}

.campaign-btn:active,
.visit-btn:active,
.action-btn:active,
.gallery-btn:active {
 scale: 0.96;
}

.card-cta:active {
 background: #45aaa6;
 box-shadow: inset 0 2px 10px rgba(5, 19, 18, 0.18);
 scale: 1;
}

.heart-pop {
 position: absolute;
 top: 0;
 left: 0;
 z-index: 0;
 display: block;
 color: var(--color-mint);
 font-size: clamp(2rem, 5vw, 4.2rem);
 font-weight: 700;
 line-height: 1;
 opacity: 0.72;
 pointer-events: none;
 transform: translate3d(var(--heart-x, 0), var(--heart-y, 0), 0);
 will-change: transform;
}

.campaign-hero > *:not(.heart-pop) {
 position: relative;
 z-index: 1;
}

.local-hero > .home-concept {
 position: absolute;
 z-index: 120;
}

.local-hero > .portfolio-title {
 position: absolute;
 z-index: 1;
}

.heart-a {
 color: var(--color-mint);
}

.heart-b {
 color: #80c6df;
}

.heart-c {
 color: var(--color-pink);
}

.heart-e {
 color: var(--color-pink);
 font-size: clamp(1.45rem, 3.2vw, 2.5rem);
}

.heart-f {
 color: #80c6df;
 font-size: clamp(1.55rem, 3.6vw, 2.8rem);
}

.heart-g {
 color: var(--color-mint);
 font-size: clamp(1.65rem, 4vw, 3rem);
}

.heart-h {
 color: var(--color-pink);
 font-size: clamp(1.5rem, 3.4vw, 2.6rem);
}

.campaign-section {
 padding: var(--section-y) var(--section-x);
 border-top: 1px solid var(--color-line);
}

.campaign-section > .section-heading,
.campaign-section > .campaign-grid,
.campaign-section > .guest-layout {
 width: min(100%, var(--container));
 margin-right: auto;
 margin-left: auto;
}

.section-heading {
 max-width: 820px;
 margin: 0 auto clamp(28px, 4vw, 46px);
 text-align: center;
}

.section-heading h2 {
 max-width: 100%;
 margin: 10px auto 0;
 color: inherit;
 font-size: clamp(2rem, 4.6vw, 4.2rem);
 font-weight: 700;
 line-height: 1.08;
 letter-spacing: 0;
 text-wrap: balance;
 white-space: nowrap;
 word-break: keep-all;
}

.section-lead {
 max-width: 660px;
 margin: 14px auto 0;
 color: var(--color-muted);
 font-size: clamp(0.98rem, 1.35vw, 1.14rem);
 font-weight: 400;
 line-height: 1.68;
 text-wrap: pretty;
 word-break: keep-all;
}

.campaign-grid {
 display: grid;
 gap: 18px;
}

.two-col {
 grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-profile-layout {
 display: grid;
 grid-template-columns: minmax(260px, 0.78fr) minmax(320px, 1fr);
 align-items: center;
 gap: clamp(28px, 6vw, 76px);
 width: min(100%, var(--container));
 margin: 0 auto clamp(28px, 4vw, 46px);
}

.about-photo-stack {
 position: relative;
 min-height: clamp(420px, 52vw, 620px);
}

.about-photo-frame {
 position: absolute;
 color: var(--color-mint);
 overflow: visible;
 margin: 0;
 border: 2px solid var(--color-mint);
 background: var(--color-white);
 box-shadow: 8px 8px 18px rgba(85, 88, 88, 0.08);
}

.about-photo-frame img {
 display: block;
 width: 100%;
 height: 100%;
 object-fit: cover;
}

.about-photo-frame .frame-handle,
.about-wireframe-card .frame-handle {
 z-index: 2;
 border-color: var(--color-mint);
}

.about-photo-frame-large {
 top: 0;
 left: 0;
 z-index: 1;
 width: min(78%, 360px);
 height: clamp(360px, 47vw, 570px);
}

.about-photo-frame-large img {
 object-position: center center;
}

.about-photo-frame-small {
 right: 0;
 bottom: 0;
 z-index: 3;
 width: min(42%, 185px);
 aspect-ratio: 3 / 4;
}

.about-photo-frame-small img {
 object-position: center top;
}

.about-wireframe-card {
 position: relative;
 color: var(--color-mint);
 min-height: clamp(300px, 34vw, 430px);
 padding: clamp(28px, 4vw, 46px);
 border: 2px solid var(--color-mint);
 background: rgba(255, 255, 255, 0.9);
 box-shadow: 8px 8px 18px rgba(85, 88, 88, 0.08);
}

.about-wire-kicker {
 margin: 0 0 4px;
 color: #8ed8d4;
 font-size: clamp(1rem, 1.5vw, 1.2rem);
 font-weight: 400;
 line-height: 1.2;
}

.about-wireframe-card h3 {
 margin: 0 0 clamp(22px, 3vw, 34px);
 color: var(--color-text);
 font-size: clamp(2.2rem, 5vw, 4.4rem);
 font-weight: 700;
 line-height: 0.98;
 letter-spacing: 0;
}

.about-wire-copy {
 display: grid;
 gap: 14px;
}

.about-wire-copy p {
 margin: 0;
 color: var(--color-muted);
 font-size: clamp(0.96rem, 1.15vw, 1.05rem);
 font-weight: 400;
 line-height: 1.72;
 word-break: keep-all;
}

.campaign-card,
.guest-form,
.guest-item {
 border: 1px solid var(--color-line);
 border-radius: var(--radius-lg);
 background: var(--color-surface);
 box-shadow: none;
}

.campaign-card {
 padding: clamp(20px, 3vw, 30px);
}

.card-visual {
 display: flex;
 align-items: center;
 justify-content: center;
 min-height: 120px;
 margin-bottom: 20px;
 border-radius: var(--radius-md);
 background: var(--color-white);
}

.heart-visual {
 gap: 8px;
}

.heart-visual span {
 display: block;
 width: 28px;
 height: 28px;
 border-radius: var(--radius-pill);
 background: var(--color-pink);
}

.route-visual {
 gap: 10px;
}

.route-visual span {
 width: 54px;
 height: 8px;
 border-radius: var(--radius-pill);
 background: var(--color-mint);
}

.route-visual span:nth-child(2) {
 width: 86px;
 background: var(--color-pink);
}

.card-number {
 display: inline-flex;
 margin-bottom: 22px;
 color: var(--color-muted);
 font-size: 0.82rem;
 font-weight: 700;
}

.campaign-card h3,
.project-card h3 {
 margin: 0;
 font-size: clamp(1.32rem, 2.2vw, 1.9rem);
 font-weight: 700;
 line-height: 1.18;
 letter-spacing: 0;
}

.campaign-card p,
.project-card p {
 margin: 12px 0 0;
 color: var(--color-muted);
 font-size: 1rem;
 font-weight: 400;
 line-height: 1.66;
 word-break: keep-all;
}

.skill-strip {
 display: flex;
 overflow: hidden;
 margin-top: clamp(24px, 3.5vw, 40px);
 margin-right: calc(var(--section-x) * -1);
 margin-left: calc(var(--section-x) * -1);
 padding: 6px 0;
 background: var(--color-mint-soft);
 color: #24413f;
 white-space: nowrap;
}

.skill-marquee-track {
 display: flex;
 width: max-content;
 animation: skill-marquee 22s linear infinite;
}

.skill-marquee-group {
 display: flex;
 flex: 0 0 auto;
 gap: 10px;
 padding-right: 10px;
}

.skill-strip span,
.detail-tags span {
 display: inline-flex;
 align-items: center;
 min-height: 30px;
 padding: 0 13px;
 border: 0;
 border-radius: var(--radius-pill);
 background: var(--color-mint-soft);
 color: #24413f;
 font-size: 0.86rem;
 font-weight: 700;
 box-shadow: none;
}

.skill-strip span {
 background: transparent;
}

@keyframes skill-marquee {
 from {
  transform: translateX(0);
 }

 to {
  transform: translateX(-25%);
 }
}

.project-dark {
 background: var(--color-dark);
 color: var(--color-white);
}

.project-dark .section-lead,
.project-dark .section-eyebrow {
 color: rgba(255, 255, 255, 0.72);
}

.project-grid {
 width: min(100%, var(--container));
 grid-template-columns: repeat(3, minmax(0, 1fr));
 gap: 24px;
 margin: 0 auto;
}

.project-card {
 display: grid;
 grid-template-rows: auto auto auto 1fr auto;
 overflow: hidden;
 border: 0;
 padding: 0;
 color: var(--color-text);
 background: var(--color-white);
}

.project-card picture {
 display: block;
 width: 100%;
 height: clamp(180px, 20vw, 252px);
 overflow: hidden;
 border-radius: 0;
 background: var(--color-mint);
}

.project-card img {
 display: block;
 width: 100%;
 height: 100%;
 object-fit: cover;
 object-position: center top;
 transform: none;
}

.project-card picture,
.project-card img,
.project-card .route-label,
.project-card h3,
.project-card p {
 cursor: default;
 pointer-events: none;
}

.project-card .route-label,
.project-card h3,
.project-card p {
 margin-right: 26px;
 margin-left: 26px;
 text-align: center;
}

.project-card .route-label {
 margin-top: 22px;
}

.project-card h3 {
 margin-top: 8px;
 font-size: clamp(1.55rem, 2.1vw, 2.1rem);
 text-wrap: balance;
}

.project-card p {
 min-height: 68px;
 margin-top: 12px;
 margin-bottom: 22px;
 font-size: clamp(0.96rem, 1.2vw, 1.08rem);
 text-wrap: pretty;
}

.card-cta {
 width: calc(100% + 2px);
 min-height: 60px;
 margin: 0 -1px -1px;
 border-radius: 0;
 pointer-events: auto;
}

.guest-section {
 background: var(--color-white);
}

.guest-layout {
 display: grid;
 grid-template-columns: minmax(0, 720px);
 justify-content: center;
 gap: clamp(18px, 2.6vw, 28px);
}

.guest-form {
 display: flex;
 flex-direction: column;
 gap: 14px;
 padding: clamp(18px, 2.6vw, 28px);
 align-self: start;
}

.guest-honey {
 position: absolute;
 left: -9999px;
 width: 1px;
 height: 1px;
 opacity: 0;
 pointer-events: none;
}

.form-top {
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: 12px;
}

.input-name,
.input-pw,
.input-msg {
 width: 100%;
 border: 1px solid var(--color-line);
 border-radius: var(--radius-sm);
 background: var(--color-white);
 color: var(--color-text);
 font: inherit;
 outline: none;
 box-shadow: none;
}

.input-name,
.input-pw {
 min-height: 46px;
 padding: 0 14px;
}

.input-msg {
 min-height: 150px;
 padding: 14px;
 resize: vertical;
}

.input-name:focus,
.input-pw:focus,
.input-msg:focus {
 border-color: rgba(92, 189, 185, 0.72);
 box-shadow: 0 0 0 3px rgba(92, 189, 185, 0.16);
}

.form-bottom {
 display: grid;
 grid-template-columns: minmax(0, 1fr) auto;
 align-items: center;
 gap: 12px;
 margin-top: 0;
}

.guest-submit-btn {
 min-width: auto;
 min-height: 32px;
 padding: 0 12px;
 font-size: 0.78rem;
}

.guest-feedback {
 min-width: 0;
 text-align: center;
}

.guest-success,
.guest-error {
 margin: 0;
 font-size: 0.9rem;
}

.guest-success {
 color: #28716d;
}

.guest-error {
 color: #b42318;
}

.guest-list {
 display: grid;
 gap: 12px;
 align-content: start;
 width: min(100%, 720px);
 margin: 0 auto;
}

.guest-empty {
 margin: 0;
 color: rgba(63, 46, 39, 0.68);
 font-size: clamp(0.95rem, 1.8vw, 1rem);
 line-height: 1.6;
}

.guest-item {
 padding: clamp(18px, 2.6vw, 28px);
}

.guest-meta {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 12px;
 padding-bottom: 12px;
 border-bottom: 1px solid var(--color-line);
}

.meta-info {
 display: flex;
 flex-wrap: wrap;
 align-items: baseline;
 gap: 8px;
 min-width: 0;
}

.guest-name {
 color: var(--color-text);
 font-weight: 700;
}

.guest-date {
 color: var(--color-muted);
 font-size: 0.84rem;
}

.action-btn {
 min-height: 32px;
 padding: 0 12px;
 font-size: 0.78rem;
}

.guest-message-box {
 margin-top: 12px;
 padding: 14px;
 border: 1px solid var(--color-line);
 border-radius: var(--radius-md);
 background: rgba(255, 255, 255, 0.72);
}

.guest-message-box p {
 margin: 0;
 color: var(--color-muted);
 font-size: 0.96rem;
 line-height: 1.66;
 text-wrap: pretty;
 word-break: break-word;
}

.site-footer {
 padding: 24px var(--section-x);
 background: var(--color-dark);
 color: var(--color-white);
}

.footer-inner {
 display: flex;
 align-items: center;
 justify-content: flex-end;
 gap: 24px;
 width: min(100%, var(--container));
 margin: 0 auto;
}

.footer-meta {
 display: flex;
 flex-direction: column;
 align-items: flex-end;
 gap: 8px;
 text-align: right;
}

.footer-links {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 justify-content: flex-end;
 gap: 10px 8px;
 color: rgba(255, 255, 255, 0.72);
 font-size: 0.84rem;
}

.footer-links a {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 7px;
 color: inherit;
 line-height: 1;
}

.footer-links a:hover {
 color: var(--color-white);
}

.footer-links span {
 line-height: 1;
}

.footer-separator {
 color: rgba(255, 255, 255, 0.48);
}

.footer-copy {
 color: rgba(255, 255, 255, 0.72);
 font-size: 0.84rem;
 font-weight: 400;
}

.detail-shell {
 display: flex;
 min-height: 100dvh;
 flex-direction: column;
}

.detail-canvas {
 width: 100%;
 margin: 0;
 padding: 0;
 background: var(--color-white);
}

.detail-hero {
 position: relative;
 display: grid;
 grid-template-columns: minmax(180px, 0.72fr) minmax(280px, 1.1fr);
 align-items: center;
 gap: clamp(44px, 9vw, 116px);
 width: min(calc(100% - 48px), 960px);
 margin: 0 auto;
 padding: clamp(88px, 12vw, 142px) 0 70px;
 overflow: hidden;
}

.detail-title {
 max-width: 440px;
 margin: 4px 0 0;
 color: var(--color-text);
 font-size: clamp(2.05rem, 4.2vw, 3rem);
 font-weight: 400;
 line-height: 1.08;
 letter-spacing: 0;
 text-wrap: balance;
 word-break: keep-all;
}

.detail-label {
 color: var(--color-mint);
 font-size: clamp(0.95rem, 1.35vw, 1.08rem);
 font-weight: 700;
 line-height: 1.2;
}

.detail-visit-link {
 display: inline-flex;
 align-items: center;
 min-height: 38px;
 margin-top: 22px;
 padding: 0 16px;
 border-radius: var(--radius-pill);
 background: var(--color-dark);
 color: var(--color-white);
 font-size: 0.86rem;
 font-weight: 700;
 text-decoration: none;
 transition:
  background 0.16s ease,
  scale 0.14s ease;
}

.detail-visit-link:hover {
 background: #111111;
}

.detail-visit-link:active {
 scale: 0.96;
}

.detail-hero-visual {
 position: relative;
 display: flex;
 align-items: stretch;
 justify-content: center;
 width: 100%;
 height: clamp(420px, 54vw, 640px);
 margin: 0;
 overflow: hidden;
 background: #e8e8e8;
}

@media (min-width: 1024px) {
 .detail-hero-visual {
  translate: 0 clamp(-220px, -13vw, -120px);
 }
}

.detail-hero-visual picture {
 position: absolute;
 inset: 0;
 display: block;
 width: 100%;
 height: 100%;
}

.detail-hero-visual img {
 display: block;
 width: 100%;
 height: 100%;
 object-fit: cover;
 object-position: center top;
 outline: 0;
 opacity: 0;
 scale: 1.18;
 transform-origin: center top;
 transition: opacity 0.24s ease;
}

.detail-hero-visual img.is-loaded,
.detail-wide-picture img.is-loaded,
.gallery-card img.is-loaded {
 opacity: 1;
}

.portfolio-project .detail-hero-visual {
 height: auto;
 aspect-ratio: 1088 / 1536;
 background: transparent;
}

.portfolio-project .detail-hero-visual img {
 object-fit: contain;
 object-position: center center;
 scale: 1;
}

@media (min-width: 641px) {
 .portfolio-project .detail-hero {
  grid-template-columns: minmax(160px, 0.58fr) minmax(360px, 1.18fr);
  gap: clamp(34px, 6vw, 72px);
  width: min(calc(100% - 48px), 1040px);
 }
}

@media (min-width: 1024px) {
 .detail-hero {
  align-items: end;
  margin-top: calc((var(--nav-height) + 34px) * -1);
  padding-top: 0;
 }

 .detail-copy {
  padding-bottom: clamp(64px, 8vw, 118px);
 }

 .detail-hero-visual {
  height: min(860px, 100dvh);
  translate: 0;
 }

 .portfolio-project .detail-hero-visual {
  height: min(860px, 100dvh);
  aspect-ratio: auto;
 }

 .portfolio-project .detail-hero-visual img {
  object-fit: cover;
  object-position: center top;
 }
}

.detail-intro {
 width: min(calc(100% - 48px), 960px);
 margin: 0 auto;
 padding: 0 0 clamp(70px, 9vw, 96px);
}

.detail-subtitle {
 max-width: 580px;
 margin: 0;
 color: var(--color-text);
 font-size: clamp(1.18rem, 2.4vw, 1.48rem);
 font-weight: 400;
 line-height: 1.42;
 text-wrap: pretty;
 word-break: keep-all;
}

.detail-wide-visual {
 display: flex;
 align-items: center;
 justify-content: center;
 min-height: 0;
 padding: 0;
 background: transparent;
}

.detail-wide-picture {
 position: relative;
 display: block;
 width: min(100%, 940px);
 height: min(100%, clamp(320px, 47vw, 560px));
 overflow: hidden;
 background: var(--color-white);
}

.detail-wide-picture img {
 position: absolute;
 inset: 0;
 display: block;
 width: 100%;
 height: 100%;
 object-fit: cover;
 object-position: center top;
 outline: 0;
 opacity: 0;
 scale: 1.12;
 transform-origin: center top;
 transition: opacity 0.24s ease;
}

.portfolio-project .detail-wide-picture {
 width: min(calc(100% - 48px), 1160px);
 height: auto;
 aspect-ratio: 1619 / 971;
 background: transparent;
}

.portfolio-project .detail-wide-picture img {
 object-fit: cover;
 object-position: center center;
 scale: 1;
}

.detail-info-list {
 width: min(calc(100% - 48px), 780px);
 margin: 0 auto;
 padding: clamp(42px, 7vw, 66px) 0 clamp(58px, 8vw, 82px);
}

.no-wide-visual .detail-info-list {
 padding-top: 0;
}

.detail-info-row {
 display: grid;
 grid-template-columns: 150px minmax(0, 1fr);
 gap: 34px;
 padding: 30px 18px;
 border-top: 1px solid #dfdfdf;
}

.detail-info-row:last-child {
 border-bottom: 1px solid #dfdfdf;
}

.detail-info-label {
 margin: 0;
 color: var(--color-mint);
 font-size: clamp(1rem, 1.45vw, 1.15rem);
 font-weight: 700;
 line-height: 1.5;
 word-break: keep-all;
}

.detail-info-text,
.detail-info-stack,
.detail-info-tools {
 margin: 0;
 color: var(--color-text);
 font-size: clamp(1rem, 1.45vw, 1.15rem);
 font-weight: 400;
 line-height: 1.55;
 text-wrap: pretty;
 word-break: keep-all;
}

.detail-info-stack {
 display: grid;
 gap: 2px;
}

.detail-info-stack p {
 display: grid;
 grid-template-columns: 88px minmax(0, 1fr);
 gap: 16px;
 margin: 0;
}

.detail-info-tools span:not(:last-child)::after {
 content: " / ";
}

.detail-gallery {
 width: 100%;
 margin: 0 auto;
}

.gallery-frame {
 position: relative;
 width: 100%;
 height: var(--gallery-active-height, auto);
 overflow: hidden;
 transition: height 0.28s ease;
}

.gallery-track {
 display: flex;
 align-items: flex-start;
 gap: 16px;
 height: 100%;
 overflow-x: auto;
 overflow-y: hidden;
 padding: 0;
 scroll-snap-type: x mandatory;
 scroll-behavior: smooth;
 -webkit-overflow-scrolling: touch;
 scrollbar-width: none;
 cursor: default;
}

.gallery-track::-webkit-scrollbar {
 display: none;
}

.gallery-card {
 display: flex;
 align-items: center;
 justify-content: center;
 flex: 0 0 var(--gallery-card-width, calc((100% - 16px) / 2));
 margin: 0;
 overflow: hidden;
 border-radius: 0;
 background: transparent;
 scroll-snap-align: start;
}

.gallery-card img {
 display: block;
 width: 100%;
 margin: 0 auto;
 max-height: none;
 height: auto;
 object-fit: contain;
 background: transparent;
 opacity: 0;
 transition: opacity 0.24s ease;
}

.gallery-controls {
 position: absolute;
 inset: 0;
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding: 0 18px;
 pointer-events: none;
 color: var(--color-text);
 font-size: 0.95rem;
 font-weight: 700;
}

.gallery-btn {
 position: relative;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 40px;
 height: 40px;
 border: 0;
 border-radius: var(--radius-pill);
 background: rgba(255, 255, 255, 0.62);
 color: var(--color-text);
 font: inherit;
 line-height: 1;
 pointer-events: auto;
 backdrop-filter: blur(8px);
 transition:
  background 0.16s ease,
  opacity 0.16s ease,
  scale 0.14s ease;
}

.gallery-btn::before {
 content: "";
 display: block;
 width: 12px;
 height: 12px;
 border-top: 2px solid currentColor;
 border-left: 2px solid currentColor;
}

.gallery-btn-prev::before {
 transform: translateX(2px) rotate(-45deg);
}

.gallery-btn-next::before {
 transform: translateX(-2px) rotate(135deg);
}

.gallery-btn::after {
 content: "";
 position: absolute;
 top: 50%;
 left: 50%;
 width: 40px;
 height: 40px;
 transform: translate(-50%, -50%);
}

.gallery-btn:hover {
 background: rgba(255, 255, 255, 0.82);
}

.gallery-dots {
 position: absolute;
 bottom: 16px;
 left: 50%;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 min-width: 72px;
 min-height: 28px;
 padding: 7px 12px;
 border-radius: var(--radius-pill);
 background: rgba(92, 98, 96, 0.52);
 pointer-events: auto;
 transform: translateX(-50%);
 backdrop-filter: blur(8px);
}

.gallery-dot {
 width: 9px;
 height: 9px;
 border: 0;
 border-radius: 50%;
 background: rgba(255, 255, 255, 0.58);
 padding: 0;
 cursor: pointer;
 transition:
  background 0.16s ease,
  transform 0.16s ease;
}

.gallery-dot.is-active {
 background: var(--color-white);
 transform: scale(1.08);
}

.gallery-status {
 position: absolute;
 width: 1px;
 height: 1px;
 overflow: hidden;
 clip: rect(0 0 0 0);
 white-space: nowrap;
}

@media (max-width: 1023px) {
 body {
  padding-bottom: 0;
 }

 .campaign-shell {
  padding-top: 0;
  padding-bottom: 0;
 }

 .detail-shell {
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
 }

 .folder-tab-body {
  min-height: 42px;
  padding: 0 4px;
 }

 .folder-tab-body span {
  font-size: 0.78rem;
 }

 .scroll-section {
  scroll-margin-top: 16px;
 }

 .campaign-hero {
  min-height: 520px;
 }

 .local-hero {
  min-height: calc(100dvh - 24px);
  padding-top: clamp(28px, 7vw, 54px);
 }

 .local-hero > .home-concept {
  inset: 0;
  z-index: auto;
  width: 100%;
  height: 100%;
 }

 .concept-path {
  inset: 0;
  width: 100%;
  height: 100%;
 }

 .hero-slot-title {
  font-size: clamp(2.25rem, 9.8vw, 3.7rem);
  line-height: 1.06;
 }

 .about-profile-layout {
  grid-template-columns: minmax(250px, 0.74fr) minmax(300px, 1fr);
  max-width: none;
  gap: clamp(22px, 4vw, 42px);
 }

 .about-photo-stack {
  min-height: clamp(390px, 58vw, 540px);
 }

 .about-photo-frame-large {
  width: min(78%, 340px);
 }

 .about-photo-frame-small {
  width: min(38%, 150px);
 }

 .two-col {
  grid-template-columns: 1fr;
 }

 .project-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(276px, 82vw);
  grid-template-columns: none;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 16px 18px;
  margin-right: -16px;
  margin-left: -16px;
  scroll-padding-inline: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
 }

 .project-grid::-webkit-scrollbar {
  display: none;
 }

 .project-card {
  scroll-snap-align: start;
 }

 .project-card picture {
  height: clamp(176px, 46vw, 254px);
 }

 .guest-layout {
  grid-template-columns: 1fr;
 }

 .detail-hero {
  grid-template-columns: minmax(150px, 0.7fr) minmax(260px, 1fr);
  gap: clamp(28px, 6vw, 64px);
  width: min(calc(100% - 40px), 860px);
  padding-top: clamp(74px, 12vw, 112px);
 }

 .detail-hero-visual {
  height: clamp(360px, 58vw, 540px);
 }

 .detail-intro {
  width: min(calc(100% - 40px), 860px);
 }

 .detail-info-list {
  width: min(calc(100% - 40px), 720px);
 }

 .gallery-track {
  gap: 10px;
 }

 .gallery-card img {
  max-height: clamp(220px, 48vw, 360px);
 }
}

@media (min-width: 768px) and (max-width: 1023px) {
 .detail-hero {
  align-items: end;
  margin-top: calc((var(--nav-height) + 34px) * -1);
  padding-top: 0;
  padding-bottom: 70px;
 }

 .detail-copy {
  padding-bottom: clamp(64px, 8vw, 118px);
 }

 .detail-hero-visual {
  height: min(860px, 100dvh);
  translate: 0;
 }

 .portfolio-project .detail-hero-visual {
  height: min(860px, 100dvh);
  aspect-ratio: auto;
 }

 .portfolio-project .detail-hero-visual img {
  object-fit: cover;
  object-position: center top;
 }
}

@media (max-width: 767px) {
 .site-footer {
  position: relative;
  margin-bottom: calc(var(--mobile-nav-height) + 28px + env(safe-area-inset-bottom, 0px));
  padding-bottom: 18px;
 }

 .site-footer::after {
  content: "";
  position: absolute;
  top: calc(100% - 1px);
  right: 0;
  left: 0;
  height: calc(var(--mobile-nav-height) + 29px + env(safe-area-inset-bottom, 0px));
  background: var(--color-dark);
  pointer-events: none;
 }

 .main-menu,
 .main-menu.side-index {
  position: fixed;
  top: auto;
  right: 10px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  left: 10px;
  z-index: 100;
  width: min(620px, calc(100% - 20px));
  min-height: var(--nav-height);
  margin: 0;
  margin-right: auto;
  margin-left: auto;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
 }
}

@media (max-width: 640px) {
 .campaign-section {
  padding: 48px 16px;
 }

 .campaign-hero {
  padding-right: 16px;
  padding-left: 16px;
 }

 .local-hero {
  min-height: calc(100dvh - var(--mobile-nav-height) - 18px);
  padding: 26px 0 0;
 }

 .local-hero > .home-concept {
  inset: 0;
  z-index: auto;
  width: 100%;
  height: 100%;
 }

 .concept-frame-design {
  top: auto;
  bottom: clamp(78px, 12dvh, 118px);
  left: 14px;
  height: clamp(72px, 18vw, 86px);
  z-index: 3;
 }

 .concept-frame-web {
  top: clamp(76px, 13dvh, 112px);
  right: 16px;
  height: clamp(72px, 18vw, 86px);
  z-index: 3;
 }

 .frame-label {
  font-size: clamp(2.35rem, 13vw, 3.45rem);
 }

 .concept-frame-web .frame-label {
  font-size: clamp(2.35rem, 13vw, 3.45rem);
 }

 .concept-path {
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
 }

 .concept-path path {
  stroke-width: 2.25;
  stroke-dasharray: 3 11;
 }

 .local-hero > .portfolio-title {
  right: auto;
  top: 50dvh;
  bottom: auto;
  left: 50%;
  z-index: 2;
  width: min(106vw, 432px);
  padding-bottom: 0;
  font-size: clamp(4.5rem, 21vw, 6rem);
  line-height: 1;
  transform: translate(-50%, -50%) scaleY(1.08);
  transform-origin: center;
 }

 .hero-actions {
  align-items: center;
  flex-direction: row;
  width: min(100%, 340px);
 }

 .campaign-btn {
  flex: 1 1 0;
  min-width: 0;
  padding-right: 12px;
  padding-left: 12px;
 }

 .guest-submit-btn {
  flex: 0 0 auto;
  min-width: auto;
  padding-right: 12px;
  padding-left: 12px;
 }

 .section-heading h2 {
  font-size: clamp(2rem, 11vw, 3.2rem);
  white-space: normal;
 }

 .about-profile-layout {
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 28px;
 }

 .about-photo-stack {
  width: min(100%, 320px);
  min-height: 340px;
  margin: 0 auto;
 }

 .about-photo-frame-large {
  width: min(78%, 230px);
  height: 310px;
 }

 .about-photo-frame-small {
  width: min(38%, 105px);
 }

 .about-wireframe-card {
  min-height: auto;
  padding: 24px 22px;
 }

 .about-wireframe-card h3 {
  font-size: clamp(2rem, 12vw, 3.1rem);
 }

 .form-top {
  grid-template-columns: 1fr;
 }

 .form-bottom {
  grid-template-columns: minmax(0, 1fr) auto;
 }

 .guest-meta {
  align-items: center;
  flex-direction: row;
 }

 .meta-actions {
  flex: 0 0 auto;
 }

 .action-btn {
  width: auto;
 }

 .footer-inner {
  align-items: flex-start;
  flex-direction: column;
 }

 .footer-meta,
 .footer-links {
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
 }

 .visit-btn {
  flex: 0 1 auto;
  min-width: 0;
  padding-right: 12px;
  padding-left: 12px;
 }

 .detail-hero {
  grid-template-columns: 1fr;
  gap: 28px;
  width: min(calc(100% - 32px), 520px);
  padding: 72px 0 42px;
 }

 .detail-copy {
  order: 2;
 }

 .detail-hero-visual {
  order: 1;
 }

 .detail-label {
  font-size: 0.95rem;
 }

 .detail-title {
  max-width: 100%;
  font-size: clamp(2.15rem, 11vw, 3rem);
 }

 .detail-visit-link {
  min-height: 36px;
  margin-top: 18px;
  padding-right: 14px;
  padding-left: 14px;
 }

 .detail-hero-visual {
  height: auto;
  min-height: auto;
  overflow: visible;
  aspect-ratio: auto;
  background: transparent;
 }

 .detail-hero-visual picture {
  position: static;
  width: 100%;
  height: auto;
 }

 .detail-hero-visual img {
  height: auto;
  min-height: 0;
  object-fit: contain;
  scale: 1;
 }

 .detail-intro {
  width: min(calc(100% - 32px), 520px);
  padding-bottom: 54px;
 }

 .detail-subtitle {
  font-size: clamp(1.12rem, 5vw, 1.34rem);
  line-height: 1.46;
 }

 .detail-wide-visual {
  min-height: 0;
  padding: 0;
 }

 .detail-wide-picture img {
  height: 100%;
 }

 .detail-info-list {
  width: min(calc(100% - 32px), 520px);
  padding-top: 54px;
  padding-bottom: 62px;
 }

 .no-wide-visual .detail-info-list {
  padding-top: 0;
 }

 .detail-info-row {
  grid-template-columns: minmax(118px, 0.36fr) minmax(0, 1fr);
  gap: 14px;
  padding: 24px 8px;
 }

 .detail-info-label,
 .detail-info-text,
 .detail-info-stack,
 .detail-info-tools {
  min-width: 0;
  font-size: 1rem;
 }

 .detail-info-stack p {
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
 }

 .detail-gallery {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
 }

 .gallery-track {
  align-items: flex-start;
  gap: 0;
 }

 .gallery-card {
  flex: 0 0 min(var(--gallery-card-width, 100%), 100%);
  width: 100%;
 }

 .gallery-card img {
  width: 100%;
  max-width: 100%;
  max-height: min(58vh, 520px);
  object-fit: contain;
 }

 .gallery-controls {
  padding: 0 10px;
 }

 .gallery-btn {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.54);
  backdrop-filter: blur(6px);
 }

 .gallery-btn::before {
  width: 9px;
  height: 9px;
  border-width: 1.5px;
 }

 .gallery-btn::after {
  width: 38px;
  height: 38px;
 }

 .gallery-dots {
  bottom: 10px;
  gap: 6px;
  min-width: 54px;
  min-height: 22px;
  padding: 5px 9px;
  background: rgba(92, 98, 96, 0.46);
  backdrop-filter: blur(6px);
 }

 .gallery-dot {
  width: 7px;
  height: 7px;
 }
}
