/* Esdras by Kernan Enterprise. Colours and type match the app and the logo pack. */
:root {
  --navy: #1d2b3a;
  --navy-2: #2b3f54;
  --leather: #9a5b34;
  --leather-light: #d29a6a;
  --cream: #f6f2ea;
  --paper: #ffffff;
  --line: #e4ddd0;
  --text: #1f2833;
  --muted: #5b6470;
  --ok: #1d7244;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29, 43, 58, .06), 0 12px 32px rgba(29, 43, 58, .10);
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font: 17px/1.6 "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leather); text-underline-offset: 3px; }
a:hover { color: #84492a; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.wordmark { font-family: "Cinzel", Georgia, serif; font-weight: 700; letter-spacing: .14em; }
.eyebrow {
  display: inline-block; color: var(--leather); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: .8em;
}
.rule { width: 44px; height: 2px; background: var(--leather); border: 0; margin: 0 0 1.2em; }

/* ---------- header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 242, 234, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; height: 40px; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--leather); }
.nav a.btn, .nav a.btn:hover { color: #fff; }
.nav a.btn.ghost, .nav a.btn.ghost:hover { color: var(--navy); }
.btn {
  display: inline-block; padding: 11px 20px; border-radius: 10px; font-weight: 700; text-decoration: none;
  border: 1px solid var(--navy); background: var(--navy); color: #fff; font-size: .98rem;
}
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: #fff; color: var(--navy); }
.btn:focus-visible, .nav a:focus-visible { outline: 2px solid var(--leather); outline-offset: 3px; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* ---------- hero */
.hero { padding: 72px 0 40px; }
.hero .lede { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 8px; }
.hero .note { font-size: .92rem; color: var(--muted); }
.shot {
  border-radius: var(--radius); overflow: hidden; background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.shot .bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #faf8f4; }
.shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.hero .shot { margin-top: 44px; }

/* ---------- sections */
section { padding: 72px 0; }
section.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px;
}
section.alt .card { background: var(--cream); }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card .icon {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 12px;
  background: #e7ebf0; color: var(--navy);
}
.card .icon svg { width: 20px; height: 20px; }
.tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); background: #e7ebf0; border-radius: 999px; padding: 2px 9px; margin-left: 6px; vertical-align: 2px;
}

.split { display: grid; gap: 40px; grid-template-columns: 1fr 1.25fr; align-items: center; }
.split.flip { grid-template-columns: 1.25fr 1fr; }
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split.flip { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { padding-left: 30px; position: relative; margin: 0 0 .6em; }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: .5em; width: 12px; height: 7px;
  border-left: 2px solid var(--leather); border-bottom: 2px solid var(--leather); transform: rotate(-45deg);
}
.privacy {
  margin-top: 22px; padding: 18px 20px; border-radius: var(--radius); background: var(--paper);
  border: 1px solid var(--line); font-size: .96rem;
}
.privacy strong { color: var(--navy); }

.gallery { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 10px; color: var(--muted); font-size: .95rem; }

/* ---------- call to action / footer */
.cta { background: var(--navy); color: #e9e4da; text-align: center; padding: 80px 0; }
.cta h2 { color: #fff; }
.cta p { color: #c8ccd2; max-width: 600px; margin: 0 auto 1.6em; }
.cta .btn { background: var(--leather-light); border-color: var(--leather-light); color: var(--navy); }
.cta .btn:hover { background: #dfae84; border-color: #dfae84; }
.cta img { height: 64px; width: auto; margin: 0 auto 18px; }

.site-footer { padding: 34px 0; font-size: .92rem; color: var(--muted); }
.site-footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: var(--muted); }

/* ---------- plain pages (privacy) */
.doc { max-width: 760px; padding: 56px 20px 72px; margin: 0 auto; }
.doc h1 { font-size: 2.2rem; }
.doc h2 { font-size: 1.3rem; margin-top: 1.8em; }
.doc li { margin-bottom: .4em; }

/* ---------- company site extras */
.company { display: flex; align-items: center; height: 48px; }
.company img { height: 44px; width: auto; }
h1, h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 800; letter-spacing: 0; }
h2 { font-weight: 700; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.foot-brand img { height: 26px; width: auto; }
.hero h1 { max-width: 820px; }
.narrow { max-width: 760px; }
.product {
  display: grid; grid-template-columns: 340px 1fr; text-decoration: none; color: inherit; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); box-shadow: var(--shadow);
}
.product:hover { border-color: var(--leather-light); }
.product-art { background: var(--navy); display: grid; place-items: center; padding: 34px; }
.product-art img { width: 220px; height: auto; }
.product-body { padding: 30px 32px; }
.product-body p { color: var(--muted); }
.product .link { color: var(--leather); font-weight: 700; }
@media (max-width: 760px) { .product { grid-template-columns: 1fr; } }
