/* Biscota — site styles. Loaded after Bootstrap 5. */

:root {
  --white: #ffffff;
  --off-white: #faf8f5;
  --ink: #1d1a17;
  --ink-soft: #57514a;
  --ink-muted: #8a837b;
  --rule: #e9e4dd;
  --brown: #c19a6b;        /* light brown accent, used sparingly */
  --brown-dark: #8a6a45;   /* brown for small text on white */

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  /* Bootstrap overrides */
  --bs-body-font-family: var(--sans);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--white);
  --bs-link-color-rgb: 29, 26, 23;
  --bs-link-hover-color-rgb: 29, 26, 23;
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0; }

::selection { background: #ecdcc8; }

.container { max-width: 1140px; }

/* ---------- Header ---------- */

.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.logo:hover { color: var(--ink); }

.logo-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brown);
  flex-shrink: 0;
}

.site-header .nav-link {
  font-size: 15px;
  color: var(--ink-soft);
  padding-left: 16px !important;
  padding-right: 16px !important;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus { color: var(--ink); }

.site-header .nav-contact { color: var(--ink); }

@media (min-width: 768px) {
  .site-header .nav-contact {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 16px;
    border-bottom: 1px solid var(--brown);
    padding-bottom: 2px;
  }
}

.navbar-toggler {
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 6px 10px;
}

.navbar-toggler:focus { box-shadow: none; border-color: var(--brown); }

@media (max-width: 767.98px) {
  .navbar-nav { padding-top: 12px; }
  .site-header .nav-link { padding-left: 0 !important; border-top: 1px solid var(--rule); }
}

/* ---------- Shared ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brown-dark);
  margin-bottom: 20px;
}

.section {
  padding: 120px 0;
  border-top: 1px solid var(--rule);
}

.section-alt { background: var(--off-white); }

.section-title {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 64px;
}

.small-muted {
  font-size: 14px;
  color: var(--ink-muted);
}

.btn-ink {
  background: var(--ink);
  color: var(--white);
  border: 0;
  border-radius: 2px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
}

.btn-ink:hover,
.btn-ink:focus { background: #3a342e; color: var(--white); }

.text-link {
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: border-color 0.15s;
}

.text-link:hover { color: var(--ink); border-color: var(--brown); }

/* ---------- Logo ---------- */

.site-logo {
  display: block;
  height: 34px;
  width: auto;
}

.site-logo-small { height: 26px; }

/* ---------- Hero ---------- */

.hero { padding: 96px 0 112px; overflow: hidden; }

.hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  max-width: 16ch;
  margin-bottom: 28px;
}

.lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 50ch;
  margin-bottom: 36px;
}

.hero-photo {
  position: relative;
  margin: 0;
}

/* thin light-brown frame offset behind the photo */
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 1px solid var(--brown);
  z-index: 0;
}

.hero-photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ---------- Photos ---------- */

.photo { margin: 0; }

.photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--off-white);
}

.photo figcaption {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

.photo-strip { padding: 0 0 120px; }

@media (min-width: 768px) {
  .photo-offset { margin-top: 64px; }
}

.about-photo img { aspect-ratio: 4 / 3; }

/* ---------- Services ---------- */

.service {
  display: flex;
  gap: 16px;
  padding: 36px 0;
  border-top: 1px solid var(--rule);
  height: 100%;
}

.service .num {
  flex: 0 0 40px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--brown-dark);
  padding-top: 6px;
}

.service h3 { font-size: 24px; margin-bottom: 12px; }
.service p  { color: var(--ink-soft); }

/* ---------- Process ---------- */

.step {
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}

.step-first { border-top-color: var(--brown); }

.step-label {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.step h3 { font-size: 22px; margin-bottom: 14px; }
.step p  { font-size: 16px; color: var(--ink-soft); }

/* ---------- About ---------- */

.body-large {
  font-size: 19px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  max-width: 58ch;
}

.facts {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.facts li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
}

.facts span {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-muted);
  padding-top: 2px;
}

/* ---------- Contact ---------- */

.contact-note {
  color: var(--ink-soft);
  max-width: 48ch;
}

.contact-email {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 38px);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--brown);
  padding-bottom: 4px;
  margin-bottom: 16px;
  word-break: break-word;
}

.contact-email:hover { color: var(--brown-dark); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 32px 0;
}

.logo-small { font-size: 18px; }
.logo-small .logo-mark { width: 10px; height: 10px; }

/* ---------- Small screens ---------- */

@media (max-width: 767.98px) {
  body { font-size: 16px; }
  .hero { padding: 56px 0 72px; }
  .hero-photo::before { inset: 14px -10px -14px 14px; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .photo-strip { padding-bottom: 80px; }
  .photo img { aspect-ratio: 3 / 2; }
  .site-logo { height: 30px; }
  .lede, .body-large { font-size: 17px; }
  .section { padding: 80px 0; }
  .section-title { margin-bottom: 40px; }
  .service { padding: 28px 0; }
  .facts li { grid-template-columns: 1fr; gap: 4px; }
}
