/* Confetti.ae - generated stylesheet. Do not edit by hand.
   Source order: brand-kit/tokens.css, then site/assets/layout.css.
   Regenerate with: powershell -NoProfile -File checks/build-site-css.ps1 */
/* Confetti.ae colour and type tokens.
   Generated from tokens.json by checks/tokens-to-css.ps1. Do not edit by hand. */
:root {
  --surface-base: #FAF7F2; /* surface */
  --surface-paper: #FFFDFB; /* surface */
  --surface-blush: #EDE1D8; /* surface */
  --text-ink: #342D32; /* text */
  --text-muted: #71666B; /* text */
  --text-support: #5F5057; /* text */
  --brand-deep: #694B3E; /* brand */
  --brand-rose: #B28366; /* brand */
  --border-line: #E9DEDB; /* border */
  --border-field: #A38890; /* border */
  --owner-cream: #F5EFE5; /* surface */
  --owner-teal: #22404F; /* brand */
  --owner-beige: #D2CDBD; /* surface */
  --owner-tan: #CAA996; /* accent */
  --owner-green: #84964C; /* accent */
  --owner-magenta: #BD235D; /* accent */
  --owner-light-green: #BFD397; /* accent */
  --owner-olive: #807D51; /* accent */
  --owner-brown: #3C372C; /* text */
  --text-on-deep: #FFFDFB; /* text */

  --font-display: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", "Arial", sans-serif;
  --font-arabic: "Noto Sans Arabic", "Tahoma", "Arial", sans-serif;

  --tap-target: 44px;
  --button-height: 48px;
  --radius-pill: 999px;
  --radius-field: 4px;
  --measure: 46ch;
}

[dir="rtl"] {
  letter-spacing: normal;
  text-transform: none;
  font-family: var(--font-arabic);
}

/* Confetti.ae layout.
   Consumed together with brand-kit/tokens.css: checks/build-site-css.ps1 writes
   site/assets/site.css as tokens + this file, in that order. Never link this
   file directly from a page.
   Direction-aware throughout: no left/right properties, only logical ones. */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--surface-base);
  color: var(--text-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; overflow-wrap: anywhere; }
h1 { font-size: clamp(34px, 6vw, 76px); }
h2 { font-size: clamp(26px, 4vw, 44px); }
h3 { font-size: clamp(19px, 2.2vw, 26px); }
p { margin: 0 0 1em; }

a { color: var(--brand-deep); }
a:hover { color: var(--text-ink); }

img { max-width: 100%; height: auto; }

[dir="rtl"] body { font-family: var(--font-arabic); line-height: 1.85; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: var(--font-arabic); letter-spacing: 0; line-height: 1.45; }

.wrap { width: min(1180px, 100% - 2 * clamp(16px, 4vw, 56px)); margin-inline: auto; }

/* Skip link: first focusable element on every page. */
.skip {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  z-index: 10;
  padding: 10px 16px;
  background: var(--brand-deep);
  color: var(--text-on-deep);
  text-decoration: none;
}
.skip:focus { inset-inline-start: 8px; top: 8px; }

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

.site-header { border-block-end: 1px solid var(--border-line); background: var(--surface-base); }
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 16px;
}
.brand { display: block; line-height: 0; }
.brand-logo { display: block; width: clamp(104px, 11vw, 150px); height: auto; }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 16px; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-target);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-ink);
  text-decoration: none;
}
.nav a[aria-current="page"] { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 6px; }
[dir="rtl"] .nav a { font-size: 15px; }
.lang { border: 1px solid var(--border-line); border-radius: var(--radius-pill); padding-inline: 12px; }

main { display: block; }

.hero { padding-block: clamp(32px, 6vw, 88px); }
.hero h1 { max-width: 20ch; margin-block-end: 16px; }
.lede { max-width: 46ch; color: var(--text-muted); font-size: 17px; line-height: 1.75; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 24px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--button-height);
  padding-inline: 24px;
  border: 1px solid var(--brand-deep);
  border-radius: var(--radius-pill);
  background: var(--brand-deep);
  color: var(--text-on-deep);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.button:hover { background: var(--text-ink); color: var(--text-on-deep); transform: translateY(-1px); }
.button.secondary { background: transparent; color: var(--brand-deep); }
.button.secondary:hover { background: var(--surface-paper); color: var(--brand-deep); }

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .button:hover { transform: none; }
}

.section { padding-block: clamp(30px, 5vw, 68px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px; margin-block-end: 22px; }
.section-head h2 { max-width: 18ch; }
.section-head > div { min-width: 0; }
/* A standalone link in a section head is a control, so it gets a full tap target. */
.section-head > a { display: inline-flex; align-items: center; min-height: var(--tap-target); }
.eyebrow a { display: inline-flex; align-items: center; min-height: var(--tap-target); }

.eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
[dir="rtl"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 13px; }

.grid { display: grid; gap: clamp(12px, 2vw, 24px); }
.grid > * { min-width: 0; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* Photo plates: the supplied sample images on paper, never cropped, never
   overlaid. The title sits below the picture, so no text is placed on a
   photograph and no gradient is needed for contrast. */
.plate {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 4.8;
  padding: 10px;
  border: 1px solid var(--border-line);
  background: var(--surface-paper);
  text-decoration: none;
  color: var(--text-ink);
  overflow: hidden;
}
.plate:hover { border-color: var(--brand-rose); }
.plate img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 0;
}
.plate-tall { aspect-ratio: 4 / 4.8; max-height: 560px; }
.plate:not(:has(img)) { aspect-ratio: auto; min-height: 160px; }
.plate:not(:has(img)) .plate-title { color: var(--text-muted); font-size: 14px; font-family: var(--font-body); }
.plate-title {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  color: var(--text-ink);
}
[dir="rtl"] .plate-title { font-family: var(--font-arabic); font-size: 21px; }
.card-title { display: block; font-family: var(--font-display); font-size: 20px; line-height: 1.25; color: var(--text-ink); }
[dir="rtl"] .card-title { font-family: var(--font-arabic); font-size: 19px; }
.occasion-card { display: grid; gap: 8px; text-decoration: none; color: inherit; }
.occasion-card .plate { margin: 0; }
.occasion-card:hover .card-title { color: var(--brand-deep); }

.chip {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  z-index: 3;
  padding: 3px 9px;
  border: 1px solid var(--brand-deep);
  border-radius: var(--radius-pill);
  background: var(--surface-paper);
  color: var(--brand-deep);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
[dir="rtl"] .chip { letter-spacing: 0; text-transform: none; font-size: 12px; }

.product-card { display: grid; gap: 8px; text-decoration: none; color: inherit; }
.product-card h3 { font-size: 18px; }
.product-card p { margin: 0; font-size: 13px; color: var(--text-muted); }

.group-heading { margin: 26px 0 12px; font-size: 22px; }
.group-heading.first-group { margin-block-start: 6px; }
.group-heading a { display: inline-flex; align-items: center; min-height: var(--tap-target); color: inherit; }
.group-heading a:hover { color: var(--brand-deep); }
.group-heading .count { font-family: var(--font-body); font-size: 12px; color: var(--text-muted); }
.item-name { font-size: 16px; line-height: 1.35; margin-block-start: 4px; }
.item-desc { margin: 2px 0 0; font-size: 12px; line-height: 1.5; color: var(--text-muted); }
.product-title { font-size: clamp(26px, 4vw, 44px); margin-block: 10px; }

.band { background: var(--surface-blush); padding-block: clamp(30px, 5vw, 60px); }
.band .lede, .band p { color: var(--text-support); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 5vw, 64px); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 780px) { .split { grid-template-columns: 1fr; } }

.product-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 5vw, 64px); padding-block: clamp(24px, 5vw, 60px); }
.product-layout > * { min-width: 0; }
@media (max-width: 780px) { .product-layout { grid-template-columns: 1fr; } }

.card { padding: 20px; border: 1px solid var(--border-line); background: var(--surface-paper); min-width: 0; }
.card h2, .card h3 { font-size: 21px; margin-block-end: 8px; }
.card p:last-child { margin-block-end: 0; }

.facts { margin: 0; display: grid; gap: 10px; }
.facts div { display: grid; grid-template-columns: minmax(110px, 34%) minmax(0, 1fr); gap: 10px; padding-block-end: 8px; border-block-end: 1px solid var(--border-line); }
.facts dt { font-size: 12px; font-weight: 600; color: var(--brand-deep); }
.facts dd { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
@media (max-width: 380px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }

.note { color: var(--text-muted); font-size: 12px; line-height: 1.6; margin-block: 10px 0; }

ul.clean { margin: 0; padding-inline-start: 18px; }
ul.clean li { margin-block-end: 6px; }

/* Forms */
.form-grid { display: grid; gap: 12px; }
.field { display: grid; gap: 5px; min-width: 0; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: var(--tap-target);
  padding: 9px 11px;
  border: 1px solid var(--border-field);
  border-radius: var(--radius-field);
  background: #FFFFFF;
  color: var(--text-ink);
  font: inherit;
}
.field textarea { min-height: 96px; resize: vertical; }

.site-footer {
  margin-block-start: 32px;
  border-block-start: 1px solid var(--border-line);
  background: var(--surface-base);
  padding-block: 24px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
.footer-grid > * { min-width: 0; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-mark { display: block; width: clamp(92px, 9vw, 120px); height: auto; margin-block-end: 10px; }
.site-footer h2 { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-ink); margin-block-end: 4px; }
[dir="rtl"] .site-footer h2 { letter-spacing: 0; text-transform: none; font-family: var(--font-arabic); font-size: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; }
/* Footer links are a list, not inline prose, so they get a full tap target. */
.site-footer a { display: inline-flex; align-items: center; min-height: var(--tap-target); color: var(--text-muted); }
.site-footer a:hover { color: var(--brand-deep); }
.site-footer ul li { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; }
.legal { margin-block-start: 16px; padding-block-start: 12px; border-block-start: 1px solid var(--border-line); font-size: 11px; }

/* Visible to assistive technology only. */
.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;
}

[data-enquiry-draft] { margin-block-start: 12px; }
[data-enquiry-draft][hidden] { display: none; }
[data-enquiry-copy][hidden] { display: none; }
.is-disabled { opacity: 0.55; cursor: not-allowed; }
.held-note { margin: 0 0 18px; color: var(--text-muted); font-size: 14px; }
details > summary { display: list-item; min-height: var(--tap-target); padding-block: 10px; box-sizing: border-box; cursor: pointer; }
