/* summertimesagaes.com, skeleton P6: title bar pressing on a 2x2 screenshot
   grid, four captioned map shots, partner wall, dense four column footer.
   Palette: mist #f2f5f7, ink #0f1418, accent #c2185b. */

@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f2f5f7;
  --ink: #0f1418;
  --muted: #55636d;
  --line: #dbe3e8;
  --card: #ffffff;
  --soft: #e7eef2;
  --accent: #c2185b;
  --accent-d: #9c1249;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, .word, .btn, .rows b, .val b {
  font-family: "Figtree", "Inter", system-ui, sans-serif;
  letter-spacing: -0.02em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.shell { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 40;
  background: var(--accent); color: #fff; padding: 10px 14px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* header */
.topbar { background: #fff; border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; flex: none; }
.brand .word { font-size: 21px; font-weight: 800; letter-spacing: -0.035em; white-space: nowrap; }
.brand .age {
  font-size: 10.5px; font-weight: 700; color: var(--accent);
  border: 1px solid #f0c3d4; background: #fce9f0; border-radius: 4px; padding: 2px 6px;
}
.nav { display: flex; align-items: center; gap: 15px; margin-left: auto; }
.nav a {
  font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none;
  padding: 7px 0; border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; font-weight: 700; text-decoration: none;
  border-radius: 9px; border: 0; transition: background 120ms ease;
}
.btn:hover { background: var(--accent-d); }
.btn-top { min-height: 44px; padding: 0 16px; font-size: 14px; flex: none; }
.btn-hero { min-height: 56px; padding: 0 28px; font-size: 17px; }
.burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; padding: 11px 10px; cursor: pointer;
}
.burger span { display: block; height: 2px; margin: 3px 0; background: var(--ink); border-radius: 2px; }
.mpanel { display: none; }

/* hero: bar over 2x2 grid */
.hero { padding: 18px 0 28px; }
.hero .shell { max-width: 980px; }
.hero-bar {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 30px;
  align-items: center; background: var(--card); border: 1px solid var(--line);
  border-left: 5px solid var(--accent); border-radius: 14px; padding: 18px 22px;
}
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--accent);
}
h1 { font-size: clamp(28px, 3.3vw, 40px); line-height: 1.08; margin: 9px 0 9px; font-weight: 800; }
.lede { font-size: 16px; color: var(--muted); max-width: 56ch; }
.hb-act { text-align: center; }
.micro { font-size: 12px; color: var(--muted); margin-top: 9px; }
.micro b { color: var(--accent); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
figure.g {
  margin: 0; background: var(--card); border: 1px solid var(--line);
  border-radius: 11px; overflow: hidden;
}
figure.g img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: center; }
figure.g figcaption {
  font-size: 12.5px; line-height: 1.4; color: var(--muted);
  padding: 8px 12px 9px; border-top: 1px solid var(--line); background: #fff;
}

/* partners */
.partners { padding: 4px 0 26px; }
.p-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.p-head h2 { font-size: 18px; margin: 0; }
.p-head p { font-size: 13px; color: var(--muted); }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; }
.pgrid a {
  display: flex; align-items: center; justify-content: center; height: 84px;
  background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 0 16px;
}
.pgrid a:hover { border-color: #b9c9d3; }
.pgrid img { width: 100%; height: 60px; object-fit: contain; }

/* three values */
.values { padding: 30px 0 10px; }
.values h2 { font-size: 22px; margin: 0 0 16px; }
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.val { background: var(--card); border: 1px solid var(--line); border-radius: 11px; padding: 18px; }
.val b { display: block; font-size: 16.5px; color: var(--accent); }
.val p { font-size: 14.5px; color: var(--muted); margin-top: 7px; }

/* section rows */
.rows { padding: 30px 0 48px; }
.rows h2 { font-size: 22px; margin: 0 0 12px; }
.rowlist { list-style: none; border-top: 1px solid var(--line); }
.rowlist li { border-bottom: 1px solid var(--line); }
.rowlist a { display: flex; gap: 18px; align-items: baseline; padding: 13px 2px; text-decoration: none; }
.rowlist b { font-size: 16px; min-width: 120px; }
.rowlist span { font-size: 14.5px; color: var(--muted); }
.rowlist a:hover b { color: var(--accent); }
.note { font-size: 13.5px; color: var(--muted); margin-top: 18px; max-width: 820px; }

/* inner pages */
.phead { padding: 34px 0 8px; }
.migas { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.migas a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.phead h1 { max-width: 860px; }
.phead .lede { max-width: 760px; margin-top: 4px; }
.act { margin-top: 20px; }
.act .micro { text-align: left; }
.page-body { padding: 8px 0 46px; }
.sec { padding: 24px 0 4px; }
.sec h2 { font-size: clamp(20px, 2.3vw, 26px); margin: 0 0 12px; }
.sec > p { font-size: 15.5px; color: var(--muted); max-width: 800px; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.mini { background: var(--card); border: 1px solid var(--line); border-radius: 11px; padding: 18px; }
.mini h3 { font-size: 16px; margin: 0 0 6px; }
.mini p { font-size: 14.5px; color: var(--muted); }
.mini .tag { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.points { list-style: none; margin-top: 14px; display: grid; gap: 9px; max-width: 820px; }
.points li { position: relative; padding-left: 20px; font-size: 15px; color: #26333c; }
.points li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; background: var(--accent); border-radius: 2px; }
.steps { list-style: none; counter-reset: s; display: grid; gap: 12px; max-width: 820px; margin-top: 16px; }
.steps li {
  counter-increment: s; position: relative; padding: 17px 20px 17px 64px;
  background: #fff; border: 1px solid var(--line); border-radius: 11px;
}
.steps li::before {
  content: counter(s); position: absolute; left: 18px; top: 15px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff;
  font: 700 15px/30px "Figtree", sans-serif; text-align: center;
}
.steps b { font: 700 17px/1.3 "Figtree", sans-serif; }
.steps p { font-size: 14.5px; color: var(--muted); margin-top: 5px; }
.faq { display: grid; gap: 9px; max-width: 840px; margin-top: 16px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-weight: 700; }
.faq details[open] summary::after { content: "-"; }
.faq p { font-size: 15px; color: var(--muted); padding: 0 0 15px; max-width: 720px; }
.figs { display: grid; gap: 18px; margin-top: 16px; }
.figs figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.figs img { width: 100%; }
.figs figcaption { font-size: 13px; color: var(--muted); padding: 9px 13px 10px; border-top: 1px solid var(--line); }
.figs.two { grid-template-columns: 1fr 1fr; }

/* footer 4 col dense */
.foot { background: #0f1418; color: #c9d3da; padding: 34px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 26px; }
.foot .word { font-size: 18px; font-weight: 800; color: #fff; }
.foot p { font-size: 12.5px; line-height: 1.55; color: #9aa8b2; margin-top: 8px; }
.foot h3 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin: 0 0 8px; }
.foot a { color: #c9d3da; text-decoration: none; font-size: 13px; }
.foot a:hover { color: #fff; }
.foot ul { list-style: none; display: grid; gap: 5px; }
.foot .badge {
  display: inline-block; background: var(--accent); color: #fff; font-size: 10.5px;
  font-weight: 700; border-radius: 4px; padding: 3px 6px; margin-right: 6px;
}
.foot-low { border-top: 1px solid #22303a; margin-top: 22px; padding-top: 14px; font-size: 12px; color: #8d9ba6; }

@media (max-width: 900px) {
  .nav { gap: 12px; }
  .hero-bar { grid-template-columns: 1fr; }
  .hb-act { text-align: left; }
  .hb-act .btn-hero { width: 100%; }
  .values-grid, .cards3, .cards2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .figs.two { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .shell { padding: 0 18px; }
  .topbar-in { min-height: 58px; gap: 10px; flex-wrap: wrap; }
  .brand .word { font-size: 18px; }
  .brand .age { display: none; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; z-index: 30;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 6px 18px 14px; flex-direction: column; align-items: stretch; gap: 0;
    box-shadow: 0 14px 22px rgba(15, 20, 24, 0.1);
  }
  .nav.open { display: flex; }
  .nav a { font-size: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .burger { display: block; margin-left: auto; }
  .btn-top { padding: 0 12px; font-size: 13px; min-height: 42px; }
  .hero { padding: 18px 0 24px; }
  .hero-bar { padding: 18px; }
  h1 { font-size: clamp(26px, 7.6vw, 34px); }
  figure.g img { aspect-ratio: 2 / 1; }
  .p-grid { gap: 8px; }
  .pgrid { gap: 8px; }
  .pgrid a { height: 60px; padding: 0 6px; }
  .pgrid img { height: 44px; }
  .btn-hero { min-height: 54px; width: 100%; }
  .rowlist a { flex-direction: column; gap: 3px; }
  .foot-grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 380px) {
  .brand .word { font-size: 16.5px; }
  .btn-top { font-size: 12px; padding: 0 9px; }
}
