/* abuwala.com: one quiet page. Caslon headings echo the logo's ampersand; Hanken Grotesk for text. */

:root {
  --paper: #fbfaf7;
  --ink: #161616;
  --ink-soft: #3d3b37;
  --muted: #6f6b64;
  --rule: #e3dfd7;
  --field: #ffffff;
  --error: #9b2c1f;
  --serif-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-header { padding: 36px 0 0; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 168px; }
.site-header nav { display: flex; gap: clamp(16px, 3vw, 36px); font-size: 14px; letter-spacing: 0.04em; }
.site-header nav a { text-decoration: none; color: var(--ink-soft); padding: 6px 0; border-bottom: 1px solid transparent; }
.site-header nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* Hero */
.hero { padding: clamp(96px, 18vh, 200px) 0 clamp(88px, 14vh, 160px); }
.eyebrow {
  margin: 0 0 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero h1 {
  margin: 0;
  max-width: 17ch;
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.lede {
  margin: 40px 0 0;
  max-width: 34em;
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--ink-soft);
}

/* Sections */
.section { border-top: 1px solid var(--rule); padding: clamp(64px, 10vw, 112px) 0; }
.grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px clamp(32px, 6vw, 96px); }
.label { display: flex; align-items: baseline; gap: 16px; }
.label .num { font-size: 13px; letter-spacing: 0.12em; color: var(--muted); font-variant-numeric: tabular-nums; }
.label h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 22px; }
.label h2 { position: sticky; top: 24px; }
.intro { margin: 0 0 40px; max-width: 32em; font-family: var(--serif); font-size: clamp(20px, 2.1vw, 24px); line-height: 1.45; }

.services { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 1px solid var(--rule); }
.services li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 3.2em minmax(0, 1fr);
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 17px;
}
.services li::before {
  content: counter(s, decimal-leading-zero);
  font-size: 13px;
  line-height: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.holding h3 { margin: 0 0 6px; font-family: var(--serif-display); font-weight: 400; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.15; }
.holding p { margin: 0 0 18px; color: var(--ink-soft); }
.holding a { font-size: 15px; letter-spacing: 0.02em; }

/* Form */
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; max-width: 40rem; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.optional { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); margin-left: 6px; }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--field);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 12px 14px;
  transition: border-color 0.15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field textarea:hover { border-color: #c9c3b8; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.actions { align-items: flex-start; }
button[type="submit"] {
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 14px 36px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
button[type="submit"]:hover { background: transparent; color: var(--ink); }
button[type="submit"][disabled] { opacity: 0.6; cursor: wait; }

.form-msg { grid-column: 1 / -1; margin: 0; font-size: 15px; color: var(--ink-soft); }
.form-msg.error { color: var(--error); }
.form-turnstile { min-height: 65px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sent { max-width: 40rem; padding: 28px 0; border-top: 1px solid var(--ink); }
.sent:focus { outline: none; }
.sent p { margin: 0; color: var(--ink-soft); }
.sent .sent-title { font-family: var(--serif-display); font-size: 30px; color: var(--ink); margin-bottom: 6px; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 32px 0 48px; font-size: 13px; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; gap: 16px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header { padding-top: 24px; }
  .brand img { width: 136px; }
  .site-header nav { font-size: 13px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .label h2 { position: static; }
  .contact-form { grid-template-columns: minmax(0, 1fr); }
  .services li { grid-template-columns: 2.6em minmax(0, 1fr); padding: 15px 0; font-size: 16px; }
}

@media (max-width: 420px) {
  .header-row { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media print {
  .site-header nav, .contact-form, .skip { display: none; }
  body { background: #fff; }
}
