@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500&family=Zen+Kaku+Gothic+New:wght@300;400;500&display=swap');

:root {
  --umico-blue: #3649f2;
  --umico-blue-dark: #153ab7;
  --umico-pale: #e3edf1;
  --umico-paper: #ffffff;
  --umico-placeholder: #d9d9d9;
  --umico-line: rgba(54, 73, 242, 0.58);
  --umico-font: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --umico-font-en: "Outfit", "Zen Kaku Gothic New", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--umico-blue);
  background: var(--umico-pale);
  font-family: var(--umico-font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .eyebrow, .hero__small, .work-filter, .work-card__tag, .work-card__arrow, .more-link, .contact-link { font-family: var(--umico-font-en); font-weight: 300; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--umico-blue-dark); outline-offset: 5px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  width: min(100% - 96px, 1300px);
  margin: 0 auto;
  padding: 30px 0 20px;
}
.site-brand { display: inline-flex; width: 155px; color: var(--umico-blue); }
.site-brand__image { display: block; width: 155px; height: auto; mix-blend-mode: multiply; }
.site-nav { display: flex; align-items: center; gap: 24px; padding-top: 4px; font-family: var(--umico-font-en); font-size: 12px; }
.site-nav a { transition: opacity .2s ease, background .2s ease; }
.site-nav a:hover { opacity: .65; }
.site-nav__contact { padding: 7px 13px; color: var(--umico-paper); background: var(--umico-blue); }
.menu-toggle { display: none; }

.section-container { width: min(100% - 96px, 1300px); margin: 0 auto; }
.hero { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 55px; min-height: 590px; padding-top: 45px; padding-bottom: 82px; }
.hero__copy { padding-left: 50px; }
.hero h1 { margin: 0; font-family: var(--umico-font-en); font-size: clamp(58px, 8vw, 115px); font-weight: 100; font-variation-settings: "wght" 100; line-height: .98; letter-spacing: -.06em; }
.hero__small { margin: 0 0 35px auto; max-width: 92px; font-size: 8px; line-height: 1.25; }
.hero__visual { min-width: 0; }
.hero-art { position: relative; overflow: hidden; min-height: 310px; background: linear-gradient(115deg, #b7d1e8, #b7d1e8 55%, #c8dcef); background-size: 180% 180%; animation: sea-shift 10s ease-in-out infinite alternate; }
.hero-art::after { content: ""; position: absolute; inset: 0; opacity: .12; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 5px 5px; mix-blend-mode: screen; }
.hero-art__blob { position: absolute; z-index: 2; top: 48px; right: 10%; width: 48%; height: 72%; background: var(--umico-blue-dark); border-radius: 58% 42% 46% 54% / 46% 47% 53% 54%; transform: rotate(-18deg); box-shadow: -4px 0 0 rgba(162, 76, 186, .55); animation: blob-float 5s ease-in-out infinite; }
.hero-art__circle { position: absolute; z-index: 1; border: 1px solid rgba(54, 73, 242, .35); border-radius: 50%; }
.hero-art__circle--one { top: -95px; left: 18%; width: 270px; height: 270px; animation: orbit-one 12s ease-in-out infinite; }
.hero-art__circle--two { bottom: 25px; left: 7%; width: 30px; height: 30px; animation: orbit-two 6s ease-in-out infinite; }
.hero-art__circle--three { top: 25px; right: 7%; width: 38px; height: 38px; animation: orbit-two 7s ease-in-out infinite reverse; }
.hero-art__coordinates { position: absolute; z-index: 3; right: 12px; top: 115px; font-size: 7px; line-height: 1.2; writing-mode: vertical-rl; }
.eyebrow { margin: 0 0 70px; padding-top: 10px; border-top: 1px solid var(--umico-line); font-size: 9px; line-height: 1.2; }
.eyebrow--light { border-color: rgba(255,255,255,.6); color: #fff; }

.policy-section { padding-bottom: 112px; }
.policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; max-width: 1000px; margin: 0 auto; }
.policy-grid > div:first-child { display: flex; flex-direction: column; align-items: center; text-align: center; }
.policy-grid h2 { margin: 0; font-size: clamp(25px, 2.8vw, 36px); font-weight: 300; line-height: 1.45; }
.policy-grid .body-copy { font-size: 14px; line-height: 2.15; }
.wave-line { width: 245px; height: 45px; margin-top: 28px; border-top: 2px solid var(--umico-blue); border-radius: 50%; transform: rotate(-8deg); }
.body-copy { font-size: 12px; line-height: 2.15; }
.body-copy p { margin: 0 0 1.3em; }
.policy-wave { display: block; width: 185px; max-width: 100%; height: auto; margin-top: 23px; mix-blend-mode: multiply; animation: wave-line-float 4.5s ease-in-out infinite; }
.policy-caption { margin-top: 45px !important; font-family: var(--umico-font-en); font-size: 9px; line-height: 1.25; }

.works-preview { padding: 42px 0 66px; color: #fff; background: var(--umico-blue); }
.works-preview .eyebrow { margin-bottom: 60px; }
.works-preview__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work-card { min-width: 0; }
.work-card__link { display: block; }
.work-card__image { position: relative; overflow: hidden; aspect-ratio: 1.55 / 1; background: var(--umico-placeholder); }
.work-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.work-card__link:hover .work-card__img { transform: scale(1.035); }
.work-placeholder { display: block; width: 100%; height: 100%; background: var(--umico-placeholder); }
.work-card__info { position: relative; padding-top: 14px; }
.work-card__tag { display: inline-block; padding: 1px 10px; border: 1px solid currentColor; border-radius: 30px; font-size: 10px; line-height: 1.7; }
.work-card h2 { margin: 10px 22px 0 0; padding-top: 10px; border-top: 1px solid currentColor; font-size: 14px; font-weight: 400; line-height: 1.35; }
.work-card__arrow { position: absolute; right: 0; bottom: 2px; font-size: 17px; }
.works-preview .work-card__info { border-color: rgba(255,255,255,.75); }
.works-preview .work-card h2 { border-color: rgba(255,255,255,.75); }
.more-link { display: block; width: 150px; margin: 68px auto 0; padding: 12px 14px; color: var(--umico-blue); text-align: center; font-size: 13px; font-weight: 400; background: #fff; transition: transform .2s ease; }
.more-link:hover { transform: translateY(-3px); }
.more-link span { margin-left: 12px; }
.empty-state { grid-column: 1 / -1; padding: 50px 20px; text-align: center; color: var(--umico-blue); background: rgba(255,255,255,.45); }
.empty-state--light { color: #fff; background: rgba(255,255,255,.12); }

.service-section { padding-top: 92px; padding-bottom: 90px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 54px; max-width: 1050px; margin: 0 auto; }
.service-item strong { display: block; margin-bottom: 5px; font-size: 52px; line-height: 1; }
.service-item h2 { margin: 0 0 3px; font-size: 20px; font-weight: 300; line-height: 1.2; }
.service-item__label { margin: 0 0 15px; font-size: 10px; }
.service-item > p:last-child { margin: 0; font-size: 13px; line-height: 2; }
.service-item.reveal:nth-child(2) { transition-delay: .16s; }
.service-item.reveal:nth-child(3) { transition-delay: .32s; }
.profile-section { padding-bottom: 112px; }
.profile-card { display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 70px; max-width: 1150px; margin: 0 auto; padding: 40px 54px; border: 1px solid var(--umico-blue); border-radius: 22px; }
.profile-card__image { overflow: hidden; aspect-ratio: 1 / 1; background: #c5dbef; }
.profile-card__image img { width: 100%; height: 100%; object-fit: cover; }
.profile-placeholder { display: grid; place-items: center; width: 100%; height: 100%; font-size: 18px; line-height: 1.25; text-align: center; letter-spacing: .12em; }
.profile-card__copy h2 { margin: 0 0 14px; font-size: 21px; line-height: 1.2; }
.profile-card__copy p { margin: 0; font-size: 13px; line-height: 2.05; }
.profile-card__copy p + p { margin-top: 22px; }

.contact-section { position: relative; overflow: hidden; padding: 150px 0 38px; color: #fff; background: var(--umico-blue); }
.contact-wave { position: absolute; z-index: 0; top: 0; left: 0; width: 100%; height: 150px; overflow: hidden; pointer-events: none; }
.contact-wave svg { display: block; width: 110%; height: 100%; margin-left: -5%; animation: contact-wave-sway 4.8s ease-in-out infinite alternate; transform-origin: center top; }
.contact-wave path { fill: var(--umico-pale); }
.contact-section__inner { position: relative; z-index: 1; width: min(100% - 96px, 1300px); margin: 0 auto; text-align: center; }
.contact-section .eyebrow { margin-bottom: 45px; text-align: left; }
.contact-section h2 { margin: 0; font-size: clamp(52px, 7vw, 90px); font-weight: 300; line-height: 1; letter-spacing: -.05em; }
.contact-section__lead { margin: 38px 0 66px; font-size: 13px; line-height: 1.8; }
.contact-links { display: flex; justify-content: center; gap: 42px; }
.contact-link { display: grid; place-items: center; width: 160px; aspect-ratio: 1; color: var(--umico-blue); font-size: 15px; background: #fff; border-radius: 50%; transition: transform .2s ease; }
.contact-link:hover { transform: scale(1.04); }
.site-footer { display: flex; justify-content: flex-start; margin-top: 76px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.8); font-size: 9px; text-align: left; }

.page-shell { min-height: 400px; padding: 92px 0 165px; }
.works-page .eyebrow { margin-bottom: 68px; }
.work-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 34px; margin-bottom: 68px; }
.work-filter { min-width: 135px; padding: 12px 20px; color: var(--umico-blue); text-align: center; background: #fff; transition: color .2s ease, background .2s ease; }
.work-filter:hover, .work-filter.is-active { color: #fff; background: var(--umico-blue); }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px 38px; }
.detail-page { padding-bottom: 170px; }
.detail-page > .section-container { max-width: 1010px; }
.detail-hero-image { overflow: hidden; width: min(100%, 820px); aspect-ratio: 1.55 / 1; margin: 0 auto 34px; background: var(--umico-placeholder); }
.detail-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.detail-heading { width: min(100%, 820px); margin: 0 auto 58px; }
.detail-heading h1 { margin: 13px 0 0; font-size: 20px; font-weight: 300; line-height: 1.4; }
.detail-heading p { margin: 8px 0 0; font-size: 12px; }
.detail-copy { width: min(100%, 820px); margin: 0 auto; }
.detail-block { margin-bottom: 42px; }
.detail-block h2 { margin: 0 0 13px; padding-bottom: 6px; border-bottom: 1px solid var(--umico-line); font-size: 16px; font-weight: 400; }
.detail-block .body-copy { min-height: 24px; }
.detail-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 35px; width: min(100%, 820px); margin: 75px auto 0; }
.detail-gallery img { width: 100%; aspect-ratio: .78 / 1; object-fit: cover; background: var(--umico-placeholder); }
.detail-scroll-gallery { width: min(100%, 820px); margin: 75px auto 0; }
.detail-scroll-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 35px; }
.detail-scroll-image { flex: 0 1 calc((100% - 35px) / 2); width: calc((100% - 35px) / 2); margin: 0 0 75px; }
.detail-scroll-hint { margin: 0 0 12px; color: var(--umico-blue); font-size: 12px; text-align: center; }
.detail-scroll-hint span { display: inline-block; margin-left: 5px; font-size: 16px; animation: scroll-hint-bob 1.6s ease-in-out infinite; }
.detail-scroll-frame { overflow-y: auto; width: 100%; height: 465px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--umico-blue) rgba(54,73,242,.1); touch-action: pan-y; background: #fff; }
.detail-scroll-frame:focus-visible { outline: 2px solid var(--umico-blue); outline-offset: -3px; }
.detail-scroll-img { display: block; width: 100%; max-width: none; height: auto; }
.detail-external { width: min(100%, 820px); margin: 28px auto 58px; text-align: right; }
.detail-external a { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; color: #fff; font-family: var(--umico-font-en); font-size: 14px; font-weight: 400; background: var(--umico-blue); transition: transform .2s ease, opacity .2s ease; }
.detail-external a:hover { opacity: .82; transform: translateY(-3px); }
.detail-external span { margin-left: 0; font-size: 17px; }
.detail-back { width: min(100%, 820px); margin: 92px auto 0; text-align: center; }
.detail-back a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; color: var(--umico-blue); font-family: var(--umico-font-en); font-size: 13px; font-weight: 400; border: 1px solid var(--umico-blue); transition: color .2s ease, background .2s ease, transform .2s ease; }
.detail-back a:hover { color: #fff; background: var(--umico-blue); transform: translateY(-3px); }
.detail-back span { font-size: 17px; }
.protected-message { max-width: 540px; margin: 0 auto; text-align: center; }
.protected-message .eyebrow { text-align: left; }
.protected-message h1 { margin: 0 0 18px; font-size: clamp(32px, 5vw, 60px); font-weight: 300; line-height: 1; }
.post-password-form { margin: 35px auto 0; }
.post-password-form label { display: block; margin-bottom: 12px; font-size: 12px; }
.post-password-form input[type="password"] { width: 100%; padding: 12px; color: var(--umico-blue); background: #fff; border: 1px solid var(--umico-line); }
.post-password-form input[type="submit"] { margin-top: 14px; padding: 12px 25px; color: #fff; background: var(--umico-blue); border: 0; cursor: pointer; }
.generic-page { max-width: 900px; }

/* Contact Form 7: keep the form centered while labels remain easy to scan. */
.generic-page .wpcf7 { width: min(100%, 560px); margin: 48px auto 0; text-align: left; }
.generic-page .wpcf7-form > p { margin: 0 0 24px; }
.generic-page .wpcf7-form label { display: block; }
.generic-page .wpcf7-form-control-wrap { display: block; margin-top: 7px; }
.generic-page .wpcf7-form-control:not(.wpcf7-submit) { box-sizing: border-box; width: 100%; padding: 11px 12px; color: var(--umico-blue); font: inherit; background: #fff; border: 1px solid var(--umico-line); }
.generic-page .wpcf7-form textarea.wpcf7-form-control { min-height: 220px; resize: vertical; }
.generic-page .wpcf7-form input[type="submit"].wpcf7-submit { display: block; margin: 30px auto 0; padding: 11px 28px; color: #fff; font: inherit; background: var(--umico-blue); border: 0; cursor: pointer; transition: transform .2s ease, opacity .2s ease; }
.generic-page .wpcf7-form input[type="submit"].wpcf7-submit:hover { opacity: .82; transform: translateY(-2px); }

.reveal { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s ease; }
.has-js .reveal { opacity: 0; transform: translateY(22px); }
.has-js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.work-card.reveal { transition-delay: .08s; }
@keyframes blob-float {
  0%, 100% { transform: rotate(-18deg) translate3d(0, 0, 0); }
  50% { transform: rotate(-8deg) translate3d(-18px, -16px, 0) scale(1.04); }
}
@keyframes sea-shift {
  from { background-position: 0% 45%; }
  to { background-position: 100% 55%; }
}
@keyframes orbit-one {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(20px, 15px, 0) rotate(12deg); }
}
@keyframes orbit-two {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(14px, -12px, 0) scale(1.18); }
}
@keyframes wave-line-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg); }
  50% { transform: translate3d(12px, -8px, 0) rotate(3deg) scaleX(1.06); }
}
@keyframes contact-wave-sway {
  0% { transform: translate3d(-2%, 8px, 0) scaleY(.92); }
  100% { transform: translate3d(2%, -10px, 0) scaleY(1.12); }
}
@keyframes scroll-hint-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@media (max-width: 800px) {
  .site-header, .section-container, .contact-section__inner { width: min(100% - 42px, 620px); }
  .site-header { align-items: center; padding-top: 20px; }
  .site-brand { width: 125px; }
  .site-brand__image { width: 125px; }
  .menu-toggle { position: relative; z-index: 11; display: grid; gap: 4px; width: 34px; padding: 7px 0; background: transparent; border: 0; cursor: pointer; }
  .menu-toggle span:not(.screen-reader-text) { display: block; width: 100%; height: 1px; background: currentColor; }
  .site-nav { position: absolute; z-index: 10; top: 0; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 82px 30px 28px; background: var(--umico-pale); box-shadow: 0 10px 30px rgba(0,0,0,.06); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--umico-line); }
  .site-nav__contact { padding: 12px; margin-top: 12px; text-align: center; }
  .hero { display: block; min-height: auto; padding-top: 65px; padding-bottom: 90px; }
  .hero__copy { padding-left: 0; }
  .hero__small { margin: 0 0 22px; }
  .hero h1 { font-size: clamp(58px, 18vw, 100px); }
  .hero__visual { margin-top: 62px; }
  .hero-art { min-height: 240px; }
  .eyebrow { margin-bottom: 46px; }
  .policy-grid, .service-grid { grid-template-columns: 1fr; gap: 38px; }
  .policy-grid { max-width: 420px; }
  .policy-section { padding-bottom: 80px; }
  .works-preview__grid, .works-grid { grid-template-columns: 1fr; gap: 42px; }
  .works-preview { padding-bottom: 55px; }
  .service-section { padding: 75px 0; }
  .service-grid { gap: 48px; }
  .profile-section { padding-bottom: 78px; }
  .profile-card { grid-template-columns: 1fr; gap: 30px; padding: 25px; border-radius: 15px; }
  .profile-card__image { width: min(100%, 220px); }
  .contact-section { padding-top: 125px; }
  .contact-wave { height: 120px; }
  .contact-section h2 { font-size: 58px; }
  .contact-links { gap: 18px; }
  .contact-link { width: 128px; font-size: 12px; }
  .page-shell { padding-top: 65px; padding-bottom: 90px; }
  .work-filters { gap: 12px; margin-bottom: 52px; }
  .work-filter { min-width: calc(50% - 8px); padding: 10px 8px; font-size: 12px; }
  .detail-gallery { gap: 15px; margin-top: 50px; }
  .detail-scroll-items { gap: 30px; }
  .detail-scroll-image { flex-basis: 100%; width: 100%; margin-bottom: 30px; }
  .detail-scroll-frame { height: 430px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .has-js .reveal, .has-js .reveal.is-visible { opacity: 1; transform: none; }
}
