/* odoinvites.com — the front page. Calm, warm, editorial. Self-hosted fonts. */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #FBF7F2; --bg-2: #F4EDE4; --paper: #FFFFFF; --ink: #1D1916; --ink-soft: #5B524C;
  --accent: var(--brand, #B4532A); --accent-deep: color-mix(in oklab, var(--accent) 78%, black);
  --sage: #6B8265; --gold: #A97A22; --line: rgba(29, 25, 22, .1);
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --ui: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1160px; --gutter: clamp(20px, 5vw, 48px);
  --radius: 28px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--ui); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid color-mix(in oklab, var(--accent) 60%, transparent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-deep); }
.display { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.02; text-wrap: balance; }
.display em { font-style: italic; font-weight: 400; color: var(--accent-deep); }
.h1 { font-size: clamp(50px, 8.6vw, 104px); }
.h2 { font-size: clamp(38px, 5.6vw, 66px); }
.h3 { font-family: var(--display); font-weight: 500; font-size: 28px; line-height: 1.12; letter-spacing: -0.01em; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); line-height: 1.55; max-width: 34em; }
.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head .eyebrow { margin-bottom: 16px; display: block; }
.sec-head .lede { margin: 20px auto 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px;
  border: 0; font: 600 15.5px/1 var(--ui); letter-spacing: -0.005em; text-decoration: none; cursor: pointer;
  transition: transform 200ms var(--ease), background 200ms var(--ease), box-shadow 200ms var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 30px -12px rgba(29, 25, 22, .6); }
.btn-primary:hover { background: #000; transform: translateY(-1px); }
.btn-ghost { background: rgba(29, 25, 22, .06); color: var(--ink); }
.btn-ghost:hover { background: rgba(29, 25, 22, .1); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background 300ms var(--ease), box-shadow 300ms var(--ease); }
.nav.scrolled { background: color-mix(in oklab, var(--bg) 78%, transparent); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 .5px 0 var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 28px; font-weight: 500; letter-spacing: -0.02em; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(145deg, color-mix(in oklab, var(--accent) 85%, white), var(--accent)); color: #fff; font-size: 18px; font-family: var(--display); box-shadow: inset 0 .5px 0 rgba(255,255,255,.4); }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--ink-soft); transition: color 200ms; }
.nav-links a:hover { color: var(--ink); }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 14.5px; }
@media (max-width: 879px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(36px, 7vw, 90px) 0 clamp(64px, 9vw, 120px); overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 16%, transparent), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; left: -15%; bottom: -30%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; z-index: -1;
  background: radial-gradient(closest-side, rgba(107, 130, 101, .16), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin: 18px 0 26px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; font-size: 14px; color: var(--ink-soft); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }
@media (max-width: 899px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } .hero .lede { margin: 0 auto; } .hero-ctas, .trust { justify-content: center; } }

/* Phones */
.phone { position: relative; aspect-ratio: 390 / 844; border-radius: 46px; padding: 9px; background: #121212; box-shadow: 0 0 0 1.5px #2a2a2a inset, 0 40px 80px -30px rgba(29, 25, 22, .45), 0 18px 36px -18px rgba(29, 25, 22, .35); }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 30%; height: 22px; translate: -50% 0; border-radius: 999px; background: #121212; z-index: 2; }
.phone picture, .phone img { width: 100%; height: 100%; border-radius: 38px; object-fit: cover; object-position: top; background: var(--bg-2); }
.hero-phones { position: relative; height: clamp(480px, 62vw, 680px); }
.hero-phones .phone { position: absolute; width: clamp(220px, 22vw, 290px); }
.hero-phones .p1 { left: 0; top: 9%; rotate: -7deg; z-index: 1; }
.hero-phones .p2 { right: 0; top: 0; rotate: 5deg; z-index: 2; }
.float { animation: float 9s ease-in-out infinite; }
.p1.float { animation-delay: -4s; }
@keyframes float { 50% { translate: 0 -14px; } }
@media (max-width: 899px) { .hero-phones { height: 560px; max-width: 460px; margin: 0 auto; } .hero-phones .phone { width: 240px; } }
@media (max-width: 479px) { .hero-phones { height: 470px; } .hero-phones .phone { width: 196px; } .hero-phones .p1 { left: 3%; } .hero-phones .p2 { right: 3%; } }

/* ---------- Occasions marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.marquee-track { display: flex; gap: 48px; width: max-content; padding: 20px 0; animation: marquee 50s linear infinite; }
.marquee-track span { font-family: var(--display); font-size: 26px; font-style: italic; color: var(--ink-soft); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: "✦"; font-style: normal; font-size: 14px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section.alt { background: var(--bg-2); }

/* The opening */
.openings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.opening { text-align: center; }
.opening .phone { width: min(100%, 290px); margin: 0 auto 28px; }
.opening p { color: var(--ink-soft); margin-top: 8px; font-size: 16px; text-wrap: balance; }
@media (max-width: 879px) {
  .openings { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .openings::-webkit-scrollbar { display: none; }
  .opening { scroll-snap-align: center; }
}

/* Templates */
.templates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.template { display: block; text-decoration: none; padding: 18px 18px 22px; border-radius: var(--radius); background: var(--paper); box-shadow: 0 0 0 1px var(--line); transition: transform 400ms var(--ease), box-shadow 400ms var(--ease); }
.template:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(29, 25, 22, .35); }
.template .phone { margin-bottom: 20px; }
.template-name { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.template-name .h3 { font-size: 26px; }
.template-name span:last-child { font-size: 13px; font-weight: 600; color: var(--accent-deep); white-space: nowrap; }
.template p { font-size: 15px; color: var(--ink-soft); margin-top: 6px; line-height: 1.5; }
@media (max-width: 1023px) { .templates { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .templates { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px; scrollbar-width: none; } .template { scroll-snap-align: center; } }

/* Features: bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.tile { position: relative; padding: 30px; border-radius: var(--radius); background: var(--paper); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
.tile .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: color-mix(in oklab, var(--accent) 12%, transparent); color: var(--accent-deep); }
.tile .ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile.wide { grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; padding-right: 0; padding-bottom: 0; }
.tile.wide > div:first-child { padding-bottom: 34px; }
.tile.wide .shot { align-self: end; height: 420px; margin-top: 10px; border-radius: 22px 0 0 0; overflow: hidden; box-shadow: -1px -1px 0 var(--line); }
.tile.wide .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tile.third { grid-column: span 2; }
.tile.dark { background: var(--ink); color: #F6EFE6; box-shadow: none; }
.tile.dark p { color: rgba(246, 239, 230, .72); }
.tile.dark .ic { background: rgba(255, 255, 255, .1); color: #F0D58C; }
@media (max-width: 1023px) { .tile.wide { grid-column: span 6; } .tile.third { grid-column: span 3; } }
@media (max-width: 639px) { .bento { grid-template-columns: 1fr; } .tile.wide, .tile.third { grid-column: auto; } .tile.wide { grid-template-columns: 1fr; padding-right: 30px; } .tile.wide .shot { border-radius: 22px 22px 0 0; margin: 0; height: 360px; } .tile.wide > div:first-child { padding-bottom: 0; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 34px 30px; border-radius: var(--radius); background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--display); font-size: 58px; line-height: 1; color: var(--accent); margin-bottom: 18px; }
.step p { color: var(--ink-soft); margin-top: 8px; }
@media (max-width: 799px) { .steps { grid-template-columns: 1fr; } }

/* Made for Ghana */
.ghana { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ghana-art { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -40px rgba(29, 25, 22, .5); }
.ghana-art img { width: 100%; height: 100%; object-fit: cover; }
.ghana-list { margin-top: 30px; display: grid; gap: 18px; }
.ghana-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.ghana-list li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: radial-gradient(circle, var(--gold) 0 30%, transparent 32%), color-mix(in oklab, var(--gold) 18%, transparent); }
.ghana-list strong { display: block; font-weight: 600; }
.ghana-list span { color: var(--ink-soft); font-size: 16px; }
@media (max-width: 879px) { .ghana { grid-template-columns: 1fr; } .ghana-art { max-width: 420px; margin: 0 auto; } }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.package { display: flex; flex-direction: column; padding: 34px 30px; border-radius: var(--radius); background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.package.featured { background: var(--ink); color: #F6EFE6; box-shadow: 0 40px 80px -40px rgba(29, 25, 22, .6); }
.package .tag { align-self: flex-start; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .04em; background: rgba(240, 213, 140, .16); color: #F0D58C; margin-bottom: 18px; }
.package .h3 { font-size: 34px; }
.package > p { color: var(--ink-soft); margin: 8px 0 24px; font-size: 16px; }
.package.featured > p { color: rgba(246, 239, 230, .72); }
.package ul { display: grid; gap: 12px; margin-bottom: 30px; font-size: 15.5px; }
.package li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.package li::before { content: ""; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.package.featured li::before { background-color: #C49A3C; }
.package .btn { margin-top: auto; }
.package.featured .btn-primary { background: #F6EFE6; color: var(--ink); }
.packages-note { text-align: center; color: var(--ink-soft); font-size: 15px; margin-top: 28px; }
@media (max-width: 899px) { .packages { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; font-family: var(--display); font-size: 25px; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--ui); font-size: 26px; font-weight: 300; color: var(--accent); transition: rotate 300ms var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 0 26px; color: var(--ink-soft); max-width: 680px; }

/* Enquiry */
.enquire { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.enquire-side .lede { margin-top: 20px; }
.contact-lines { margin-top: 30px; display: grid; gap: 10px; font-size: 16px; }
.contact-lines a { color: var(--accent-deep); font-weight: 500; text-decoration: none; }
.form { padding: clamp(26px, 4vw, 40px); border-radius: var(--radius); background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px rgba(29, 25, 22, .4); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.f label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.f label span { font-weight: 400; color: var(--ink-soft); }
.f input, .f select, .f textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(29, 25, 22, .16); background: #FFFDFA;
  font: 400 16px/1.4 var(--ui); color: var(--ink); transition: border-color 200ms, box-shadow 200ms;
}
.f textarea { min-height: 110px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 16%, transparent); }
.f [aria-invalid="true"] { border-color: #B3261E; }
.f .err { font-size: 13px; color: #B3261E; margin-top: 6px; }
.f .err:empty { display: none; }
.hp { position: absolute; left: -9999px; }
.form .btn { width: 100%; margin-top: 22px; }
.form-privacy { font-size: 13px; color: var(--ink-soft); margin-top: 14px; text-align: center; }
.form-done { text-align: center; padding: 40px 10px; }
.form-done .h3 { font-size: 36px; margin-bottom: 10px; }
.form-done p { color: var(--ink-soft); }
@media (max-width: 879px) { .enquire { grid-template-columns: 1fr; } }
@media (max-width: 519px) { .form-grid { grid-template-columns: 1fr; } }

/* Final CTA */
.cta { position: relative; padding: clamp(80px, 11vw, 140px) 0; text-align: center; background: var(--ink); color: #F6EFE6; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: auto 0 -60% 0; height: 120%; background: radial-gradient(50% 50% at 50% 50%, color-mix(in oklab, var(--accent) 38%, transparent), transparent 70%); }
.cta .display em { color: #F0C9A8; }
.cta .lede { color: rgba(246, 239, 230, .72); margin: 22px auto 34px; }
.cta .btn-primary { background: #F6EFE6; color: var(--ink); position: relative; }

/* Footer */
.foot { padding: 48px 0 calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 14.5px; color: var(--ink-soft); }
.foot-in { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; }
.foot-in nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* Privacy page */
.prose { max-width: 720px; margin: 0 auto; padding: 60px 0 100px; }
.prose h1 { margin-bottom: 24px; }
.prose h2 { font-family: var(--display); font-size: 30px; font-weight: 500; margin: 40px 0 10px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }

/* ---------- Motion ---------- */
.js [data-in] { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--ease), transform 1100ms var(--ease); transition-delay: var(--d, 0ms); }
.js [data-in].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float, .marquee-track { animation: none; }
  .js [data-in] { opacity: 1; transform: none; transition: opacity 300ms; }
}
@media (max-width: 639px) {
  .foot-in { flex-direction: column; align-items: flex-start; }
  .foot-in nav { margin-left: 0; }
}
