/* Café Security: site styles. Fonts are served from this site (SIL OFL, see fonts/). */
@font-face { font-family: "Fraunces"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/fraunces-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/fraunces-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/fraunces-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --espresso: #2A1D14;
  --copper: #9A4F1C;
  --crema: #D9A574;
  --cream: #F6F1E8;
  --latte: #EFE6D4;
  --rule: #DCCFBC;
  --muted: #5A4636;
  --on-dark-muted: #D8CBB8;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); color: var(--espresso); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--copper); }
a:hover { color: var(--espresso); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
img, svg { display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.serif { font-family: var(--serif); font-weight: 400; }
.eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--espresso); color: var(--cream); padding: 8px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none; border: 1.5px solid var(--espresso); cursor: pointer; }
.btn-solid { background: var(--espresso); color: var(--cream); }
.btn-solid:hover { background: #3E2B1E; color: var(--cream); }
.btn-line { background: transparent; color: var(--espresso); }
.btn-line:hover { background: var(--latte); color: var(--espresso); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Navigation */
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--rule); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--espresso); text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 24px; }
.brand img { width: 34px; height: 36px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--espresso); text-decoration: none; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-links .nav-cta { background: var(--espresso); color: var(--cream); padding: 8px 16px; border-radius: 999px; }
.nav-links .nav-cta:hover { text-decoration: none; background: #3E2B1E; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px 56px; align-items: flex-end; padding-top: 80px; padding-bottom: 72px; }
.hero-text { flex: 3 1 540px; min-width: 0; }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 6.4vw, 74px); line-height: 1.04; letter-spacing: -0.02em; }
.hero h1 em { color: var(--copper); }
.hero p { margin: 28px 0 0; font-size: 20px; color: var(--muted); max-width: 620px; }
.actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.roast-card { flex: 1 1 280px; min-width: 0; display: block; text-decoration: none; color: var(--espresso); background: var(--latte); border-top: 4px double var(--espresso); padding: 22px 24px 26px; }
.roast-card:hover { color: var(--espresso); background: #E9DDC6; }
.roast-card .eyebrow { color: var(--espresso); }
.roast-card .headline { margin: 12px 0 10px; font-family: var(--serif); font-size: 25px; line-height: 1.2; }
.roast-card .dek { margin: 0; font-size: 15px; color: var(--muted); }
.roast-card .more { margin: 16px 0 0; font-weight: 600; color: var(--copper); }

/* Recent work */
.work { background: var(--espresso); color: var(--cream); }
.work .wrap { padding-top: 72px; padding-bottom: 72px; }
.work .eyebrow { color: var(--crema); }
.work h2 { margin: 6px 0 28px; font-family: var(--serif); font-weight: 400; font-size: 42px; }
.work-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #5A4636; }
.work-item a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 40px; padding: 20px 0; border-bottom: 1px solid #5A4636; color: var(--cream); text-decoration: none; }
.work-item a:hover .work-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.work-kind { flex: 0 0 160px; margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--crema); }
.work-body { flex: 1 1 460px; min-width: 0; }
.work-title { margin: 0; font-family: var(--serif); font-size: 27px; line-height: 1.2; }
.work-desc { margin: 4px 0 0; color: var(--on-dark-muted); font-size: 16px; }
.work a:focus-visible { outline-color: var(--crema); }

/* How we work */
.principles { padding-top: 88px; padding-bottom: 64px; }
.principles h2, .services h2, .contact h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1.1; }
.principle-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 36px; }
.principle-grid h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: 24px; }
.principle-grid p { margin: 0; color: var(--muted); }

/* Services */
.services { padding-top: 64px; padding-bottom: 88px; border-top: 1px solid var(--rule); }
.services-grid { display: flex; flex-wrap: wrap; gap: 48px; }
.services-intro { flex: 1 1 340px; min-width: 0; }
.services-intro p { margin: 16px 0 0; font-size: 18px; color: var(--muted); }
.service-col { flex: 1 1 300px; min-width: 0; }
.service-col ul { list-style: none; margin: 12px 0 0; padding: 0; border-bottom: 1px solid var(--rule); }
.service-col li { padding: 12px 0; border-top: 1px solid var(--rule); }

/* Contact */
.contact { background: var(--latte); }
.contact .wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 48px; }
.contact-intro { flex: 1 1 320px; min-width: 0; }
.contact-intro p { margin: 16px 0 0; font-size: 18px; color: var(--muted); }
.contact-form { flex: 2 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; }
.field-wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 17px; color: var(--espresso); padding: 10px 0; border: 0; border-bottom: 1.5px solid var(--espresso); border-radius: 0; background: transparent; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom: 3px solid var(--copper); padding-bottom: 8.5px; }
.field .hint { font-weight: 400; font-size: 13px; color: var(--muted); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-note { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--muted); }
.form-status { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: 8px; font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status.ok { background: #E3EDDC; color: #23401A; }
.form-status.err { background: #F5DEDA; color: #6B1E14; }

/* Footer */
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 32px; padding-bottom: 40px; font-size: 14px; color: var(--muted); }
.footer p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* Plain pages (privacy, 404) */
.page { max-width: 760px; padding-top: 64px; padding-bottom: 88px; }
.page h1 { margin: 0 0 24px; font-family: var(--serif); font-weight: 400; font-size: 48px; line-height: 1.1; }
.page h2 { margin: 36px 0 8px; font-family: var(--serif); font-weight: 400; font-size: 26px; }

@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .contact-form { grid-template-columns: minmax(0, 1fr); }
  .work-kind { flex-basis: 100%; }
  .hero { padding-top: 48px; }
}
