/* =========================================================
   Pesona Selatan — Glamping by the Sea
   ========================================================= */
:root {
  --navy: #13345a;
  --navy-deep: #0c2442;
  --navy-ink: #101f36;
  --text: #1c2a3d;
  --muted: #4d5a6b;
  --line: #d9dee5;
  --bg: #f4f5f7;
  --card: #ffffff;
  --sand: #f6dfb6;
  --sand-deep: #ecc98d;
  --gold: #c99a5b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 36, 64, .09);
  --shadow-lg: 0 18px 50px rgba(18, 36, 64, .14);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1062px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }

.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1.5px solid transparent; border-radius: 999px;
  padding: 10px 22px; font-weight: 600; font-size: 13.5px; letter-spacing: .1px;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 18px rgba(19, 52, 90, .25); }
.btn-primary:hover { background: var(--navy-deep); box-shadow: 0 12px 24px rgba(19, 52, 90, .3); }
.btn-outline { border-color: var(--navy-ink); color: var(--navy-ink); background: transparent; }
.btn-outline:hover { background: var(--navy-ink); color: #fff; }
.btn-lg { padding: 11px 24px; min-height: 42px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 245, 247, .92);
  backdrop-filter: blur(10px);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(18, 36, 64, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 92px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 25px; font-weight: 500; color: var(--navy-ink); letter-spacing: -.2px; }
.brand-sub { font-size: 10px; letter-spacing: 4.6px; text-transform: uppercase; color: var(--navy-ink); margin-top: 7px; padding-left: 2px; font-weight: 500; }

.main-nav { display: flex; gap: 32px; font-size: 13px; font-weight: 500; }
.main-nav a { position: relative; padding: 6px 0; color: var(--navy-ink); opacity: .9; transition: opacity .2s; }
.main-nav a:hover { opacity: 1; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
  background: var(--navy); transform: scaleX(0); transition: transform .25s;
}
.main-nav a.active { font-weight: 700; opacity: 1; }
.main-nav a.active::after, .main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.wa-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--navy-ink); box-shadow: 0 6px 16px rgba(18, 36, 64, .12);
  transition: transform .2s, color .2s;
}
.wa-btn:hover { transform: translateY(-1px); color: #1f9d55; }
.btn-reserve { padding: 11px 26px; min-height: 40px; }

.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; padding: 10px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy-ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-bottom: 6px; }
.hero-media {
  position: absolute; top: 2px; right: 0; width: max(66%, 760px); height: 450px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 12%, #000 28%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 12%, #000 28%);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: heroZoom 18s ease-out both; }
.hero-media::after {
  /* soft curved base, like the mockup's bottom-right swoosh */
  content: ""; position: absolute; left: 40%; right: -10%; bottom: -60px; height: 90px;
  background: var(--bg); border-radius: 50% 0 0 0 / 100% 0 0 0; transform: rotate(-3deg);
}
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }

.hero-inner { position: relative; min-height: 410px; display: flex; align-items: flex-start; }
.hero-copy { position: relative; width: 420px; max-width: 100%; padding-top: 34px; }

.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 4.4px; text-transform: uppercase; color: var(--navy-ink);
}
.eyebrow-line { display: flex; align-items: center; gap: 16px; }
.eyebrow-line::after { content: ""; width: 34px; height: 1.5px; background: var(--navy-ink); }

.hero-title {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(52px, 6.6vw, 78px); line-height: .84; letter-spacing: -1px;
  color: var(--navy-ink); margin-top: 18px;
}
.hero-place { font-family: var(--serif); font-size: 23px; color: var(--navy-ink); margin-top: 18px; }
.hero-lead { margin-top: 16px; font-size: 14.5px; line-height: 1.45; color: var(--text); max-width: 320px; }
.hero-cta { display: flex; gap: 18px; margin-top: 28px; flex-wrap: wrap; }

/* ---------- Booking bar ---------- */
.booking-bar {
  position: relative; z-index: 3;
  margin: 0 auto; width: min(980px, 100%);
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg);
  padding: 14px 18px 14px 30px; min-height: 70px;
}
.bb-field { position: relative; display: flex; align-items: center; gap: 18px; flex: 1; min-width: 0; padding: 4px 10px; cursor: pointer; }
.bb-ico { width: 26px; height: 26px; fill: none; stroke: var(--navy-ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.bb-text { position: relative; display: flex; flex-direction: column; text-align: left; line-height: 1.35; min-width: 0; }
.bb-label { font-size: 13px; font-weight: 700; color: var(--navy-ink); }
.bb-placeholder, .bb-value { font-size: 13px; color: var(--muted); }
.bb-field input[type="date"] {
  position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; border: 0;
}
.bb-field input[type="date"]::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.bb-placeholder.filled { color: var(--navy-ink); font-weight: 500; }
.bb-sep { width: 1px; height: 36px; background: var(--line); flex: none; }
.bb-guests { flex: 1.1; }
.bb-guest-btn { background: none; border: 0; padding: 0; flex: 1; }
.bb-chevron { width: 18px; height: 18px; fill: none; stroke: var(--navy-ink); stroke-width: 2; margin-left: auto; transition: transform .2s; }
.bb-guests.open .bb-chevron { transform: rotate(180deg); }
.btn-check { padding: 12px 30px; min-height: 44px; font-size: 13.5px; }

.guest-pop {
  position: absolute; top: calc(100% + 16px); left: 0; width: 270px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 18px; z-index: 10;
}
.guest-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0 14px; }
.guest-row strong { display: block; font-size: 14px; color: var(--navy-ink); }
.guest-row small { color: var(--muted); font-size: 12px; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: 16px; line-height: 1; color: var(--navy-ink); }
.stepper button:hover { border-color: var(--navy); }
.stepper output { min-width: 14px; text-align: center; font-weight: 600; }

/* ---------- Features ---------- */
.features {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 22px 10px 6px;
}
.feature { display: flex; align-items: center; gap: 22px; padding: 6px 24px; position: relative; justify-content: center; }
.feature + .feature::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--line); }
.feature svg { width: 40px; height: 40px; fill: none; stroke: var(--navy-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.feature h3 { font-size: 13px; font-weight: 700; color: var(--navy-ink); }
.feature p { font-size: 12.5px; line-height: 1.3; color: var(--text); margin-top: 2px; }

/* ---------- Sections ---------- */
.section { padding-top: 46px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-title {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(30px, 3.4vw, 38px); line-height: 1.05; color: var(--navy-ink); margin-top: 12px; letter-spacing: -.3px;
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; color: var(--navy-ink);
  padding-bottom: 4px; margin-bottom: 12px; border-bottom: 1.5px solid var(--navy-ink);
  background: linear-gradient(var(--bg), var(--bg)) right bottom / 26px 2px no-repeat;
}
.link-arrow .ico { transition: transform .2s; }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Package cards ---------- */
.card-grid { display: grid; grid-template-columns: 1.06fr 1fr 1.05fr; gap: 14px; }
.pkg-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.pkg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pkg-media { position: relative; aspect-ratio: 352 / 140; overflow: hidden; }
.pkg-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pkg-card:hover .pkg-media img { transform: scale(1.05); }
.badge {
  position: absolute; top: 10px; left: 13px; display: inline-flex; align-items: center; gap: 6px;
  background: #fbf3e6; color: var(--navy-ink); font-size: 11px; font-weight: 600;
  padding: 5px 11px 5px 9px; border-radius: 999px; box-shadow: 0 3px 10px rgba(0,0,0,.12);
}
.badge svg { width: 13px; height: 13px; fill: var(--navy-ink); }
.pkg-body { position: relative; padding: 16px 18px 18px; flex: 1; }
.pkg-info h3 { font-size: 18px; font-weight: 600; color: var(--navy-ink); letter-spacing: -.2px; }
.pkg-info p { font-size: 11px; color: var(--text); margin-top: 6px; line-height: 1.35; max-width: calc(100% - 120px); min-height: 15px; }
.pkg-meta { list-style: none; padding: 0; margin: 16px 0 0; display: flex; gap: 26px; font-size: 12px; color: var(--navy-ink); white-space: nowrap; }
.pkg-meta li { display: inline-flex; align-items: center; gap: 8px; }
.pkg-meta svg { width: 17px; height: 17px; fill: none; stroke: var(--navy-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pkg-price { position: absolute; right: 56px; top: 40px; text-align: right; display: flex; flex-direction: column; line-height: 1.2; }
.pkg-price small { font-size: 10.5px; color: var(--muted); }
.pkg-price strong { font-size: 14px; font-weight: 700; color: var(--navy-ink); margin-top: 6px; }
.pkg-price .per { font-size: 12px; color: var(--navy-ink); font-weight: 500; }
.arrow-btn {
  position: absolute; right: 12px; bottom: 16px; width: 30px; height: 30px; border-radius: 50%; border: 0;
  background: var(--sand); display: grid; place-items: center; box-shadow: 0 4px 10px rgba(201, 154, 91, .35);
  transition: background .2s, transform .2s;
}
.arrow-btn svg { width: 16px; height: 16px; fill: none; stroke: var(--navy-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.arrow-btn:hover { background: var(--sand-deep); transform: translateX(2px); }

/* ---------- Jurnal ---------- */
.jurnal { display: grid; grid-template-columns: 312px 1fr; gap: 16px; align-items: start; padding-top: 42px; }
.jurnal-intro { padding-top: 4px; }
.jurnal-intro p:not(.eyebrow) { font-size: 13px; margin-top: 18px; max-width: 290px; line-height: 1.45; }
.jurnal-intro .btn { margin-top: 18px; padding: 10px 22px; min-height: 36px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.post-card { background: var(--card); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-media { position: relative; aspect-ratio: 232 / 108; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .post-media img { transform: scale(1.05); }
.chip {
  position: absolute; left: 16px; bottom: 7px; background: #fbf3e2; color: var(--navy-ink); font-size: 11px; font-weight: 600;
  padding: 4px 12px; border-radius: 999px; box-shadow: 0 3px 8px rgba(0,0,0,.12);
}
.post-body { padding: 12px 16px 14px 22px; }
.post-body h3 { font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--navy-ink); min-height: 38px; }
.post-body h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; font-size: 10.5px; color: var(--navy-ink); }
.post-meta span { display: inline-flex; align-items: center; gap: 7px; }
.post-meta svg { width: 14px; height: 14px; fill: none; stroke: var(--navy-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Galeri ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 170px; gap: 12px; }
.g-item { padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #dde3ea; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-item:hover img { transform: scale(1.06); }
.g-wide { grid-row: span 2; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 30px; }
.footer-coast { position: relative; height: 110px; overflow: hidden; }
.footer-coast img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.footer-coast::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 60%;
  background: linear-gradient(var(--bg), rgba(244, 245, 247, 0)); z-index: 1;
}
.footer-main { background: var(--navy-ink); color: #c7d1de; padding: 40px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-main h4 { color: #fff; font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 12px; }
.footer-main p { font-size: 13.5px; line-height: 1.6; }
.footer-about p { margin-top: 14px; max-width: 380px; }
.brand-light .brand-name, .brand-light .brand-sub { color: #fff; }
.footer-link { color: var(--sand); font-weight: 600; font-size: 13.5px; }
.footer-link:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 30px; padding-top: 18px; font-size: 12px; color: #93a1b4; }

/* ---------- Modals ---------- */
.modal {
  border: 0; border-radius: 20px; padding: 30px; width: min(480px, 100% - 32px); max-height: calc(100vh - 40px);
  box-shadow: var(--shadow-lg); color: var(--text); background: #fff;
}
.modal::backdrop { background: rgba(12, 24, 44, .55); backdrop-filter: blur(3px); }
.modal[open] { animation: pop .25s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-close-form { position: absolute; top: 14px; right: 14px; margin: 0; }
.modal-x { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #eef1f5; font-size: 22px; line-height: 1; color: var(--navy-ink); }
.modal-x:hover { background: #e0e5ec; }
.modal-title { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 28px; color: var(--navy-ink); margin: 8px 0 18px; }
.reserve-form { display: grid; gap: 12px; }
.reserve-form label { display: grid; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--navy-ink); }
.reserve-form input, .reserve-form select, .reserve-form textarea {
  font: inherit; font-weight: 400; font-size: 14px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); width: 100%;
}
.reserve-form input:focus, .reserve-form select:focus, .reserve-form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(19, 52, 90, .12); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.reserve-total { background: #f6f1e7; border-radius: 10px; padding: 10px 14px; font-size: 13.5px; color: var(--navy-ink); }
.reserve-total:empty { display: none; }
.form-error { color: #b3261e; font-size: 12.5px; min-height: 0; }
.form-error:empty { display: none; }

.modal-video { width: min(900px, 100% - 32px); padding: 0; background: #000; overflow: hidden; }
.modal-video .modal-close-form { z-index: 2; }
.video-wrap { aspect-ratio: 16 / 9; position: relative; }
.video-wrap iframe, .video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-fallback { position: absolute; inset: 0; overflow: hidden; }
.video-fallback img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 14s ease-in-out infinite alternate; }
.video-fallback p {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 24px 20px; color: #fff; font-family: var(--serif); font-style: italic; font-size: 22px;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
}
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.15) translate(-3%, -2%); } }

.article-body { font-size: 14.5px; line-height: 1.65; display: grid; gap: 10px; }
.article-body ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }

.modal-lightbox { width: min(1000px, 100% - 32px); padding: 0; background: transparent; box-shadow: none; overflow: visible; }
.modal-lightbox img { width: 100%; border-radius: 14px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  background: var(--navy-ink); color: #fff; padding: 12px 20px; border-radius: 12px; font-size: 13.5px; box-shadow: var(--shadow-lg);
  transition: opacity .25s, transform .25s; z-index: 100; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .main-nav { gap: 22px; }
  .header-actions { gap: 12px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; padding: 8px 20px 16px; box-shadow: 0 16px 30px rgba(18,36,64,.12);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 12px 0; font-size: 15px; border-bottom: 1px solid #eef1f5; }
  .main-nav a::after { display: none; }

  .hero-media { position: relative; width: 100%; height: 360px; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .hero-media::after { display: none; }
  .hero-inner { min-height: 0; }
  .hero-copy { max-width: 560px; padding: 8px 0 28px; }
  .hero-lead { max-width: 480px; }

  .booking-bar { flex-wrap: wrap; padding: 14px; gap: 4px; }
  .bb-field { flex: 1 1 45%; padding: 10px; }
  .bb-sep { display: none; }
  .bb-guests { flex: 1 1 100%; }
  .btn-check { flex: 1 1 100%; }

  .features { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .feature { justify-content: flex-start; }
  .feature:nth-child(3)::before { display: none; }

  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .jurnal { grid-template-columns: 1fr; gap: 22px; }
  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .header-inner { height: 70px; }
  .main-nav { top: 70px; }
  .brand-mark { width: 64px; }
  .brand-name { font-size: 20px; }
  .brand-sub { font-size: 8.5px; letter-spacing: 3.6px; }
  .btn-reserve { display: none; }
  .wa-btn { width: 38px; height: 38px; }

  .hero-media { height: 260px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .bb-field { flex: 1 1 100%; }

  .features { grid-template-columns: 1fr; padding-inline: 0; }
  .feature { padding: 6px 4px; }
  .feature::before { display: none; }

  .section-head { flex-direction: column; align-items: flex-start; }
  .link-arrow { margin-bottom: 0; }
  .card-grid, .post-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .g-wide { grid-column: 1 / -1; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .two-col { grid-template-columns: 1fr; }
  .modal { padding: 24px 20px; }
}
