/* COFFEECHANIC — site styles
   Palette and type follow 07_DEVELOPER/brand-tokens.json. Radius is 0 by design. */

@font-face {
  font-family: "DejaVu Sans";
  src: url("../fonts/dejavusans.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DejaVu Sans";
  src: url("../fonts/dejavusans-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --cc-charcoal: #111311;
  --cc-panel: #1C201C;
  --cc-gold: #C5A273;
  --cc-cream: #F5F1E9;
  --cc-ink: #1A211D;
  --cc-muted: #626B63;
  --cc-line: #D8D8CD;

  --cc-cream-soft: rgba(245, 241, 233, 0.74);
  --cc-rule-dark: rgba(245, 241, 233, 0.14);
  --cc-gold-soft: rgba(197, 162, 115, 0.35);

  --cc-font: "DejaVu Sans", Verdana, "Bitstream Vera Sans", Geneva, "Noto Sans Thai", "Sukhumvit Set", "Leelawadee UI", Thonburi, Tahoma, sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 32px);
  --section-y: clamp(72px, 9vw, 128px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--cc-charcoal);
  color: var(--cc-ink);
  font-family: var(--cc-font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
picture,
svg { display: block; max-width: 100%; }

img { height: auto; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }

ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }

address { font-style: normal; }

table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 3px solid var(--cc-cream);
  outline-offset: 4px;
}
.section--cream :focus-visible { outline-color: var(--cc-ink); }

main:focus { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--cc-gold);
  color: var(--cc-charcoal);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type helpers ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--cc-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--cc-gold);
  flex: none;
}
.hero .eyebrow { display: block; }
.hero .eyebrow::before { display: none; }
.eyebrow__num { flex: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.eyebrow__num::after { content: " /"; }
.eyebrow--ink { color: var(--cc-ink); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head__title {
  margin-top: 20px;
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.section-head__lead {
  margin-top: 20px;
  max-width: 620px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
}
.section--cream .section-head__lead { color: #3A423C; }
.section--dark .section-head__lead { color: var(--cc-cream-soft); }

.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 48px;
  max-width: none;
}
.section-head--split > div { max-width: 720px; }

/* ---------- Thai pages ----------
   DejaVu Sans has no Thai glyphs, so Thai text uses the system Thai font from the --cc-font stack.
   Thai needs room above and below the line for vowels and tone marks, and no wide tracking. */

:lang(th) body,
body:lang(th) { line-height: 1.85; }
:lang(th) .section-head__title,
:lang(th) .hero__title,
:lang(th) .service__title,
:lang(th) .person__name,
:lang(th) .brands__title,
:lang(th) .sla__title,
:lang(th) .faq__q,
:lang(th) .page-hero__title,
:lang(th) .prose h2,
:lang(th) .related__heading,
:lang(th) .price-table caption { line-height: 1.4; letter-spacing: 0; }
:lang(th) .price-feature__price { letter-spacing: 0; }
:lang(th) .hero__title { font-size: clamp(32px, 9vw, 56px); line-height: 1.3; }
@media (min-width: 721px) { :lang(th) .hero__title { font-size: clamp(48px, 5vw, 76px); } }
:lang(th) .eyebrow,
:lang(th) .hero__facts-label,
:lang(th) .service__price span,
:lang(th) .price-table thead th,
:lang(th) .price-feature__label,
:lang(th) .sla__item dt,
:lang(th) .contact-list dt,
:lang(th) .person__role,
:lang(th) .linkhub__tag { letter-spacing: .02em; line-height: 1.6; }
:lang(th) .eyebrow { font-size: 14px; }
:lang(th) .hero__facts-label,
:lang(th) .service__price span,
:lang(th) .price-feature__label,
:lang(th) .sla__item dt,
:lang(th) .contact-list dt { font-size: 13px; }
:lang(th) .intro-leaving .hero__line,
.intro-leaving :lang(th) .hero__line { padding-block: .3em; margin-block: -.3em; }

/* ---------- Buttons & links ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 16px 28px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.button--gold { background: var(--cc-gold); color: var(--cc-charcoal); }
.button--gold:hover { background: var(--cc-cream); }
.button--outline { border-color: var(--cc-gold-soft); color: var(--cc-cream); }
.button--outline:hover { border-color: var(--cc-gold); background: rgba(197, 162, 115, 0.12); }
.button--ink { background: var(--cc-ink); color: var(--cc-cream); }
.button--ink:hover { background: #2C352F; }
.button--small { min-height: 44px; padding: 10px 20px; font-size: 14px; }
.button__meta { font-weight: 400; font-size: 13px; opacity: .75; white-space: nowrap; }
@media (max-width: 420px) {
  .section-head--split .button { flex-wrap: wrap; row-gap: 2px; }
  .section-head--split .button__meta { flex-basis: 100%; }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--cc-gold);
  text-underline-offset: 0.3em;
}
.text-link .icon { transition: transform .2s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */

.scroll-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 8px;
  pointer-events: none;
}

/* Without JavaScript the header sits in the page flow; with it, it floats over the hero. */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--cc-charcoal);
  color: var(--cc-cream);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.js .site-header {
  position: fixed;
  inset: 0 0 auto 0;
  background: transparent;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 32px;
  transition: padding .3s var(--ease);
}

.brand { display: block; flex: none; text-decoration: none; }
.brand__lockup { width: 200px; height: auto; object-fit: contain; }
.brand__symbol { display: none; width: 48px; height: 48px; object-fit: contain; }

.site-header.is-scrolled {
  background: var(--cc-charcoal);
  box-shadow: 0 1px 0 var(--cc-gold-soft);
}
.site-header.is-scrolled .site-header__inner { padding-block: 12px; }
.site-header.is-scrolled .brand__lockup { display: none; }
.site-header.is-scrolled .brand__symbol { display: block; }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav__list { display: flex; align-items: center; gap: 28px; }
.site-nav__list a {
  display: inline-block;
  padding-block: 8px;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.site-nav__list a:hover,
.site-nav__list a[aria-current="true"] { border-bottom-color: var(--cc-gold); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--cc-gold-soft);
  background: transparent;
  color: var(--cc-cream);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.site-header.is-open .nav-toggle__bars { background: transparent; }
.site-header.is-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .site-nav__list { gap: 20px; }
  .site-nav { gap: 24px; }
}

@media (max-width: 959px) {
  .brand__lockup { width: 150px; }
  .brand__symbol { width: 44px; height: 44px; }
  .site-header__inner { padding-block: 20px; flex-wrap: wrap; }

  /* Without JavaScript the links simply wrap below the logo. */
  .site-nav { width: 100%; flex-wrap: wrap; gap: 16px; }
  .site-nav__list { flex-wrap: wrap; gap: 4px 18px; }

  .js .site-header__inner { flex-wrap: nowrap; }
  .js .brand { flex: 0 1 auto; min-width: 0; }
  .js .nav-toggle { display: inline-flex; flex: none; }
  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 24px;
    max-height: calc(100vh - 100%);
    max-height: calc(100dvh - 100%);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px var(--gutter) 28px;
    background: var(--cc-charcoal);
    border-bottom: 1px solid var(--cc-gold-soft);
  }
  .js .site-header.is-open { background: var(--cc-charcoal); }
  /* Dim the page behind the open menu; tapping it closes the menu (site.js). */
  .js .site-header.is-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(17, 19, 17, .72);
  }
  .js .site-header.is-open .site-nav { display: flex; }
  .js .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav__list a {
    display: block;
    padding: 14px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--cc-rule-dark);
  }
  .js .site-nav__list a:hover,
  .js .site-nav__list a[aria-current="true"] { border-bottom-color: var(--cc-gold); }
  html.nav-open { overflow: hidden; }
  .js .site-nav__cta { min-height: 52px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(700px, 100vh, 980px);
  min-height: clamp(700px, 100svh, 980px);
  background: var(--cc-charcoal);
  color: var(--cc-cream);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 19, 17, .94) 0%, rgba(17, 19, 17, .8) 34%, rgba(17, 19, 17, .2) 66%, rgba(17, 19, 17, .04) 100%),
    linear-gradient(0deg, rgba(17, 19, 17, .85) 0%, rgba(17, 19, 17, 0) 28%),
    linear-gradient(180deg, rgba(17, 19, 17, .85) 0, rgba(17, 19, 17, .65) 120px, rgba(17, 19, 17, 0) 280px);
}
/* Tablets: the copy crosses the bright group head, so darken more of the photo. */
@media (min-width: 721px) and (max-width: 1100px) {
  .hero__media::after {
    background:
      linear-gradient(90deg, rgba(17, 19, 17, .94) 0%, rgba(17, 19, 17, .86) 50%, rgba(17, 19, 17, .5) 80%, rgba(17, 19, 17, .25) 100%),
      linear-gradient(0deg, rgba(17, 19, 17, .9) 0%, rgba(17, 19, 17, 0) 32%),
      linear-gradient(180deg, rgba(17, 19, 17, .85) 0, rgba(17, 19, 17, .65) 120px, rgba(17, 19, 17, 0) 280px);
  }
}
.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 56px;
  padding-top: 72px;
  padding-bottom: 40px;
}
.js .hero__inner { padding-top: 220px; }
.hero__copy { max-width: 760px; margin-block: auto; }
.hero__title {
  display: grid;
  margin: 24px 0;
  font-size: clamp(56px, 5.6vw, 88px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.hero__line { display: block; }
.hero__line > span { display: inline-block; }
.hero__lead {
  max-width: 540px;
  font-size: 19px;
  line-height: 1.65;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
  margin-top: 40px;
}
.hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 18px;
  text-decoration: underline;
  text-decoration-color: var(--cc-gold-soft);
  text-underline-offset: 6px;
}
.hero__phone:hover { text-decoration-color: var(--cc-gold); }
.hero__phone .icon { color: var(--cc-gold); }

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content));
  gap: 16px 48px;
  padding-top: 24px;
  border-top: 1px solid var(--cc-gold-soft);
  font-size: 15px;
  color: var(--cc-cream);
}
.hero__facts-label {
  display: block;
  margin-bottom: 4px;
  color: var(--cc-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .hero {
    flex-direction: column;
    min-height: 0;
  }
  .hero__media {
    position: relative;
    inset: auto;
    order: 2;
    z-index: 0;
    aspect-ratio: 4 / 3;
  }
  .hero__media::after {
    background:
      linear-gradient(180deg, var(--cc-charcoal) 0%, rgba(17, 19, 17, 0) 22%),
      linear-gradient(0deg, rgba(17, 19, 17, .35) 0%, rgba(17, 19, 17, 0) 30%);
  }
  .hero__photo { object-position: 74% center; }
  /* Copy, then photo, then facts — so the photo shows on the first screen. */
  .hero__inner { display: contents; }
  .hero__copy { order: 1; margin: 0; padding: 40px var(--gutter) 32px; }
  .js .hero__copy { padding-top: 144px; }
  .hero__facts {
    order: 3;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 0 var(--gutter);
    padding-block: 24px 40px;
  }
  .hero__h1-place { display: block; }
  .hero__h1-sep { display: none; }
  .hero__title { font-size: clamp(34px, 10.6vw, 56px); margin: 20px 0; }
  .hero__lead { font-size: 17px; }
  .hero__actions { margin-top: 32px; }
  .hero__actions .button { width: 100%; }
  .eyebrow { font-size: 11.5px; }
}

/* Phones in landscape: keep the headline and CTA on the first screen. */
@media (min-width: 721px) and (max-height: 500px) {
  .hero { min-height: 0; }
  .site-header__inner { padding-block: 12px; }
  .brand__lockup { width: 110px; }
  .js .hero__inner { padding-top: 100px; padding-bottom: 24px; gap: 24px; }
  .hero__title { font-size: 40px; margin: 10px 0; }
  .hero__lead { font-size: 16px; }
  .hero__actions { margin-top: 16px; }
}
/* Short portrait phones: pull the photo up into the first screen. */
@media (max-width: 720px) and (max-height: 700px) {
  .js .hero__copy { padding-top: 132px; }
  .hero__copy { padding-bottom: 20px; }
  .hero__title { margin: 14px 0; }
  .hero__actions { margin-top: 24px; row-gap: 12px; }
}
/* Small phones in landscape. */
@media (max-width: 720px) and (max-height: 500px) and (orientation: landscape) {
  .site-header__inner { padding-block: 12px; }
  .brand__lockup { width: 110px; }
  .js .hero__copy { padding-top: 100px; padding-bottom: 24px; }
  .hero__title { font-size: 40px; margin: 10px 0; }
  .hero__lead { font-size: 16px; }
  .hero__actions { margin-top: 16px; }
  .hero__actions .button { width: auto; }
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding-block: var(--section-y);
}
.section--cream { background: var(--cc-cream); color: var(--cc-ink); }
.section--dark { background: var(--cc-charcoal); color: var(--cc-cream); }
.section--compact { padding-block: clamp(56px, 6vw, 88px); }

.section--texture {
  background-color: var(--cc-charcoal);
  background-image:
    linear-gradient(90deg, rgba(17, 19, 17, 1) 0%, rgba(17, 19, 17, .92) 45%, rgba(17, 19, 17, .7) 100%),
    url("../img/technical-background-1600.jpg");
  background-image:
    linear-gradient(90deg, rgba(17, 19, 17, 1) 0%, rgba(17, 19, 17, .92) 45%, rgba(17, 19, 17, .7) 100%),
    image-set(url("../img/technical-background-1600.webp") type("image/webp"), url("../img/technical-background-1600.jpg") type("image/jpeg"));
  background-repeat: no-repeat;
  background-position: center, right bottom;
  background-size: cover, min(1100px, 90%) auto;
}

.section--copper {
  background-color: #120E0B;
  background-image:
    linear-gradient(90deg, rgba(18, 14, 11, 1) 0%, rgba(18, 14, 11, .9) 50%, rgba(18, 14, 11, .55) 100%),
    url("../img/copper-background-1600.jpg");
  background-image:
    linear-gradient(90deg, rgba(18, 14, 11, 1) 0%, rgba(18, 14, 11, .9) 50%, rgba(18, 14, 11, .55) 100%),
    image-set(url("../img/copper-background-1600.webp") type("image/webp"), url("../img/copper-background-1600.jpg") type("image/jpeg"));
  background-repeat: no-repeat;
  background-position: center, right bottom;
  background-size: cover, cover;
}

@media (max-width: 720px) {
  .section--texture {
    background-image:
      linear-gradient(90deg, rgba(17, 19, 17, 1) 0%, rgba(17, 19, 17, .92) 45%, rgba(17, 19, 17, .7) 100%),
      url("../img/technical-background-900.jpg");
    background-image:
      linear-gradient(90deg, rgba(17, 19, 17, 1) 0%, rgba(17, 19, 17, .92) 45%, rgba(17, 19, 17, .7) 100%),
      image-set(url("../img/technical-background-900.webp") type("image/webp"), url("../img/technical-background-900.jpg") type("image/jpeg"));
  }
  .section--copper {
    background-image:
      linear-gradient(90deg, rgba(18, 14, 11, 1) 0%, rgba(18, 14, 11, .9) 50%, rgba(18, 14, 11, .55) 100%),
      url("../img/copper-background-900.jpg");
    background-image:
      linear-gradient(90deg, rgba(18, 14, 11, 1) 0%, rgba(18, 14, 11, .9) 50%, rgba(18, 14, 11, .55) 100%),
      image-set(url("../img/copper-background-900.webp") type("image/webp"), url("../img/copper-background-900.jpg") type("image/jpeg"));
  }
}
.js .section--texture:not(.is-bg-ready) {
  background-image: linear-gradient(90deg, rgba(17, 19, 17, 1) 0%, rgba(17, 19, 17, .92) 45%, rgba(17, 19, 17, .7) 100%);
}
.js .section--copper:not(.is-bg-ready) {
  background-image: linear-gradient(90deg, rgba(18, 14, 11, 1) 0%, rgba(18, 14, 11, .9) 50%, rgba(18, 14, 11, .55) 100%);
}

/* ---------- Split layout ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.split__media img { width: 100%; }

@media (max-width: 959px) {
  .split { grid-template-columns: 1fr; }
  .split--media-left .split__media { order: 2; }
}

/* ---------- Services ---------- */

.services {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--cc-ink);
  counter-reset: service;
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 28px 36px;
  border-right: 1px solid var(--cc-line);
  counter-increment: service;
}
.service:first-child { padding-left: 0; }
.service:last-child { border-right: 0; padding-right: 0; }
.service::before {
  content: counter(service, decimal-leading-zero);
  position: absolute;
  top: 32px;
  right: 28px;
  color: var(--cc-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
}
.service:last-child::before { right: 0; }
.service__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  fill: none;
  stroke: var(--cc-ink);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service__title { font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
.service__text { color: #3A423C; font-size: 15.5px; line-height: 1.6; }
.service__price {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--cc-gold);
  font-size: 15px;
  font-weight: 700;
}
.service__more {
  display: block;
  justify-self: start;
  align-self: start;
  min-height: 44px;
  padding-block: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: underline;
  text-decoration-color: var(--cc-gold);
  text-underline-offset: .3em;
}
.service__more .icon { display: inline-block; vertical-align: -0.2em; margin-left: 8px; transition: transform .2s var(--ease); }
.service__more:hover .icon { transform: translateX(3px); }
.service__price span {
  display: block;
  color: var(--cc-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Align icon, title, text and price rows across cards. */
@supports (grid-template-rows: subgrid) {
  .service {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    row-gap: 14px;
    align-content: start;
  }
  .service__price { margin-top: 0; align-self: start; }
}

@media (max-width: 1180px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; gap: 0 48px; }
  .service,
  .service:first-child,
  .service:last-child {
    padding: 28px 0 36px;
    border-right: 0;
    border-top: 1px solid var(--cc-ink);
  }
  .service::before,
  .service:last-child::before { top: 28px; right: 0; }
}
@media (max-width: 640px) {
  .services { grid-template-columns: 1fr; }
}

/* ---------- Pricing ---------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.price-card {
  padding: clamp(24px, 3vw, 40px);
  background: var(--cc-panel);
  border: 1px solid var(--cc-rule-dark);
}
.price-table caption {
  padding-bottom: 24px;
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.price-table__title { display: block; }
@media (min-width: 960px) {
  .price-table__title { min-height: 2.7em; }
}
.price-table__num {
  display: block;
  margin-bottom: 6px;
  color: var(--cc-gold);
  font-size: 13px;
  letter-spacing: .14em;
}
.price-table thead th {
  padding: 0 0 12px;
  border-bottom: 1px solid var(--cc-gold);
  color: var(--cc-cream-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
.price-table thead th:last-child,
.price-table td { text-align: right; }
.price-table tbody th,
.price-table td {
  padding: 16px 0;
  border-bottom: 1px solid var(--cc-rule-dark);
  vertical-align: top;
  font-size: 16px;
  line-height: 1.45;
}
.price-table tbody th { padding-right: 20px; font-weight: 400; text-align: left; }
.price-table td { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--cc-rule-dark);
  color: var(--cc-cream-soft);
  font-size: 13.5px;
  line-height: 1.6;
}

.price-extras {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.price-feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--cc-rule-dark);
}
.price-feature--vip {
  border-color: var(--cc-gold);
  background: linear-gradient(135deg, rgba(197, 162, 115, .16), rgba(197, 162, 115, .03));
}
.price-feature__label {
  color: var(--cc-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.price-feature__price { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.price-feature__price span { font-size: 16px; font-weight: 400; color: var(--cc-cream-soft); letter-spacing: 0; white-space: nowrap; }
.price-feature__text { color: var(--cc-cream-soft); font-size: 15px; }
.price-feature--cta .text-link { margin-top: auto; padding-top: 8px; }

@media (min-width: 960px) {
  @supports (grid-template-rows: subgrid) {
    .price-extras { grid-template-rows: auto auto 1fr; }
    .price-feature { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 10px; }
    .price-feature--cta .text-link { margin-top: 0; align-self: end; justify-self: start; }
  }
}
@media (min-width: 960px) and (max-width: 1319px) {
  .price-feature__price span { display: block; }
}
@media (max-width: 959px) {
  .price-grid,
  .price-extras { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .price-table tbody th,
  .price-table td { font-size: 15px; }
  .price-table tbody th { padding-right: 12px; }
  .price-table td { white-space: normal; min-width: 6.5em; }
  .price-table thead th { white-space: normal; vertical-align: bottom; }
}
@media (max-width: 300px) {
  .price-card { padding-inline: 12px; }
}

/* ---------- Filtration ---------- */

.checklist { display: grid; gap: 14px; margin: 32px 0 40px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--cc-line);
}
.checklist .icon { width: 22px; height: 22px; margin-top: 3px; stroke-width: 1.6; }
.checklist strong { font-weight: 700; }

.filtration-figure img { width: 100%; max-width: 640px; margin-inline: auto; }

/* ---------- Why ---------- */

.why-figure {
  position: relative;
  max-width: 560px;
}
.why-figure::before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 1px solid var(--cc-gold-soft);
  z-index: 0;
}
.why-figure picture { position: relative; z-index: 1; }
.why-figure img { aspect-ratio: 1; object-fit: cover; object-position: center top; }

.reasons { display: grid; gap: 0; margin-top: 40px; }
.reason {
  padding: 22px 0;
  border-top: 1px solid var(--cc-rule-dark);
}
.reason:last-child { border-bottom: 1px solid var(--cc-rule-dark); }
.reason__title {
  margin-bottom: 6px;
  color: var(--cc-gold);
  font-size: 19px;
  line-height: 1.3;
}
.reason p { color: var(--cc-cream-soft); }

.sla {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  align-items: center;
  gap: 32px;
  margin-top: clamp(64px, 8vw, 112px);
  padding: clamp(24px, 3vw, 36px);
  background: rgba(28, 32, 28, .9);
  border: 1px solid var(--cc-gold-soft);
}
.sla__title { font-size: 21px; line-height: 1.3; letter-spacing: -0.01em; }
.sla__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.sla__item { padding-left: 24px; border-left: 1px solid var(--cc-gold); }
.sla__item dt {
  margin-bottom: 6px;
  color: var(--cc-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.sla__item dd { font-size: 18px; font-weight: 700; line-height: 1.4; }
.sla__item dd span { color: var(--cc-cream-soft); font-size: 15px; font-weight: 400; }

@media (max-width: 1180px) {
  .sla { grid-template-columns: 1fr; }
  .sla__item { padding-left: 16px; }
  .sla__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sla__item dd { font-size: 16px; }
}
@media (max-width: 959px) {
  .why-figure { max-width: 480px; margin-right: 20px; }
}
@media (max-width: 720px) {
  .sla__list { grid-template-columns: 1fr; }
}

/* ---------- Brands ---------- */

.brands {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  gap: 32px 64px;
  align-items: start;
}
.brands__title,
.person__name,
.person__role { text-wrap: balance; }
.brands__title {
  margin-top: 14px;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.brands__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.brands__list li {
  padding: 8px 14px;
  border: 1px solid var(--cc-line);
  background: #FBF8F2;
  font-size: 15px;
  line-height: 1.3;
}
.brands__list .brands__more { border-style: dashed; background: transparent; color: var(--cc-muted); }
.brands__note { margin-top: 20px; color: var(--cc-muted); font-size: 13px; line-height: 1.6; }

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

/* ---------- FAQ ---------- */

.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px 64px; align-items: start; }
.faq__head { margin-bottom: 0; }
.faq__list { border-top: 1px solid var(--cc-ink); }
.faq__item { border-bottom: 1px solid var(--cc-line); }
.faq__q {
  position: relative;
  display: block;
  padding: 22px 48px 22px 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 12px;
  height: 12px;
  margin-top: -9px;
  border-right: 2px solid var(--cc-ink);
  border-bottom: 2px solid var(--cc-ink);
  transform: rotate(45deg);
  transition: transform .25s var(--ease);
}
.faq__item[open] .faq__q::after { margin-top: -3px; transform: rotate(-135deg); }
.faq__q:hover { text-decoration: underline; text-decoration-color: var(--cc-gold); }
.faq__a { max-width: 680px; padding-bottom: 24px; color: #3A423C; }

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

/* ---------- Team ---------- */

.section--flush-top { border-top: 1px solid var(--cc-line); }

.team-photo { position: relative; background: var(--cc-charcoal); }
.team-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 30% center;
}

.people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.person {
  padding: clamp(24px, 3vw, 36px);
  background: #FBF8F2;
  border: 1px solid var(--cc-line);
  border-top: 2px solid var(--cc-gold);
}
.person__name { font-size: clamp(20px, 2vw, 24px); line-height: 1.25; letter-spacing: -0.015em; }
.person__nick { color: var(--cc-muted); font-weight: 400; white-space: nowrap; }
.person__role {
  margin-top: 8px;
  color: var(--cc-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.person__contact { display: grid; gap: 10px; margin-top: 24px; }
.person__contact li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.person__contact .icon { color: var(--cc-muted); }
.person__contact a {
  overflow-wrap: anywhere;
  padding-block: 4px;
  text-decoration-color: var(--cc-gold);
}

@media (max-width: 720px) {
  .team-photo img { aspect-ratio: 4 / 3; object-position: 26% center; }
  .people { grid-template-columns: 1fr; }
  .person__contact { gap: 0; }
  .person__contact a { display: inline-block; padding-block: 10px; }
}

/* ---------- Contact ---------- */

.split--contact { align-items: start; }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.contact-card {
  padding: clamp(24px, 3vw, 40px);
  background: rgba(17, 19, 17, .82);
  border: 1px solid var(--cc-gold-soft);
}
.contact-list { display: grid; gap: 0; }
.contact-list__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid var(--cc-rule-dark);
}
.contact-list__item:first-child { padding-top: 0; }
.contact-list__item:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list dt {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cc-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.5;
  text-transform: uppercase;
}
.contact-list dt .icon { width: 18px; height: 18px; }
.contact-list dd { font-size: 16px; line-height: 1.6; }
.contact-list dd a { text-decoration-color: var(--cc-gold-soft); }
.contact-list dd a:hover { text-decoration-color: var(--cc-gold); }
.contact-list .text-link { margin-top: 6px; font-size: 14px; }

@media (max-width: 720px) {
  .contact-actions .button { width: 100%; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: #0B0D0B;
  color: var(--cc-cream-soft);
  font-size: 15px;
  line-height: 1.7;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 40px 64px;
  padding-block: 64px 48px;
}
.site-footer__brand img { width: 170px; height: auto; object-fit: contain; margin-bottom: 20px; }
.site-footer__nav ul { display: grid; gap: 6px; }
.site-footer a { text-decoration-color: var(--cc-gold-soft); }
.site-footer a:hover { color: var(--cc-cream); text-decoration-color: var(--cc-gold); }
.site-footer__nav a { text-decoration: none; }
.site-footer__nav a:hover { text-decoration: underline; }
.site-footer__contact { display: grid; gap: 16px; }
.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  position: relative;
  align-items: center;
  padding-block: 24px 32px;
  font-size: 13px;
}
.site-footer__base::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid var(--cc-rule-dark);
}
.site-footer__base .text-link { font-weight: 400; }

@media (max-width: 1180px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 959px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .site-footer__nav ul { gap: 0; }
  .site-footer__nav a,
  .site-footer__contact a { display: inline-block; padding-block: 10px; line-height: 24px; }
}
@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Service pages ---------- */

.page-hero {
  position: relative;
  isolation: isolate;
  padding: 64px 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(17, 19, 17, 1) 0%, rgba(17, 19, 17, .9) 55%, rgba(17, 19, 17, .7) 100%),
    url("../img/technical-background-1600.jpg") right bottom / min(900px, 80%) auto no-repeat,
    var(--cc-charcoal);
  color: var(--cc-cream);
}
.js .page-hero { padding-top: 200px; }
.page-hero__inner { max-width: calc(var(--container) + 2 * var(--gutter)); }
.page-hero__title {
  max-width: 900px;
  margin: 20px 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.page-hero__lead { max-width: 680px; color: var(--cc-cream-soft); font-size: clamp(17px, 1.5vw, 20px); }
.page-hero .eyebrow::before { display: block; }
.page-hero .hero__actions { margin-top: 32px; }

.breadcrumbs { margin-bottom: 36px; font-size: 14px; color: var(--cc-cream-soft); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px 0; }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li:not(:last-child)::after { content: "/"; content: "/" / ""; margin: 0 10px; color: var(--cc-gold); }
.breadcrumbs a { text-decoration-color: var(--cc-gold-soft); }
.breadcrumbs [aria-current="page"] { color: var(--cc-cream); }

.narrow { max-width: calc(880px + 2 * var(--gutter)); }
.prose-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.prose { max-width: 720px; }
.prose h2 {
  margin: 48px 0 16px;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 16px; color: #2E3631; }
.prose__list { display: grid; gap: 10px; margin: 8px 0 16px; }
.prose__list li { position: relative; padding-left: 26px; color: #2E3631; }
.prose__list li::before {
  content: "";
  position: absolute;
  top: .62em;
  left: 0;
  width: 12px;
  height: 1px;
  background: var(--cc-gold);
  box-shadow: 0 0 0 .5px var(--cc-gold);
}
.glance {
  padding: 28px;
  background: var(--cc-charcoal);
  color: var(--cc-cream);
  border-top: 2px solid var(--cc-gold);
}
.glance__title { margin-bottom: 20px; font-size: 18px; }
.glance .sla__list { grid-template-columns: 1fr; gap: 18px; }
.glance .sla__item { padding-left: 16px; }
.glance .sla__item dd { font-size: 16px; }
.glance__cta { width: 100%; margin-top: 24px; background: var(--cc-gold); color: var(--cc-charcoal); }
.glance__cta:hover { background: var(--cc-cream); }
.glance :focus-visible { outline-color: var(--cc-cream); }
@media (min-width: 960px) and (min-height: 720px) {
  .glance { position: sticky; top: 96px; }
}
.page-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 24px; }
.page-links .text-link { color: var(--cc-cream); }

.related__heading { margin-bottom: 24px; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 24px;
  background: #FBF8F2;
  border: 1px solid var(--cc-line);
  border-top: 2px solid var(--cc-gold);
  text-decoration: none;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.related__card:hover { transform: translateY(-2px); border-color: var(--cc-gold); }
.related__title { font-size: 19px; font-weight: 700; line-height: 1.3; }
.related__text { color: #3A423C; font-size: 15px; }
.related__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 700; text-decoration: underline; text-decoration-color: var(--cc-gold); text-underline-offset: .3em; }
.cta { text-align: left; }

/* Service links under the homepage service cards */
.service-links { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--cc-line); }
.service-links__title { margin-bottom: 14px; color: var(--cc-muted); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
:lang(th) .service-links__title { letter-spacing: .02em; }
.service-links ul { display: flex; flex-wrap: wrap; gap: 10px; }
.service-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--cc-ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.service-links a:hover { background: var(--cc-ink); color: var(--cc-cream); }

@media (max-width: 959px) {
  .prose-grid { grid-template-columns: 1fr; }
  .glance { position: static; }
  .related { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .js .page-hero { padding-top: 150px; }
  .page-hero .hero__actions .button { width: 100%; }
}

/* ---------- Mobile quick contact bar ---------- */

.quickbar { display: none; }

@media (max-width: 720px), (max-width: 959px) and (max-height: 500px) {
  html { scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .quickbar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 8px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(17, 19, 17, .97);
    border-top: 1px solid var(--cc-gold-soft);
    transition: transform .3s var(--ease), visibility 0s linear .3s;
  }
  .js .quickbar { transform: translateY(100%); visibility: hidden; }
  .js .quickbar.is-visible { transform: none; visibility: visible; transition: transform .3s var(--ease), visibility 0s; }
  .quickbar__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border: 1px solid var(--cc-gold-soft);
    color: var(--cc-cream);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
  }
  .quickbar__link--gold { background: var(--cc-gold); border-color: var(--cc-gold); color: var(--cc-charcoal); }
  .js .site-header.is-open ~ .quickbar { transform: translateY(100%); visibility: hidden; }
  .site-footer { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}
@media (max-width: 959px) and (max-height: 500px) {
  .site-header.is-scrolled .site-header__inner { padding-block: 6px; }
  .quickbar { padding-block: 6px calc(6px + env(safe-area-inset-bottom)); }
  .quickbar__link { min-height: 44px; }
}
@media (max-width: 359px) {
  .quickbar__link { font-size: 14px; }
  .quickbar__link .icon { display: none; }
}

/* ---------- Link screen ----------
   Shown as the homepage intro (class .intro-on on <html>, set by the inline script in <head>)
   and as the standalone /links/ page. The logo is only faded, moved and revealed — never filtered or recoloured. */

.linkhub {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(28px, 6vh, 64px) var(--gutter) calc(clamp(28px, 6vh, 64px) + env(safe-area-inset-bottom));
  background: var(--cc-charcoal);
  color: var(--cc-cream);
  overflow: hidden;
}
.intro { display: none; }
.intro-on .intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-bottom: 1px solid var(--cc-gold);
}
.intro:focus { outline: none; }
html.intro-on:not(.intro-leaving) { overflow: hidden; }

.linkhub__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.intro .linkhub__bg { position: fixed; }
.linkhub__scene { position: absolute; inset: 0; animation: hub-bg 3.2s cubic-bezier(.2, .7, .2, 1) both; }
.linkhub__bg picture { position: absolute; inset: 0; display: block; }
.linkhub__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Light touch: the backgrounds are already dark in the middle; only deepen where the buttons sit. */
.linkhub__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 34% 62% at 50% 58%, rgba(17, 19, 17, .55) 0%, rgba(17, 19, 17, 0) 100%),
    linear-gradient(180deg, rgba(17, 19, 17, 0) 55%, rgba(17, 19, 17, .6) 100%);
}
.linkhub__live { position: absolute; inset: 0; mix-blend-mode: screen; pointer-events: none; }
.no-js .linkhub__live { display: none; }
.linkhub__live svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.linkhub__live-p { display: none; }
@media (orientation: portrait) {
  .linkhub__live-l { display: none; }
  .linkhub__live-p { display: block; }
}
.lh-flow { animation: lh-wobble 1.8s ease-in-out infinite alternate; }
.lh-flow path {
  fill: none;
  stroke-linecap: round;
}
/* Two irregular layers at different speeds read as liquid, not as a dashed line. */
.lh-flow .lh-a {
  stroke-width: 2.6;
  stroke-dasharray: 3 13 9 7 2 19 6 25;
  opacity: .7;
  animation: lh-flow-a 1.15s linear var(--d, 0s) infinite;
}
.lh-flow .lh-b {
  stroke-width: 1.6;
  stroke-dasharray: 1 17 4 29 2 11;
  opacity: .85;
  animation: lh-flow-b .7s linear var(--d, 0s) infinite;
}
.lh-ripples ellipse {
  fill: none;
  stroke: #f2c88c;
  stroke-width: 1.4;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: lh-ripple 1.5s ease-out var(--d, 0s) infinite;
}
.lh-steam ellipse {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: lh-steam 7.2s ease-out var(--d, 0s) infinite;
}
.lh-bokeh circle { opacity: 0; animation: lh-twinkle var(--t, 5s) ease-in-out var(--d, 0s) infinite; }
.linkhub.is-paused .linkhub__live *,
.linkhub.is-paused .linkhub__dust i { animation-play-state: paused; }

@keyframes lh-flow-a { to { stroke-dashoffset: -84; } }
@keyframes lh-flow-b { to { stroke-dashoffset: -64; } }
@keyframes lh-wobble { from { transform: translateX(-.6px); } to { transform: translateX(.6px); } }
@keyframes lh-ripple { 0% { opacity: .7; transform: scale(.15); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes lh-steam {
  0% { opacity: 0; transform: translate(0, 0) scale(.55, .5); }
  25% { opacity: .4; }
  100% { opacity: 0; transform: translate(var(--x, 10px), -190px) scale(1.7, 2.6); }
}
@keyframes lh-twinkle { 0%, 100% { opacity: 0; } 50% { opacity: .4; } }
.linkhub__motion {
  position: absolute;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 2;
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--cc-gold-soft);
  background: rgba(17, 19, 17, .5);
  color: var(--cc-cream);
  cursor: pointer;
}
.js .linkhub__motion { display: grid; }
.linkhub__motion:hover { border-color: var(--cc-gold); }
.linkhub__motion .icon { width: 18px; height: 18px; }
.linkhub__motion .icon-play,
.linkhub__motion[aria-pressed="true"] .icon-pause { display: none; }
.linkhub__motion[aria-pressed="true"] .icon-play { display: block; }
.linkhub__dust { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.linkhub__dust i {
  position: absolute;
  bottom: -12px;
  left: var(--l);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: var(--cc-gold);
  box-shadow: 0 0 8px rgba(197, 162, 115, .8);
  opacity: 0;
  animation: hub-dust 3.6s cubic-bezier(.3, .2, .3, 1) calc(.4s + var(--d)) both;
}

.linkhub__close {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top));
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--cc-gold-soft);
  background: rgba(17, 19, 17, .5);
  color: var(--cc-cream);
  cursor: pointer;
  animation: hub-fade .6s ease 2.3s both;
}
.linkhub__close:hover { border-color: var(--cc-gold); }
.linkhub:has(:focus-visible) .linkhub__close,
.linkhub:has(:focus-visible) .linkhub__list > li,
.linkhub:has(:focus-visible) .linkhub__foot { animation-delay: 0s; }
.linkhub__close .icon { width: 20px; height: 20px; }

.linkhub__panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
  margin: auto;
  text-align: center;
}
.linkhub__logo {
  width: min(250px, 58vw);
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  animation: hub-logo 1s cubic-bezier(.2, .7, .2, 1) .1s both;
}
.linkhub__tag {
  margin-top: 18px;
  color: var(--cc-gold);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .26em;
  line-height: 1.6;
  text-transform: uppercase;
  animation: hub-up .6s ease .55s both;
}
.linkhub__tag > span { white-space: nowrap; }
@media (max-width: 600px) {
  .linkhub__tag > span { display: block; }
  .linkhub__tag > .linkhub__sep { display: none; }
}

/* Gold rule, a short pour, a falling drop and a ripple where it lands */
.linkhub__pour { position: relative; display: block; height: 46px; margin-top: 14px; }
.linkhub__rule {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(200px, 44vw);
  height: 1px;
  margin-left: calc(min(200px, 44vw) / -2);
  background: linear-gradient(90deg, rgba(197, 162, 115, 0), var(--cc-gold) 30%, var(--cc-gold) 70%, rgba(197, 162, 115, 0));
  animation: hub-rule .7s cubic-bezier(.6, 0, .2, 1) .7s both;
}
.linkhub__stream {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 22px;
  margin-left: -1px;
  background: linear-gradient(180deg, var(--cc-gold), rgba(197, 162, 115, 0));
  transform-origin: top;
  animation: hub-stream .45s cubic-bezier(.4, 0, .2, 1) 1.1s both;
}
.linkhub__drop {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 6px;
  height: 8px;
  margin-left: -3px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--cc-gold);
  animation: hub-drop .42s cubic-bezier(.55, 0, .9, .5) 1.42s both;
}
.linkhub__ripple {
  position: absolute;
  top: 40px;
  left: 50%;
  width: 60px;
  height: 12px;
  margin-left: -30px;
  border: 1px solid var(--cc-gold);
  border-radius: 50%;
  opacity: 0;
  animation: hub-ripple .9s cubic-bezier(.2, .7, .2, 1) 1.8s both;
}

.linkhub__prompt {
  margin-top: 6px;
  color: var(--cc-cream-soft);
  font-size: 15px;
  animation: hub-up .6s ease 1.85s both;
}

.linkhub__list { display: grid; gap: 12px; margin-top: 20px; }
.linkhub__list > li { animation: hub-up .7s cubic-bezier(.2, .7, .2, 1) calc(1.95s + var(--i) * 110ms) both; }
.linkhub__list > li:nth-child(1) { --i: 0; }
.linkhub__list > li:nth-child(2) { --i: 1; }
.linkhub__list > li:nth-child(3) { --i: 2; }
.linkhub__list > li:nth-child(4) { --i: 3; }

.linkhub__btn {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 12px 20px 12px 14px;
  overflow: hidden;
  border: 1px solid var(--cc-gold-soft);
  background: rgba(17, 19, 17, .64);
  color: var(--cc-cream);
  text-align: left;
  text-decoration: none;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.linkhub__btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 45%;
  background: linear-gradient(100deg, rgba(255, 244, 222, 0), rgba(255, 244, 222, .28), rgba(255, 244, 222, 0));
  transform: skewX(-18deg);
  pointer-events: none;
  animation: hub-sheen 1.1s cubic-bezier(.4, 0, .2, 1) calc(2.45s + var(--i) * 110ms) both;
}
.linkhub__btn:hover { transform: translateY(-2px); border-color: var(--cc-gold); background: rgba(28, 32, 28, .82); }
.linkhub__btn--primary { border-color: var(--cc-gold); background: var(--cc-gold); color: var(--cc-charcoal); }
.linkhub__btn--primary:hover { background: var(--cc-cream); border-color: var(--cc-cream); }
.linkhub__btn:focus-visible { outline-color: var(--cc-cream); }

.linkhub__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .9;
}
.linkhub__icon .icon { width: 22px; height: 22px; }
.linkhub__btn:not(.linkhub__btn--primary) .linkhub__icon { color: var(--cc-gold); }
.linkhub__label { font-size: 17px; font-weight: 700; line-height: 1.25; }
.linkhub__label small { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; opacity: .78; }
.linkhub__arrow { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.linkhub__btn:hover .linkhub__arrow { transform: translateX(3px); }

.linkhub__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--cc-rule-dark);
  color: var(--cc-cream-soft);
  font-size: 14px;
  animation: hub-fade .6s ease 2.5s both;
}
.linkhub__foot a { color: var(--cc-cream); text-decoration-color: var(--cc-gold-soft); }
.linkhub__dot { margin-inline: 10px; color: var(--cc-gold); }

/* EN / TH switch (link screen and footer) */
.lang-switch { display: flex; gap: 4px; }
.lang-switch a {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 36px;
  padding: 4px 10px;
  border: 1px solid transparent;
  color: var(--cc-cream-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
}
.lang-switch a[aria-current="true"] { border-color: var(--cc-gold-soft); color: var(--cc-cream); }
.lang-switch a:hover { color: var(--cc-cream); }
.site-nav__lang a { font-weight: 700; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 4px 20px; }

@media (max-height: 640px) {
  .linkhub__logo { width: min(180px, 44vw); }
  .linkhub__pour { height: 34px; }
  .linkhub__btn { min-height: 60px; padding-block: 8px; }
}

@media (orientation: portrait) {
  .linkhub__bg img { object-position: 50% 0; }
  .linkhub__bg::after {
    background: linear-gradient(180deg, rgba(17, 19, 17, 0) 0%, rgba(17, 19, 17, 0) 24%, rgba(17, 19, 17, .45) 46%, rgba(17, 19, 17, .7) 100%);
  }
  /* Content sits low and compact so the espresso stream in the photo pours down towards the logo. */
  .linkhub { padding-top: 24px; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .linkhub__panel { margin-top: auto; margin-bottom: 0; }
  .linkhub__logo { width: min(150px, 40vw); }
  .linkhub__tag { margin-top: 12px; font-size: 11px; }
  .linkhub__pour { height: 30px; margin-top: 10px; }
  .linkhub__stream { height: 16px; }
  .linkhub__drop { top: 12px; }
  .linkhub__ripple { top: 26px; }
  .linkhub__prompt { margin-top: 2px; font-size: 14px; }
  .linkhub__list { gap: 8px; margin-top: 14px; }
  .linkhub__btn { min-height: 58px; padding-block: 8px; gap: 14px; }
  .linkhub__icon { width: 40px; height: 40px; }
  .linkhub__btn { grid-template-columns: 40px minmax(0, 1fr) 20px; }
  .linkhub__label { font-size: 16px; }
  .linkhub__label small { margin-top: 1px; font-size: 12.5px; }
  .linkhub__foot { margin-top: 18px; padding-top: 12px; font-size: 13px; gap: 6px 16px; }
}

/* Leaving the intro: content fades, then the screen lifts away and the hero builds in */
.intro-leaving .intro { animation: hub-lift .85s cubic-bezier(.7, 0, .2, 1) .2s forwards; pointer-events: none; }
.intro-leaving .linkhub__panel,
.intro-leaving .linkhub__close,
.intro-leaving .linkhub__motion { animation: hub-out .35s ease-in forwards; }

.intro-leaving .hero .eyebrow { --i: 0; }
.intro-leaving .hero__line:nth-child(1) > span { --i: 1; }
.intro-leaving .hero__line:nth-child(2) > span { --i: 2; }
.intro-leaving .hero__lead { --i: 3; }
.intro-leaving .hero__actions { --i: 4; }
.intro-leaving .hero__facts { --i: 5; }
.intro-leaving .hero__line { overflow: hidden; padding-block: .14em; margin-block: -.14em; }
.intro-leaving .hero__photo { animation: hero-zoom 2.2s cubic-bezier(.2, .7, .2, 1) .25s both; }
.intro-leaving .site-header__inner { animation: hero-fade .6s ease .75s both; }
.intro-leaving .hero .eyebrow,
.intro-leaving .hero__lead,
.intro-leaving .hero__actions,
.intro-leaving .hero__facts { animation: hero-up .8s cubic-bezier(.2, .7, .2, 1) calc(.5s + var(--i) * 90ms) both; }
.intro-leaving .hero__line > span { animation: hero-line .9s cubic-bezier(.2, .7, .2, 1) calc(.5s + var(--i) * 90ms) both; }

@keyframes hub-bg { from { opacity: .15; transform: scale(1.1); } to { opacity: 1; transform: none; } }
@keyframes hub-dust {
  0% { opacity: 0; transform: translate(0, 0); }
  15% { opacity: .9; }
  100% { opacity: 0; transform: translate(var(--x), -58vh); }
}
@keyframes hub-logo {
  from { opacity: 0; transform: translateY(18px); clip-path: inset(0 0 100% 0); }
  to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}
@keyframes hub-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes hub-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hub-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hub-stream { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes hub-drop {
  0% { opacity: 0; transform: translateY(-6px); }
  20% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translateY(20px); }
}
@keyframes hub-ripple {
  0% { opacity: .9; transform: scale(.1); }
  100% { opacity: 0; transform: scale(1.6); }
}
@keyframes hub-sheen { from { transform: translateX(0) skewX(-18deg); } to { transform: translateX(420%) skewX(-18deg); } }
@keyframes hub-out { to { opacity: 0; transform: translateY(-16px) scale(.98); } }
@keyframes hub-lift { to { transform: translateY(-100%); visibility: hidden; } }

@keyframes hero-zoom { from { opacity: .3; transform: scale(1.08); } to { opacity: 1; transform: none; } }
@keyframes hero-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hero-line { from { transform: translateY(110%); } to { transform: none; } }
@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Motion & print ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  .linkhub *,
  .linkhub *::before,
  .linkhub *::after,
  .linkhub__scene,
  .intro-leaving .hero *,
  .intro-leaving .site-header__inner { animation: none !important; }
  .intro-leaving .intro { display: none !important; }
  .linkhub__live,
  .linkhub__motion { display: none !important; }
}

@media print {
  *, *::before, *::after { color: #000 !important; background: transparent !important; box-shadow: none !important; }
  .site-header, .quickbar, .skip-link, .nav-toggle, .hero__media, .intro { display: none !important; }
  .hero { min-height: 0; }
  .hero__inner, .js .hero__inner { padding-top: 0; padding-bottom: 16px; }
  .section { padding-block: 32px; }
  .service, .price-card, .price-feature, .person, .sla, .reason, .contact-list__item, .price-table tr { break-inside: avoid; }
  .button { border-color: #000 !important; }
  .hero__copy, .js .hero__copy { padding-top: 0; }
  .hero__h1-place, .hero__h1-sep { display: inline; }
  .eyebrow::before { display: none; }
  .site-footer { padding-bottom: 0; }
  .why-figure { break-inside: avoid; }
}

/* ---------- 404 ---------- */

.error { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.error .brand { display: inline-block; margin-bottom: 64px; }
