@font-face {
  font-family: "Kluayhom";
  src: url("assets/KluayhomBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #39272e;
  --muted: #80666e;
  --paper: #fff8f8;
  --cream: #ffe7e7;
  --rose: #ff9999;
  --rose-soft: #ffd1d1;
  --rose-deep: #a44961;
  --ruby-dark: #4a2c37;
  --lavender: #c7b9d8;
  --line: rgba(48, 41, 52, .14);
  --heading-font: "Kluayhom", "Sarabun", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Noto Sans Thai", sans-serif; line-height: 1.7; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.ambient { position: fixed; width: 30rem; height: 30rem; border-radius: 50%; filter: blur(80px); opacity: .22; pointer-events: none; z-index: -1; }
.ambient-one { top: -12rem; right: -8rem; background: #ff9999; }
.ambient-two { bottom: -15rem; left: -12rem; background: #ffd1d1; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section-pad { padding-block: 110px; }
.identity-gateway { min-height: 72svh; display: grid; grid-template-columns: 1fr minmax(360px,540px) 1fr; align-items: center; position: relative; overflow: hidden; background: linear-gradient(90deg,#ff9999 0 49.9%,#4a2c37 50.1% 100%); }
.identity-gateway::before { content: ""; position: absolute; width: 34rem; height: 34rem; border-radius: 50%; background: #fff1f1; filter: blur(100px); opacity: .28; left: -10rem; bottom: -12rem; }
.identity-gateway::after { content: ""; position: absolute; inset-block: 0; width: 50%; left: 50%; background: rgba(255,153,153,.72); z-index: 4; pointer-events: none; transition: left .45s ease, background .45s ease, opacity .45s ease; }
.identity-gateway.selected-ruby::after { left: 0; background: rgba(255,209,209,.74); }
.identity-choice { appearance: none; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; height: 100%; min-height: 72svh; display: flex; flex-direction: column; justify-content: center; padding: 7vw; position: relative; z-index: 2; cursor: pointer; }
.identity-choice strong { font: clamp(3.3rem,5.4vw,6.3rem)/.95 "DM Serif Display",serif; letter-spacing: -.045em; }
.identity-choice strong span { color: var(--rose-deep); }
.identity-choice p { font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.identity-choice small { margin-top: 36px; width: max-content; border-bottom: 1px solid currentColor; padding-bottom: 4px; opacity: .72; }
.identity-choice b { font-size: 1.2rem; }
.identity-kicker { font-size: .67rem; letter-spacing: .2em; margin-bottom: 20px; opacity: .6; }
.identity-ruby { color: white; text-align: right; align-items: flex-end; }
.identity-ruby-logo { display: block; width: min(560px,108%); max-width: none; height: auto; object-fit: contain; transition: transform .3s ease; }
.identity-ruby p { color: #f5d650; }
.identity-portraits { height: 66svh; align-self: end; display: flex; align-items: flex-end; justify-content: center; gap: 0; position: relative; z-index: 3; }
.identity-image-button { appearance: none; border: 0; padding: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.identity-photo:active { transform: translateX(5%) scale(.975); }
.identity-avatar:active { transform: translateX(-5%) scale(.975); }
.identity-photo, .identity-avatar { width: 52%; height: 78%; overflow: hidden; position: relative; filter: drop-shadow(0 22px 35px rgba(26,19,29,.24)); }
.identity-photo { border-radius: 48% 8% 0 0 / 35% 8% 0 0; transform: translateX(5%); }
.identity-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.identity-avatar { transform: translateX(-5%); overflow: visible; }
.identity-avatar img { width: 115%; height: 100%; object-fit: contain; object-position: bottom; }
.gateway-scroll { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); color: white; font-size: .6rem; letter-spacing: .25em; z-index: 5; mix-blend-mode: difference; }
.identity-choice:hover strong { transform: translateY(-4px); }
.identity-ruby:hover .identity-ruby-logo { transform: translateY(-4px); }
.identity-choice strong { transition: transform .3s ease; }
.identity-choice::after { content: ""; position: absolute; height: 4px; width: 0; bottom: 0; transition: width .35s ease; }
.identity-personal::after { right: 0; background: var(--rose-deep); }
.identity-ruby::after { left: 0; background: #f5d650; }
.identity-choice.is-selected::after { width: 100%; }
.identity-choice, .identity-photo, .identity-avatar { transition: opacity .45s ease, filter .45s ease; }
.identity-photo, .identity-avatar { transition: opacity .45s ease, filter .45s ease, transform .18s ease; }
.identity-gateway.selected-personal .identity-ruby,
.identity-gateway.selected-personal .identity-avatar,
.identity-gateway.selected-ruby .identity-personal,
.identity-gateway.selected-ruby .identity-photo { opacity: .18; filter: grayscale(.75); }
.profile-panel { display: none; }
.profile-panel.is-active { display: block; animation: profile-in .45s ease both; }
@keyframes profile-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.site-header { width: min(1240px, calc(100% - 48px)); height: 92px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 10; }
.wordmark { font: 2rem/1 "DM Serif Display", serif; }
.wordmark span { color: var(--rose-deep); }
nav { display: flex; gap: 30px; align-items: center; font-size: .88rem; }
nav a { transition: color .2s; }
nav a:hover { color: var(--rose-deep); }
.nav-profile-switch { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.nav-profile-switch:hover { color: var(--rose-deep); }
.nav-cta { border: 1px solid var(--ink); border-radius: 100px; padding: 10px 19px; }
.menu-button { display: none; border: 0; background: transparent; font: inherit; }
.hero { min-height: auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; padding-block: 48px 100px; }
.eyebrow, .section-label { font-size: .73rem; font-weight: 600; letter-spacing: .18em; color: var(--rose-deep); }
h1, h2 { font-family: var(--heading-font); font-weight: 700; line-height: 1.28; margin: 20px 0; }
h1 { font-size: clamp(3.4rem, 5vw, 4.8rem); letter-spacing: -.035em; }
h1 em { color: var(--rose-deep); font-weight: 400; }
.heading-accent { color: var(--rose-deep); }
.hero-intro { max-width: 620px; color: var(--muted); font-size: 1.04rem; }
.hero-actions, .contact-actions { display: flex; gap: 28px; align-items: center; margin-top: 36px; flex-wrap: wrap; }
.button { display: inline-flex; padding: 13px 23px; border-radius: 100px; align-items: center; justify-content: center; transition: transform .25s, box-shadow .25s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--ink); box-shadow: 0 12px 35px rgba(48,41,52,.16); }
.text-link { border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.hero-art { position: relative; justify-self: center; }
.hero-portrait { display: block; width: min(390px, 75vw); aspect-ratio: 4/5; object-fit: cover; object-position: center 25%; border-radius: 50% 50% 48% 48% / 44% 44% 56% 56%; box-shadow: 0 30px 80px rgba(96,72,92,.22); }
.hand-note { position: absolute; bottom: 5%; left: -24%; font-family: "DM Serif Display", serif; font-style: italic; transform: rotate(-8deg); color: var(--rose-deep); }
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; white-space: nowrap; color: var(--muted); }
.marquee div { width: max-content; animation: marquee 24s linear infinite; letter-spacing: .08em; }
@keyframes marquee { to { transform: translateX(-40%); } }
.about { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; }
.about.section-pad { padding-bottom: 58px; }
.work.section-pad { padding-top: 58px; }
.about-content { max-width: 800px; }
.about h2, .section-heading h2, .contact h2 { font-size: clamp(2.8rem, 5vw, 5.1rem); letter-spacing: -.03em; }
.about p { color: var(--muted); max-width: 700px; }
.section-heading { margin-bottom: 45px; }
.section-heading p { color: var(--muted); }
.carousel-shell { position: relative; padding-inline: 56px; }
.work-grid { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; scrollbar-width: none; padding: 3px 2px 14px; }
.work-grid::-webkit-scrollbar { display: none; }
.project { flex: 0 0 calc((100% - 22px) / 2); min-width: 0; scroll-snap-align: start; }
.project-visual { position: relative; aspect-ratio: 16 / 9; display: grid; place-content: center; background: #e7c6cb; border-radius: 14px; overflow: hidden; }
.project-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project:hover .project-visual img { transform: scale(1.025); }
.project-large .project-visual { min-height: 0; }
.tone-rose { background: linear-gradient(145deg, #c38899, #825c73); }
.tone-lavender { background: linear-gradient(145deg, #cbbbd9, #847b9f); }
.tone-blue { background: linear-gradient(145deg, #b7c8d9, #71899f); }
.project-meta { display: block; margin-top: 13px; color: var(--muted); font-size: .78rem; }
.project-meta small { letter-spacing: .14em; }
.project-meta h3 { color: var(--ink); margin: 3px 0 2px; font: 700 1.35rem/1.3 var(--heading-font); }
.project-meta > span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.carousel-arrow { position: absolute; top: 35%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,248,248,.94); color: var(--ink); font-size: 1.1rem; cursor: pointer; z-index: 2; box-shadow: 0 8px 24px rgba(57,39,46,.1); transition: background .2s, transform .2s; }
.carousel-arrow:hover { background: var(--rose); transform: translateY(-50%) scale(1.05); }
.carousel-prev { left: 5px; }
.carousel-next { right: 5px; }
.carousel-dots { display: none; }
.carousel-dots button { width: 8px; height: 8px; border: 0; border-radius: 50%; padding: 0; background: var(--rose-soft); cursor: pointer; transition: width .25s, background .25s; }
.carousel-dots button.is-active { width: 28px; border-radius: 100px; background: var(--rose-deep); }
.short-carousel-heading { margin: 72px 56px 24px; }
.short-carousel-heading span { color: var(--rose-deep); font-size: .7rem; letter-spacing: .16em; }
.short-carousel-heading h3 { margin: 5px 0 0; font: 700 2.4rem/1.25 var(--heading-font); }
.shorts-grid { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; scrollbar-width: none; padding: 3px 2px 14px; }
.shorts-grid::-webkit-scrollbar { display: none; }
.short-card { flex: 0 0 calc((100% - 36px) / 3); min-width: 0; scroll-snap-align: start; display: block; overflow: hidden; transition: transform .25s; }
.short-card:hover { transform: translateY(-3px); }
.short-cover { position: relative; aspect-ratio: 9 / 16; height: auto; overflow: hidden; border-radius: 14px; background: var(--rose-soft); }
.short-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.video-hover-preview { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; pointer-events: none; z-index: 2; }
.short-card:hover .short-cover img { transform: scale(1.035); }
.short-cover-placeholder { display: grid; place-items: center; color: white; text-align: center; font: 2rem/1.05 "DM Serif Display",serif; letter-spacing: .08em; background: linear-gradient(145deg,var(--rose),var(--rose-deep)); }
.short-info { padding: 12px 2px 0; display: flex; flex-direction: column; }
.short-info span { color: var(--rose-deep); font-size: .7rem; letter-spacing: .14em; }
.short-card strong { font: 700 1.3rem/1.3 var(--heading-font); margin: 3px 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.short-card small { color: var(--muted); }
.services { background: var(--cream); }
.service { display: grid; grid-template-columns: 45px 1fr auto; gap: 28px; align-items: start; border-top: 1px solid var(--line); padding: 32px 0; }
.service:last-child { border-bottom: 1px solid var(--line); }
.service > span { color: var(--rose-deep); font: italic 1.2rem "DM Serif Display", serif; }
.service h3 { margin: 0; font: 700 2rem/1.3 var(--heading-font); }
.service p { color: var(--muted); margin: 7px 0 0; max-width: 610px; }
.service strong { font-size: .9rem; font-weight: 500; white-space: nowrap; }
.price-note { color: var(--muted); font-size: .76rem; margin-top: 16px; }
.rate-card { margin-top: 34px; border: 1px solid var(--line); background: rgba(255,255,255,.48); }
.rate-card summary { cursor: pointer; list-style: none; padding: 22px 25px; display: flex; justify-content: space-between; font-weight: 500; }
.rate-card summary::-webkit-details-marker { display: none; }
.rate-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line); }
.rate-grid > div { padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 5px; }
.rate-grid span { color: var(--rose-deep); }
.rate-grid small, .included small { color: var(--muted); }
.included { padding: 26px; }
.included p { color: var(--muted); }
.ruby-card { color: white; background: var(--ruby-dark); padding: 72px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; position: relative; overflow: hidden; }
.ruby-card::after { content: "R"; position: absolute; right: -20px; bottom: -150px; font: 26rem "DM Serif Display", serif; color: rgba(255,255,255,.035); }
.ruby-card h2 { font-size: 5rem; margin: 10px 0; }
.ruby-logo { width: min(520px,100%); height: auto; margin: 5px 0 15px; }
.ruby-card > div:first-child p:not(.eyebrow) { color: rgba(255,255,255,.7); max-width: 610px; }
.button-light { background: white; color: var(--ink); margin-top: 18px; }
.button-facebook { background: #1877f2; color: white; margin-top: 18px; }
.ruby-links { display: flex; gap: 25px; align-items: center; flex-wrap: wrap; }
.live-wrap { align-self: end; position: relative; padding-top: 150px; }
.ruby-character { position: absolute; width: 230px; top: -40px; right: 5px; z-index: 2; }
.live-card { background: rgba(255,255,255,.09); padding: 32px; z-index: 1; }
.live-card small { letter-spacing: .15em; color: #e4c5d0; }
.live-card div { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.16); padding: 18px 0; }
.live-card p { color: rgba(255,255,255,.55); font-size: .74rem; margin-top: 18px; }
.ruby-gallery { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; margin-top: 18px; }
.ruby-gallery img { width: 100%; height: 360px; object-fit: cover; }
.ruby-live-showcase { margin-top: 82px; }
.ruby-live-showcase .section-heading { margin: 0 56px 26px; }
.ruby-live-showcase .section-heading h2 { margin-bottom: 0; }
.ruby-live-grid .project-visual { background: var(--ruby-dark); }
.contact { text-align: center; padding-bottom: 140px; }
.contact > p:not(.eyebrow) { color: var(--muted); }
.contact-actions { justify-content: center; }
.button-line { color: white; background: #577c5c; }
.social-links { display: flex; justify-content: center; gap: 28px; margin-top: 30px; color: var(--muted); font-size: .85rem; }
.disabled { opacity: .55; cursor: default; }
footer { border-top: 1px solid var(--line); width: min(1240px, calc(100% - 48px)); margin: auto; padding: 35px 0; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .75rem; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (max-width: 820px) {
  .identity-gateway { min-height: 68svh; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 43%; background: linear-gradient(90deg,#ff9999 0 49.9%,#4a2c37 50.1% 100%); }
  .identity-choice { grid-row: 1; min-height: auto; padding: 24px 16px 36px; justify-content: flex-end; }
  .identity-choice strong { font-size: clamp(2.3rem,10vw,3.5rem); }
  .identity-ruby-logo { width: 126%; transform: translateX(5%); }
  .identity-choice p { font-size: .6rem; letter-spacing: .03em; }
  .identity-choice small { display: none; }
  .identity-kicker { font-size: .5rem; margin-bottom: 9px; letter-spacing: .1em; }
  .identity-portraits { grid-column: 1 / -1; grid-row: 2; height: 100%; width: min(430px,100%); margin: auto; }
  .identity-photo, .identity-avatar { height: 100%; }
  .gateway-scroll { bottom: 10px; }
  .site-header { height: 74px; }
  .menu-button { display: block; }
  nav { position: absolute; display: none; top: 64px; right: 0; flex-direction: column; align-items: stretch; width: min(300px, 90vw); padding: 24px; background: rgba(251,248,246,.97); box-shadow: 0 20px 60px rgba(48,41,52,.12); }
  .nav-profile-switch { text-align: left; }
  nav.open { display: flex; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 40px; padding-top: 70px; }
  h1 { font-size: clamp(2.75rem, 10.5vw, 3.5rem); line-height: 1.32; }
  .hero-art { margin-top: 20px; }
  .hand-note { left: -8%; }
  .about { grid-template-columns: 1fr; }
  .about.section-pad { padding-bottom: 40px; }
  .work.section-pad { padding-top: 40px; }
  .work, .carousel-shell { overflow: visible; }
  .carousel-shell { padding-inline: 0; }
  .work-grid, .shorts-grid { margin-right: calc(24px - 100vw); padding-right: calc(100vw - 24px); overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; }
  .project { flex-basis: min(82vw, 360px); }
  .project-visual, .project-large .project-visual { min-height: 0; }
  .carousel-arrow { display: none; }
  .short-carousel-heading { margin: 65px 0 22px; }
  .short-card { flex-basis: min(44vw, 210px); }
  .short-cover { height: auto; }
  .short-info { padding: 10px 2px 0; min-height: 0; }
  .short-info span { font-size: .58rem; }
  .short-card strong { font-size: 1.05rem; }
  .service { grid-template-columns: 35px 1fr; }
  .service strong { grid-column: 2; }
  .ruby-card { grid-template-columns: 1fr; padding: 45px 28px; gap: 35px; }
  .rate-grid { grid-template-columns: 1fr; }
  .live-wrap { padding-top: 100px; }
  .ruby-character { width: 180px; top: -60px; }
  .ruby-gallery { grid-template-columns: 1fr; }
  .ruby-gallery img { height: 280px; }
  .ruby-live-showcase { margin-top: 58px; }
  .ruby-live-showcase .section-heading { margin: 0 0 22px; }
  footer { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }
