@font-face {
  font-family: "Host Grotesk";
  src: local("Host Grotesk"), url("/assets/gcw-cabinetry/media/host-grotesk-latin.ce9c9db8a488.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --paper: #fafaf8;
  --ink: #101011;
  --muted: #53534f;
  --panel: #eeede9;
  --line: #e7e5df;
  --font: "Host Grotesk", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 14px/1.35 var(--font); letter-spacing: -.02em; }
main, header, footer, section { display: block; }
main { display: flex; flex-direction: column; gap: 48px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; }
button { color: inherit; }
p, h1, h2, h3, ol, ul, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; text-wrap: pretty; }
h1 { font-size: 48px; line-height: 1.15; letter-spacing: -.04em; }
h2 { font-size: 32px; line-height: 1.15; letter-spacing: -.02em; }
h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.025em; }
a:hover { text-decoration: underline; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid #84643d; outline-offset: 4px; }
.skip-link { position: fixed; z-index: 15; inset: 4px auto auto 4px; transform: translateY(-150%); padding: 8px 14px; background: white; }
.skip-link:focus { transform: none; }
.container { width: min(1080px, 100% - 48px); margin-inline: auto; }
.section { padding-block: 72px; }
.section-heading { display: grid; gap: 12px; }
.eyebrow { display: flex; align-items: center; gap: 6px; line-height: 17.55px; font-size: 13px; }
.sparkle { flex: 0 0 12px; width: 12px; height: 12px; }
.button {
  display: inline-flex; justify-content: center; align-items: center;
  padding: 0 20px; min-height: 40px; border: 1px solid #1c1c1c;
  border-radius: 8px; background: #1c1c1c; color: white;
  line-height: 1.2; text-align: center; white-space: nowrap;
}
.button:hover { background: #343432; border-color: #343432; text-decoration: none; }
.button.light { background: white; color: #1c1c1c; border-color: white; }
.button.light:hover { background: #eeede9; border-color: #eeede9; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }

.site-header { position: sticky; top: 0; z-index: 10; padding: 12px 24px; }
.nav-shell {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  padding: 10px 20px; min-height: 60px; max-width: 1512px; margin-inline: auto;
  gap: 24px; border-radius: 16px; background: white;
}
.brand {
  display: inline-flex; align-items: center; vertical-align: middle;
}
.brand:hover { text-decoration: none; }
.brand-logo { width: clamp(162px, 14.3vw, 206px); height: auto; }
.nav-drawer { display: contents; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links > a { white-space: nowrap; }
.nav-links a[aria-current] { text-decoration: underline; text-underline-offset: .25em; }
.whatsapp-shortcut {
  position: fixed;
  z-index: 8;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #168447;
  box-shadow: 0 3px 14px #17281b26;
}
.whatsapp-shortcut:hover { background: #106e39; }
.whatsapp-shortcut img { width: 28px; height: 28px; }
.menu-toggle { display: none; }

.hero { padding: 6px 28px 102px; }
.hero-banner {
  position: relative; isolation: isolate; display: grid; max-width: 1512px; margin: 0 auto;
  min-height: max(515px, calc(100svh - 102px)); padding: 76px 40px 36px;
  overflow: hidden; border-radius: 24px; background: #1c1c1c; color: var(--paper);
}
.hero-image { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: 50% 50%; }
.hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-top: 128px; }
.hero-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; justify-items: start; }
.hero-head h1 { width: min(100%, 660px); overflow-wrap: anywhere; text-wrap: balance; }
.hero-head h1:lang(en) { font-size: clamp(36px, 3.7vw, 44px); }
.hero-head h1:lang(zh) { letter-spacing: -.015em; }
.hero-head .actions { margin-top: 0; }
.hero-lead { width: min(100%, 540px); line-height: 1.35; }
.link-light { color: inherit; }

.service-layout { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: 32px; margin-top: 40px; }
.service-visual { position: relative; height: 440px; border-radius: 16px; overflow: hidden; background: var(--panel); }
.service-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-visual img[aria-hidden="true"] { opacity: 0; }
.service-options { display: grid; gap: 12px; }
.service-options details { background: var(--panel); border-radius: 12px; }
.service-options summary { display: flex; gap: 16px; justify-content: space-between; padding: 18px; align-items: center; min-height: 54px; cursor: pointer; list-style: none; line-height: 18px; }
.service-options summary::-webkit-details-marker { display: none; }
.service-options summary::after { content: "+"; font-size: 18px; line-height: 1; }
.service-options details[open] summary::after { content: "−"; }
.service-options details[open] summary { min-height: 0; padding-bottom: 11px; }
.service-options details p { padding: 0 18px 18px; color: var(--muted); }

.case-carousel { display: grid; grid-template-columns: minmax(225px, 280px) minmax(0, 1fr); align-items: start; gap: 24px; }
.case-intro { display: grid; gap: 24px; }
.projects-link { justify-self: start; text-decoration: underline; text-underline-offset: .25em; }
.projects-link span { display: inline-block; margin-inline-start: 4px; }
.case-intro > p { color: var(--muted); min-height: 76px; }
.case-controls { display: flex; gap: 12px; }
.case-controls button { min-width: 34px; min-height: 42px; padding: 0; border: none; background: transparent; border-radius: 7px; font-size: 21px; cursor: pointer; }
.case-controls button:hover:not(:disabled) { background: var(--panel); }
.case-controls button:disabled { opacity: .32; cursor: default; }
.case-card { background: var(--panel); padding: 10px; border-radius: 12px; }
.case-media { position: relative; overflow: hidden; border-radius: 8px; min-height: 380px; background: #d6cec3; }
.case-media img { width: 100%; height: 380px; object-fit: cover; }
.case-overlay { position: absolute; inset: 0; display: flex; align-items: end; padding: 16px; color: white; background: linear-gradient(transparent 44%, #000b); }
.case-overlay p { max-width: 290px; font-weight: 500; }
.case-caption { display: grid; gap: 4px; padding: 24px 10px 14px; }
.case-caption small { color: var(--muted); font-size: 13px; }

.comparison-section .section-heading h2 { color: #1c1c1c; line-height: 1.15; }
.comparison-section .eyebrow, .comparison-intro { color: #686866; }
.comparison-intro { max-width: 560px; }
.comparison-preview-body .comparison-section { padding-block: 22px 22px; }
.comparison-preview-body .comparison-section .section-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.comparison-preview-body .draft-pad { margin-top: 0; }
.comparison-preview-body { scrollbar-width: none; }
html:has(.comparison-preview-body) { scrollbar-width: none; }
.comparison-view {
  --split: 71%;
  --knob-size: 52px;
  --inset: clamp(12px, 2vw, 24px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1080 / 560;
  margin: 0;
  border-radius: 16px;
  background: var(--panel);
}
.comparison-after, .comparison-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
}
.comparison-before { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.comparison-tag, .comparison-hint {
  position: absolute;
  line-height: 1.25;
  pointer-events: none;
  user-select: none;
}
.comparison-tag {
  top: var(--inset);
  display: grid;
  place-items: center;
  min-height: 33px;
  padding: 6px 14px;
  border-radius: 5px;
  background: #1c1c1c;
  color: #fafaf8;
  font-size: 13px;
  font-weight: 500;
}
.before-tag { left: var(--inset); }
.after-tag { right: var(--inset); }
.before-tag:lang(en) { min-width: 66px; }
.after-tag:lang(en) { min-width: 57px; }
.comparison-view[data-only-after] .before-tag, .comparison-view[data-only-before] .after-tag { visibility: hidden; }
.comparison-rule {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.comparison-rule::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 2px;
  transform: translateX(-50%);
  background: white;
}
.comparison-handle {
  position: absolute;
  top: 50%;
  left: clamp(calc(var(--knob-size) / 2), var(--split), calc(100% - var(--knob-size) / 2));
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  width: var(--knob-size);
  height: var(--knob-size);
  border-radius: 50%;
  background: white;
  color: #1c1c1c;
  font-size: 0;
}
.comparison-handle::before {
  content: "";
  width: 16px;
  height: 10px;
  background: currentColor;
  clip-path: polygon(0 50%, 30% 0, 37% 12%, 18% 42%, 82% 42%, 63% 12%, 70% 0, 100% 50%, 70% 100%, 63% 88%, 82% 58%, 18% 58%, 37% 88%, 30% 100%);
}
.comparison-hint {
  bottom: var(--inset);
  left: var(--inset);
  color: #686866;
  font-size: 12px;
}
.comparison-view:not([data-interactive]) :is(.comparison-hint, .comparison-handle) { visibility: hidden; }
.comparison-view:has(.comparison-range:focus-visible) .comparison-handle {
  outline: 2px solid #172a26;
  outline-offset: 3px;
}
.comparison-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  appearance: none;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
/* Align native pointer coordinates with the divider, including at both edges. */
.comparison-range::-webkit-slider-runnable-track { height: 100%; }
.comparison-range::-webkit-slider-thumb { appearance: none; width: 1px; height: 100%; }
.comparison-range::-moz-range-track { height: 100%; }
.comparison-range::-moz-range-thumb { width: 1px; height: 100%; border: 0; }

/* Only the edges of the two underlying sheets show past the photograph. */
.draft-pad {
  position: relative;
  isolation: isolate;
  margin: clamp(24px, 3.6vw, 40px) 0 8px;
}
.draft-pad::before, .draft-pad::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #cececb;
  border-radius: 16px;
  background: #f5f5f3;
  pointer-events: none;
}
.draft-pad::before {
  transform: translate(6px, 5px);
  box-shadow: 1px 2px 3px #20201c10;
}
.draft-pad::after {
  transform: translate(3px, 2px);
  background: #fafaf8;
}
.draft-pad:has(> [data-scene="living"])::before,
.draft-pad:has(> [data-scene="kitchen"])::before,
.draft-pad:has(> [data-scene="kitchen"])::after { display: none; }
.draft-pad > [data-scene="kitchen"] {
  border-radius: 16px;
  box-shadow: 1px 2px 3px #20201c16;
}
.draft-sheet {
  position: relative;
  z-index: 1;
}
.draft-room {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.draft-pad[data-load-error] > .draft-sheet > .draft-room {
  z-index: 2;
  inset: auto auto 48px 50%;
  width: max-content;
  max-width: calc(100% - 24px);
  height: auto;
  padding: 7px 12px;
  transform: translateX(-50%);
  clip-path: none;
  border-radius: 5px;
  background: #242422f2;
  color: #fff;
  font-size: 13px;
  text-align: center;
  white-space: normal;
  pointer-events: none;
}
.draft-pagination {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  display: flex;
}
.draft-pagination button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #242423;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.draft-pagination button::after {
  content: "";
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #fffefaeb;
  box-shadow: 0 1px 3px #15151226;
  font: 16px/1 Arial, sans-serif;
  opacity: 0;
}
.draft-pagination .comparison-turn-prev::after { content: "←"; }
.draft-pagination .comparison-turn-next::after { content: "→"; }
.draft-pagination .comparison-turn-next { touch-action: none; }
.draft-pagination button:active::after, .draft-pagination button:focus-visible::after { opacity: 1; }
.draft-pagination button:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
@media (hover: hover) {
  .draft-pagination button:hover::after { opacity: 1; }
}
@media (hover: none) and (pointer: coarse) {
  .draft-pagination .comparison-turn-prev::after { opacity: 1; }
  .draft-pagination .comparison-turn-next::before {
    content: "";
    position: absolute;
    right: 5px;
    bottom: 5px;
    width: 16px;
    height: 16px;
    border-bottom-right-radius: 6px;
    background: linear-gradient(135deg, transparent 42%, #32322e62 48%, #eeeee9 51%, #fff 66%, #bcbcb6 94%);
    pointer-events: none;
  }
}
@media (max-width: 600px) {
  .comparison-view { --knob-size: 38px; }
  .comparison-tag { min-height: 27px; padding: 5px 10px; }
  .comparison-tag:lang(en) { min-width: 0; }
}

/* A broad curved lift travels from the bottom-right tip towards the top edge. */
@property --draft-progress { syntax: "<number>"; inherits: true; initial-value: 0; }
.draft-flip {
  --fold-field: ellipse 450% 330% at -22% -215%;
  --crease: calc(101% - 41% * var(--draft-progress));
  --width: min(8%, 36% * var(--draft-progress), 34% * (1 - var(--draft-progress)));
  --tip: max(0%, 100% - 510% * var(--draft-progress));
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
  border-radius: 16px;
  transform-origin: 30% 0;
  transform: perspective(1900px) translateY(calc(-6% * var(--draft-progress))) scaleX(calc(1 - .032 * var(--draft-progress))) rotateX(calc(18deg * var(--draft-progress)));
  animation: draft-turn-next 840ms cubic-bezier(.42,.08,.43,.99) both;
}
.draft-flip[data-direction="prev"] {
  animation-name: draft-turn-prev;
  animation-timing-function: cubic-bezier(.57,.01,.58,.92);
}
.draft-flip > .draft-sheet, .draft-curl, .draft-flip::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.draft-flip > .draft-sheet {
  z-index: 0;
  mask-image: radial-gradient(var(--fold-field), #000 calc(var(--crease) - .03%), transparent var(--crease));
}
.draft-curl {
  z-index: 1;
  clip-path: inset(0 0 0 var(--tip));
  background: radial-gradient(var(--fold-field),
    transparent calc(var(--crease) - var(--width) - .13%),
    #7c7b7680 calc(var(--crease) - var(--width)),
    #d1d1cc calc(var(--crease) - var(--width) * .98),
    #f4f4f1 calc(var(--crease) - var(--width) * .88),
    #fcfcf9 calc(var(--crease) - var(--width) * .63),
    #f1f1ee calc(var(--crease) - var(--width) * .38),
    #ddddda calc(var(--crease) - var(--width) * .16),
    #bdbdb7 calc(var(--crease) - var(--width) * .025),
    #a3a39e calc(var(--crease) - .04%), transparent var(--crease));
}
.draft-flip::after {
  content: "";
  z-index: 2;
  background: radial-gradient(var(--fold-field),
    transparent calc(var(--crease) - .025%),
    #3f3f3b49 var(--crease),
    #42423d28 calc(var(--crease) + var(--width) * .27),
    transparent calc(var(--crease) + var(--width) * .89 + .08%));
}
@keyframes draft-turn-next { from { --draft-progress: 0; } to { --draft-progress: 1; } }
@keyframes draft-turn-prev { from { --draft-progress: 1; } to { --draft-progress: 0; } }
@media (prefers-reduced-motion: reduce) {
  .draft-flip { visibility: hidden; animation-duration: 1ms; }
}

@media (width < 1200px) {
  main { gap: 0; }
  .site-header { padding: 8px 16px; }
  .nav-shell { --nav-bar-height: 64px; padding: 16px; min-height: var(--nav-bar-height); }
  .nav-shell .brand, .menu-toggle { position: relative; z-index: 1; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 32px; height: 32px; border: none; padding: 0; background: transparent; color: #1c1c1c; cursor: pointer; }
  .menu-toggle span { width: 24px; height: 2px; display: block; background: currentColor; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(8px) rotate(45deg) scaleX(.833333); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: scaleX(.042); opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-8px) rotate(-45deg) scaleX(.833333); }
  .nav-drawer {
    position: absolute;
    inset: 0 0 auto;
    display: block;
    padding-block-start: var(--nav-bar-height);
    overflow: hidden;
    border-radius: inherit;
    background: white;
    clip-path: inset(0 0 calc(100% - var(--nav-bar-height)) 0 round 16px);
    visibility: hidden;
    pointer-events: none;
  }
  .nav-shell[data-open] .nav-drawer {
    clip-path: inset(0 0 0 0 round 16px);
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    max-block-size: calc(100vh - var(--nav-bar-height) - 16px);
    max-block-size: calc(100dvh - var(--nav-bar-height) - 16px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px 16px 16px;
    line-height: 19.2px;
    opacity: 0;
  }
  .nav-shell[data-open] .nav-links { opacity: 1; }
  .nav-links > a { flex-shrink: 0; }
  .nav-links > a:not(.button) { align-self: start; font-size: 16px; letter-spacing: normal; }
  .nav-links .nav-cta { align-self: stretch; }
  .hero { padding: 10px 20px 102px; }
  .hero-banner { min-height: 417px; padding: 80px 32px 48px; }
  .hero-content { padding-top: 108px; gap: 28px; }
  .case-carousel { grid-template-columns: minmax(220px, .5fr) minmax(0, 1fr); }
}

@media (max-width: 809px) {
  html { scroll-padding-top: 80px; }
  h1 { font-size: 32px; line-height: 1.05; }
  h2 { font-size: 24px; line-height: 1.1; }
  .container { width: calc(100% - 32px); }
  .section { padding-block: 48px; }
  .hero { padding: 0 16px 92px; }
  .hero-banner { min-height: max(528px, calc(100svh - 92px)); padding: 96px 24px 28px; }
  .hero-content { min-height: 0; padding-top: 128px; gap: 16px; }
  .hero-head { gap: 32px; }
  .hero-head h1:lang(en) { font-size: clamp(25px, 7.1vw, 32px); }
  .hero-image { object-position: left center; }
  .hero-head .actions { align-items: flex-start; flex-direction: column; }
  .service-layout, .case-carousel { grid-template-columns: 1fr; }
  .case-intro { width: min(100%, 280px); }
  .case-intro h2, .enquiry-copy h2 { font-size: 32px; line-height: 1.15; }
}

@media (max-width: 359px) {
  .hero-banner { min-height: max(570px, calc(100svh - 92px)); }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .service-visual img { transition: opacity 320ms ease; }

  @supports (interpolate-size: allow-keywords) and selector(details::details-content) {
    .service-options details, .question-rows details { interpolate-size: allow-keywords; }
    .service-options details::details-content, .question-rows details::details-content {
      block-size: 0;
      opacity: 0;
      overflow: clip;
      transition: block-size 300ms ease, opacity 230ms ease, content-visibility 300ms allow-discrete;
    }
    .service-options details[open]::details-content, .question-rows details[open]::details-content { block-size: auto; opacity: 1; }
  }
}

@media (width < 1200px) and (prefers-reduced-motion: no-preference) {
  .menu-toggle span { transition: transform 400ms cubic-bezier(.12, .33, .26, 1), opacity 210ms ease-out; }
  .menu-toggle[aria-expanded="true"] span { transition: transform 360ms cubic-bezier(.28, .06, .30, 1), opacity 200ms ease-out; }
  .nav-drawer { transition: clip-path 310ms cubic-bezier(.13, .40, .28, 1), visibility 0s 310ms; }
  .nav-shell[data-open] .nav-drawer { transition: clip-path 320ms cubic-bezier(.22, .12, .30, 1), visibility 0s; }
  .nav-links { transition: opacity 72ms ease-out; }
  .nav-shell[data-open] .nav-links { transition-duration: 0s; }
}

.responsive-photo{display:contents}.responsive-photo>source{display:none}.photo-enlarge{display:block;position:relative;border-radius:14px;cursor:zoom-in}.photo-enlarge::after{content:'';position:absolute;right:12px;bottom:12px;width:28px;height:28px;border-radius:50%;pointer-events:none;background:linear-gradient(#272724 0 0) right 8px top 7px/6px 2px no-repeat,linear-gradient(#272724 0 0) right 7px top 7px/2px 7px no-repeat,linear-gradient(#272724 0 0) left 7px bottom 7px/7px 2px no-repeat,linear-gradient(#272724 0 0) left 7px bottom 8px/2px 6px no-repeat,#fff;box-shadow:0 1px 5px #0003}.photo-enlarge:focus-visible{outline:2px solid currentColor;outline-offset:4px}
