/* Arizona Utility Consultants — preliminary draft
   Desert / sunset palette, mobile-first, no build step. */

@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-italic.woff") format("woff");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../assets/fonts/ibm-plex-sans.woff") format("woff");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f4ebe0;
  --bg-warm: #f8f1e7;
  --paper: #fffbf6;
  --ink: #1c1510;
  --ink-2: #3a2e26;
  --muted: #6b5b4e;
  --line: #e0d1bf;
  --line-strong: #cbb89e;
  --clay: #c45a2a;
  --clay-hover: #a8441c;
  --clay-deep: #7a2c12;
  --sunset: #e07840;
  --sun: #e9a24d;
  --mesa: #a35a38;
  --cactus: #2c5a44;
  --cactus-soft: #e7f1eb;
  --header: #191411;
  --header-text: #f6efe4;
  --focus: #8a3214;
  --error: #9b1c1c;
  --error-bg: #fdecec;
  --draft: #6a4a16;
  --draft-bg: #f6e7c4;
  --shadow: 0 1px 2px rgba(28, 21, 16, 0.05), 0 16px 40px rgba(28, 21, 16, 0.08);
  --shadow-sm: 0 1px 2px rgba(28, 21, 16, 0.06), 0 4px 14px rgba(28, 21, 16, 0.05);
  --radius: 14px;
  --radius-sm: 8px;
  --font-serif: "Fraunces", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --space: 1.25rem;
  --wide: 72rem;
  --narrow: 42rem;
  --header-h: 4.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@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;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-warm);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 560; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 0.6em; }
h1 { font-size: clamp(2.15rem, 5.4vw, 3.65rem); font-weight: 580; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--clay-deep); text-underline-offset: 0.18em; }
a:hover { color: var(--clay-hover); }
:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  z-index: 100;
}
.skip:focus { top: 0.75rem; }

/* —— Draft banner —— */
.draft-banner {
  background: var(--draft-bg);
  color: var(--draft);
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  text-align: center;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #e6d19a;
}
.draft-banner strong { font-weight: 600; }

/* —— Header —— */
.site-header {
  background: var(--header);
  color: var(--header-text);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 3px solid var(--clay);
}
.header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.brand:hover { color: inherit; }
.brand-mark { width: 2.5rem; height: 2.5rem; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text .name {
  font-family: var(--font-serif);
  font-weight: 580;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand-text .tag {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d7c4ae;
  font-weight: 500;
}
.nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
.nav a {
  color: var(--header-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:hover { color: #f0c9a0; }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: 1px solid #4a3d34;
  border-radius: 8px;
  color: var(--header-text);
  cursor: pointer;
}
.nav-toggle svg { width: 1.25rem; height: 1.25rem; }
@media (min-width: 800px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  background: var(--clay-deep);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset;
}
.btn:hover { background: var(--clay-hover); color: #fff; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-lg { padding: 0.95rem 1.7rem; font-size: 1.05rem; }
.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn-ghost:hover { background: #efe4d4; color: var(--ink); }
.btn-header {
  background: var(--clay);
  color: #fff;
  padding: 0.55rem 1.05rem;
  font-size: 0.92rem;
}
.btn-header:hover { background: var(--sunset); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* Mobile nav panel */
.nav-panel {
  display: none;
  background: #221b16;
  border-top: 1px solid #3a2f28;
  padding: 0.75rem 1.25rem 1.1rem;
}
.nav-panel.is-open { display: block; }
.nav-panel a {
  display: block;
  color: var(--header-text);
  text-decoration: none;
  padding: 0.7rem 0;
  border-bottom: 1px solid #3a2f28;
  font-weight: 500;
}
.nav-panel .btn { margin-top: 0.9rem; width: 100%; }
@media (min-width: 800px) { .nav-panel { display: none !important; } }

/* —— Layout —— */
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 3.5rem 0; }
.section + .section { padding-top: 0; }
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-deep);
  margin: 0 0 0.7rem;
}
.lede { font-size: 1.125rem; color: var(--ink-2); max-width: 40rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f8d2a8 0%, #f0b07a 28%, #e07a48 58%, #c45a32 78%, #8a3a2a 100%);
  color: #1c1510;
  border-bottom: 1px solid #7a2c12;
}
.hero-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2.4rem 1.25rem 0;
  display: grid;
  gap: 1.5rem;
  align-items: end;
}
.hero-copy {
  background: rgba(255, 251, 246, 0.9);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.6rem;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}
.hero-copy h1 { margin-bottom: 0.55em; }
.hero-copy .experience {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--clay-deep);
  margin: 0 0 0.9rem;
}
.hero-art { position: relative; z-index: 0; margin: 0 -1.25rem; }
.hero-art svg { width: 100%; height: auto; display: block; }
@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    padding: 3.25rem 1.25rem 0;
    align-items: center;
    gap: 2rem;
  }
  .hero-copy { padding: 2.15rem 2rem 2.2rem; }
  .hero-art { margin: 0; }
}

/* —— How it works —— */
.steps {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
.step-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--clay-deep);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}
.step-card h3 { margin-bottom: 0.35em; }
.step-card p { margin: 0; color: var(--ink-2); }
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
}

/* —— Services —— */
.services { display: grid; gap: 1rem; margin-top: 2rem; }
.service {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.service-icon { width: 2.4rem; height: 2.4rem; margin-bottom: 0.8rem; color: var(--clay-deep); }
.service p { margin: 0; color: var(--ink-2); }
@media (min-width: 800px) {
  .services { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
}

/* —— About —— */
.about-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.about-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.placeholder-note {
  margin-top: 1.1rem;
  padding: 0.85rem 1rem;
  background: #f3eee6;
  border-left: 3px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.95rem;
  border-radius: 0 8px 8px 0;
}
@media (min-width: 800px) {
  .about-grid { grid-template-columns: 1.3fr 0.9fr; gap: 1.5rem; align-items: stretch; }
}

/* —— CTA band —— */
.cta-band {
  margin: 1rem 0 3.5rem;
  background: var(--header);
  color: var(--header-text);
  border-radius: calc(var(--radius) + 4px);
  padding: 2.2rem 1.5rem;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #e2d3c3; max-width: 36rem; margin: 0 auto 1.3rem; }
.cta-band .btn { background: var(--clay); }
.cta-band .btn:hover { background: var(--sunset); }

/* —— Footer —— */
.site-footer {
  background: var(--header);
  color: #d7c4ae;
  padding: 2.2rem 0 1.6rem;
  font-size: 0.92rem;
}
.site-footer a { color: #f0d8bf; }
.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  gap: 1.2rem;
}
.footer-brand { color: #f6efe4; font-family: var(--font-serif); font-size: 1.1rem; font-weight: 560; }
.footer-meta { border-top: 1px solid #3a2f28; padding-top: 1rem; color: #b9a48e; font-size: 0.85rem; }
@media (min-width: 700px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-meta { grid-column: 1 / -1; }
}

/* —— Questionnaire page —— */
body.is-form { background: #efe6d8; }
.form-shell {
  max-width: 52rem;
  margin: 1.25rem auto 3rem;
  padding: 0 1rem;
}
.progress {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem 1.05rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
}
.progress-bar {
  height: 0.4rem;
  background: var(--bg);
  border-radius: 99px;
  overflow: hidden;
}
.progress-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--clay-deep), var(--sunset));
  border-radius: 99px;
  transition: width 0.25s ease;
}
.step-dots {
  display: none;
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  gap: 0.4rem;
}
.step-dots li {
  font-size: 0.75rem;
  color: var(--muted);
  padding: 0.2rem 0.55rem;
  border-radius: 99px;
}
.step-dots li.current {
  background: #f3e0d2;
  color: var(--clay-deep);
  font-weight: 600;
}
.step-dots li.done { color: var(--cactus); }
@media (min-width: 800px) {
  .step-dots { display: flex; flex-wrap: wrap; }
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.15rem 1.5rem;
}
@media (min-width: 700px) {
  .panel { padding: 2rem 2.1rem 2.1rem; }
}
.panel h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 0.35em; }
.panel .intro { color: var(--ink-2); margin-bottom: 1.4rem; }

.form-step[hidden] { display: none !important; }

.grid-2, .grid-3 { display: grid; gap: 1rem; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field.full, .span-2 { grid-column: 1 / -1; }
.field label, .label {
  font-weight: 600;
  font-size: 0.92rem;
}
.req { color: var(--clay-deep); }
.hint { font-size: 0.82rem; color: var(--muted); margin: 0; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="number"],
.field textarea,
.field select,
.custom-select .select-btn {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 0.7rem 0.8rem;
  min-height: 2.85rem;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:hover, .field textarea:hover, .field select:hover, .custom-select .select-btn:hover {
  border-color: #b89d7e;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--clay);
  outline: 3px solid rgba(232, 160, 77, 0.45);
  outline-offset: 0;
}
.field.is-error input,
.field.is-error textarea,
.field.is-error .select-btn {
  border-color: var(--error);
  background: #fff8f8;
}
.error-msg { color: var(--error); font-size: 0.82rem; font-weight: 500; display: none; }
.field.is-error .error-msg { display: block; }

.radio-group, .choice-group {
  display: grid;
  gap: 0.5rem;
}
.choice {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  background: #fff;
  cursor: pointer;
}
.choice:hover { border-color: var(--line-strong); }
.choice:has(input:checked) {
  border-color: var(--clay);
  background: #fdf3ec;
  box-shadow: 0 0 0 1px var(--clay);
}
.choice input { margin-top: 0.25rem; accent-color: var(--clay-deep); }
.choice small { display: block; color: var(--muted); font-weight: 400; }

/* Custom select */
.custom-select { position: relative; }
.custom-select .native-select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}
.select-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  text-align: left;
  cursor: pointer;
  font-weight: 400;
}
.select-btn .value { flex: 1; min-width: 0; }
.select-btn .value.is-placeholder { color: #8a7a6c; }
.select-btn .chevron {
  width: 0.7rem;
  height: 0.7rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-2px, -2px);
  flex: 0 0 auto;
}
.select-list {
  display: none;
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: var(--shadow);
  max-height: min(22rem, 58vh);
  overflow: auto;
  padding: 0.3rem;
  margin: 0;
  list-style: none;
}
.custom-select.is-open .select-list { display: block; }
.select-list li {
  padding: 0.6rem 0.7rem;
  border-radius: 7px;
  cursor: pointer;
}
.select-list li:hover, .select-list li.is-active { background: #f7eee5; }
.select-list li.is-selected { background: #f3e0d2; font-weight: 600; color: var(--clay-deep); }

/* Upload */
.dropzone {
  border: 1.5px dashed var(--line-strong);
  border-radius: 12px;
  padding: 1.4rem 1rem;
  text-align: center;
  background: #fbf7f1;
  cursor: pointer;
}
.dropzone.is-drag { background: #f3e0d2; border-color: var(--clay); }
.dropzone strong { display: block; margin: 0.2rem 0; }
.file-list { list-style: none; margin: 0.8rem 0 0; padding: 0; display: grid; gap: 0.45rem; }
.file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  font-size: 0.92rem;
}
.file-list button {
  background: none;
  border: 0;
  color: var(--clay-deep);
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
}

/* Authorization document */
.loa {
  position: relative;
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 1.3rem 1.1rem 1.4rem;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.loa-stamp {
  display: inline-block;
  background: #f6e7c4;
  color: var(--draft);
  border: 1px solid #e0c57a;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  margin-bottom: 0.8rem;
}
.loa h2 { font-size: 1.2rem; text-align: center; margin: 0.2rem 0 1rem; }
.loa p { font-size: 0.95rem; }
.loa .legal-warn {
  background: var(--draft-bg);
  border: 1px solid #e6d19a;
  padding: 0.7rem 0.8rem;
  font-size: 0.88rem;
  color: var(--draft);
  margin: 1rem 0 0;
}
.sig-line {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.8rem;
}
@media (min-width: 600px) {
  .sig-line { grid-template-columns: 1fr auto; }
}
.sig-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  border-bottom: 1px solid var(--ink);
  min-height: 2.2rem;
  padding: 0.2rem 0;
}

.form-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

/* Review */
.review-block { margin: 0 0 1.2rem; }
.review-block header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.7rem;
  margin-bottom: 0.45rem;
}
.review-block h2 { font-size: 1.15rem; margin: 0; }
.review-block a { font-size: 0.88rem; font-weight: 600; }
.review-dl {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 0.35rem 1rem;
  margin: 0;
  background: #fbf7f1;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem 1rem;
}
.review-dl dt { color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.review-dl dd { margin: 0; }
@media (max-width: 639px) {
  .review-dl { grid-template-columns: 1fr; gap: 0.1rem; }
  .review-dl dt { margin-top: 0.45rem; }
  .review-dl dt:first-child { margin-top: 0; }
}

/* Thank you */
.thanks {
  text-align: center;
  padding: 1.2rem 0.4rem 0.4rem;
}
.thanks-icon {
  width: 4.2rem;
  height: 4.2rem;
  margin: 0 auto 1rem;
  background: var(--cactus-soft);
  color: var(--cactus);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thanks-icon svg { width: 2.1rem; height: 2.1rem; }
.ref {
  display: inline-block;
  margin: 0.4rem 0 1rem;
  background: #f3eee6;
  border-radius: 99px;
  padding: 0.35rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.thanks .draft-note {
  background: var(--draft-bg);
  border: 1px solid #e6d19a;
  color: var(--draft);
  padding: 0.85rem 1rem;
  border-radius: 10px;
  text-align: left;
  margin: 1.2rem 0 0;
  font-size: 0.95rem;
}

.hidden { display: none !important; }

.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;
}

/* Author display rules must not override the hidden attribute. */
[hidden] { display: none !important; }

/* Open custom selects must stack above later fields. */
.custom-select.is-open { z-index: 30; }

/* Form page: keep the header in document flow so it doesn't cover fields or dropdowns. */
body.is-form .site-header { position: relative; }

.form-step h1:focus,
.form-step h1:focus-visible { outline: none; }

.nowrap { white-space: nowrap; }

/* Grid items paint in source order; raise the open field so its list is not covered. */
.field:has(.custom-select.is-open) {
  z-index: 50;
  position: relative;
}

/* Language toggle — keep it obvious in the header and on the first screen */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: #fffbf6;
  border: 2px solid #f0c9a0;
  border-radius: 999px;
  padding: 3px;
  flex: 0 0 auto;
}
.lang-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #1c1510;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1.2;
}
.lang-toggle button.is-active {
  background: var(--clay);
  color: #fff;
}
.lang-toggle-hero {
  border-color: var(--clay-deep);
  margin: 0 0 0.95rem;
  box-shadow: 0 1px 2px rgba(28,21,16,.08);
}
.lang-toggle-hero button {
  font-size: 0.95rem;
  padding: 0.5rem 1.05rem;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-left: auto;
}
.header-inner { gap: 0.75rem; }
@media (min-width: 800px) {
  .header-tools { margin-left: 0; }
  .header-inner { justify-content: flex-start; }
  .header-tools { margin-left: auto; }
  .nav { margin-right: 0; }
}
