:root{
  --bg:#fffaf3; --surface:#ffffff; --surface-2:#fff7ed; --ink:#1f1712; --muted:#6f6259;
  --brand:#8b5e34; --brand-dark:#5f3d20; --brand-soft:#ead7c0; --accent:#c98b4b;
  --line:#eadfd3; --shadow:0 20px 50px rgba(58,38,19,.12); --radius:24px;
  --bottom-bg:rgba(31,23,18,.88); --bottom-line:rgba(255,255,255,.13);
}
html[data-theme="dark"]{
  --bg:#14100d; --surface:#211913; --surface-2:#2b2119; --ink:#fff4e8; --muted:#cdbba9;
  --brand:#e0ad72; --brand-dark:#f4d0a4; --brand-soft:#3a2a1d; --accent:#f0b56d;
  --line:#3f3127; --shadow:0 20px 50px rgba(0,0,0,.34); --bottom-bg:rgba(7,5,4,.82); --bottom-line:rgba(255,255,255,.11);
}
*{box-sizing:border-box} html{scroll-behavior:smooth}
body{
  margin:0;font-family:Inter,"Noto Sans Thai",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink); line-height:1.6; min-height:100vh;
  background:radial-gradient(circle at top left, rgba(201,139,75,.18), transparent 32rem), linear-gradient(180deg, var(--bg) 0%, var(--surface) 55%, var(--surface-2) 100%);
}
a{color:inherit;text-decoration:none} img{max-width:100%;display:block} button{font:inherit}
.container{width:min(1120px,92%);margin:auto} .section{padding:88px 0} .section-small{padding:54px 0}
.eyebrow{color:var(--brand);font-weight:800;letter-spacing:.16em;text-transform:uppercase;font-size:.76rem}
h1,h2,h3{line-height:1.08;margin:0;color:var(--ink)} h1{font-size:clamp(2.35rem,7vw,5.7rem);letter-spacing:-.06em}
h2{font-size:clamp(1.9rem,4vw,3.4rem);letter-spacing:-.04em} h3{font-size:1.25rem} p{color:var(--muted);margin:0}

.nav{position:sticky;top:0;z-index:60;backdrop-filter:blur(18px);background:color-mix(in srgb, var(--bg) 84%, transparent);border-bottom:1px solid color-mix(in srgb, var(--line) 80%, transparent)}
.nav-inner{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0}
.logo{
  display:inline-flex;
  align-items:center;
}
.logo img {
  display: block;
}

.logo .logo-dark,
.logo .logo-light {
  width: 154px;
  max-width: 24vw;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

html[data-theme="light"] .logo .logo-dark {
  display: none;
}

html[data-theme="light"] .logo .logo-light {
  display: block;
}

html[data-theme="dark"] .logo .logo-dark {
  display: block;
}

html[data-theme="dark"] .logo .logo-light {
  display: none;
}
.nav-links{display:flex;gap:6px;align-items:center}
.nav-links a{min-width:96px;text-align:center;white-space:nowrap;padding:10px 14px;border-radius:999px;color:var(--muted);font-weight:700;font-size:.93rem;transition:.25s ease}
.nav-links a:hover,.nav-links a.active{background:var(--brand-soft);color:var(--brand-dark)}
.nav-controls{
  display:flex;
  align-items:center;
  gap:7px;
  position:relative;
}
.menu-btn,.pref-btn{
  border:1px solid var(--line);
  background:color-mix(in srgb, var(--surface) 86%, transparent);
  color:var(--ink);
  border-radius:999px;
  height:36px;
  padding:0 12px;
  font-weight:850;
  cursor:pointer;
  transition:.22s ease;
}
.pref-btn{
  min-width:84px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-size:.82rem;
  white-space:nowrap;
}
.menu-btn:hover,.pref-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 20px rgba(58,38,19,.12);
  background:var(--brand-soft);
}
.menu-btn{display:none}

.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:center}
.hero-card{background:color-mix(in srgb, var(--surface) 88%, transparent);border:1px solid var(--line);border-radius:36px;padding:28px;box-shadow:var(--shadow)}
.hero-image{
  min-height:460px;border-radius:32px;position:relative;overflow:hidden;
  background:linear-gradient(rgba(31,23,18,.08),rgba(31,23,18,.12)), url('https://images.unsplash.com/photo-1555244162-803834f70033?auto=format&fit=crop&w=1300&q=80');
  background-size:cover;background-position:center
}
.float-box{
  position:absolute;left:24px;bottom:24px;right:24px;background:color-mix(in srgb, var(--surface) 90%, transparent);
  border:1px solid color-mix(in srgb, var(--line) 70%, transparent);border-radius:24px;padding:20px;
  display:grid;grid-template-columns:repeat(3,1fr);gap:12px;backdrop-filter:blur(16px)
}
.stat{min-height:72px;display:flex;flex-direction:column;justify-content:center}
.stat strong{font-size:1.55rem;display:block;color:var(--ink)} .stat span{font-size:.82rem;color:var(--muted);font-weight:700}
.hero-copy{display:grid;gap:24px} .hero-copy p{font-size:1.08rem;max-width:620px}
.actions{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;padding:0 20px;
  min-width:180px;min-height:50px;font-weight:900;cursor:pointer;text-align:center;white-space:nowrap;
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease
}
.btn-primary{color:white;background:linear-gradient(135deg,var(--brand),var(--accent));box-shadow:0 14px 30px rgba(139,94,52,.25)}
.btn-secondary{color:var(--brand-dark);background:var(--surface);border:1px solid var(--line)}
.btn:hover{transform:translateY(-3px);box-shadow:0 18px 34px rgba(58,38,19,.18)}

.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-items:stretch}
.card{background:color-mix(in srgb, var(--surface) 92%, transparent);border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:0 12px 34px rgba(58,38,19,.07);transition:.25s ease}
.card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.equal-card{min-height:250px;display:flex;flex-direction:column}
.icon{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand-dark);font-size:1.3rem;margin-bottom:18px}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px} .section-head p{max-width:560px}

.aligned-info-grid {
  align-items: stretch;
}

.aligned-info-grid .card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.aligned-info-grid .card-header-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.aligned-info-grid .icon,
.aligned-info-grid .step-number {
  margin: 0;
  flex-shrink: 0;
}

.aligned-info-grid h3 {
  margin: 0;
}

.aligned-info-grid p {
  margin-top: auto;
}

.balanced-flow-grid {
  align-items: stretch;
}

.balanced-flow-grid .flow-card {
  min-height: 230px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 18px;
}

.balanced-flow-grid .flow-card-top {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.balanced-flow-grid .icon,
.balanced-flow-grid .step-number {
  margin: 0;
  flex: 0 0 42px;
}

.balanced-flow-grid .flow-card-top h3 {
  margin: 0;
  line-height: 1.15;
}

.balanced-flow-grid .flow-card > p {
  margin: 8px 0 0;
  line-height: 1.55;
  max-width: 92%;
}

.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;align-items:stretch}

.image-bg-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  color: white;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.image-bg-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(31, 23, 18, 0.18),
    rgba(31, 23, 18, 0.76)
  );
  z-index: 0;
}

.image-bg-content {
  position: relative;
  z-index: 1;
  min-height: 250px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.image-bg-card .card-header-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.image-bg-card h3,
.image-bg-card p {
  color: white;
}

.image-bg-card p {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.86);
}

.image-bg-card .icon {
  margin: 0;
  background: rgba(255, 255, 255, 0.18);
  color: white;
  backdrop-filter: blur(10px);
}

.bg-alacarte {
  background-image: url("alacarte.jpg") !important;
}

.bg-buffet {
  background-image: url("buffet.jpg") !important;
}

.bg-finedining {
  background-image: url("finedining.jpg") !important;
}

.bg-cocktail {
  background-image: url("cocktail.jpg") !important;
}

.bg-softdrink {
  background-image: url("softdrink.jpg") !important;
}

.bg-dessert {
  background-image: url("dessert.jpg") !important;
}

.bg-mealbox {
  background-image: url("mealbox.jpg") !important;
}

.bg-buffetsetup {
  background-image: url("buffetsetup.jpg") !important;
}

.bg-premium {
  background-image: url("premium.jpg") !important;
}

.package{position:relative;overflow:hidden;min-height:430px;display:flex;flex-direction:column}
.badge{
  display:inline-flex;
  align-self:flex-start;
  background:var(--ink);
  color:var(--bg);
  border-radius:999px;
  padding:6px 10px;
  font-size:.75rem;
  font-weight:900;
  min-height:28px;
  align-items:center;
}
.package-note{
  margin-top:10px;
  padding:10px 12px;
  border-radius:14px;
  background:color-mix(in srgb, var(--brand-soft) 65%, transparent);
  color:var(--brand-dark);
  font-size:.9rem;
  font-weight:700;
  line-height:1.45;
}
.package h3{margin-top:28px}
.price{color:var(--brand-dark);font-size:2rem;font-weight:950;letter-spacing:-.04em;margin:14px 0 8px;min-height:46px;display:flex;align-items:center}
.package p{min-height:58px}
.list{margin:18px 0 0;padding:0;list-style:none;display:grid;gap:10px}
.list li{color:var(--muted);display:flex;gap:10px;min-height:26px}
.list li:before{content:"✓";color:var(--brand);font-weight:900}
.featured{border:2px solid var(--accent);transform:translateY(-10px)}

.portfolio-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:16px}
.work{
  min-height:240px;
  border-radius:26px;
  background-size:cover;
  background-position:center;
  overflow:hidden;
  position:relative;
  border:1px solid var(--line);
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease, background-size .35s ease;
  cursor:pointer;
}
.work:nth-child(1){grid-column:span 7;background-image:url('Private_Family_Gathering.jpg')}
.work:nth-child(2){grid-column:span 5;background-image:url('Office_Lunch_Event.jpg')}
.work:nth-child(3){grid-column:span 4;background-image:url('Small_Celebration.jpg')}
.work:nth-child(4){grid-column:span 4;background-image:url('Thai_Food_Buffet.jpg')}
.work:nth-child(5){grid-column:span 4;background-image:url('Casual_Party_Set.jpg')}

.work-info{
  position:absolute;
  inset:auto 14px 14px 14px;
  background:color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter:blur(14px);
  padding:16px;
  border-radius:20px;
  min-height:104px;
  z-index:1;
  transition:transform .28s ease, background .28s ease;
}

.work::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, transparent 30%, rgba(0,0,0,.62) 100%);
  opacity:.18;
  transition:opacity .28s ease;
  z-index:0;
}

.work:hover{
  transform:translateY(-7px) scale(1.01);
  box-shadow:0 24px 54px rgba(31,23,18,.22);
  border-color:color-mix(in srgb, var(--accent) 60%, var(--line));
}

.work:hover::before{
  opacity:1;
}

.work:hover .work-info{
  transform:translateY(-8px);
  background:color-mix(in srgb, var(--surface) 94%, transparent);
}

.work-info p::after{
  content:"";
  display:block;
  width:0;
  height:2px;
  background:var(--accent);
  margin-top:10px;
  transition:width .28s ease;
}

.work:hover .work-info p::after{
  width:42px;
}


.faq-item{border:1px solid var(--line);background:var(--surface);border-radius:20px;margin-bottom:12px;overflow:hidden}
.faq-question{width:100%;background:transparent;border:0;padding:20px;display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-weight:900;color:var(--ink);text-align:left;font-size:1rem;min-height:72px}
.faq-answer{max-height:0;overflow:hidden;transition:max-height .3s ease} .faq-answer p{padding:0 20px 20px}
.faq-item.open .faq-answer{max-height:240px}

.start-panel{background:linear-gradient(135deg,var(--ink),color-mix(in srgb, var(--brand-dark) 40%, #000));color:var(--bg);border-radius:36px;padding:38px;display:flex;justify-content:space-between;align-items:center;gap:28px;box-shadow:var(--shadow)}
.start-panel h2{color:var(--bg)} .start-panel p{color:color-mix(in srgb, var(--bg) 78%, transparent);max-width:640px;margin-top:12px}

.site-bottom{margin-top:72px;background:var(--bottom-bg);color:#fff8ee;border-top:1px solid var(--bottom-line);backdrop-filter:blur(18px)}
.footer{padding:24px 0}
.footer-inner{display:flex;justify-content:space-between;align-items:flex-start;gap:28px;flex-wrap:wrap}
.footer-copy{color:rgba(255,248,238,.72)}
.footer-social{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.footer-social a{color:rgba(255,248,238,.88);font-weight:800;font-size:.94rem;transition:.22s ease}
.footer-social a:hover{color:#fff8ee;transform:translateY(-1px)}

.reveal{opacity:0;transform:translateY(22px);transition:.65s ease} .reveal.visible{opacity:1;transform:translateY(0)}
.page-title{padding:70px 0 30px}
.breadcrumb{font-weight:800;color:var(--brand);margin-bottom:16px}
.filter-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}
.filter-btn{padding:0 14px;min-width:118px;min-height:42px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font-weight:900;cursor:pointer}
.filter-btn.active{background:var(--brand);color:white}
.notice{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:18px;color:var(--muted)}
.packages-followup{margin-top:44px}

[data-lang="th"] .en{display:none!important} [data-lang="en"] .th{display:none!important}

@media(max-width:1000px){
  .nav-inner{flex-wrap:wrap}
  .nav-links{order:3;width:100%;justify-content:center;overflow-x:auto;padding-bottom:4px}
}
@media(max-width:850px){
  .hero-grid,.grid-3{grid-template-columns:1fr}
  .nav-links{display:none;position:absolute;top:76px;left:4%;right:4%;width:auto;background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:12px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}
  .nav-links.open{display:flex}
  .nav-links a{min-width:0}
  .menu-btn{display:inline-flex;align-items:center;justify-content:center}
  .section-head{display:block}
  .hero{padding:52px 0} .section{padding:62px 0}
  .float-box{grid-template-columns:1fr}
  .work,.work:nth-child(n){grid-column:span 12}
  .featured{transform:none}
  .start-panel{display:grid;padding:26px;border-radius:28px}
  .package{min-height:auto} .package p,.price{min-height:0}
}
@media(max-width:560px){
  .container{width:min(94%,1120px)} .hero-image{min-height:360px} .nav-controls{margin-left:auto}
  .logo img{
  width:180px;
  max-width:52vw;
} .btn{width:100%} .actions{width:100%}
  .page-title{padding-top:46px} .portfolio-grid{gap:12px} .work{min-height:220px}
  .footer-inner{display:grid}
}
@media (prefers-reduced-motion: reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


@media (hover:none){
  .work::after{
    opacity:1;
    transform:none;
  }
  .work::before{
    opacity:.65;
  }
}


.flow-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.flow-card{
  position:relative;
  min-height:230px;
}
.step-number{
  width:42px;
  height:42px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--brand),var(--accent));
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:950;
  margin-bottom:18px;
  box-shadow:0 12px 26px rgba(139,94,52,.22);
}
.custom-panel{
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 28%, transparent), transparent 28rem),
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--brand-soft) 45%, transparent));
  border:1px solid var(--line);
  border-radius:36px;
  padding:34px;
  box-shadow:var(--shadow);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  align-items:start;
}
.check-cloud{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-content:start;
}
.check-pill{
  border:1px solid var(--line);
  background:var(--surface);
  color:var(--brand-dark);
  border-radius:999px;
  padding:10px 13px;
  font-weight:850;
  font-size:.9rem;
}
.menu-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.menu-card{
  min-height:210px;
}
.menu-card .icon{
  margin-bottom:14px;
}
.testimonial-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.quote-card{
  min-height:240px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.quote-mark{
  font-size:2.2rem;
  line-height:1;
  color:var(--accent);
  font-weight:950;
  margin-bottom:10px;
}
.quote-author{
  color:var(--brand-dark);
  font-weight:900;
  margin-top:18px;
}
.line-cta{
  background:linear-gradient(135deg,#182415,color-mix(in srgb, var(--brand-dark) 44%, #050505));
  color:#fff8ee;
  border-radius:34px;
  padding:34px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:22px;
  box-shadow:var(--shadow);
}
.line-cta h2{
  color:#fff8ee;
}
.line-cta p{
  color:rgba(255,248,238,.75);
  max-width:680px;
  margin-top:12px;
}
.line-btn{
  color:white;
  background:#06c755;
  min-width:190px;
  box-shadow:0 14px 30px rgba(6,199,85,.20);
}
.service-note{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.note-card{
  min-height:190px;
}
.gallery-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:24px;
}
.gallery-chip{
  border:1px solid var(--line);
  background:var(--surface);
  color:var(--ink);
  border-radius:999px;
  padding:10px 14px;
  font-weight:900;
}
.package-reference-note{
  margin-top:40px;
}
@media(max-width:950px){
  .flow-grid,.testimonial-grid,.menu-grid,.service-note,.custom-panel{
    grid-template-columns:1fr;
  }
  .line-cta{
    display:grid;
  }
}


.package-grid-wrap{
  margin-bottom:48px;
}
.packages-followup,
.package-page-note{
  margin-top:48px !important;
  clear:both;
}
.service-note{
  align-items:stretch;
  margin-top:10px;
}
.service-note .note-card{
  min-height:220px;
  padding:28px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
.service-note .note-card .icon{
  margin-bottom:20px;
}
.service-note .note-card h3{
  margin-bottom:12px;
}
.service-note .note-card p{
  max-width:92%;
}
.line-cta{
  margin-top:10px;
}
.menu-grid{
  grid-template-columns:repeat(3,1fr);
}
.menu-card{
  min-height:230px;
}
@media(max-width:950px){
  .menu-grid{
    grid-template-columns:1fr;
  }
  .service-note .note-card p{
    max-width:100%;
  }
}


@media(max-width:560px){
  .nav-inner{
    align-items:center;
    gap:10px;
    padding:10px 0;
  }
  .logo img{
    width:132px !important;
    max-width:38vw !important;
    border-radius:7px;
  }
  .nav-controls{
    gap:6px;
  }
  .pref-btn{
    min-width:72px;
    height:34px;
    padding:0 9px;
    font-size:.76rem;
  }
  .menu-btn{
    height:34px;
    padding:0 10px;
    font-size:.8rem;
  }
}
@media(max-width:390px){
  .logo img{
    width:118px !important;
    max-width:36vw !important;
  }
  .pref-btn{
    min-width:66px;
    font-size:.72rem;
  }
}

.line-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
}

.line-float-btn {
  width: 68px;
  height: 68px;
  border: 0;
  border-radius: 999px;
  background: #06c755;
  color: white;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(6, 199, 85, 0.32);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.line-float-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 24px 48px rgba(6, 199, 85, 0.42);
}

.line-popup {
  position: absolute;
  right: 0;
  bottom: 82px;
  width: min(330px, calc(100vw - 36px));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.line-popup.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.line-popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.45rem;
  font-weight: 900;
  cursor: pointer;
}

.line-popup-title {
  color: var(--ink);
  font-weight: 950;
  font-size: 1.15rem;
  margin: 0 28px 8px 0;
}

.line-popup-text {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.line-popup-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  background: #06c755;
  color: white;
  font-weight: 900;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.line-popup-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(6, 199, 85, 0.25);
}

@media (max-width: 560px) {
  .line-float {
    right: 16px;
    bottom: 16px;
  }

  .line-float-btn {
    width: 60px;
    height: 60px;
    font-size: 0.9rem;
  }

  .line-popup {
    bottom: 74px;
  }
}

.mobile-sticky-cta {
  display: none;
}

.line-float {
  display: block;
}


@media (max-width: 650px) {
  .mobile-sticky-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 100;
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(31, 23, 18, 0.82);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  }

  .mobile-sticky-cta a {
    min-height: 44px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    text-align: center;
    font-weight: 950;
    font-size: 0.88rem;
  }

  .mobile-sticky-cta a:first-child {
    background: #06c755;
    color: white;
  }

  .mobile-sticky-cta a:last-child {
    background: rgba(255, 255, 255, 0.12);
    color: #fff8ee;
    border: 1px solid rgba(255, 255, 255, 0.16);
  }

  .line-float {
    display: none;
  }

  body {
    padding-bottom: 92px;
  }
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.why-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.why-card h3 {
  margin-bottom: 10px;
}

.why-card p {
  margin-top: auto;
}

@media (max-width: 1000px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    min-height: auto;
  }
}

.hero-slider {
  position: relative;
  background-image: none !important;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s ease, transform 4.5s ease;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(31, 23, 18, 0.08), rgba(31, 23, 18, 0.18));
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slider .float-box {
  z-index: 3;
}

.about-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: stretch;
  isolation: isolate;
}

.about-gallery-card:nth-of-type(1),
.about-gallery-card:nth-of-type(2) {
  grid-column: span 3;
}

.about-gallery-card:nth-of-type(3),
.about-gallery-card:nth-of-type(4),
.about-gallery-card:nth-of-type(5) {
  grid-column: span 2;
}

.about-gallery-card {
  position: relative;
  min-height: 250px;
  border-radius: 26px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(58, 38, 19, 0.07);
  transition:
    opacity 0.55s ease,
    transform 0.65s cubic-bezier(.22,.61,.36,1),
    filter 0.55s ease,
    box-shadow 0.35s ease;
}

.about-gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(31, 23, 18, 0.08),
    rgba(31, 23, 18, 0.72)
  );
  z-index: 0;
}

.about-gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(31, 23, 18, 0.22);
}

.about-gallery-info {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  background: rgba(31, 23, 18, 0.78);
  backdrop-filter: blur(14px);
  padding: 18px;
  border-radius: 20px;
}

.about-gallery-info h3 {
  color: white;
  margin-bottom: 6px;
}

.about-gallery-info p {
  color: rgba(255, 255, 255, 0.78);
}

.about-gallery-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  color: white;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 900;
  opacity: 0;
  transform: translateY(-8px);
  transition: 0.28s ease;
}

.about-gallery-card:hover .about-gallery-badge {
  opacity: 1;
  transform: translateY(0);
}

.about-gallery.is-expanded .about-gallery-card {
  opacity: 0.18;
  filter: saturate(0.65) brightness(0.72);
  transform: scale(0.96);
  pointer-events: none;
}

.about-expand-overlay {
  position: absolute;
  z-index: 20;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 26px;
  box-shadow: var(--shadow);
  cursor: default;
  transition:
    left 0.95s cubic-bezier(.19,1,.22,1),
    top 0.95s cubic-bezier(.19,1,.22,1),
    width 0.95s cubic-bezier(.19,1,.22,1),
    height 0.95s cubic-bezier(.19,1,.22,1),
    border-radius 0.75s ease;
}

.about-expand-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(31, 23, 18, 0.08),
    rgba(31, 23, 18, 0.78)
  );
  z-index: 0;
}

.about-expand-info {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  background: rgba(31, 23, 18, 0.82);
  backdrop-filter: blur(14px);
  padding: 18px;
  border-radius: 20px;
  transition:
    left 0.75s ease,
    right 0.75s ease,
    bottom 0.75s ease,
    width 0.75s ease,
    padding 0.75s ease,
    border-radius 0.75s ease;
}

.about-expand-overlay.is-open .about-expand-info {
  left: 36px;
  right: auto;
  bottom: 36px;
  width: min(660px, calc(100% - 72px));
  padding: 30px;
  border-radius: 24px;
}

.about-expand-info h3 {
  color: white;
  margin-bottom: 8px;
  transition: font-size 0.75s ease, letter-spacing 0.75s ease;
}

.about-expand-info p {
  color: rgba(255, 255, 255, 0.82);
  transition: font-size 0.75s ease, line-height 0.75s ease;
}

.about-expand-overlay.is-open .about-expand-info h3 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.04em;
}

.about-expand-overlay.is-open .about-expand-info p {
  font-size: 1.05rem;
  line-height: 1.6;
}

.about-gallery-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 30;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(31, 23, 18, 0.62);
  color: white;
  backdrop-filter: blur(14px);
  border-radius: 999px;
  padding: 10px 15px;
  font-weight: 900;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: 0.35s ease;
}

.about-gallery.is-expanded .about-gallery-close {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 760px) {
  .about-gallery,
  .about-gallery.is-expanded {
    display: grid;
    grid-template-columns: 1fr;
  }

  .about-gallery-card:nth-of-type(1),
  .about-gallery-card:nth-of-type(2),
  .about-gallery-card:nth-of-type(3),
  .about-gallery-card:nth-of-type(4),
  .about-gallery-card:nth-of-type(5) {
    grid-column: auto;
  }

  .about-gallery-card {
    min-height: 260px;
  }

  .about-gallery.is-expanded .about-gallery-card {
    opacity: 1;
    filter: none;
    transform: none;
    pointer-events: auto;
  }

  .about-gallery-close,
  .about-expand-overlay {
    display: none !important;
  }

  .about-gallery-badge {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 760px) {
  .about-gallery-badge {
    display: none !important;
    opacity: 0 !important;
  }

  .about-gallery-card,
  .about-gallery-card:hover,
  .about-gallery-card:active {
    transform: none !important;
  }

  .about-gallery-card {
    cursor: pointer;
  }
}

.hero-bg-slider {
  position: relative;
  min-height: calc(100vh - 76px);
  padding: 120px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.14);
  transition: opacity 1.2s ease, transform 8s ease;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(20, 14, 10, 0.82) 0%,
      rgba(20, 14, 10, 0.62) 42%,
      rgba(20, 14, 10, 0.24) 100%
    ),
    linear-gradient(
      180deg,
      rgba(20, 14, 10, 0.22) 0%,
      rgba(20, 14, 10, 0.58) 100%
    );
}

.hero-bg-content {
  position: relative;
  z-index: 1;
}

.hero-bg-slider .hero-copy {
  max-width: 720px;
}

.hero-bg-slider .eyebrow {
  color: #f0b56d;
}

.hero-bg-slider h1 {
  color: #fff8ee;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.hero-bg-slider p {
  color: rgba(255, 248, 238, 0.82);
  max-width: 680px;
}

.hero-bg-slider .btn-primary {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

@media (max-width: 760px) {
  .hero-bg-slider {
    min-height: 82vh;
    padding: 86px 0;
    align-items: end;
  }

  .hero-bg-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(20, 14, 10, 0.24) 0%,
        rgba(20, 14, 10, 0.82) 72%,
        rgba(20, 14, 10, 0.9) 100%
      );
  }

  .hero-bg-slider .hero-copy {
    max-width: 100%;
  }
}

.hero-bg-slider .hero-copy {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.22,.61,.36,1);
}

body.page-loaded .hero-bg-slider .hero-copy {
  opacity: 1;
  transform: translateY(0);
}

.hero-bg-slider .btn {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.9s ease 0.18s,
    transform 0.9s cubic-bezier(.22,.61,.36,1) 0.18s;
}

body.page-loaded .hero-bg-slider .btn {
  opacity: 1;
  transform: translateY(0);
}

.hero-bg-slider {
  opacity: 0;
  transition: opacity 0.9s ease;
}

body.page-loaded .hero-bg-slider {
  opacity: 1;
}

.hero-bg-slide.active {
  opacity: 1;
  transform: scale(1.14);
}

body.page-loaded .hero-bg-slide.active {
  transform: scale(1.02);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #8b5e34, #c98b4b);
  color: white;
  transition:
    color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.22s ease;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #e0ad72, #f0b56d);
  opacity: 0;
  transition: opacity 0.4s ease;
}

html[data-theme="dark"] .btn-primary::before {
  opacity: 1;
}

body,
.nav,
.card,
.btn,
.btn-primary,
.btn-secondary,
.logo img,
.footer,
.site-bottom {
  transition:
    background-color 0.35s ease,
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.line-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #06c755;
  color: white;
  transition:
    transform 0.22s ease,
    box-shadow 0.35s ease,
    color 0.35s ease,
    background-color 0.35s ease;
}

.line-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(6, 199, 85, 0.32);
}

.line-btn:active {
  transform: translateY(0) scale(0.98);
}

.hero-bg-slider {
  border-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.hero-bg-slider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 4px;
  background: var(--bg);
  z-index: 2;
}

@media (max-width: 760px) {
  .hero-bg-slider {
    min-height: 86vh;
    margin-bottom: 0 !important;
  }

  .hero-bg-slide {
    bottom: -2px;
  }
}

.hero.hero-bg-slider {
  padding: 120px 0 !important;
}

@media (max-width: 760px) {
  .hero.hero-bg-slider {
    padding: 86px 0 !important;
  }
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
}

.hero-bg-slider,
section,
main,
.site-bottom,
.footer {
  max-width: 100vw;
  overflow-x: hidden;
}

.hero-bg-slider {
  width: 100%;
}

.hero-bg-slide {
  width: 100%;
  max-width: 100vw;
}

.hero-bg-slider h1,
.hero-bg-slider p {
  max-width: 100%;
  overflow-wrap: break-word;
}

@media (max-width: 760px) {
  .nav-inner {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .nav-controls {
    max-width: 100%;
    flex-shrink: 1;
  }

  .pref-btn,
  .menu-btn {
    flex-shrink: 1;
  }

  .hero-bg-slider {
    left: 0;
    right: 0;
  }

  .hero-bg-content {
    width: min(94%, 1120px);
    max-width: 94%;
  }
}

.nav {
  overflow: visible !important;
  z-index: 999 !important;
  max-width: 100vw;
}

.nav-inner {
  overflow: visible !important;
}

.nav-links {
  z-index: 1000 !important;
}

.menu-btn {
  position: relative;
  z-index: 1001 !important;
  pointer-events: auto !important;
}

.section-head .eyebrow {
  display: inline-block;
  margin-bottom: 14px;
}

.section-head h2 {
  margin-top: 0;
}

.section-head p {
  padding-top: 10px;
  line-height: 1.75;
}
/* === Final responsive / navigation / contact polish === */
.container {
  width: min(1120px, calc(100% - 44px));
}

.nav-inner {
  position: relative;
}

.menu-btn {
  width: 42px;
  min-width: 42px;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.hamburger {
  width: 18px;
  display: grid;
  gap: 4px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .22s ease, opacity .22s ease;
}

.menu-btn.open .hamburger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-btn.open .hamburger span:nth-child(2) {
  opacity: 0;
}

.menu-btn.open .hamburger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 850px) {
  .nav-links {
    display: none;
    position: static;
    order: 3;
    width: 100%;
    margin-top: 8px;
    background: color-mix(in srgb, var(--surface) 96%, transparent);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 10px;
    box-shadow: 0 18px 42px rgba(58, 38, 19, .13);
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
  }

  .nav-links.open {
    display: flex;
    animation: navDrop .22s ease both;
  }

  .nav-links a {
    width: 100%;
    min-width: 0;
    text-align: left;
    padding: 12px 14px;
  }

  .menu-btn {
    display: inline-flex;
  }
}

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 560px) {
  .container {
    width: min(1120px, calc(100% - 34px));
  }

  .section {
    padding: 58px 0;
  }

  .section-small {
    padding: 44px 0;
  }

  .hero-card,
  .card,
  .start-panel,
  .custom-panel,
  .line-cta,
  .contact-panel {
    border-radius: 24px;
  }
}

@media (max-width: 390px) {
  .container {
    width: min(1120px, calc(100% - 30px));
  }
}

.line-cta {
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 28%, transparent), transparent 26rem),
    linear-gradient(135deg, color-mix(in srgb, var(--ink) 96%, var(--brand-dark)), color-mix(in srgb, var(--brand-dark) 68%, #000));
}

.line-cta .eyebrow {
  color: #f0b56d;
}

.line-btn {
  color: #fff8ee;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 14px 30px rgba(139, 94, 52, .24);
}

.line-btn:hover {
  box-shadow: 0 18px 36px rgba(139, 94, 52, .30);
}

.start-panel .btn-secondary {
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
}

.start-panel .btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .22);
  border-color: color-mix(in srgb, var(--accent) 58%, var(--line));
}

.footer-inner {
  align-items: center;
}

.footer-copy {
  max-width: 620px;
  line-height: 1.45;
}

.footer-social {
  display: grid;
  gap: 10px;
}

.footer-social a {
  display: block;
  line-height: 1.2;
  padding: 1px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  gap: 18px;
  align-items: stretch;
}

.contact-panel {
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 26%, transparent), transparent 26rem),
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 96%, transparent), color-mix(in srgb, var(--brand-soft) 38%, transparent));
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 36px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-panel h2 {
  margin-top: 8px;
}

.contact-panel p {
  margin-top: 14px;
  max-width: 680px;
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.contact-card-stack {
  display: grid;
  gap: 18px;
}

.contact-card {
  min-height: 220px;
}

.contact-list {
  margin-top: 16px;
}

.scroll-top-btn {
  position: fixed;
  right: 22px;
  bottom: 104px;
  z-index: 99;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease, background .22s ease;
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--brand-soft);
  transform: translateY(-3px);
}

@media (max-width: 950px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 30px;
  }
}

@media (max-width: 650px) {
  .footer-inner {
    align-items: flex-start;
  }

  .footer-social {
    width: 100%;
  }

  .scroll-top-btn {
    right: 18px;
    bottom: 102px;
  }
}

.about-mobile-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(20, 14, 10, .58);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.about-mobile-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.about-mobile-modal-card {
  width: min(520px, 100%);
  min-height: 420px;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  transform: translateY(14px) scale(.98);
  transition: transform .22s ease;
}

.about-mobile-modal.open .about-mobile-modal-card {
  transform: translateY(0) scale(1);
}

.about-mobile-modal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(31, 23, 18, .05), rgba(31, 23, 18, .82));
}

.about-mobile-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(31,23,18,.62);
  color: white;
  font-size: 1.45rem;
  font-weight: 900;
  cursor: pointer;
}

.about-mobile-modal-info {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 20px;
  border-radius: 22px;
  background: rgba(31, 23, 18, .82);
  backdrop-filter: blur(14px);
}

.about-mobile-modal-info h3 {
  color: white;
  margin-bottom: 8px;
}

.about-mobile-modal-info p {
  color: rgba(255,255,255,.82);
}

/* === V2 polish: softer shortcut section, unified buttons, centered scroll, animated nav/menu === */
.nav {
  transition:
    transform .28s cubic-bezier(.22,.61,.36,1),
    background-color .35s ease,
    background .35s ease,
    border-color .35s ease,
    box-shadow .35s ease;
  will-change: transform;
}

.nav.nav-hidden {
  transform: translateY(-110%);
}

.nav.menu-open {
  transform: translateY(0);
}

.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: translateY(0);
  transition:
    transform .22s ease,
    box-shadow .28s ease,
    background .28s ease,
    border-color .28s ease,
    color .28s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent 62%);
  opacity: 0;
  transition: opacity .28s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(58, 38, 19, .20);
}

.btn:hover::after {
  opacity: 1;
}

.btn:active {
  transform: translateY(0) scale(.98);
}

.btn:focus-visible,
.menu-btn:focus-visible,
.pref-btn:focus-visible,
.scroll-top-btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 62%, transparent);
  outline-offset: 3px;
}

.line-cta {
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 14%, transparent), transparent 25rem),
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 98%, transparent), color-mix(in srgb, var(--surface-2) 92%, var(--brand-soft)));
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(58, 38, 19, .08);
}

html[data-theme="dark"] .line-cta {
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 10%, transparent), transparent 25rem),
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--surface-2) 94%, transparent));
  box-shadow: 0 18px 46px rgba(0, 0, 0, .28);
}

.line-cta h2 {
  color: var(--ink);
}

.line-cta p {
  color: var(--muted);
}

.line-cta .eyebrow {
  color: var(--brand);
}

.line-btn {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff8ee;
  box-shadow: 0 14px 30px rgba(139, 94, 52, .22);
}

.line-btn:hover {
  box-shadow: 0 18px 38px rgba(139, 94, 52, .30);
}

.scroll-top-btn {
  left: 50%;
  right: auto;
  bottom: 24px;
  transform: translate(-50%, 10px);
}

.scroll-top-btn.visible {
  transform: translate(-50%, 0);
}

.scroll-top-btn:hover {
  transform: translate(-50%, -3px);
}

@media (max-width: 850px) {
  .nav-inner {
    flex-wrap: wrap;
  }

  .nav-links {
    display: flex !important;
    position: static;
    order: 3;
    width: 100%;
    margin-top: 0;
    max-height: 0;
    padding: 0 10px;
    background: color-mix(in srgb, var(--surface) 96%, transparent);
    border: 0 solid transparent;
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(58, 38, 19, 0);
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      max-height .34s cubic-bezier(.22,.61,.36,1),
      opacity .22s ease,
      transform .34s cubic-bezier(.22,.61,.36,1),
      padding .34s cubic-bezier(.22,.61,.36,1),
      margin-top .34s cubic-bezier(.22,.61,.36,1),
      border-color .22s ease,
      box-shadow .22s ease,
      visibility 0s linear .34s;
  }

  .nav-links.open {
    margin-top: 8px;
    max-height: 380px;
    padding: 10px;
    border-width: 1px;
    border-color: var(--line);
    box-shadow: 0 18px 42px rgba(58, 38, 19, .13);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    animation: none;
    transition:
      max-height .34s cubic-bezier(.22,.61,.36,1),
      opacity .22s ease,
      transform .34s cubic-bezier(.22,.61,.36,1),
      padding .34s cubic-bezier(.22,.61,.36,1),
      margin-top .34s cubic-bezier(.22,.61,.36,1),
      border-color .22s ease,
      box-shadow .22s ease,
      visibility 0s;
  }

  .nav-links a {
    width: 100%;
    min-width: 0;
    text-align: left;
    padding: 12px 14px;
  }
}

@media (max-width: 650px) {
  .scroll-top-btn {
    left: 50%;
    right: auto;
    bottom: 92px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav,
  .nav-links,
  .btn,
  .scroll-top-btn {
    transition: none !important;
  }
}

/* Make every small action button feel like the View Our Work button. */
.filter-btn,
.gallery-chip,
.line-popup-link,
.mobile-sticky-cta a,
.about-gallery-close,
.line-popup-close {
  transition:
    transform .22s ease,
    box-shadow .28s ease,
    background .28s ease,
    border-color .28s ease,
    color .28s ease;
}

.filter-btn:hover,
.gallery-chip:hover,
.line-popup-link:hover,
.mobile-sticky-cta a:hover,
.about-gallery-close:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(58, 38, 19, .16);
}

.filter-btn:active,
.gallery-chip:active,
.line-popup-link:active,
.mobile-sticky-cta a:active,
.about-gallery-close:active,
.line-popup-close:active {
  transform: translateY(0) scale(.98);
}

.line-popup-close:hover {
  transform: translateY(-1px);
  color: var(--ink);
}

/* === V4 final behavior patch: real scroll-direction nav + unified button motion === */
:root {
  --nav-height: 68px;
}

body {
  padding-top: var(--nav-height);
}

.nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  transform: translate3d(0, 0, 0);
  transition:
    transform .28s cubic-bezier(.22,.61,.36,1),
    background-color .35s ease,
    background .35s ease,
    border-color .35s ease,
    box-shadow .35s ease !important;
  will-change: transform;
}

.nav.nav-hidden {
  transform: translate3d(0, -115%, 0) !important;
  pointer-events: none;
}

.nav.menu-open {
  transform: translate3d(0, 0, 0) !important;
  pointer-events: auto;
}

@media (max-width: 850px) {
  .nav-inner {
    position: relative;
    overflow: visible !important;
  }

  .nav-links {
    display: flex !important;
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: 0;
    margin-top: 0 !important;
    padding: 0 10px !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden !important;
    transform: translateY(-14px);
    transform-origin: top center;
    border: 0 solid transparent !important;
    box-shadow: 0 18px 42px rgba(58, 38, 19, 0) !important;
    transition:
      max-height .34s cubic-bezier(.22,.61,.36,1),
      opacity .22s ease,
      transform .34s cubic-bezier(.22,.61,.36,1),
      padding .34s cubic-bezier(.22,.61,.36,1),
      border-color .22s ease,
      box-shadow .22s ease,
      visibility 0s linear .34s !important;
  }

  .nav-links.open {
    max-height: 420px;
    padding: 10px !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    border-width: 1px !important;
    border-color: var(--line) !important;
    box-shadow: 0 18px 42px rgba(58, 38, 19, .16) !important;
    animation: none !important;
    transition:
      max-height .34s cubic-bezier(.22,.61,.36,1),
      opacity .22s ease,
      transform .34s cubic-bezier(.22,.61,.36,1),
      padding .34s cubic-bezier(.22,.61,.36,1),
      border-color .22s ease,
      box-shadow .22s ease,
      visibility 0s !important;
  }
}

.btn,
.filter-btn,
.gallery-chip,
.line-popup-link,
.mobile-sticky-cta a,
.pref-btn,
.menu-btn,
.line-float-btn,
.about-gallery-close,
.about-mobile-modal-close,
.faq-question {
  transition:
    transform .22s ease,
    box-shadow .28s ease,
    background .28s ease,
    border-color .28s ease,
    color .28s ease,
    opacity .28s ease !important;
  will-change: transform;
}

.btn:hover,
body.page-loaded .hero-bg-slider .btn:hover,
.filter-btn:hover,
.gallery-chip:hover,
.line-popup-link:hover,
.mobile-sticky-cta a:hover,
.pref-btn:hover,
.menu-btn:hover,
.line-float-btn:hover,
.about-gallery-close:hover,
.about-mobile-modal-close:hover,
.faq-question:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 18px 38px rgba(58, 38, 19, .20) !important;
}

.btn:active,
body.page-loaded .hero-bg-slider .btn:active,
.filter-btn:active,
.gallery-chip:active,
.line-popup-link:active,
.mobile-sticky-cta a:active,
.pref-btn:active,
.menu-btn:active,
.line-float-btn:active,
.about-gallery-close:active,
.about-mobile-modal-close:active,
.faq-question:active {
  transform: translateY(0) scale(.98) !important;
}

.scroll-top-btn:hover {
  transform: translate(-50%, -3px) !important;
  box-shadow: 0 18px 38px rgba(58, 38, 19, .20) !important;
}

.scroll-top-btn:active {
  transform: translate(-50%, 0) scale(.98) !important;
}

@media (prefers-reduced-motion: reduce) {
  .nav,
  .nav-links,
  .btn,
  .filter-btn,
  .gallery-chip,
  .line-popup-link,
  .mobile-sticky-cta a,
  .pref-btn,
  .menu-btn,
  .line-float-btn,
  .about-gallery-close,
  .about-mobile-modal-close,
  .faq-question,
  .scroll-top-btn {
    transition: none !important;
  }
}


/* === V5 requested refinements === */
/* Softer unified button movement: same family as View Our Work, less jumpy. */
.btn,
.filter-btn,
.gallery-chip,
.line-popup-link,
.mobile-sticky-cta a,
.pref-btn,
.menu-btn,
.line-float-btn,
.about-gallery-close,
.about-mobile-modal-close,
.faq-question {
  transition:
    transform .2s ease,
    box-shadow .24s ease,
    background .24s ease,
    border-color .24s ease,
    color .24s ease,
    opacity .24s ease !important;
}

.btn:hover,
body.page-loaded .hero-bg-slider .btn:hover,
.filter-btn:hover,
.gallery-chip:hover,
.line-popup-link:hover,
.mobile-sticky-cta a:hover,
.pref-btn:hover,
.menu-btn:hover,
.line-float-btn:hover,
.about-gallery-close:hover,
.about-mobile-modal-close:hover,
.faq-question:hover {
  transform: translateY(-1.5px) !important;
  box-shadow: 0 12px 24px rgba(58, 38, 19, .14) !important;
}

.btn:active,
body.page-loaded .hero-bg-slider .btn:active,
.filter-btn:active,
.gallery-chip:active,
.line-popup-link:active,
.mobile-sticky-cta a:active,
.pref-btn:active,
.menu-btn:active,
.line-float-btn:active,
.about-gallery-close:active,
.about-mobile-modal-close:active,
.faq-question:active {
  transform: translateY(0) scale(.985) !important;
}

.scroll-top-btn:hover {
  transform: translate(-50%, -1.5px) !important;
  box-shadow: 0 12px 24px rgba(58, 38, 19, .14) !important;
}

.scroll-top-btn:active {
  transform: translate(-50%, 0) scale(.985) !important;
}

/* FAQ dropdown chevron/triangle instead of plus sign. */
.faq-question {
  gap: 18px;
}

.faq-chevron {
  width: 0;
  height: 0;
  flex: 0 0 auto;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--brand);
  transform: rotate(0deg);
  transition: transform .22s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

/* Footer copy is intentionally two lines, so keep spacing consistent on every page. */
.footer-copy {
  line-height: 1.55;
  max-width: 420px;
}

.footer-copy span {
  display: block;
}

.footer-social {
  gap: 10px !important;
}

/* Gallery: 12-card bento stack. Each click expands only inside its own two-row set. */
.gallery-stack {
  display: grid;
  gap: 24px;
}

.gallery-rowset {
  margin: 0;
}

.gallery-rowset-pair .about-gallery-card {
  grid-column: span 3;
  min-height: 320px;
}

.gallery-rowset .about-gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(31, 23, 18, .18);
}

@media (max-width: 760px) {
  .gallery-stack {
    gap: 18px;
  }

  .gallery-rowset,
  .gallery-rowset-pair {
    grid-template-columns: 1fr !important;
  }

  .gallery-rowset-pair .about-gallery-card {
    grid-column: 1 / -1;
    min-height: 260px;
  }
}

/* Contact page LINE OA panel gets the original green LINE feeling back. */
.contact-panel.line-oa-theme {
  color: #f7fff9;
  border: 1px solid rgba(6, 199, 85, .32);
  background:
    radial-gradient(circle at top right, rgba(82, 255, 154, .24), transparent 24rem),
    linear-gradient(135deg, #0c301b, #06c755);
  box-shadow: 0 20px 50px rgba(6, 199, 85, .18);
}

.contact-panel.line-oa-theme .eyebrow,
.contact-panel.line-oa-theme h2,
.contact-panel.line-oa-theme p {
  color: #f7fff9;
}

.contact-panel.line-oa-theme p {
  opacity: .84;
}

.contact-panel.line-oa-theme .btn-primary {
  background: #ffffff;
  color: #058b3e;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .14);
}

.contact-panel.line-oa-theme .btn-secondary {
  background: rgba(255, 255, 255, .13);
  color: #ffffff;
  border-color: rgba(255, 255, 255, .34);
}

html[data-theme="dark"] .contact-panel.line-oa-theme {
  background:
    radial-gradient(circle at top right, rgba(82, 255, 154, .18), transparent 24rem),
    linear-gradient(135deg, #071d10, #047f38);
  border-color: rgba(6, 199, 85, .28);
}

/* Page entry animation for every non-home page title, matching the Home landing feel. */
.page-title {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .8s cubic-bezier(.22,.61,.36,1),
    transform .8s cubic-bezier(.22,.61,.36,1);
}

body.page-loaded .page-title {
  opacity: 1;
  transform: translateY(0);
}

body:not(.page-loaded) .page-title .breadcrumb,
body:not(.page-loaded) .page-title h1,
body:not(.page-loaded) .page-title p {
  opacity: 0;
  transform: translateY(14px);
}

body.page-loaded .page-title .breadcrumb,
body.page-loaded .page-title h1,
body.page-loaded .page-title p {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity .75s cubic-bezier(.22,.61,.36,1),
    transform .75s cubic-bezier(.22,.61,.36,1);
}

body.page-loaded .page-title h1 { transition-delay: .06s; }
body.page-loaded .page-title p { transition-delay: .12s; }

@media (prefers-reduced-motion: reduce) {
  .page-title,
  .page-title .breadcrumb,
  .page-title h1,
  .page-title p,
  .faq-chevron {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* V6: Contact page LINE OA panel should match the original dark LINE CTA mood — not a full bright-green block. */
.contact-panel.line-oa-theme,
html[data-theme="dark"] .contact-panel.line-oa-theme {
  color: #fff8ee;
  border: 1px solid rgba(255, 255, 255, .10);
  background:
    radial-gradient(circle at top right, rgba(6, 199, 85, .18), transparent 22rem),
    linear-gradient(135deg, #182415, color-mix(in srgb, var(--brand-dark) 44%, #050505));
  box-shadow: var(--shadow);
}

.contact-panel.line-oa-theme .eyebrow,
.contact-panel.line-oa-theme h2,
.contact-panel.line-oa-theme p {
  color: #fff8ee;
}

.contact-panel.line-oa-theme p {
  color: rgba(255, 248, 238, .75);
  opacity: 1;
}

.contact-panel.line-oa-theme .btn-primary {
  color: #fff;
  background: #06c755;
  box-shadow: 0 12px 24px rgba(6, 199, 85, .18);
}

.contact-panel.line-oa-theme .btn-secondary {
  color: #fff8ee;
  background: rgba(255, 248, 238, .10);
  border-color: rgba(255, 248, 238, .22);
}

.contact-panel.line-oa-theme .btn-primary:hover,
.contact-panel.line-oa-theme .btn-primary:focus-visible {
  background: #09b951;
}

/* V7: Softer LINE OA contact card — keep LINE identity without turning the whole panel neon green. */
.contact-panel.line-oa-theme,
html[data-theme="dark"] .contact-panel.line-oa-theme {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 36px;
  border: 1px solid rgba(6, 199, 85, .22);
  background:
    radial-gradient(circle at 92% 10%, rgba(6, 199, 85, .16), transparent 16rem),
    radial-gradient(circle at 8% 100%, rgba(255, 248, 238, .78), transparent 18rem),
    linear-gradient(135deg, #fbfff7 0%, #f4fbef 52%, #fff9ee 100%);
  color: var(--ink);
  box-shadow: 0 18px 46px rgba(45, 92, 55, .10);
}

.contact-panel.line-oa-theme::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, #06c755, rgba(6, 199, 85, .34));
  border-radius: 36px 0 0 36px;
  z-index: -1;
}

.contact-panel.line-oa-theme::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(6, 199, 85, .10);
  z-index: -1;
}

.contact-panel.line-oa-theme .eyebrow {
  align-self: flex-start;
  color: #067a36;
  background: rgba(6, 199, 85, .10);
  border: 1px solid rgba(6, 199, 85, .18);
  border-radius: 999px;
  padding: 6px 11px;
  letter-spacing: .10em;
}

.contact-panel.line-oa-theme h2 {
  color: var(--ink);
}

.contact-panel.line-oa-theme p {
  color: var(--muted);
  opacity: 1;
}

.contact-panel.line-oa-theme .btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #06c755, #05aa48);
  box-shadow: 0 12px 24px rgba(6, 199, 85, .20);
}

.contact-panel.line-oa-theme .btn-primary:hover,
.contact-panel.line-oa-theme .btn-primary:focus-visible {
  background: linear-gradient(135deg, #07bd52, #049a40);
  box-shadow: 0 15px 28px rgba(6, 199, 85, .24);
}

.contact-panel.line-oa-theme .btn-secondary {
  color: #106235;
  background: rgba(255, 255, 255, .72);
  border-color: rgba(6, 199, 85, .18);
  box-shadow: 0 10px 22px rgba(45, 92, 55, .08);
}

.contact-panel.line-oa-theme .btn-secondary:hover,
.contact-panel.line-oa-theme .btn-secondary:focus-visible {
  background: rgba(255, 255, 255, .88);
  border-color: rgba(6, 199, 85, .28);
}

html[data-theme="dark"] .contact-panel.line-oa-theme {
  border-color: rgba(6, 199, 85, .22);
  background:
    radial-gradient(circle at 92% 10%, rgba(6, 199, 85, .18), transparent 16rem),
    linear-gradient(135deg, #101811 0%, #152017 55%, #11100e 100%);
  color: #fff8ee;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .30);
}

html[data-theme="dark"] .contact-panel.line-oa-theme .eyebrow {
  color: #9cf2b7;
  background: rgba(6, 199, 85, .12);
  border-color: rgba(6, 199, 85, .22);
}

html[data-theme="dark"] .contact-panel.line-oa-theme h2 {
  color: #fff8ee;
}

html[data-theme="dark"] .contact-panel.line-oa-theme p {
  color: rgba(255, 248, 238, .72);
}

html[data-theme="dark"] .contact-panel.line-oa-theme .btn-secondary {
  color: #fff8ee;
  background: rgba(255, 248, 238, .09);
  border-color: rgba(255, 248, 238, .16);
  box-shadow: none;
}

@media (max-width: 650px) {
  .contact-panel.line-oa-theme::before {
    inset: 0 0 auto 0;
    width: auto;
    height: 5px;
    border-radius: 36px 36px 0 0;
  }
}


/* V8: restore the original dark LINE OA / booking shortcut look from the optimized build. */
.line-cta,
html[data-theme="dark"] .line-cta {
  background: linear-gradient(135deg, #182415, color-mix(in srgb, var(--brand-dark) 44%, #050505)) !important;
  color: #fff8ee !important;
  border: 0 !important;
  box-shadow: var(--shadow) !important;
}

.line-cta h2,
.line-cta p {
  color: #fff8ee !important;
}

.line-cta p {
  color: rgba(255, 248, 238, .75) !important;
}

.line-cta .eyebrow {
  color: #f0b56d !important;
}

.line-btn,
.line-btn:hover,
.line-btn:focus-visible {
  color: #fff !important;
  background: #06c755 !important;
  border-color: transparent !important;
}

.line-btn {
  box-shadow: 0 14px 30px rgba(6, 199, 85, .20) !important;
}

.line-btn:hover,
.line-btn:focus-visible {
  box-shadow: 0 16px 32px rgba(6, 199, 85, .23) !important;
}

/* V8: make the Contact page LINE OA box use the same original dark LINE card mood. */
.contact-panel.line-oa-theme,
html[data-theme="dark"] .contact-panel.line-oa-theme {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff8ee !important;
  border: 0 !important;
  border-radius: 34px !important;
  background: linear-gradient(135deg, #182415, color-mix(in srgb, var(--brand-dark) 44%, #050505)) !important;
  box-shadow: var(--shadow) !important;
}

.contact-panel.line-oa-theme::before,
.contact-panel.line-oa-theme::after {
  display: none !important;
}

.contact-panel.line-oa-theme .eyebrow,
html[data-theme="dark"] .contact-panel.line-oa-theme .eyebrow {
  align-self: flex-start;
  color: #f0b56d !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  letter-spacing: .16em;
}

.contact-panel.line-oa-theme h2,
html[data-theme="dark"] .contact-panel.line-oa-theme h2 {
  color: #fff8ee !important;
}

.contact-panel.line-oa-theme p,
html[data-theme="dark"] .contact-panel.line-oa-theme p {
  color: rgba(255, 248, 238, .75) !important;
  opacity: 1 !important;
}

.contact-panel.line-oa-theme .btn-primary,
.contact-panel.line-oa-theme .btn-primary:hover,
.contact-panel.line-oa-theme .btn-primary:focus-visible,
html[data-theme="dark"] .contact-panel.line-oa-theme .btn-primary,
html[data-theme="dark"] .contact-panel.line-oa-theme .btn-primary:hover,
html[data-theme="dark"] .contact-panel.line-oa-theme .btn-primary:focus-visible {
  color: #fff !important;
  background: #06c755 !important;
  border-color: transparent !important;
  box-shadow: 0 14px 30px rgba(6, 199, 85, .20) !important;
}

.contact-panel.line-oa-theme .btn-secondary,
.contact-panel.line-oa-theme .btn-secondary:hover,
.contact-panel.line-oa-theme .btn-secondary:focus-visible,
html[data-theme="dark"] .contact-panel.line-oa-theme .btn-secondary,
html[data-theme="dark"] .contact-panel.line-oa-theme .btn-secondary:hover,
html[data-theme="dark"] .contact-panel.line-oa-theme .btn-secondary:focus-visible {
  color: #fff8ee !important;
  background: rgba(255, 248, 238, .10) !important;
  border-color: rgba(255, 248, 238, .22) !important;
  box-shadow: none !important;
}

/* V8: 12-card bento gallery with five rows. Expanded card occupies only a two-row band. */
.about-gallery-bento {
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  grid-auto-rows: clamp(145px, 14vw, 190px);
  gap: 18px;
}

.about-gallery-bento .about-gallery-card {
  grid-column: var(--col-start) / span var(--col-span) !important;
  grid-row: var(--row-start) / span 1 !important;
  min-height: auto;
}

.about-gallery-bento.is-expanded .about-gallery-card {
  pointer-events: auto;
}

.about-gallery-bento.is-expanded .about-gallery-card:hover {
  transform: scale(.96);
}

.about-gallery-bento .about-expand-overlay {
  pointer-events: none;
}

@media (max-width: 760px) {
  .about-gallery-bento {
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto;
  }

  .about-gallery-bento .about-gallery-card {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    min-height: 260px;
  }
}

/* V9: dark theme LINE buttons use the original neutral shadow — no green underglow. */
html[data-theme="dark"] .contact-panel.line-oa-theme .btn-primary,
html[data-theme="dark"] .contact-panel.line-oa-theme .btn-primary:hover,
html[data-theme="dark"] .contact-panel.line-oa-theme .btn-primary:focus-visible,
html[data-theme="dark"] .line-btn,
html[data-theme="dark"] .line-btn:hover,
html[data-theme="dark"] .line-btn:focus-visible {
  box-shadow: 0 14px 30px rgba(0, 0, 0, .24) !important;
}

html[data-theme="dark"] .contact-panel.line-oa-theme .btn-primary:hover,
html[data-theme="dark"] .contact-panel.line-oa-theme .btn-primary:focus-visible,
html[data-theme="dark"] .line-btn:hover,
html[data-theme="dark"] .line-btn:focus-visible {
  box-shadow: 0 16px 32px rgba(0, 0, 0, .30) !important;
}


/* V10: restore green underglow for LINE CTA buttons in dark theme. */
html[data-theme="dark"] .contact-panel.line-oa-theme .btn-primary,
html[data-theme="dark"] .line-btn {
  box-shadow:
    0 14px 30px rgba(6, 199, 85, .28),
    0 0 34px rgba(6, 199, 85, .16) !important;
}

html[data-theme="dark"] .contact-panel.line-oa-theme .btn-primary:hover,
html[data-theme="dark"] .contact-panel.line-oa-theme .btn-primary:focus-visible,
html[data-theme="dark"] .line-btn:hover,
html[data-theme="dark"] .line-btn:focus-visible {
  box-shadow:
    0 16px 34px rgba(6, 199, 85, .34),
    0 0 42px rgba(6, 199, 85, .22) !important;
}

/* V10: keep gallery cards crisp while one card is expanded. */
.about-gallery.is-expanded .about-gallery-card,
.about-gallery-bento.is-expanded .about-gallery-card,
.about-gallery-bento.is-expanded .about-gallery-card:hover {
  opacity: 1 !important;
  filter: none !important;
}

.about-gallery.is-expanded .about-gallery-card {
  transform: none !important;
}

.about-gallery-bento.is-expanded .about-gallery-card:hover {
  transform: translateY(-3px) !important;
}

.about-expand-overlay {
  animation: galleryOverlayRestart .001s linear;
}

@keyframes galleryOverlayRestart {
  from { opacity: .999; }
  to { opacity: 1; }
}


/* V11: smoother gallery switching — no hidden-card click-through, no blur, no stacked RAF animation. */
.about-gallery-bento .about-expand-overlay,
.about-expand-overlay {
  pointer-events: auto !important;
  will-change: left, top, width, height, border-radius;
  transition:
    left 0.68s cubic-bezier(.2,.82,.18,1),
    top 0.68s cubic-bezier(.2,.82,.18,1),
    width 0.68s cubic-bezier(.2,.82,.18,1),
    height 0.68s cubic-bezier(.2,.82,.18,1),
    border-radius 0.55s ease,
    box-shadow 0.55s ease !important;
  animation: none !important;
}

.about-gallery.is-switching .about-gallery-card,
.about-gallery.is-expanded .about-gallery-card,
.about-gallery-bento.is-expanded .about-gallery-card,
.about-gallery-bento.is-expanded .about-gallery-card:hover {
  opacity: 1 !important;
  filter: none !important;
}

.about-gallery.is-switching .about-gallery-card,
.about-gallery.is-expanded .about-gallery-card {
  transform: none !important;
}

.about-gallery-bento.is-expanded .about-gallery-card:hover {
  transform: translateY(-3px) !important;
}

.about-expand-info {
  transition:
    left 0.55s ease,
    right 0.55s ease,
    bottom 0.55s ease,
    width 0.55s ease,
    padding 0.55s ease,
    border-radius 0.55s ease !important;
}

.about-expand-info h3,
.about-expand-info p {
  transition: font-size 0.55s ease, letter-spacing 0.55s ease, line-height 0.55s ease !important;
}

/* V12: Contact page dark theme — remove the green neon underglow from Open LINE OA only. */
html[data-theme="dark"] .contact-panel.line-oa-theme .btn-primary,
html[data-theme="dark"] .contact-panel.line-oa-theme .btn-primary:hover,
html[data-theme="dark"] .contact-panel.line-oa-theme .btn-primary:focus-visible {
  box-shadow: 0 14px 30px rgba(0, 0, 0, .24) !important;
  filter: none !important;
}

html[data-theme="dark"] .contact-panel.line-oa-theme .btn-primary:hover,
html[data-theme="dark"] .contact-panel.line-oa-theme .btn-primary:focus-visible {
  box-shadow: 0 16px 32px rgba(0, 0, 0, .30) !important;
}

/* V14: make the Fastest contact LINE card background transition smoothly on theme change. */
.contact-panel.line-oa-theme,
html[data-theme="dark"] .contact-panel.line-oa-theme {
  background: linear-gradient(135deg, #182415, #2d1e11) !important;
  transition:
    background-color .38s ease,
    border-color .38s ease,
    box-shadow .38s ease,
    color .38s ease !important;
}

.contact-panel.line-oa-theme::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  border-radius: inherit !important;
  background: linear-gradient(135deg, #182415, #6e5e4b) !important;
  opacity: 0 !important;
  transition: opacity .38s ease !important;
}

html[data-theme="dark"] .contact-panel.line-oa-theme::before {
  opacity: 1 !important;
}

.contact-panel.line-oa-theme::after {
  display: none !important;
}

.contact-panel.line-oa-theme > * {
  position: relative;
  z-index: 1;
}

.contact-panel.line-oa-theme .eyebrow,
.contact-panel.line-oa-theme h2,
.contact-panel.line-oa-theme p,
.contact-panel.line-oa-theme .btn {
  transition:
    color .28s ease,
    background-color .28s ease,
    border-color .28s ease,
    box-shadow .28s ease,
    transform .22s ease !important;
}

/* V15: fix Fastest contact theme-transition jank.
   The V14 crossfade reused ::before, which fought earlier LINE-card rules and could flash/overlay weirdly.
   Keep the original optimized LINE card look, remove the pseudo overlay, and transition only safe properties. */
.contact-panel.line-oa-theme,
html[data-theme="dark"] .contact-panel.line-oa-theme {
  color: #fff8ee !important;
  border: 0 !important;
  border-radius: 34px !important;
  background: linear-gradient(135deg, #182415, #2d1e11) !important;
  box-shadow: var(--shadow) !important;
  transition:
    color .28s ease,
    border-color .28s ease,
    box-shadow .28s ease,
    background-color .28s ease !important;
}

.contact-panel.line-oa-theme::before,
html[data-theme="dark"] .contact-panel.line-oa-theme::before,
.contact-panel.line-oa-theme::after,
html[data-theme="dark"] .contact-panel.line-oa-theme::after {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
}

.contact-panel.line-oa-theme > * {
  position: relative;
  z-index: 1;
}

.contact-panel.line-oa-theme .eyebrow,
html[data-theme="dark"] .contact-panel.line-oa-theme .eyebrow {
  color: #f0b56d !important;
  background: transparent !important;
  border: 0 !important;
}

.contact-panel.line-oa-theme h2,
html[data-theme="dark"] .contact-panel.line-oa-theme h2 {
  color: #fff8ee !important;
}

.contact-panel.line-oa-theme p,
html[data-theme="dark"] .contact-panel.line-oa-theme p {
  color: rgba(255, 248, 238, .75) !important;
}

.contact-panel.line-oa-theme .btn-primary,
html[data-theme="dark"] .contact-panel.line-oa-theme .btn-primary {
  color: #fff !important;
  background: #06c755 !important;
  border-color: transparent !important;
}

html[data-theme="dark"] .contact-panel.line-oa-theme .btn-primary,
html[data-theme="dark"] .contact-panel.line-oa-theme .btn-primary:hover,
html[data-theme="dark"] .contact-panel.line-oa-theme .btn-primary:focus-visible {
  box-shadow: 0 14px 30px rgba(0, 0, 0, .24) !important;
  filter: none !important;
}

/* V16: Booking shortcut should be a normal warm site card, not LINE/green.
   Keep green only inside the Contact Us page Fastest contact LINE OA card. */
.line-cta,
html[data-theme="dark"] .line-cta {
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 12%, transparent), transparent 24rem),
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 96%, transparent), color-mix(in srgb, var(--surface-2) 94%, transparent)) !important;
  box-shadow: 0 18px 46px rgba(58, 38, 19, .08) !important;
}

html[data-theme="dark"] .line-cta {
  box-shadow: 0 18px 46px rgba(0, 0, 0, .28) !important;
}

.line-cta h2,
html[data-theme="dark"] .line-cta h2 {
  color: var(--ink) !important;
}

.line-cta p,
html[data-theme="dark"] .line-cta p {
  color: var(--muted) !important;
}

.line-cta .eyebrow,
html[data-theme="dark"] .line-cta .eyebrow {
  color: var(--brand) !important;
}

.line-btn,
.line-btn:hover,
.line-btn:focus-visible,
html[data-theme="dark"] .line-btn,
html[data-theme="dark"] .line-btn:hover,
html[data-theme="dark"] .line-btn:focus-visible {
  color: #fff8ee !important;
  background: linear-gradient(135deg, var(--brand), var(--accent)) !important;
  border-color: transparent !important;
  box-shadow: 0 14px 30px rgba(139, 94, 52, .22) !important;
  filter: none !important;
}

.line-btn:hover,
.line-btn:focus-visible,
html[data-theme="dark"] .line-btn:hover,
html[data-theme="dark"] .line-btn:focus-visible {
  box-shadow: 0 16px 34px rgba(139, 94, 52, .28) !important;
}

/* V18: Contact page Open LINE OA button stays LINE-green in dark mode, matching light theme without neon glow. */
html[data-theme="dark"] .contact-panel.line-oa-theme .btn-primary,
html[data-theme="dark"] .contact-panel.line-oa-theme .btn-primary:hover,
html[data-theme="dark"] .contact-panel.line-oa-theme .btn-primary:focus-visible {
  color: #fff !important;
  background: #06c755 !important;
  border-color: transparent !important;
  filter: none !important;
}

html[data-theme="dark"] .contact-panel.line-oa-theme .btn-primary::before,
html[data-theme="dark"] .contact-panel.line-oa-theme .btn-primary:hover::before,
html[data-theme="dark"] .contact-panel.line-oa-theme .btn-primary:focus-visible::before {
  opacity: 0 !important;
  background: #06c755 !important;
}

/* V18: Make mobile gallery detail modal image reliable.
   JS now assigns the background via style property, and this guarantees sizing/visibility on phones. */
.about-mobile-modal-card {
  background-color: #1f1712;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}


/* Smooth language preference transition */
body.lang-transitioning .en,
body.lang-transitioning .th {
  display: inline-block;
  transition: opacity .17s ease, transform .17s ease, filter .17s ease;
  will-change: opacity, transform, filter;
}

body.lang-transition-out .en,
body.lang-transition-out .th {
  opacity: 0;
  transform: translateY(-4px);
  filter: blur(2px);
}

body.lang-transition-in .en,
body.lang-transition-in .th {
  animation: languageTextIn .24s ease both;
}

.lang-toggle [data-lang-value] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity .17s ease, transform .17s ease;
}

body.lang-transition-out .lang-toggle [data-lang-value] {
  opacity: 0;
  transform: translateY(-3px);
}

body.lang-transition-in .lang-toggle [data-lang-value] {
  animation: languageTextIn .24s ease both;
}

@keyframes languageTextIn {
  from {
    opacity: 0;
    transform: translateY(4px);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}


/* Admin/CMS public additions */
.request-panel {
  margin-top: 28px;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 12%, transparent), transparent 26rem),
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 96%, transparent), color-mix(in srgb, var(--surface-2) 90%, transparent));
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 30px;
  box-shadow: 0 18px 46px rgba(58, 38, 19, .08);
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 24px;
}
.request-copy h2 { margin: 12px 0; }
.request-form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.request-form label { display: grid; gap: 7px; color: var(--ink); font-weight: 850; }
.request-form small { color: var(--muted); font-weight: 750; }
.request-form input,
.request-form select,
.request-form textarea,
.admin-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  border-color: color-mix(in srgb, var(--accent) 72%, var(--line));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}
.form-wide { grid-column: 1 / -1; }
.request-other-field { display: none !important; }
.request-other-field.visible { display: grid !important; }
.request-status { min-height: 24px; font-weight: 850; color: var(--brand-dark); }
.comment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.comment-card { min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; }
.comment-card strong { margin-top: 18px; color: var(--brand-dark); }
.comment-card .quote-mark { color: var(--accent); font-size: 2.4rem; font-weight: 950; line-height: 1; }
@media (max-width: 900px) {
  .request-panel { grid-template-columns: 1fr; padding: 24px; }
  .comment-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
}


/* V21 public request form fixes */
.request-other-field { grid-column: 1 / -1; }
.request-other-field.visible { grid-column: 1 / -1; }


/* === V23 Custom request polish === */
.request-panel {
  overflow: visible;
}
.request-form label {
  min-width: 0;
}
.custom-select-label {
  position: relative;
  z-index: 5;
}
.custom-select {
  position: relative;
  width: 100%;
}
.custom-select-trigger,
.custom-select-menu button,
.guest-stepper-btn {
  font: inherit;
}
.custom-select-trigger {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--ink);
  padding: 12px 44px 12px 14px;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 8px 20px rgba(58, 38, 19, .04);
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease, transform .18s ease;
}
.custom-select-trigger:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(58, 38, 19, .07);
}
.custom-select.open .custom-select-trigger,
.custom-select-trigger:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 72%, var(--line));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent), 0 14px 30px rgba(58, 38, 19, .08);
}
.select-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .75;
  flex: 0 0 auto;
  transition: transform .22s ease, opacity .22s ease;
}
.custom-select.open .select-chevron {
  transform: rotate(225deg) translate(-2px, -2px);
  opacity: 1;
}
.custom-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  background: color-mix(in srgb, var(--surface) 98%, transparent);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 22px 52px rgba(58, 38, 19, .16);
  padding: 8px;
  display: grid;
  gap: 4px;
  max-height: 260px;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(.985);
  transition: opacity .2s ease, transform .2s ease;
}
.custom-select.open .custom-select-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.custom-select-menu button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  font-weight: 850;
  transition: background .18s ease, transform .18s ease, color .18s ease;
}
.custom-select-menu button:hover,
.custom-select-menu button[aria-selected="true"] {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--brand-dark);
}
.custom-select-menu button:active {
  transform: scale(.99);
}
.guest-stepper {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}
.guest-stepper input {
  text-align: center;
  font-weight: 900;
  letter-spacing: .02em;
}
.guest-stepper-btn {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface-2) 92%, transparent);
  color: var(--brand-dark);
  font-size: 1.15rem;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(58, 38, 19, .05);
  transition: transform .16s ease, box-shadow .16s ease, background .2s ease, border-color .2s ease;
}
.guest-stepper-btn:hover {
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface-2));
  box-shadow: 0 12px 24px rgba(58, 38, 19, .08);
}
.guest-stepper-btn:active {
  transform: translateY(0) scale(.98);
}
html[data-theme="dark"] .custom-select-trigger,
html[data-theme="dark"] .custom-select-menu,
html[data-theme="dark"] .guest-stepper-btn {
  box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
}
@media (max-width: 620px) {
  .request-panel {
    border-radius: 26px;
    padding: 20px;
  }
  .custom-select-menu {
    max-height: 232px;
  }
  .guest-stepper {
    grid-template-columns: 46px minmax(0, 1fr) 46px;
  }
}


/* V25: plain guest count input, no +/- controls. */
.guest-count-input {
  text-align: left;
  font-weight: 850;
}

/* V25: CMS-rendered FAQ items keep the same reveal feel. */
[data-cms-faq] .faq-item.visible {
  opacity: 1;
  transform: none;
}
