/* Coffee-shop design system — cloned from the Webild "Joe's Coffee" template.
   Black/white/red brandbook palette, fluid viewport type scale, blurred aurora background,
   glassy cards, layered-shadow CTAs. Single stylesheet, no build step. */

/* ---------------------------------------------------------------- tokens */

:root {
  --background: #ffffff;
  --card: #f2f2f2;
  --foreground: #0a0a0a;
  --primary-cta: #0a0a0a;
  --primary-cta-text: #ffffff;
  --secondary-cta: #fff;
  --secondary-cta-text: #0a0a0a;
  --accent: #ea0029;
  --background-accent: #ea0029;
  --radius: 1.75rem;
  --content-width: clamp(40rem, 67.5vw, 100rem);

  --text-xs: clamp(0.54rem, 0.72vw, 0.74rem);
  --text-sm: clamp(0.615rem, 0.82vw, 0.84rem);
  --text-base: clamp(0.69rem, 0.92vw, 0.94rem);
  --text-lg: clamp(0.75rem, 1vw, 1.02rem);
  --text-xl: clamp(0.825rem, 1.1vw, 1.13rem);
  --text-2xl: clamp(0.975rem, 1.4vw, 1.4rem);
  --text-3xl: clamp(1.2rem, 1.71vw, 1.72rem);
  --text-4xl: clamp(1.5rem, 2.2vw, 2.21rem);
  --text-5xl: clamp(2.025rem, 3.03vw, 3.05rem);
  --text-6xl: clamp(2.475rem, 3.65vw, 3.73rem);
  --text-7xl: clamp(3rem, 4.41vw, 4.52rem);
  --text-8xl: clamp(3.5rem, 4.97vw, 5.09rem);
  --text-9xl: clamp(5.25rem, 7.73vw, 7.92rem);
}

@media (max-width: 768px) {
  :root {
    --content-width: 80vw;
    --text-xs: 2.75vw;
    --text-sm: 3vw;
    --text-base: 3.25vw;
    --text-lg: 3.5vw;
    --text-xl: 4.25vw;
    --text-2xl: 5vw;
    --text-3xl: 6vw;
    --text-4xl: 7vw;
    --text-5xl: 7.5vw;
    --text-6xl: 8.5vw;
    --text-7xl: 10vw;
    --text-8xl: 12vw;
    --text-9xl: 14vw;
  }
}

/* ---------------------------------------------------------------- base */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-var-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

/* Heebo carries the Hebrew glyphs (and a matching Latin subset) for the
   RTL page; unicode-range keeps each subset to its own script. */
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/heebo-hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/heebo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Heebo', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--text-base);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }

.content { width: var(--content-width); margin-inline: auto; }

/* Glassy card chrome shared by media frames, pills, and panels. */
.card {
  background: linear-gradient(
    to bottom right,
    color-mix(in srgb, var(--card) 80%, transparent),
    color-mix(in srgb, var(--card) 40%, transparent)
  );
  border: 1px solid var(--card);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border-radius: var(--radius);
}

/* ---------------------------------------------------------------- aurora background */

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
  background: var(--background);
  pointer-events: none;
}

.site-bg span {
  position: absolute;
  border-radius: 100%;
  background: color-mix(in srgb, var(--background-accent) 15%, transparent);
}

.site-bg .bg-blob-1 {
  top: 0; left: 50%;
  width: 9vw; height: 110vh;
  transform: translate(-120%, -50%) rotate(-52.5deg);
}

.site-bg .bg-blob-2 {
  top: -20vh; right: 2.5vw;
  width: 12.5vw; height: 100vh;
  transform: rotate(-60deg);
}

.site-bg .bg-blob-3 {
  top: -20vh; left: 2vw;
  width: 15vw; height: 150vh;
  transform: rotate(-45deg);
  background: color-mix(in srgb, var(--background-accent) 20%, transparent);
}

.site-bg .bg-blob-4 {
  top: -30vh; left: 0;
  width: 10vw; height: 70vh;
  transform: rotate(-45deg);
}

.site-bg .bg-blob-5 {
  bottom: -40vh; left: 0;
  width: 120vw; height: 50vh;
  transform: rotate(-20deg);
  background: color-mix(in srgb, var(--background-accent) 10%, transparent);
}

.site-bg .bg-blur {
  position: absolute;
  inset: 0;
  transform: none;
  border-radius: 0;
  background: transparent;
  -webkit-backdrop-filter: blur(64px);
  backdrop-filter: blur(64px);
}

/* ---------------------------------------------------------------- intro draw overlay */

.intro-draw {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  overflow: clip;
  color: var(--primary-cta);
}

html.js-anim .intro-draw { display: block; }

.intro-draw svg {
  position: absolute;
  width: 130%;
  height: 130%;
  top: -15%;
  left: -15%;
}

/* ---------------------------------------------------------------- buttons (bounce variant) */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding-inline: 1.5rem;
  font-size: var(--text-sm);
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.btn-primary {
  background: var(--primary-cta);
  color: var(--primary-cta-text);
  box-shadow:
    color-mix(in srgb, var(--background) 20%, transparent) 0 3px 1px 0 inset,
    color-mix(in srgb, var(--primary-cta) 13%, transparent) 0 0.84px 0.5px -0.31px,
    color-mix(in srgb, var(--primary-cta) 13%, transparent) 0 1.99px 1.19px -0.63px,
    color-mix(in srgb, var(--primary-cta) 13%, transparent) 0 3.63px 2.18px -0.94px,
    color-mix(in srgb, var(--primary-cta) 13%, transparent) 0 6.04px 3.62px -1.25px,
    color-mix(in srgb, var(--primary-cta) 13%, transparent) 0 9.75px 5.85px -1.56px,
    color-mix(in srgb, var(--primary-cta) 13%, transparent) 0 15.96px 9.57px -1.88px,
    color-mix(in srgb, var(--primary-cta) 13%, transparent) 0 27.48px 16.49px -2.19px,
    color-mix(in srgb, var(--primary-cta) 13%, transparent) 0 50px 30px -2.5px;
}

.btn-secondary {
  background: linear-gradient(
    to bottom right,
    color-mix(in srgb, var(--secondary-cta) 80%, transparent),
    var(--secondary-cta)
  );
  color: var(--secondary-cta-text);
  border: 1px solid var(--foreground);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Per-character roll-up on hover: each char slides out the top while its
   text-shadow copy (1.25em below) slides in. Chars are wrapped by JS; the
   wrapper clips both copies so only one shows at a time. */
.btn .bounce-text {
  display: block;
  overflow: hidden;
  line-height: 1.2;
  white-space: nowrap;
}

.btn .bounce-char {
  display: inline-block;
  text-shadow: 0 1.25em currentColor;
  transition: transform 0.3s cubic-bezier(0, 0, 0.2, 1);
}

@media (min-width: 769px) and (hover: hover) {
  .btn:hover { transform: scale(0.9) rotate(-3deg); }
  .btn:hover .bounce-char { transform: translateY(-1.25em) rotate(3deg); }
}

/* ---------------------------------------------------------------- navbar */

.navbar {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}

.nav-inner {
  position: absolute;
  z-index: 10;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--content-width);
  pointer-events: auto;
}

.nav-logo {
  font-size: var(--text-xl);
  font-weight: 800;
  transition: color 0.5s;
}

.navbar.is-open .nav-logo { color: var(--background); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-burger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--primary-cta);
  box-shadow: color-mix(in srgb, var(--background) 20%, transparent) 0 3px 1px 0 inset;
}

.nav-burger span {
  position: absolute;
  width: 0.75rem;
  height: 1px;
  background: var(--primary-cta-text);
  transition: transform 0.3s;
}

.nav-burger span:first-child { transform: translateY(-4px); }
.nav-burger span:last-child { transform: translateY(4px); }
.navbar.is-open .nav-burger span:first-child { transform: rotate(45deg); }
.navbar.is-open .nav-burger span:last-child { transform: rotate(-45deg); }

.nav-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--foreground);
  pointer-events: auto;
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
  transition: clip-path 0.7s cubic-bezier(0.9, 0, 0.1, 1);
}

.navbar:not(.is-open) .nav-overlay { pointer-events: none; }

.navbar.is-open .nav-overlay {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.nav-links { display: flex; flex-direction: column; align-items: center; }

.nav-link-wrap { overflow: hidden; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 1rem;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}

.navbar.is-open .nav-link { transform: translateY(0); }

.nav-link span {
  font-size: var(--text-7xl);
  font-weight: 500;
  color: var(--background);
  transition: margin 0.3s;
}

.nav-link svg {
  height: var(--text-7xl);
  width: auto;
  color: var(--background);
  transition: transform 0.3s, margin 0.3s;
}

@media (min-width: 769px) {
  .nav-link span { font-size: var(--text-9xl); }
  .nav-link svg { height: var(--text-9xl); }
}

.nav-link:hover span { margin-inline-start: 1rem; }
.nav-link:hover svg { transform: rotate(45deg); margin-inline-end: 1rem; }

.nav-sep {
  height: 1px;
  align-self: stretch;
  background: color-mix(in srgb, var(--background) 20%, transparent);
}

/* RTL: mirror the directional arrows (nav + footer links). */
[dir='rtl'] .nav-link svg,
[dir='rtl'] .footer-link svg { transform: scaleX(-1); }

[dir='rtl'] .nav-link:hover svg { transform: scaleX(-1) rotate(-45deg); }

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  padding-top: 6.25rem;
  padding-bottom: 5rem;
}

@media (min-width: 769px) {
  .hero { padding-top: 7.5rem; }
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 769px) {
  .hero-inner { gap: 3rem; }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
}

.hero-desc {
  width: 100%;
  font-size: var(--text-lg);
  line-height: 1.375;
  text-align: end;
  text-wrap: balance;
}

@media (min-width: 769px) {
  .hero-desc { width: 50%; font-size: var(--text-2xl); }
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

/* RTL: Hebrew reads from the right, so the copy block anchors to the
   right edge (flex-start in RTL) instead of mirroring to the left. */
[dir='rtl'] .hero-copy { align-items: flex-start; }
[dir='rtl'] .hero-desc { text-align: start; }
[dir='rtl'] .hero-ctas { justify-content: flex-start; }

.hero-media {
  width: 100%;
  padding: 0.5rem;
  overflow: hidden;
}

.hero-media video,
.hero-media img {
  width: 100%;
  aspect-ratio: 841 / 595;
  object-fit: cover;
  border-radius: calc(var(--radius) - 0.5rem);
}

@media (min-width: 769px) {
  .hero-media video,
  .hero-media img { aspect-ratio: 16 / 9; object-position: center; }
}

@media (min-width: 1280px) { .hero-media { padding: 0.75rem; } }
@media (min-width: 1536px) { .hero-media { padding: 1rem; } }

/* Floating parallax cards. --ty is driven by JS on scroll. */
.float-card {
  position: absolute;
  z-index: 10;
  width: 7rem;
  padding: 0.25rem;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1280px) { .float-card { width: 12rem; padding: 0.5rem; } }
@media (min-width: 1536px) { .float-card { width: 13rem; padding: 0.75rem; } }

.float-left {
  bottom: 30%;
  left: calc((100vw - var(--content-width)) / 2);
  transform: translateX(25%) translateY(var(--ty, 0px));
}

.float-right {
  bottom: 14%;
  right: calc((100vw - var(--content-width)) / 2);
  transform: translateX(-25%) translateY(var(--ty, 0px));
}

@media (min-width: 1025px) {
  .float-left { transform: translateX(-50%) translateY(var(--ty, 0px)); }
  .float-right { transform: translateX(50%) translateY(var(--ty, 0px)); }
}

.float-media { position: relative; }

.float-media img {
  width: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius) - 0.25rem);
}

.float-left .float-media img { aspect-ratio: 3 / 4; }
.float-right .float-media img { aspect-ratio: 1; }

.float-name {
  position: absolute;
  bottom: 0.25rem;
  inset-inline: 0.25rem;
  padding: 0.25rem;
}

@media (min-width: 1280px) {
  .float-name { bottom: 0.5rem; inset-inline: 0.5rem; padding: 0.5rem; }
}

@media (min-width: 1536px) {
  .float-name { bottom: 0.75rem; inset-inline: 0.75rem; padding: 0.75rem; }
}

.float-name h3,
.menu-name h4 {
  font-size: var(--text-2xl);
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 769px) {
  .float-name h3,
  .menu-name h4 { font-size: var(--text-3xl); }
}

/* ---------------------------------------------------------------- auto-fill headline */

.autofill { width: 100%; min-width: 0; }

.autofill h2 {
  white-space: nowrap;
  font-weight: 800;
  line-height: 0.8;
  transition: opacity 0.15s;
}

.autofill.is-pending h2 { opacity: 0; }

/* ---------------------------------------------------------------- text animation (fade-blur words) */

html.js-anim .ta-word {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
}

html.js-anim .ta.is-in .ta-word {
  opacity: 1;
  filter: none;
  transition: opacity 0.6s cubic-bezier(0.45, 0, 0.55, 1), filter 0.6s cubic-bezier(0.45, 0, 0.55, 1);
  transition-delay: var(--ta-delay, 0s);
}

/* ---------------------------------------------------------------- scroll reveal (slide-up) */

html.js-anim .sr {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  transition-delay: var(--sr-delay, 0s);
}

html.js-anim .sr.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------------- mouse-trail section */

.trail-section {
  position: relative;
  padding-block: 15rem;
}

.trail-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.trail-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 15em;
  height: 20em;
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
}

.trail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trail-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  pointer-events: none;
}

.trail-content .btn { pointer-events: auto; }

.trail-tag {
  font-size: var(--text-3xl);
  font-weight: 500;
}

@media (min-width: 769px) {
  .trail-tag { font-size: var(--text-5xl); }
}

/* ---------------------------------------------------------------- section headers */

.section { padding-block: 5rem; }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.tag-pill {
  width: fit-content;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.25rem;
  font-size: var(--text-sm);
}

.section-title {
  font-size: var(--text-7xl);
  line-height: 1.15;
  font-weight: 600;
  text-wrap: balance;
}

/* Reusable red emphasis, e.g. the second line of a headline. */
.text-accent { color: var(--accent); }

@media (min-width: 1536px) {
  .section-title { font-size: var(--text-8xl); }
}

.trail-content .section-title {
  font-size: var(--text-7xl);
}

@media (min-width: 769px) {
  .trail-content .section-title { font-size: var(--text-8xl); }
}

.section-desc {
  font-size: var(--text-lg);
  line-height: 1.375;
  text-wrap: balance;
}

@media (min-width: 769px) {
  .section-head .section-title { max-width: 80%; }
  .section-desc { max-width: 70%; font-size: var(--text-xl); }
}

.section-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

@media (min-width: 769px) {
  .section-ctas { margin-top: 0.75rem; }
}

/* ---------------------------------------------------------------- menu */

.menu-section > .content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 769px) {
  .menu-section > .content { gap: 2.5rem; }
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.filter-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding-inline: 1.5rem;
  font-size: var(--text-sm);
  cursor: pointer;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: var(--primary-cta);
  box-shadow: color-mix(in srgb, var(--background) 20%, transparent) 0 3px 1px 0 inset;
  opacity: 0;
  transition: opacity 0.3s;
}

.filter-btn[aria-pressed='true']::before { opacity: 1; }

.filter-btn > span {
  position: relative;
  z-index: 10;
  transition: color 0.3s;
}

.filter-btn[aria-pressed='true'] > span { color: var(--primary-cta-text); }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 769px) { .menu-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1025px) { .menu-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
@media (min-width: 1536px) { .menu-grid { gap: 1.25rem; } }

.menu-item[hidden] { display: none; }

.menu-card {
  position: relative;
  padding: 0.25rem;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1280px) { .menu-card { padding: 0.5rem; } }
@media (min-width: 1536px) { .menu-card { padding: 0.75rem; } }

.menu-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: calc(var(--radius) - 0.25rem);
}

.menu-name {
  position: absolute;
  bottom: 0.5rem;
  inset-inline: 0.5rem;
  padding: 0.25rem;
}

@media (min-width: 1280px) { .menu-name { bottom: 1rem; inset-inline: 1rem; padding: 0.5rem; } }
@media (min-width: 1536px) { .menu-name { bottom: 1.5rem; inset-inline: 1.5rem; padding: 0.75rem; } }

@keyframes menu-in {
  from { opacity: 0; transform: scale(0.9) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

html.js-anim .menu-item.anim-in {
  animation: menu-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--stagger, 0s);
}

/* ---------------------------------------------------------------- features */

.features-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 769px) {
  .features-section { gap: 2.5rem; }
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

@media (min-width: 769px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1280px) { .features-grid { gap: 0.875rem; } }
@media (min-width: 1536px) { .features-grid { gap: 1rem; } }

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem;
}

@media (min-width: 1280px) { .feature-card { gap: 0.875rem; padding: 0.875rem; } }
@media (min-width: 1536px) { .feature-card { gap: 1rem; padding: 1rem; } }

.feature-media {
  border-radius: calc(var(--radius) - 0.5rem);
  overflow: hidden;
  background: color-mix(in srgb, var(--foreground) 5%, transparent);
  box-shadow: 0 1px 3px color-mix(in srgb, var(--foreground) 5%, transparent);
}

.feature-card > .feature-media { aspect-ratio: 1; }

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem;
}

.feature-body h3 {
  font-size: var(--text-5xl);
  font-weight: 600;
  line-height: 1.375;
  text-wrap: balance;
}

.feature-body p {
  font-size: var(--text-lg);
  line-height: 1.375;
  text-wrap: balance;
}

.feature-wide {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem;
  margin-top: 0.75rem;
}

@media (min-width: 769px) { .feature-wide { flex-direction: row; } }
@media (min-width: 1280px) { .feature-wide { gap: 0.875rem; padding: 0.875rem; } }
@media (min-width: 1536px) { .feature-wide { gap: 1rem; padding: 1rem; } }

.feature-wide .feature-body { justify-content: center; }

@media (min-width: 769px) {
  .feature-wide > .feature-body,
  .feature-wide > .feature-media { width: 50%; }
}

.feature-wide .feature-body .btn {
  align-self: flex-start;
  margin-top: 0.75rem;
}

/* ---------------------------------------------------------------- contact */

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem;
}

@media (min-width: 769px) {
  .contact-card { flex-direction: row; gap: 2.5rem; padding: 2.5rem; }
}

.contact-photo {
  flex-shrink: 0;
  width: 6rem;
  overflow: hidden;
  border-radius: 50%;
}

.contact-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
}

@media (min-width: 769px) {
  .contact-photo { width: 8rem; }
}

@media (min-width: 1280px) { .contact-photo { width: 9rem; } }

.contact-copy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 769px) {
  .contact-copy { max-width: 50%; }
}

.contact-copy .section-title { text-align: start; }

.contact-options {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 769px) {
  .contact-options { gap: 2.5rem; }
}

.contact-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.contact-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: var(--primary-cta);
  box-shadow:
    color-mix(in srgb, var(--background) 20%, transparent) 0 3px 1px 0 inset,
    color-mix(in srgb, var(--primary-cta) 13%, transparent) 0 27.48px 16.49px -2.19px,
    color-mix(in srgb, var(--primary-cta) 13%, transparent) 0 50px 30px -2.5px;
}

@media (min-width: 769px) { .contact-circle { width: 4rem; height: 4rem; } }
@media (min-width: 1025px) { .contact-circle { width: 6rem; height: 6rem; } }
@media (min-width: 1280px) { .contact-circle { width: 7rem; height: 7rem; } }
@media (min-width: 1536px) { .contact-circle { width: 7.5rem; height: 7.5rem; } }

.contact-circle svg {
  width: 40%;
  height: 40%;
  color: var(--primary-cta-text);
}

.contact-option p {
  font-size: var(--text-sm);
  color: color-mix(in srgb, var(--foreground) 60%, transparent);
  transition: color 0.15s;
}

@media (min-width: 769px) {
  .contact-option p { font-size: var(--text-base); }
}

.contact-option:hover p { color: var(--accent); }

/* ---------------------------------------------------------------- footer */

.footer {
  width: 100%;
  padding-block: 3.75rem;
  margin-top: 5rem;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  overflow: hidden;
  background: var(--primary-cta);
  color: var(--primary-cta-text);
  box-shadow: color-mix(in srgb, var(--background) 20%, transparent) 0 3px 1px 0 inset;
}

.footer .content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 769px) {
  .footer .content { gap: 5rem; }
}

.footer .autofill { padding-block: 2.5rem; }

.footer-cols {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 769px) {
  .footer-cols { flex-direction: row; justify-content: space-between; }
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}

.footer-link:hover { opacity: 0.75; color: var(--accent); }

.footer-link svg { width: 1em; height: 1em; }

/* ---------------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
