:root {
  --color-bg: #f5f1f2;
  --color-surface: rgba(255, 255, 255, 0.88);
  --color-text: #191617;
  --color-muted: #625c60;
  --color-border: rgba(30, 24, 27, 0.1);
  --color-accent: #e21e79;
  --color-accent-dark: #b51861;
  --color-hero-overlay: rgba(64, 12, 42, 0.28);
  --shadow-soft: 0 18px 46px rgba(23, 17, 21, 0.08);
  --shadow-card: 0 34px 80px rgba(22, 16, 20, 0.14);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-sm: 12px;
  --container: 1200px;
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(226, 30, 121, 0.07), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fbf8f8 42%, #f5f1f2 100%);
  line-height: 1.65;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 3rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(25, 22, 23, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 3.35rem;
}

.brand,
.site-nav a {
  text-decoration: none;
}

.brand {
  display: flex;
  align-items: center;
  min-height: 1.6rem;
  flex: 0 0 auto;
}

.brand-mark {
  font-family: "Kanit", sans-serif;
  font-weight: 900;
  font-size: 2.08rem;
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: var(--color-accent);
}

.site-nav {
  display: flex;
  gap: 1rem;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  line-height: 1;
  color: rgba(25, 22, 23, 0.72);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.24rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--color-accent);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: min(78dvh, 45rem);
  display: grid;
  align-items: end;
  overflow: clip;
  background:
    linear-gradient(var(--color-hero-overlay), var(--color-hero-overlay)),
    url("../images/hero-media.jpg") center center / cover no-repeat;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 28%, rgba(226, 30, 121, 0.28), transparent 28%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding-block: clamp(4rem, 7vw, 5.5rem) clamp(1.25rem, 3vw, 1.8rem);
}

.hero-main {
  max-width: 48rem;
}

.section-label,
.value-kicker {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.section-label {
  font-size: 0.95rem;
  color: var(--color-accent-dark);
}

.hero-label {
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.84);
}

.hero h1,
.value-intro h2,
.story-rail h2,
.contact-lead h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  line-height: 0.95;
}

.hero h1 {
  max-width: 11ch;
  color: #fff;
  font-size: clamp(3rem, 6.7vw, 5.2rem);
}

.hero-text,
.section-intro,
.story-block p,
.contact-text,
.contact-card,
.form-status,
.value-card p {
  font-size: 1.03rem;
  color: var(--color-muted);
}

.hero-text {
  max-width: 31rem;
  margin: 0.7rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.98rem, 1.55vw, 1.08rem);
}

.button {
  min-height: 2.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-accent), #f03b90);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(226, 30, 121, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(226, 30, 121, 0.28);
}

.section {
  padding-block: clamp(4rem, 7vw, 5.75rem);
}

.value-band {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
}

.value-layout {
  display: grid;
  gap: 1.25rem;
}

.value-intro {
  display: grid;
  gap: 0.55rem;
  max-width: 58rem;
}

.value-intro h2 {
  max-width: none;
  font-size: clamp(2.35rem, 4.8vw, 3.85rem);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.value-card {
  min-height: 100%;
  padding: 1.45rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.value-card .value-kicker {
  font-size: 0.95rem;
  color: var(--color-accent) !important;
}

.value-card h3 {
  margin: 0.82rem 0 0.58rem;
  font-size: 1.32rem;
  line-height: 1.12;
}

.value-card p {
  margin: 0;
}

.section-about {
  border-top: 1px solid rgba(25, 22, 23, 0.06);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: start;
}

.story-rail {
  display: grid;
  gap: 0.8rem;
  position: sticky;
  top: 6rem;
}

.story-rail h2,
.contact-lead h2 {
  max-width: 13ch;
  font-size: clamp(2.35rem, 4.8vw, 3.85rem);
}

.section-intro,
.contact-text,
.story-block p,
.contact-card,
.form-status {
  margin: 0;
}

.story-content {
  display: grid;
  gap: 0.85rem;
}

.story-block {
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(25, 22, 23, 0.08);
}

.story-title {
  margin: 0 0 0.7rem;
  font-size: 1.32rem;
  line-height: 1.12;
  color: var(--color-text);
}

.section-contact {
  background:
    linear-gradient(180deg, rgba(226, 30, 121, 0.05), rgba(226, 30, 121, 0.015)),
    transparent;
  border-top: 1px solid rgba(25, 22, 23, 0.06);
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(15rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.1rem, 3.2vw, 2.1rem);
  align-items: start;
}

.contact-lead {
  display: grid;
  gap: 0.7rem;
}

.contact-text {
  max-width: 24rem;
}

.contact-card {
  margin-top: 0.3rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.contact-card-title {
  margin: 0 0 0.55rem;
  font-weight: 700;
  color: var(--color-text);
}

.contact-card a {
  display: inline-block;
  margin-top: 0.15rem;
  color: var(--color-accent-dark);
  font-weight: 700;
  text-decoration-thickness: 2px;
}

.form-panel {
  padding: 0.78rem 0.86rem 0.92rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(25, 22, 23, 0.08);
  box-shadow: var(--shadow-card);
}

.contact-form {
  display: grid;
  gap: 0.54rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

.form-row {
  display: grid;
  gap: 0.26rem;
}

.form-row label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
}

.form-row input,
.form-row textarea {
  width: 100%;
  min-height: 2.62rem;
  padding: 0.68rem 0.8rem;
  border: 1px solid rgba(25, 22, 23, 0.12);
  border-radius: 0.95rem;
  background: #fff;
  color: var(--color-text);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-row textarea {
  min-height: 7.4rem;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: rgba(226, 30, 121, 0.7);
  box-shadow: 0 0 0 4px rgba(226, 30, 121, 0.12);
}

.form-meta {
  display: grid;
  gap: 0.4rem;
  align-items: start;
}

.cf-turnstile {
  min-height: 3.85rem;
}

.honey {
  position: absolute;
  left: -9999px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 0.58rem;
  flex-wrap: wrap;
}

.button[disabled] {
  opacity: 0.72;
  cursor: wait;
}

.form-status[data-state="error"] {
  color: #b42318;
}

.form-status[data-state="success"] {
  color: #0b6d3a;
}

.button:focus-visible,
.site-nav a:focus-visible,
.contact-card a:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(226, 30, 121, 0.25);
  outline-offset: 3px;
}

.site-footer {
  padding-block: 0.45rem 1.35rem;
}

.footer-brand-wrap {
  display: flex;
  justify-content: center;
  padding-bottom: 0.25rem;
}

.footer-brand-mark {
  margin: 0;
  font-family: "Kanit", sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 0.92;
  letter-spacing: 0.008em;
  color: var(--color-accent);
}

.footer-inner {
  display: flex;
  justify-content: center;
  text-align: center;
}

.footer-inner p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 360ms ease, transform 360ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .value-grid,
  .story-layout,
  .contact-shell,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .story-rail {
    position: static;
  }

  .hero-main,
  .value-intro,
  .contact-text,
  .hero-text,
  .section-intro {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .header-inner {
    justify-content: space-between;
    gap: 0.9rem;
  }

  .site-nav {
    margin-left: auto;
    justify-content: flex-end;
    gap: 0.85rem;
  }

  .site-nav a {
    font-size: 0.96rem;
  }

  .brand-mark {
    font-size: 2.16rem;
    letter-spacing: 0.008em;
  }

  .hero {
    min-height: min(62dvh, 34rem);
    align-items: end;
    background-position: center top;
  }

  .hero-layout {
    padding-block: 2rem 1.1rem;
  }

  .hero-main {
    max-width: 16rem;
  }

  .hero-label {
    margin-bottom: 0.35rem;
    font-size: 0.8rem;
  }

  .hero h1 {
    max-width: 6.5ch;
    font-size: clamp(2.8rem, 10vw, 4.3rem);
    line-height: 0.9;
  }

  .hero-text {
    max-width: 15.5rem;
    margin-top: 0.45rem;
    font-size: 0.96rem;
    line-height: 1.45;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(calc(100% - 2rem), var(--container));
  }

  .section {
    padding-block: 3.2rem;
  }

  .value-card,
  .story-block,
  .form-panel {
    border-radius: 1.25rem;
  }

  .hero {
    min-height: min(56dvh, 28rem);
  }

  .hero-layout {
    padding-block: 1.2rem 0.9rem;
  }

  .hero-main {
    max-width: 13.2rem;
  }

  .hero-label {
    font-size: 0.72rem;
    margin-bottom: 0.3rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 9vw, 3.5rem);
    max-width: 6ch;
  }

  .hero-text {
    max-width: 13rem;
    margin-top: 0.32rem;
    font-size: 0.9rem;
  }

  .button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .form-actions {
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
