@font-face {
  font-family: "Roboto Flex";
  src: url("/assets/roboto-flex-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --primary: #532d3c;
  --heading-accent: #743f56;
  --paper: #f3efe9;
  --ink: #33282b;
  --muted: #655a5e;
  --line: #d9cdc1;
  font-family: "Roboto Flex", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
p, h1, h2 { margin: 0; }
.announcement {
  min-height: 40px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--primary);
  color: #fffaf5;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: .8px;
}
.announcement strong { font-weight: 750; }
.announcement span { border-left: 1px solid #ad919c; padding-left: 14px; }
.header {
  height: 92px;
  padding: 0 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.logo { display: block; width: 168px; height: auto; }
.header p { color: #76685f; font: italic 15px Georgia, "Times New Roman", serif; }
.main {
  display: grid;
  grid-template-columns: 55.28% 44.72%;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 942px;
}
.message { display: flex; align-items: center; padding: 76px 0; }
.message-inner { width: 552px; max-width: calc(100% - 100px); margin-left: 104px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #895537;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 27px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
h1 { font: 400 80px/.96 Georgia, "Times New Roman", serif; letter-spacing: -3.8px; margin-bottom: 30px; }
h1 em { color: var(--heading-accent); font-weight: 400; }
.intro { font-size: 20px; line-height: 1.6; color: var(--muted); }
.order-note { display: flex; gap: 16px; padding: 21px 0; margin: 32px 0 36px; border-block: 1px solid var(--line); }
.order-icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border: 1px solid #cdbcaf; border-radius: 50%; color: var(--primary); }
svg { display: block; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.order-note h2 { font-size: 13px; font-weight: 750; line-height: 18px; letter-spacing: .65px; text-transform: uppercase; color: #806e66; margin-bottom: 5px; }
.order-note p { font: 20px/1.35 Georgia, "Times New Roman", serif; }
.support h2 { font: 25px/1.3 Georgia, "Times New Roman", serif; margin-bottom: 7px; }
.support > p { color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 495px; }
.contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.contact { display: flex; align-items: center; gap: 13px; min-height: 74px; padding: 14px; border: 1px solid #d5c7bb; background: #faf7f2; color: var(--ink); text-decoration: none; }
.contact:hover { border-color: var(--primary); background: #fffaf6; }
.contact:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
.contact-icon { flex: 0 0 38px; height: 38px; display: grid; place-items: center; color: var(--primary); border: 1px solid #cdbcaf; }
.contact-text { display: flex; flex-direction: column; gap: 8px; }
.contact-label { font-size: 9px; letter-spacing: 1px; font-weight: 750; text-transform: uppercase; color: #806e66; }
.contact-value { white-space: nowrap; font-size: 13px; font-weight: 700; }
.arrow { color: #a48e83; margin-left: auto; font-size: 19px; }
.visual { position: relative; overflow: hidden; }
.store { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }
.photo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, #532d3c12, #532d3c24 55%, #33282b66); }
.gratitude { position: absolute; bottom: 72px; left: 9.2%; right: 9.2%; display: flex; align-items: center; gap: 18px; padding: 20px; background: #532d3ce8; color: #fffaf5; }
.monogram { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid #bba6ae; border-radius: 50%; font: bold 25px Georgia, "Times New Roman", serif; }
.gratitude p { font: italic bold 22px/1.3 "Times New Roman", Georgia, serif; }
.footer { min-height: 60px; padding: 20px 4%; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #7d6e63; font-size: 10px; line-height: 1.5; letter-spacing: .5px; text-transform: uppercase; }

@media (max-width: 1439px) {
  .main { min-height: 860px; }
  .message-inner { margin: 0 auto; max-width: calc(100% - 80px); }
  h1 { font-size: clamp(54px, 5.3vw, 76px); letter-spacing: -2.8px; }
  .intro { font-size: 18px; }
  .contact { gap: 9px; padding: 12px 10px; }
  .contact-links { gap: 10px; }
  .contact-icon { flex-basis: 32px; height: 34px; }
  .gratitude { left: 7%; right: 7%; }
}
@media (max-width: 1050px) and (min-width: 761px) {
  .message-inner { max-width: calc(100% - 56px); }
  .contact-links { grid-template-columns: 1fr; }
  .gratitude { padding: 18px; gap: 12px; }
  .gratitude p { font-size: 19px; }
}
@media (max-width: 760px) {
  .announcement { flex-direction: column; gap: 0; padding: 9px 12px; font-size: 10px; letter-spacing: .55px; }
  .announcement span { border: 0; padding: 0; }
  .header { height: 78px; padding: 0 24px; gap: 20px; }
  .logo { width: 139px; }
  .header p { max-width: 130px; font-size: 12px; line-height: 1.4; text-align: right; }
  .main { display: flex; flex-direction: column; min-height: 0; }
  .message { padding: 48px 24px 44px; }
  .message-inner { width: 552px; max-width: 100%; margin: 0 auto; }
  .eyebrow { font-size: 10px; margin-bottom: 24px; }
  h1 { font-size: clamp(42px, 9.5vw, 68px); letter-spacing: -2px; line-height: 1.03; margin-bottom: 26px; }
  .intro { font-size: 17px; line-height: 1.6; }
  .order-note { gap: 12px; margin: 27px 0 28px; }
  .order-note h2 { font-size: 11px; }
  .order-note p { font-size: 18px; }
  .support h2 { font-size: 24px; }
  .contact-links { grid-template-columns: 1fr; }
  .contact { padding: 14px; gap: 14px; }
  .contact-icon { flex-basis: 38px; height: 38px; }
  .contact-label { font-size: 10px; }
  .contact-value { font-size: 14px; }
  .visual { width: 100%; height: 560px; }
  .gratitude { bottom: 28px; left: 24px; right: 24px; padding: 18px; gap: 14px; }
  .gratitude p { font-size: 20px; }
  .footer { padding: 22px 24px; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 9px; }
}

/* The language control is local to this page; long translations can grow naturally. */
.header-right { display: flex; align-items: center; gap: 28px; }
.language-picker { color: var(--primary); }
.language-picker[hidden] { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
h1 span, h1 em { white-space: pre-line; }
html:not([lang="en"]) h1 { font-size: clamp(44px, 4.3vw, 68px); line-height: 1.06; letter-spacing: -2px; overflow-wrap: break-word; }
html:not([lang="en"]) .contact-label { line-height: 1.4; }
[dir="rtl"] .announcement span { border-left: 0; padding-left: 0; border-right: 1px solid #ad919c; padding-right: 14px; }
[dir="rtl"] .header, [dir="rtl"] .main { direction: ltr; }
[dir="rtl"] .message-inner, [dir="rtl"] .header-right, [dir="rtl"] .gratitude { direction: rtl; }
[dir="rtl"] h1 { line-height: 1.3; letter-spacing: 0; }
[dir="rtl"] .arrow { margin-left: 0; margin-right: auto; }
@media (max-width: 760px) {
  .header-right { gap: 6px; flex-direction: column; align-items: flex-end; }
  .header-right p { display: none; }
  html:not([lang="en"]) h1 { font-size: clamp(38px, 8.5vw, 60px); letter-spacing: -1px; }
  [dir="rtl"] h1 { letter-spacing: 0; }
  [dir="rtl"] .announcement span { border: 0; padding: 0; }
}

/* A small desktop panel becomes a scrollable bottom sheet on phones. */
.language-trigger { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 10px; border: 1px solid transparent; border-radius: 6px; color: var(--ink); background: transparent; font: 13px "Roboto Flex", Arial, sans-serif; cursor: pointer; }
.language-trigger:hover, .language-trigger[aria-expanded="true"] { border-color: var(--line); background: #faf7f2; }
.language-flag { font-size: 19px; line-height: 1; }
.language-chevron { width: 16px; height: 16px; flex-shrink: 0; }
.language-trigger[aria-expanded="true"] .language-chevron { transform: rotate(180deg); }
.language-open { overflow: hidden; }
.language-dialog { position: fixed; inset: 110px 4% auto auto; margin: 0; padding: 0; width: 280px; max-width: calc(100vw - 32px); max-height: calc(100vh - 142px); max-height: min(420px, calc(100dvh - 142px)); border: 1px solid var(--line); border-radius: 12px; background: #faf7f2; color: var(--ink); box-shadow: 0 12px 40px #33282b24; overflow: hidden; }
.language-dialog[open] { display: flex; flex-direction: column; }
.language-dialog::backdrop { background: #33282b26; }
.language-dialog-header { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.language-dialog-header h2 { font: 20px Georgia, "Times New Roman", serif; }
.language-close { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--primary); cursor: pointer; }
.language-options { overflow-y: auto; overscroll-behavior: contain; padding: 5px; scrollbar-width: thin; scrollbar-color: #bba6ae transparent; }
.language-option { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--ink); font: 13px/1.35 "Roboto Flex", Arial, sans-serif; text-align: start; cursor: pointer; }
.language-option:hover { background: #f0e9e3; }
.language-option[aria-pressed="true"] { border-color: #dac8cd; background: #eee3e7; color: var(--primary); }
.language-option-flag { flex: 0 0 22px; font-size: 18px; line-height: 1; }
.language-option-label { display: flex; flex: 1; min-width: 0; flex-direction: column; align-items: flex-start; gap: 2px; overflow-wrap: anywhere; }
.language-native { display: none; }
.language-check { flex: 0 0 16px; font-size: 15px; }
.language-trigger:focus-visible, .language-close:focus-visible, .language-option:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
@media (max-width: 760px) {
  .language-trigger { gap: 6px; padding: 8px 0; max-width: 165px; }
  #language-current { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .language-dialog { inset: auto 12px 12px 12px; margin: 0 auto; width: calc(100% - 24px); max-width: 300px; max-height: calc(100vh - 90px); max-height: min(420px, 58dvh); border-radius: 12px; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .language-dialog-header { padding: 7px 12px; }
  .language-options { padding: 5px; }
}

/* Fit the desktop composition to the viewport; mobile keeps its natural flow. */
@media (min-width: 1024px) and (min-height: 600px) {
  body { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-rows: auto auto 1fr auto; }
  .announcement { min-height: 30px; padding-block: 5px; font-size: 11px; }
  .header { height: clamp(60px, 8dvh, 80px); }
  .logo { width: 152px; }
  .main { width: 100%; min-height: 0; height: calc(100vh - 30px - clamp(60px, 8vh, 80px) - 40px); height: calc(100dvh - 30px - clamp(60px, 8dvh, 80px) - 40px); }
  .message { min-height: 0; padding-block: clamp(16px, 2.6dvh, 32px); }
  .message-inner { width: 552px; max-width: calc(100% - clamp(48px, 6vw, 112px)); margin-inline: auto; }
  .eyebrow { font-size: 11px; margin-bottom: clamp(12px, 1.8dvh, 22px); }
  h1 { font-size: clamp(40px, 6.8dvh, 72px); letter-spacing: -2.8px; margin-bottom: clamp(14px, 2dvh, 24px); }
  html:not([lang="en"]) h1 { font-size: clamp(32px, 5.6dvh, 62px); letter-spacing: -1.7px; }
  [dir="rtl"] h1 { letter-spacing: 0; }
  .intro { font-size: clamp(14px, 1.8dvh, 18px); line-height: 1.5; }
  .order-note { gap: 12px; padding-block: clamp(10px, 1.5dvh, 18px); margin-block: clamp(14px, 2dvh, 24px); }
  .order-note h2 { font-size: 11px; line-height: 1.4; margin-bottom: 4px; }
  .order-note p { font-size: clamp(16px, 2dvh, 20px); line-height: 1.3; }
  .order-icon { flex-basis: 36px; height: 36px; }
  .support h2 { font-size: clamp(20px, 2.6dvh, 25px); margin-bottom: 5px; }
  .support > p { font-size: 13px; line-height: 1.45; }
  .contact-links { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: clamp(12px, 1.8dvh, 18px); }
  .contact { min-height: 58px; gap: 9px; padding: 10px; }
  .contact-icon { flex-basis: 32px; height: 32px; }
  .contact-text { gap: 5px; }
  .contact-value { font-size: 12px; }
  .gratitude { bottom: clamp(24px, 4dvh, 48px); padding: 18px; }
  .gratitude p { font-size: clamp(18px, 2.2dvh, 22px); }
  .footer { min-height: 40px; padding-block: 10px; }
}
