:root{--ink:#1d1d1f;--muted:#77777c;--blue:#0071e3;--paper:#fafafa;--line:#e5e5e7;--radius:28px;font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0}body.modal-open{overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;border:0;cursor:pointer}button:disabled{cursor:default;opacity:.3}img{max-width:100%;height:auto;display:block}h1,h2,h3,p{margin:0}button:focus-visible,a:focus-visible{outline:3px solid var(--blue);outline-offset:5px}button,a{touch-action:manipulation}.wrap{width:min(1120px,calc(100% - 80px));margin-inline:auto}.skip-link{position:fixed;top:-70px;left:20px;z-index:100;padding:14px;background:white;border:2px solid var(--blue)}.skip-link:focus{top:10px}.site-header{position:sticky;top:0;z-index:20;background:rgba(250,250,250,.82);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border-bottom:1px solid rgba(0,0,0,.065)}.nav{height:70px;display:flex;justify-content:space-between;align-items:center}.wordmark{font-size:23px;font-weight:750;letter-spacing:-1px;display:inline-flex;align-items:center;gap:7px}.brand-icon{font-size:31px;line-height:1;display:inline-block;margin-right:3px}.brand-dot{margin-left:-6px;color:var(--blue)}.nav-links{display:flex;align-items:center;gap:35px;font-size:12px;font-weight:500}.nav-links a{padding:12px 0;color:#57575c;transition:color .2s}.nav-links a:hover,.nav-links a.is-active{color:var(--blue)}.nav-links .nav-about{border-left:1px solid var(--line);padding-left:30px}.nav-about span{margin-left:9px}
.eyebrow{font-size:10px;line-height:1.5;letter-spacing:2px;font-weight:650;color:#6b6b73}.pill{display:inline-flex;align-items:center;justify-content:center;gap:20px;padding:13px 22px;border-radius:99px;font-size:13px;font-weight:500;transition:background .2s,transform .2s}.primary{background:var(--blue);color:white}.primary:hover{background:#0077ed;transform:translateY(-2px)}
.section-pad{padding:106px 0}.work-section{background:#fff}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:43px}.section-heading .eyebrow{margin-bottom:20px}h2{font-size:45px;line-height:1.22;letter-spacing:-2px;font-weight:700}h2 span{color:#86868b}.section-description{font-size:14px;color:#77777c;line-height:1.8;padding-bottom:5px;letter-spacing:-.25px}.project-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.project-card{border-radius:var(--radius);overflow:hidden;position:relative;background:#f5f5f7;isolation:isolate}.card-copy{padding:35px 36px 0;position:relative;z-index:2}.card-kicker{font-size:10px;font-weight:700;letter-spacing:1.6px;display:flex;align-items:center;gap:7px}.color-dot{width:6px;height:6px;border-radius:50%;display:inline-block}.pink{background:#e887a1}.blue{background:#6e9bde}.brown{background:#997b67}.card-category{margin-left:auto;font-size:8px;font-weight:500;letter-spacing:1.2px;color:#818189}.card-copy h3{margin-top:22px;font-size:33px;line-height:1.22;letter-spacing:-1.4px}.card-copy p{margin-top:15px;font-size:13px;color:#707078;line-height:1.8;letter-spacing:-.2px}.card-actions{display:flex;gap:23px;align-items:center;margin-top:23px}.text-button{background:transparent;color:var(--blue);font-size:12px;font-weight:600;padding:0;display:inline-flex;align-items:center;gap:9px;line-height:1.8}.text-button:hover{text-decoration:underline;text-underline-offset:4px}.subtle-link{color:#73737b;font-size:11px;display:inline-flex;gap:5px;align-items:center}.subtle-link:hover{color:var(--blue)}.kyaang-card{grid-column:1/-1;display:grid;grid-template-columns:38% 62%;min-height:440px;background:linear-gradient(115deg,#f4f4f8,#eeedf4)}.kyaang-card .card-copy{padding:40px 0 36px 38px}.kyaang-card h3{font-size:36px;margin-top:29px}.kyaang-card .card-category{display:none}.tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:35px}.tags span{font-size:9px;color:#83818b;padding:6px 9px;border:1px solid #dcdce3;border-radius:6px}.card-visual{display:block;padding:0;background:transparent;position:relative;width:100%;overflow:hidden}.kyaang-visual{overflow:visible;align-self:stretch}.browser-frame{display:block;border:1px solid #ffffffc9;border-radius:12px;overflow:hidden;box-shadow:0 16px 40px #3a264d1c;background:white}.kyaang-visual .browser-frame{width:94%;position:absolute;top:90px;left:5%;transform:rotate(-3deg);transition:transform .6s}.browser-bar{display:flex;gap:4px;padding:9px 11px;align-items:center;background:#faf9fc;position:relative}.browser-bar i{display:block;height:5px;width:5px;border-radius:50%;background:#d9d6dd}.browser-bar i:first-child{background:#eda6a3}.browser-bar i:nth-child(2){background:#e6d08d}.browser-bar i:nth-child(3){background:#a0ccab}.browser-bar>span{position:absolute;left:40%;font-size:7px;color:#99969e}.detail-float{position:absolute;display:block;bottom:35px;right:30px;width:25%;border:4px solid #fbf9fc;border-radius:14px;overflow:hidden;box-shadow:0 16px 36px #4a304c26;transform:rotate(5deg);transition:transform .6s}.kyaang-visual:hover .browser-frame{transform:rotate(-1deg) translateY(-6px)}.kyaang-visual:hover .detail-float{transform:rotate(2deg) translateY(-6px)}.round-plus{position:absolute;right:19px;bottom:18px;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#fffdfdce;backdrop-filter:blur(10px);box-shadow:0 2px 8px #00000009;color:#4f4f57;font-size:23px;font-weight:300;z-index:3;transition:background .2s,transform .3s}.card-visual:hover .round-plus,.post-preview:hover .round-plus{background:#fff;transform:rotate(90deg)}.kyaang-visual>.round-plus{right:20px;bottom:19px}.bomsei-card{background:#edf3fc}.moolchoco-card{background:#f1eeeb}.compact-visual{padding:32px 33px 0;height:340px;text-align:left}.compact-visual>img{width:100%;border-radius:10px 10px 0 0;box-shadow:0 12px 32px #26324a19;transition:transform .5s;object-fit:cover;object-position:top}.compact-visual:hover>img{transform:translateY(-7px)}.moolchoco-card .compact-visual>img{border-radius:17px;box-shadow:none}.default-card{grid-column:1/-1;display:grid;grid-template-columns:40% 60%;background:#f6f5f4;min-height:320px}.default-card .card-copy{padding:32px 0 35px 36px}.default-card h3{font-size:29px}.default-card .text-button{margin-top:20px}.default-card .card-category{display:none}.default-visual{padding:38px 0 0 20px;align-self:stretch;overflow:hidden}.default-visual img{width:110%;max-width:none;position:relative;top:12px;border:5px solid white;border-radius:10px;transform:rotate(-5deg);box-shadow:0 12px 30px #513b3b14;transition:transform .5s}.default-visual:hover img{transform:rotate(-3deg) translateY(-5px)}
.soop-section{background:#f5f5f7}.soop-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.soop-card{position:relative;border-radius:var(--radius);background:#fff;overflow:hidden}.soop-copy{padding:35px 34px 0}.mini-label{font-size:9px;letter-spacing:1.8px;color:#a0808b;font-weight:600}.soop-copy h3{margin-top:15px;font-size:27px;letter-spacing:-1.2px;line-height:1.4}.soop-copy p{font-size:12px;color:#808086;line-height:1.7;margin-top:11px}.soop-copy .text-button{margin-top:18px}.post-preview{width:100%;height:430px;display:block;margin-top:25px;padding:26px 60px 0;position:relative;overflow:hidden;background:linear-gradient(180deg,#fff,#fcf6f8)}.post-preview>img{width:100%;border-radius:15px 15px 0 0;box-shadow:0 3px 30px #6e395613;border:1px solid #f6f0f2;transition:transform .6s}.post-preview:hover>img{transform:translateY(-18px)}.post-preview:after{content:"";position:absolute;inset:auto 0 0;height:85px;background:linear-gradient(transparent,#fcf6f8);pointer-events:none}.profile-card .post-preview{background:linear-gradient(#fff,#f8f5f9);padding-inline:45px}.profile-card .post-preview:after{background:linear-gradient(transparent,#f8f5f9)}.soop-note{font-size:10px;color:#939398;text-align:center;margin-top:25px}.about-section{text-align:center;padding-top:104px;padding-bottom:108px}.about-icon{font-size:45px;color:#5b5b63;margin-bottom:24px}.about-section .eyebrow{font-size:9px}.about-section h2{margin-top:23px;font-size:43px;line-height:1.25}.about-section>p:not(.eyebrow){font-size:14px;color:#85858a;line-height:1.85;margin-top:23px}.about-section .text-button{margin-top:27px}.site-footer{background:#f2f2f4}.footer-inner{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-inner .wordmark{font-size:20px}.footer-inner p,.footer-inner>a:last-child{font-size:10px;color:#8b8b91}.footer-inner>a:last-child{padding:10px 0}.footer-inner>a:last-child span{margin-left:9px}
.project-dialog{width:min(1100px,calc(100% - 48px));max-height:calc(100dvh - 64px);padding:0;border:0;border-radius:24px;color:var(--ink);background:#fafafa;box-shadow:0 30px 100px #0004;overscroll-behavior:contain}.project-dialog::backdrop{background:#16162085;backdrop-filter:blur(12px)}.dialog-header{padding:28px 32px 21px;display:flex;justify-content:space-between;gap:20px}.dialog-header h2{font-size:30px;letter-spacing:-1px;margin-top:7px}.dialog-header .eyebrow{font-size:9px}.dialog-header p:last-child{font-size:12px;color:#77777c;line-height:1.7;margin-top:9px}.icon-button{width:36px;height:36px;border-radius:50%;background:#eaeaec;display:grid;place-items:center;flex-shrink:0;font-size:19px}.icon-button:hover:not(:disabled){background:#dedee2}.dialog-close{font-size:27px;position:sticky;top:15px}.gallery-tabs{display:flex;gap:7px;padding:0 32px 19px;overflow-x:auto}.gallery-tabs button{white-space:nowrap;padding:8px 14px;border-radius:99px;background:#eeeef0;color:#74747b;font-size:11px}.gallery-tabs button[aria-pressed="true"]{background:var(--ink);color:white}.gallery-stage{margin:0 22px;background:#eeeef1;border-radius:13px;min-height:150px;max-height:57dvh;overflow:auto;overscroll-behavior:contain;position:relative}.gallery-stage>img{margin:auto;width:100%;object-fit:contain}.gallery-stage.is-portrait>img{width:min(100%,460px)}.gallery-stage.is-profile>img{width:min(100%,680px)}.gallery-stage.is-portrait{max-height:57dvh}.gallery-error{padding:35px;font-size:13px;color:#666}.gallery-footer{padding:20px 30px;display:flex;justify-content:space-between;align-items:center;gap:14px}.gallery-navigation,.gallery-links{display:flex;gap:14px;align-items:center}#gallery-count{font-size:11px;color:#78787e;min-width:35px;text-align:center}.gallery-links .pill{font-size:11px;padding:10px 16px;gap:6px}[hidden]{display:none!important}.reveal{opacity:1;transform:none}.motion-ready .reveal{opacity:0;transform:translateY(25px);transition:opacity .75s,transform .75s}.motion-ready .reveal.is-visible{opacity:1;transform:translateY(0)}
@media(max-width:1000px){.wrap{width:calc(100% - 56px)}h1{font-size:65px}.hero-phone{border-radius:24px}.hero-phone img{border-radius:18px}.section-heading h2{font-size:37px}.section-description{font-size:12px}.kyaang-card{grid-template-columns:40% 60%;min-height:400px}.kyaang-card h3{font-size:30px}.card-copy{padding:29px 26px 0}.kyaang-card .card-copy{padding:34px 0 32px 29px}.card-copy p{font-size:12px}.card-copy h3{font-size:29px}.kyaang-visual .browser-frame{top:105px}.detail-float{bottom:40px;width:28%}.compact-visual{height:290px;padding:30px 25px 0}.default-card .card-copy{padding-left:29px}.default-card h3{font-size:26px}.default-visual{padding-top:65px}.soop-copy{padding-inline:27px}.soop-copy h3{font-size:23px}.post-preview{padding-inline:40px;height:375px}.profile-card .post-preview{padding-inline:30px}}
@media(max-width:700px){html{scroll-padding-top:78px}.wrap{width:calc(100% - 40px)}.nav{height:62px}.wordmark{font-size:20px}.brand-icon{font-size:27px}.nav-links{gap:20px;font-size:11px}.nav-links .nav-about{display:none}.hero-copy{padding-top:60px}h1{font-size:clamp(38px,8.3vw,55px);letter-spacing:-2.4px;margin-top:21px}.eyebrow{font-size:9px;letter-spacing:1.4px}.hero-description{font-size:13px;line-height:1.8;margin:20px 0 23px}.pill{font-size:12px;padding:12px 20px}.hero-showcase{width:calc(100% - 16px);padding-top:43px;padding-bottom:30px}.hero-device{width:92%;margin-left:0}.laptop-screen{border-radius:10px 10px 0 0;padding:11px 4px 6px;border-width:1px}.camera{top:4px;width:3px;height:3px}.laptop-base{height:10px}.laptop-base:before{height:3px}.hero-phone{width:19%;right:3%;bottom:48px;padding:3px;border-width:1px;border-radius:16px}.hero-phone img{border-radius:12px}.phone-island{height:5px;top:7px}.hero-caption{margin-top:22px;margin-left:7%;font-size:8px;gap:6px}.caption-number{font-size:6px;letter-spacing:.8px;margin-left:3px}.caption-line{width:16px}.hero-bottom{padding:17px 0;gap:10px}.hero-bottom>span:first-child{font-size:7px;letter-spacing:1px}.hero-bottom>span:nth-child(2){font-size:8px}.hero-bottom a{padding:0 5px;font-size:17px}.section-pad{padding:66px 0}.section-heading{display:block;margin-bottom:29px}.section-heading .eyebrow{margin-bottom:16px}.section-heading h2{font-size:34px;letter-spacing:-1.7px}.section-description{margin-top:19px;font-size:12px;line-height:1.8}.project-grid,.soop-grid{grid-template-columns:1fr;gap:18px}.project-card,.soop-card{border-radius:22px}.kyaang-card,.default-card{grid-template-columns:1fr}.kyaang-card .card-copy{padding:29px 27px 0}.kyaang-card h3{font-size:31px;margin-top:21px}.card-copy h3{font-size:31px}.card-copy{padding:29px 27px 0}.card-copy p{font-size:12px}.card-actions{margin-top:19px;gap:24px}.tags{margin-top:20px}.kyaang-visual{height:265px;overflow:hidden}.kyaang-visual .browser-frame{top:45px;left:6%;width:92%}.detail-float{width:23%;bottom:15px;right:25px;border-width:3px;border-radius:9px}.compact-visual{height:300px;padding:28px 25px 0}.moolchoco-card .compact-visual{height:auto;padding-bottom:27px}.default-card .card-copy{padding:29px 27px 0}.default-card h3{font-size:29px}.default-visual{padding:20px 10px 0 27px;height:225px}.default-visual img{width:110%;top:20px}.soop-copy{padding:29px 27px 0}.soop-copy h3{font-size:24px}.post-preview{height:385px;padding-inline:40px;margin-top:16px}.profile-card .post-preview{padding-inline:33px}.soop-note{font-size:9px}.about-section{padding-top:70px;padding-bottom:72px}.about-section h2{font-size:32px;letter-spacing:-1.4px}.about-section>p:not(.eyebrow){font-size:12px}.about-section .eyebrow{font-size:8px;letter-spacing:1.2px}.about-icon{font-size:37px}.footer-inner{flex-wrap:wrap;padding-block:24px;gap:15px}.footer-inner p{order:3;width:100%;font-size:9px}.footer-inner>a:last-child{font-size:10px}.project-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 24px);border-radius:18px}.dialog-header{padding:22px 20px 18px}.dialog-header h2{font-size:25px}.dialog-header p:last-child{font-size:11px}.gallery-tabs{padding:0 20px 15px}.gallery-tabs button{font-size:10px;padding:8px 12px}.gallery-stage{margin-inline:10px;max-height:53dvh}.gallery-stage.is-portrait{max-height:53dvh}.gallery-footer{padding:16px 15px;gap:10px}.gallery-navigation,.gallery-links{gap:9px}.gallery-navigation .icon-button{width:30px;height:30px;font-size:16px}.gallery-links .pill{font-size:10px;padding:9px 12px}.gallery-links .subtle-link{font-size:10px}.gallery-count{font-size:10px}}
@media(max-width:370px){.wrap{width:calc(100% - 32px)}.nav-links{gap:13px}.nav-links a{font-size:10px}h1{font-size:37px}.hero-description{font-size:12px}.hero-bottom>span:nth-child(2){display:none}.kyaang-visual{height:230px}.compact-visual{height:270px}.card-copy p br{display:none}.soop-copy h3{font-size:22px}.gallery-links{gap:6px}.gallery-footer{padding-inline:10px;gap:5px}.gallery-navigation{gap:5px}.gallery-links .pill{padding-inline:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}.motion-ready .reveal{opacity:1;transform:none}}

/* The work collection is the landing section. */
.nav-links { font-size: 14px; }
@media (max-width: 700px) { .nav-links { font-size: 12px; } }
.section-heading .eyebrow {
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 700;
  letter-spacing: 1.6px;
  color: #515158;
}
.selfie-section { background: #fff; }
.development-badge { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; padding: 9px 13px; border-radius: 99px; background: #fff5df; color: #8b641b; font-size: 11px; }
.development-badge > span { width: 5px; height: 5px; border-radius: 50%; background: #c19136; }
.selfie-overview { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.selfie-overview > p { color: #77777c; font-size: 14px; line-height: 1.85; }
.selfie-overview .pill { flex-shrink: 0; }
.selfie-designs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.selfie-design { padding: 28px; border-radius: 22px; background: #f5f5f7; min-width: 0; }
.selfie-number { display: block; color: #b6b6be; font-size: 30px; font-weight: 500; letter-spacing: -1px; margin-bottom: 32px; }
.selfie-design .eyebrow { font-size: 8px; letter-spacing: 1.4px; }
.selfie-design h3 { font-size: 22px; letter-spacing: -.8px; margin-top: 10px; line-height: 1.35; word-break: keep-all; }
@media (max-width: 1000px) {
  .selfie-designs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .selfie-overview { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 700px) {
  .nav { height: auto; min-height: 62px; flex-wrap: wrap; column-gap: 20px; row-gap: 4px; padding-block: 10px; }
  .nav-links { flex-wrap: wrap; }
  .selfie-section .section-heading { margin-bottom: 22px; }
  .selfie-section .development-badge { margin-top: 20px; }
  .selfie-overview > p { font-size: 12px; }
  .selfie-designs { gap: 12px; }
  .selfie-design { padding: 22px 18px; border-radius: 18px; }
  .selfie-design h3 { font-size: 19px; }
  .selfie-number { font-size: 25px; margin-bottom: 25px; }
}
.brand-logo { width: 42px; height: 42px; object-fit: contain; flex-shrink: 0; }
.footer-inner .brand-logo { width: 36px; height: 36px; }
.about-logo { width: 100px; height: 100px; object-fit: contain; margin: 0 auto 24px; }
@media (max-width: 700px) {
  .nav .brand-logo { width: 34px; height: 34px; }
  .about-logo { width: 84px; height: 84px; }
}
.soop-copy .card-actions .text-button { margin-top: 0; }
.section-heading h1 {
  margin: 0;
  font-size: 45px;
  line-height: 1.22;
  letter-spacing: -2px;
  font-weight: 700;
}
.section-heading h1 span { color: #86868b; }
.kyaang-card { grid-template-rows: minmax(440px, auto) auto; }
.kyaang-mobile {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0 38px;
  padding: 36px 0 42px;
  border-top: 1px solid #dad9e2;
}
.mobile-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}
.mobile-heading h4 {
  margin: 12px 0 0;
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -1px;
}
.mobile-heading > p { font-size: 12px; line-height: 1.8; color: #77777f; }
.phone-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 4vw, 55px);
  width: min(800px, 100%);
  margin: 0 auto;
}
.phone-item { min-width: 0; margin: 0; text-align: center; }
.phone-frame {
  position: relative;
  display: block;
  width: 100%;
  max-width: 230px;
  margin: 0 auto;
  padding: clamp(3px, .6vw, 6px);
  border: 2px solid #737178;
  border-radius: 16% / 7.5%;
  background: #171719;
  box-shadow: inset 0 0 0 1px #aaa8af, 0 16px 28px -12px #29222e45;
  transition: transform .4s, box-shadow .4s;
}
.phone-frame img { width: 100%; border-radius: 13% / 6%; }
.device-island {
  position: absolute;
  top: 3%;
  left: 36%;
  width: 28%;
  height: 2.6%;
  border-radius: 99px;
  background: #171719;
  pointer-events: none;
}
.phone-item figcaption { margin-top: 20px; color: #727079; font-size: 11px; }
.phone-item figcaption span { margin-right: 7px; color: #9d9aa4; font-size: 9px; }
@media (hover: hover) {
  .phone-frame:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px #aaa8af, 0 24px 36px -14px #29222e55; }
}
.gallery-stage.is-phone { padding: 20px; }
.gallery-stage.is-phone > img {
  width: min(260px, 22dvh, 100%);
  padding: 5px;
  border: 2px solid #737178;
  border-radius: 30px;
  background: #171719;
  box-shadow: 0 12px 25px -10px #29222e55;
}
@media (max-width: 1000px) {
  .section-heading h1 { font-size: 37px; }
  .kyaang-card { grid-template-rows: minmax(400px, auto) auto; }
  .kyaang-mobile { margin-inline: 29px; }
}
@media (max-width: 700px) {
  .section-heading h1 { font-size: 34px; letter-spacing: -1.7px; }
  .kyaang-card { grid-template-rows: auto 265px auto; }
  .kyaang-mobile { margin-inline: 16px; padding: 27px 0 30px; }
  .mobile-heading { display: block; margin: 0 11px 25px; }
  .mobile-heading h4 { font-size: 23px; }
  .mobile-heading > p { margin-top: 10px; font-size: 11px; }
  .phone-grid { gap: 11px; }
  .phone-frame { border-width: 1px; box-shadow: 0 10px 18px -8px #29222e40; }
  .phone-item figcaption { margin-top: 13px; font-size: 9px; }
  .phone-item figcaption span { display: block; margin: 0 0 4px; font-size: 8px; }
  .gallery-stage.is-phone > img { border-radius: 25px; }
}
@media (max-width: 370px) {
  .kyaang-card { grid-template-rows: auto 230px auto; }
  .phone-grid { gap: 8px; }
  .kyaang-mobile { margin-inline: 12px; }
}

/* Fit the complete image between the dialog controls at every viewport size. */
.project-dialog {
  height: min(860px, calc(100dvh - 48px));
  max-height: calc(100dvh - 48px);
  overflow: hidden;
}
.project-dialog[open] { display: flex; flex-direction: column; }
.dialog-header, .gallery-tabs, .gallery-footer { flex-shrink: 0; }
.gallery-stage,
.gallery-stage.is-portrait {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-height: 0;
  max-height: none;
  min-width: 0;
  overflow: hidden;
}
.gallery-stage > #gallery-image {
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  flex-shrink: 0;
  margin: 0;
}
.gallery-stage.is-phone { padding: 16px; }
@media (max-width: 700px) {
  .project-dialog {
    height: calc(100dvh - 24px);
    max-height: calc(100dvh - 24px);
  }
  .gallery-stage.is-phone { padding: 12px; }
}
@media (max-height: 500px) {
  .dialog-header { padding: 12px 20px; }
  .dialog-header h2 { font-size: 21px; margin-top: 3px; }
  .dialog-header p:last-child { margin-top: 4px; font-size: 11px; }
  .gallery-tabs { padding-bottom: 10px; }
  .gallery-footer { padding-block: 10px; }
  .gallery-stage.is-phone { padding: 6px; }
}

.about-contact {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin: 22px auto 0;
  padding: 13px 19px;
  border: 1px solid #d8d8dc;
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 7px 24px #0000000a;
  color: #55555c;
  font-size: 12px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.about-contact span { color: #1d1d1f; font-weight: 650; }
.about-contact i { color: #c3c3c8; font-style: normal; }
.about-contact strong { min-width: 0; font-weight: 500; overflow-wrap: anywhere; }
.about-contact b { color: var(--blue); font-size: 14px; font-weight: 500; }
.about-contact:hover {
  border-color: #a9c9ea;
  box-shadow: 0 10px 28px #0071e314;
  transform: translateY(-2px);
}
.about-section .about-contact + .text-button { margin-top: 21px; }
@media (max-width: 700px) {
  .about-contact {
    gap: 8px;
    padding: 12px 15px;
    font-size: 11px;
  }
  .about-contact b { display: none; }
}

.nav-links .nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 99px;
  background: #1d1d1f;
  color: #fff;
  line-height: 1;
  transition: color .2s, background .2s, transform .2s;
}
.nav-contact svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-links .nav-contact:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-1px);
}
@media (max-width: 700px) {
  .nav-links .nav-contact {
    gap: 5px;
    padding: 8px 11px;
  }
  .nav-contact svg { width: 13px; height: 13px; }
}
