/* ==========================================================================
   Sody — foundations: tokens, reset, typography, shared chrome
   Palette and type scale taken from the Claude Design canvas
   ("Sody Contact.dc.html").
   ========================================================================== */

:root {
  /* Surfaces */
  --cream: #fff7ef;
  --sand: #f6e7d8;
  --white: #ffffff;

  --shell: #fbf1e7;        /* card wells on cream */
  --shell-deep: #f0dfcc;   /* chips inside those wells */
  --tan: #e4c39b;          /* bonus card, dark-surface accents */
  --pick: #fbf2e8;         /* a selected drink tile */
  --cream-button: #fbeee0; /* the CTA sitting on ink */

  /* Ink */
  --ink: #241610;
  --ink-78: rgba(36, 22, 16, 0.78);
  --ink-75: rgba(36, 22, 16, 0.75);
  --ink-72: rgba(36, 22, 16, 0.72);
  --ink-70: rgba(36, 22, 16, 0.7);
  --ink-65: rgba(36, 22, 16, 0.65);
  --ink-60: rgba(36, 22, 16, 0.6);
  --ink-55: rgba(36, 22, 16, 0.55);
  --ink-50: rgba(36, 22, 16, 0.5);
  --ink-45: rgba(36, 22, 16, 0.45);
  --ink-25: rgba(36, 22, 16, 0.25);
  --ink-20: rgba(36, 22, 16, 0.2);
  --ink-14: rgba(36, 22, 16, 0.14);
  --ink-12: rgba(36, 22, 16, 0.12);
  --ink-10: rgba(36, 22, 16, 0.1);

  /* On ink */
  --on-ink-72: rgba(255, 247, 239, 0.72);
  --on-ink-65: rgba(255, 247, 239, 0.65);
  --on-ink-60: rgba(255, 247, 239, 0.6);
  --on-ink-18: rgba(255, 247, 239, 0.18);
  --on-ink-12: rgba(251, 238, 224, 0.12);

  /* Accent */
  --terracotta: #c9784e;
  --clay: #a6552e;
  --clay-deep: #8a4a2a;
  --clay-80: rgba(138, 74, 42, 0.8);
  --clay-75: rgba(138, 74, 42, 0.75);
  --clay-70: rgba(138, 74, 42, 0.7);
  --clay-35: rgba(138, 74, 42, 0.35);

  /* Type */
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: Karla, "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Shape */
  --radius-card: 30px;
  --radius-soft: 22px;
  --radius-field: 14px;
  --radius-pill: 999px;

  /* Depth */
  --shadow-card: 0 12px 34px rgba(36, 22, 16, 0.07);
  --shadow-button: 0 12px 28px rgba(36, 22, 16, 0.14);

  /* Layout */
  --container: 1120px;
  --container-wide: 1240px;
  --gutter: clamp(20px, 4vw, 44px);

  color-scheme: light;
}

/* --- Reset ---------------------------------------------------------------- */

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

/* Components below set display on .form, .sent, .points... which out-specify
   the UA sheet's [hidden] rule. Make the attribute authoritative instead. */
[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}

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

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

a {
  color: var(--clay);
  text-decoration: none;
}

a:hover {
  color: var(--clay-deep);
}

input,
textarea,
select,
button {
  font: inherit;
  color: inherit;
}

/* The canvas set outline:none on every control. Keep the calm look for mouse
   users, but restore a visible ring for keyboard navigation. */
:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- Layout --------------------------------------------------------------- */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--wide {
  max-width: var(--container-wide);
}

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

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

.site-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0 8px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.01em;
}

.site-header__end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* --- Language switch ------------------------------------------------------ */

.lang-switch {
  display: flex;
  gap: 3px;
  background: var(--sand);
  border-radius: var(--radius-pill);
  padding: 3px;
}

.lang-switch__pill {
  border: 0;
  border-radius: var(--radius-pill);
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  background: transparent;
  color: var(--clay-70);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-switch__pill:hover:not(.is-active) {
  color: var(--clay-deep);
}

.lang-switch__pill.is-active {
  background: var(--ink);
  color: var(--cream);
}

.back-link {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-60);
}

.back-link:hover {
  color: var(--ink);
}

/* --- Shared type ---------------------------------------------------------- */

.kicker {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.button {
  display: inline-block;
  padding: 15px 30px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--cream);
  font-weight: 700;
  font-size: 15.5px;
  text-align: center;
  cursor: pointer;
}

.button:hover {
  color: var(--cream);
  background: #33211a;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
