:root {
  --quartz: #f4f1ea;
  --quartz-deep: #e4ddd0;
  --aurora-em: #1dbf8a;
  --aurora-em-bright: #2ee6a6;
  --aurora-violet: #7b4fe0;
  --aurora-violet-soft: #9b6dff;
  --aurora-cyan: #3ac6e0;
  --aurora-cyan-bright: #5ce1ff;
  --ink: #16202c;
  --ink-soft: #3a4654;
  --silver: #f7f8fc;
  --glass: rgba(247, 248, 252, 0.62);
  --stroke: rgba(22, 32, 44, 0.12);
  --shadow: 0 18px 50px rgba(22, 32, 44, 0.12);
  --radius: 22px;
  --font: "IBM Plex Sans Thai", "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(155, 109, 255, 0.28), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(46, 230, 166, 0.22), transparent 50%),
    radial-gradient(700px 500px at 70% 80%, rgba(92, 225, 255, 0.18), transparent 55%),
    linear-gradient(180deg, #eef3f8 0%, var(--quartz) 40%, #e7eef6 100%);
  min-height: 100vh;
  line-height: 1.7;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.35) 42%, transparent 48%),
    linear-gradient(155deg, transparent 60%, rgba(92, 225, 255, 0.08) 70%, transparent 80%);
  mix-blend-mode: screen;
  z-index: 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--silver);
  padding: 0.5rem 1rem;
}

.skip:focus {
  left: 1rem;
  z-index: 50;
}

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(244, 241, 234, 0.72);
  border-bottom: 1px solid var(--stroke);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 1.35rem;
  height: 1.7rem;
  background: linear-gradient(160deg, var(--aurora-cyan-bright), var(--aurora-violet-soft) 55%, var(--aurora-em-bright));
  clip-path: polygon(50% 0, 100% 32%, 78% 100%, 22% 100%, 0 32%);
  box-shadow: 0 0 16px rgba(92, 225, 255, 0.55);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--stroke);
  background: var(--glass);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font: inherit;
  color: var(--ink);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--ink);
}

main {
  position: relative;
  z-index: 1;
  padding-bottom: 4rem;
}

.plaque-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  min-height: 72vh;
  margin: 1rem auto 3rem;
  width: min(1180px, calc(100% - 2rem));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
}

.plaque-copy {
  background: linear-gradient(180deg, rgba(22, 32, 44, 0.92), rgba(27, 38, 58, 0.88));
  color: var(--silver);
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

.plaque-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(46, 230, 166, 0.18), transparent 35%),
    linear-gradient(90deg, transparent, rgba(155, 109, 255, 0.2));
  pointer-events: none;
}

.kicker {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aurora-cyan-bright);
  margin: 0 0 1rem;
  position: relative;
}

.plaque-copy h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 1rem;
  position: relative;
}

.plaque-meta {
  margin: 0 0 1.4rem;
  color: #d5dce6;
  position: relative;
}

.text-cta {
  position: relative;
  align-self: flex-start;
  color: var(--aurora-em-bright);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
}

.plaque-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 320px;
}

.panel {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.lede-block {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  padding: 2rem;
  margin-bottom: 2.5rem;
}

.lede-block h2,
.section-title,
.page-hero h1 {
  line-height: 1.35;
  margin-top: 0;
}

.primary-offer {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.primary-offer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  display: block;
}

.primary-copy {
  padding: 2rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.offer-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.offer-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.offer-card div {
  padding: 1.1rem 1.2rem 1.3rem;
}

.offer-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.voices {
  padding: 2rem;
  margin-bottom: 2.5rem;
}

.voices blockquote {
  margin: 0 0 1.2rem;
  font-size: 1.15rem;
}

.page-hero {
  padding: 2.4rem 0 1rem;
}

.page-hero p {
  max-width: 42rem;
}

.card-list {
  display: grid;
  gap: 1.25rem;
}

.media-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 180px;
}

.media-card .pad {
  padding: 1.4rem 1.5rem;
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  margin-top: 2rem;
}

.split-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.work-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.work-card .pad {
  padding: 1.2rem 1.3rem 1.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.team-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

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

.price-table th,
.price-table td {
  text-align: left;
  padding: 0.85rem 0.6rem;
  border-bottom: 1px solid var(--stroke);
  vertical-align: top;
}

form.stack {
  display: grid;
  gap: 0.9rem;
  max-width: 36rem;
}

label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
}

input,
select,
textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.field-error,
.inline-error {
  color: #8a2040;
  font-weight: 500;
  font-size: 0.92rem;
  margin: 0;
}

.form-status {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  margin: 0;
}

.form-status.is-ok {
  background: rgba(46, 230, 166, 0.2);
}

.form-status.is-bad {
  background: rgba(138, 32, 64, 0.12);
}

.btn {
  font: inherit;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.65rem 1.2rem;
  border: 0;
  cursor: pointer;
}

.btn-pulse {
  position: relative;
  overflow: hidden;
  color: #071018;
  background: linear-gradient(90deg, var(--aurora-em-bright), var(--aurora-cyan-bright) 55%, var(--aurora-violet-soft));
  background-size: 180% 100%;
}

.btn-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: translateX(-120%);
}

.btn-pulse:hover::after,
.btn-pulse:focus-visible::after {
  animation: crystal-pulse 0.9s ease;
}

@keyframes crystal-pulse {
  from { transform: translateX(-120%); opacity: 1; }
  to { transform: translateX(120%); opacity: 0; }
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--stroke);
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--stroke);
  background: rgba(244, 241, 234, 0.55);
  backdrop-filter: blur(12px);
  padding: 2.5rem 0 1.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-brand {
  font-weight: 700;
  margin-top: 0;
}

.footer-label {
  font-weight: 700;
  margin: 0 0 0.4rem;
}

address {
  font-style: normal;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a,
.site-footer a {
  color: var(--ink-soft);
}

.footer-base {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 0;
  right: 0;
  z-index: 40;
}

.cookie-inner {
  background: rgba(22, 32, 44, 0.92);
  color: var(--silver);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  display: grid;
  gap: 0.8rem;
  border: 1px solid rgba(92, 225, 255, 0.3);
  box-shadow: 0 16px 40px rgba(11, 18, 32, 0.35);
}

.cookie-inner a {
  color: var(--aurora-cyan-bright);
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
}

.muted {
  color: var(--ink-soft);
}

.includes {
  padding-left: 1.1rem;
}

.legal h1 {
  font-size: 1.8rem;
}

@media (max-width: 900px) {
  .plaque-hero,
  .lede-block,
  .primary-offer,
  .media-card,
  .offer-grid,
  .split-gallery,
  .team-grid,
  .footer-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(244, 241, 234, 0.96);
    border-bottom: 1px solid var(--stroke);
    padding: 0.8rem 1rem 1rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
  }

  .header-inner {
    flex-wrap: wrap;
  }
}
