/* Alyada International — static site preview
   Mobile-first, no build step. */

:root {
  --bg: #f4efe6;
  --bg-raised: #fbf8f2;
  --bg-inset: #ebe4d6;
  --bg-dark: #1b2a22;
  --bg-dark-2: #24352c;
  --ink: #1b2a22;
  --ink-soft: #3d4a42;
  --muted: #5d675f;
  --line: #d8d0c0;
  --line-strong: #c3baa8;
  --green: #2c5a3c;
  --green-hover: #234a31;
  --green-soft: #e4eee6;
  --sage: #6f8468;
  --sand: #cbb892;
  --clay: #9a5b3c;
  --confirm: #f6e59a;
  --confirm-ink: #5c4d0e;
  --confirm-line: #d4b63a;
  --focus: #2c5a3c;
  --danger: #8b2e2e;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(27, 42, 34, 0.06), 0 12px 32px rgba(27, 42, 34, 0.06);
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  --space: clamp(1.25rem, 4vw, 2.5rem);
  --measure: 68rem;
  --header-h: 4.25rem;
  --banner-h: 0px;
}

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

html {
  scroll-behavior: smooth;
  hanging-punctuation: first last;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

img[width][height] { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.25rem, 6vw, 4.25rem); font-weight: 500; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--green);
  text-underline-offset: 0.18em;
}

a:hover { color: var(--green-hover); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--bg-dark);
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
}
.skip-link:focus { top: 0.5rem; }

/* —— Preview banner —— */
.preview-banner {
  background: #f3de6a;
  color: #3a3208;
  font-size: 0.875rem;
  line-height: 1.4;
  padding: 0.55rem var(--space);
  text-align: center;
  border-bottom: 1px solid #e0c44a;
}

/* —— To confirm marks —— */
mark.to-confirm,
.to-confirm {
  background: var(--confirm);
  color: inherit;
  padding: 0.05em 0.28em 0.12em;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.to-confirm-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.68em;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--confirm-ink);
  margin-left: 0.4em;
  vertical-align: 0.08em;
  white-space: nowrap;
}

/* —— Header —— */
.site-header {
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0.6rem var(--space);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}
.logo img,
a.logo img[width][height] {
  width: auto;
  height: 58px;
  max-height: 58px;
  max-width: 7.25rem;
}
.logo:hover { opacity: 0.85; }

.nav-toggle {
  margin-left: auto;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--bg-raised);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.nav-toggle-bars {
  display: block;
  width: 1.15rem;
  height: 1.05rem;
  position: relative;
}
.nav-toggle-bars span,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s, top 0.2s;
}
.nav-toggle-bars::before { top: 2px; }
.nav-toggle-bars span { top: 7px; }
.nav-toggle-bars::after { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 7px; transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 7px; transform: rotate(-45deg);
}

.site-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem var(--space) 1.25rem;
  box-shadow: var(--shadow);
}
.site-nav.is-open { display: flex; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  display: block;
  padding: 0.65rem 0;
  font-weight: 550;
  border-bottom: 1px solid var(--line);
}
.site-nav a:hover { color: var(--green); }
.site-nav a[aria-current="page"] {
  color: var(--green);
  box-shadow: inset 0 -2px 0 var(--green);
}

.nav-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.35rem;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lang-current {
  color: var(--ink);
  padding: 0.2rem 0.45rem;
  border-bottom: 2px solid var(--green);
}
.lang-soon {
  color: var(--muted);
  padding: 0.2rem 0.45rem;
  cursor: default;
  opacity: 0.7;
  position: relative;
}
.lang-hint {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .header-inner { position: relative; }
  .site-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    background: none;
    border: 0;
    padding: 0;
    box-shadow: none;
    margin-left: auto;
    gap: 1.5rem;
  }
  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }
  .site-nav a {
    padding: 0.45rem 0.7rem;
    border: 0;
    font-size: 0.98rem;
  }
  .nav-tools { padding: 0; gap: 1.1rem; }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--green);
  color: #f7f4ee;
  border-color: var(--green);
}
.btn-primary:hover { background: var(--green-hover); color: #fff; border-color: var(--green-hover); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--bg); }
.btn-ghost {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-ghost:hover { background: var(--green); color: #fff; }
.btn-sm { font-size: 0.88rem; padding: 0.45rem 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }

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

/* —— Layout —— */
.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding-left: var(--space);
  padding-right: var(--space);
}
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--bg-raised); }
.section-dark {
  background: var(--bg-dark);
  color: #e6e2d8;
}
.section-dark h2, .section-dark h3 { color: #f4efe6; }
.section-dark .muted, .section-dark p { color: #c9c4b8; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 0.75rem;
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 38rem;
}

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

/* —— Hero —— */
.hero {
  display: grid;
  gap: 0;
}
.hero-copy {
  padding: clamp(2.2rem, 6vw, 4.5rem) var(--space) 2.2rem;
  max-width: 42rem;
  margin: 0 auto;
  width: 100%;
}
.hero-copy h1 { margin-bottom: 0.55em; }
.hero-media img {
  width: 100%;
  height: min(70vw, 28rem);
  object-fit: cover;
  object-position: center 60%;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1fr 1.05fr;
    align-items: stretch;
    min-height: 34rem;
  }
  .hero-copy {
    margin: 0 0 0 auto;
    max-width: 36rem;
    padding: 4.5rem var(--space) 4.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
  }
  .hero-copy { padding-left: max(var(--space), calc((100vw - var(--measure)) / 2)); }
  .hero-media img {
    height: 100%;
    min-height: 34rem;
    border-radius: 0;
  }
}

/* —— Why grass cards —— */
.card-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .card-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}
@media (min-width: 1000px) {
  .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem 1.5rem;
}
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card-media { margin: -1.4rem -1.3rem 1rem; }
.card-media img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* —— Split / two ways —— */
.split {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .split { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .split.uneven { grid-template-columns: 1.15fr 0.85fr; }
}
.panel {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
}
.panel h3 { margin-bottom: 0.45em; }
.section-dark .panel {
  background: var(--bg-dark-2);
  border-color: #31463b;
  color: #e6e2d8;
}
.section-dark .panel h3 { color: #f4efe6; }

/* —— Story teaser —— */
.teaser {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.teaser img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
@media (min-width: 800px) {
  .teaser { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
  .teaser img { height: 22rem; }
}

/* —— Story page —— */
.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem; }
.page-hero h1 { max-width: 16ch; }
.prose { max-width: 40rem; }
.prose p { font-size: 1.08rem; }

.story-figure {
  margin: 2.5rem 0 0;
}
.story-figure img {
  width: 100%;
  max-height: 36rem;
  object-fit: cover;
  object-position: center 40%;
  border-radius: var(--radius-lg);
}
.story-figure figcaption {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.6rem;
}

.steps {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  counter-reset: step;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.step { position: relative; }
.step img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.35rem; }
.step-num {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--sage);
  margin-bottom: 0.25rem;
}

.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #111;
  margin-top: 1rem;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* —— Products —— */
.product {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}
.product:first-of-type { border-top: 0; padding-top: 0; }
.product img {
  width: 100%;
  max-height: 26rem;
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1rem;
}
.product ul {
  margin: 0 0 1.25rem;
  padding: 0 0 0 1.15rem;
  color: var(--ink-soft);
}
.product li { margin: 0.3rem 0; }
@media (min-width: 800px) {
  .product { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; }
  .product.flip { grid-template-columns: 1.1fr 0.9fr; }
  .product.flip .product-copy { order: -1; }
}

.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  min-width: 20rem;
}
table.compare th,
table.compare td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.compare thead th {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.1rem;
  border-bottom: 2px solid var(--ink);
}
table.compare tbody th { font-weight: 600; width: 32%; }
.yes { color: var(--green); font-weight: 650; }
.no { color: var(--clay); font-weight: 650; }

/* —— Forms —— */
form.stack {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field-row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}
label, .label {
  font-weight: 600;
  font-size: 0.92rem;
}
.req { color: var(--clay); }
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 0.7rem 0.8rem;
  width: 100%;
}
textarea { min-height: 8rem; resize: vertical; }
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--green);
}
.hint { font-size: 0.85rem; color: var(--muted); }
.checkbox {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.95rem;
}
.checkbox input { margin-top: 0.35rem; flex: 0 0 auto; width: auto; }
.form-status {
  margin-top: 1.25rem;
  padding: 1.25rem 1.3rem;
  background: var(--green-soft);
  border-radius: var(--radius);
  display: none;
}
.form-status.is-visible { display: block; }
.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* —— Contact list —— */
.contact-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.contact-list a { font-weight: 600; }
.contact-list span.lbl {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
}

/* —— Footer —— */
.site-footer {
  background: var(--bg-dark);
  color: #c9c4b8;
  padding: 2.5rem 0 2rem;
  margin-top: 0;
  font-size: 0.95rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}
.site-footer a { color: #e6e2d8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.footer-social { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; }

/* —— Legal —— */
.legal { padding-bottom: 4rem; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); }

/* —— 404 —— */
.not-found { padding: 5rem 0 6rem; text-align: center; }
.not-found h1 { margin-bottom: 0.4em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media (min-width: 900px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

.hero-copy .lead { max-width: 28rem; }

.who {
  margin-top: 2.5rem;
  max-width: 40rem;
}


.section-dark .btn-secondary {
  color: #f4efe6;
  border-color: #e6e2d8;
}
.section-dark .btn-secondary:hover {
  background: #f4efe6;
  color: var(--bg-dark);
}


.hero-mascot {
  display: grid;
  grid-template-areas:
    "copy"
    "mascot"
    "actions";
  gap: 1.25rem 2.5rem;
  align-items: center;
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(1.6rem, 5vw, 3.5rem) var(--space) clamp(2rem, 5vw, 3.75rem);
}
.hero-mascot .hero-copy {
  grid-area: copy;
  padding: 0;
  margin: 0;
  max-width: 36rem;
}
.hero-mascot .hero-actions {
  grid-area: actions;
  max-width: 36rem;
}
.hero-mascot .mascot {
  grid-area: mascot;
  margin: 0 auto;
  width: min(72%, 16.5rem);
}
.hero-mascot .mascot img {
  width: 100%;
  height: auto;
  display: block;
}
@media (min-width: 900px) {
  .hero-mascot {
    grid-template-areas:
      "copy mascot"
      "actions mascot";
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 28rem;
    padding-top: 3.25rem;
    padding-bottom: 3.75rem;
  }
  .hero-mascot .mascot {
    width: auto;
    max-width: 20rem;
    margin-right: 0;
    margin-left: auto;
  }
  .hero-mascot .mascot img {
    max-height: 26rem;
    width: auto;
    max-width: 100%;
    height: auto;
    margin-left: auto;
  }
  .hero-mascot .hero-copy h1 { margin-bottom: 0.2em; }
}

.mascot-close {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  align-items: center;
  justify-content: flex-start;
  margin-top: 3rem;
  padding-bottom: 2rem;
}
.mascot-close .mascot {
  flex: 0 0 auto;
  width: min(100%, 14rem);
}
.mascot-close img {
  width: 100%;
  height: auto;
}
.mascot-close p {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  margin: 0;
  max-width: 12em;
  line-height: 1.25;
}

.proof {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}
.proof p { font-size: 1.15rem; }

.problem {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
.problem img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
@media (min-width: 800px) {
  .problem { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
  .problem img { height: 20rem; }
}

/* —— Mascot accents on inner pages —— */
.page-with-mascot {
  display: grid;
  gap: 1.25rem 2rem;
  align-items: center;
}
.page-with-mascot h1:last-child { margin-bottom: 0; }
.page-with-mascot .mascot {
  width: min(58%, 12.5rem);
  margin: 0 auto;
}
.page-with-mascot .mascot img,
.legal-with-mascot .mascot img,
.not-found .mascot img {
  width: 100%;
  height: auto;
  display: block;
}
@media (min-width: 800px) {
  .page-with-mascot {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem 3rem;
    align-items: center;
  }
  .page-with-mascot .mascot {
    width: 14.5rem;
    margin: 0;
    justify-self: end;
  }
  .page-with-mascot .mascot--mid {
    width: 13rem;
  }
}

.legal-with-mascot {
  display: grid;
  gap: 1.25rem 2rem;
  align-items: start;
}
.legal-with-mascot .mascot {
  width: min(42%, 8.25rem);
  margin: 0.25rem auto 0;
}
@media (min-width: 800px) {
  .legal-with-mascot {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .legal-with-mascot .mascot {
    width: 8.25rem;
    margin: 2.75rem 0 0;
    justify-self: end;
  }
}

.not-found .mascot {
  width: min(62%, 15.5rem);
  margin: 0 auto 1.5rem;
}
