/* Light + Line: "Logo First" layout, Clay & Slate dark palette.
   A big logo up front, labelled sections, and a centred footer. */
:root {
  --bg: #26292C;       /* warm graphite ground */
  --surface: #1F2225;  /* panels: form, DFM */
  --text: #F2F0EC;
  --body: #D3D0CA;
  --muted: #A39F98;
  --line: rgba(242, 240, 236, .15);
  --strong: rgba(242, 240, 236, .30);
  --slate: #8FB3D9;    /* headings, links, icons */
  --clay: #E8A27C;     /* small labels */
  --cta: #BA4F2C;      /* terracotta: the one action colour */
  --font: "Jost", "Futura", "Century Gothic", sans-serif;
  --gutter: clamp(18px, 5vw, 72px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p, h1, h2, h3 { margin: 0; }
section { scroll-margin-top: 24px; }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 10; background: var(--surface); padding: 10px 16px; }
.skip:focus { left: 12px; }

.pad { padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  padding-block: clamp(56px, 7vw, 112px) clamp(64px, 8vw, 120px);
  border-bottom: 1px solid var(--line);
}
.hero-logo { width: min(540px, 78vw); margin-bottom: 24px; }
.statement {
  font-weight: 300;
  font-size: clamp(17px, 2.1vw, 28px);
  letter-spacing: .24em;
  line-height: 1.45;
  text-wrap: balance;
  max-width: 960px;
}
.lede { color: var(--body); font-size: 17px; line-height: 1.6; max-width: 540px; }
.lede.wide { max-width: 620px; }
.hero .lede { max-width: 560px; font-size: 20px; }

/* ---------- Who / What / Why / How ---------- */
.intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.intro > div { background: var(--bg); padding: 44px clamp(18px, 3.4vw, 52px) 52px; display: grid; gap: 14px; align-content: start; }
.intro .lab { font-size: 15px; letter-spacing: .3em; }
.intro p:last-child { font-size: 18px; line-height: 1.6; color: var(--body); }
@media (min-width: 620px)  { .intro { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .intro { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(48px, 7vw, 96px); border-bottom: 1px solid var(--line); display: grid; gap: 36px; }
.rule { display: flex; align-items: center; gap: 20px; font-size: 13px; letter-spacing: .24em; color: var(--clay); }
.rule i { flex: 1; border-top: 1px solid var(--line); }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 56px; }
.h2 { font-weight: 300; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; text-wrap: balance; }
.lab { font-size: 12px; letter-spacing: .2em; color: var(--clay); }
.k { display: block; font-size: 12px; letter-spacing: .2em; color: var(--muted); }

/* ---------- Services ---------- */
/* Column counts are set so the eight cells plus the DFM panel always fill whole rows. */
.cells {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cell { background: var(--bg); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.cell .ico { width: 112px; height: 78px; object-fit: contain; object-position: left center; margin: 4px 0; }
.cell h3 { font-weight: 400; font-size: 21px; line-height: 1.25; color: var(--slate); }
.cell p { font-size: 15px; line-height: 1.55; color: var(--body); }
.cell .ask { margin-top: auto; font-size: 14px; font-weight: 500; letter-spacing: .14em; color: var(--slate); text-decoration: none; }

.dfm {
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 56px;
  padding: clamp(28px, 3.4vw, 44px);
  background: var(--surface);
}
.dfm-head { flex: 0 1 340px; min-width: 0; display: grid; gap: 10px; }
.dfm .dfm-head h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; }
.dfm .dfm-head p { font-size: 17px; }
.dfm-list { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px 32px; margin: 0; padding: 0; list-style: none; }
.dfm-list li { font-size: 18px; color: var(--body); }

@media (min-width: 620px)  { .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .cells { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1680px) {
  .cells { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .dfm { grid-column: span 4; }
}

/* ---------- About ---------- */
.vals h3 { font-weight: 400; font-size: 22px; color: var(--slate); padding-bottom: 16px; border-bottom: 1px solid var(--strong); }
.val { display: flex; flex-wrap: wrap; gap: 4px 32px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.val b { flex: 0 1 300px; font-weight: 400; font-size: 20px; }
.val span:last-child { flex: 1 1 300px; font-size: 17px; color: var(--body); }

/* ---------- Contact ---------- */
.split { display: flex; flex-wrap: wrap; gap: 48px 56px; align-items: start; }
.grow { flex: 1 1 340px; min-width: 0; display: grid; gap: 22px; align-content: start; }
.clist { display: grid; gap: 18px; font-size: 18px; margin-top: 12px; }
.clist a { color: var(--slate); text-decoration: none; overflow-wrap: anywhere; }
.clist a:hover { text-decoration: underline; }

.form {
  flex: 1 1 560px;
  min-width: 0;
  border: 1px solid var(--strong);
  background: var(--surface);
  padding: clamp(22px, 4vw, 44px);
  display: grid;
  gap: 26px;
}
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px 30px; }
.field { display: block; font-size: 12px; letter-spacing: .2em; color: var(--body); }
.field input,
.field textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 8px 2px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--muted);
  color: var(--text);
  font: 300 16px var(--font);
  outline: none;
  resize: vertical;
}
.field textarea { border: 1px solid var(--muted); padding: 10px; }
.field input:focus,
.field textarea:focus { border-color: var(--slate); }
.honeypot { position: absolute; left: -9999px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 16px 24px; }
.form-status { flex: 1 1 260px; font-size: 16px; color: var(--clay); }
.form-status.ok { color: var(--slate); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 40px;
  background: var(--cta);
  color: #FFFFFF;
  border: 0;
  font: 500 16px var(--font);
  letter-spacing: .14em;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .6; cursor: wait; }

/* ---------- Footer ---------- */
.foot { display: flex; align-items: center; justify-content: center; gap: 18px; padding-block: 32px; font-size: 14px; color: var(--muted); }
.foot img { width: 64px; }

/* ---------- Phones ---------- */
@media (max-width: 760px) {
  .statement { letter-spacing: .16em; }
  .dfm-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dfm-list li { font-size: 16px; }
  .form-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
