/* Arblocks LLP: brand colours and type from the brand guidelines */
:root {
  --ink: #0E1013;
  --paper: #F5F4F0;
  --white: #FFFFFF;
  --green: #14C46A;
  --line: #D6D4CE;
  --muted: #5B5E63;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--ink); }

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 760px; }

a { color: inherit; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { height: 34px; width: auto; display: block; }
nav { display: flex; gap: 28px; }
nav a { text-decoration: none; font-size: 15px; font-weight: 500; }
nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero { background: var(--ink); color: var(--white); }
.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding-top: 112px; padding-bottom: 112px; }
.eyebrow { margin: 0 0 14px; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
h1 { margin: 0; font-size: 64px; line-height: 1.05; font-weight: 700; letter-spacing: -1px; }
.hero-sub { margin: 22px 0 0; font-size: 22px; opacity: .85; }
.hero-symbol { width: 260px; height: auto; flex-shrink: 0; }

/* Sections */
.section { padding: 88px 0; scroll-margin-top: 76px; }
.section-alt { background: var(--paper); }
h2 { margin: 0 0 20px; font-size: 32px; font-weight: 700; letter-spacing: -.3px; }
.section p { margin: 0 0 16px; }
.contact-line { font-size: 22px; font-weight: 500; }

/* Placeholders still to fill in: shown in green so nothing goes live by accident */
.todo, .todo-inline { background: #E3F8EC; outline: 1px dashed var(--green); }
.todo { padding: 14px 16px; font-size: 16px; }
.todo-inline { padding: 0 4px; }

/* Contact form */
.contact-form { max-width: 560px; margin-top: 28px; }
.contact-form label { display: block; font-size: 15px; font-weight: 600; margin: 0 0 6px; }
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin: 0 0 20px; padding: 12px 14px;
  font: inherit; font-size: 17px; color: var(--ink); background: var(--white);
  border: 1px solid #B9B7B1; border-radius: 4px;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.contact-form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: 15px; color: var(--muted); margin: 0 0 18px; }
.contact-form button {
  font: inherit; font-size: 16px; font-weight: 600; color: var(--white); background: var(--ink);
  border: 0; border-radius: 4px; padding: 13px 26px; cursor: pointer;
}
.contact-form button:hover { background: #2A2D33; }
.contact-form button:disabled { opacity: .6; cursor: default; }
.form-status { margin: 16px 0 0; font-size: 16px; min-height: 1.6em; }
.form-status.ok { color: #0B7A40; }
.form-status.err { color: #B3261E; }

/* Footer */
.site-footer { background: var(--ink); color: var(--white); padding: 56px 0; }
.footer-inner { display: flex; gap: 48px; align-items: flex-start; }
.footer-logo { height: 30px; width: auto; flex-shrink: 0; margin-top: 4px; }
.legal p { margin: 0 0 8px; font-size: 14px; line-height: 1.55; opacity: .8; }
.legal .todo-inline { color: var(--ink); opacity: 1; }
.legal a { color: var(--white); }

/* Phones and small tablets */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { padding: 0 22px; }
  .header-inner { height: auto; padding-top: 16px; padding-bottom: 14px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .logo { height: 28px; }
  nav { gap: 18px; flex-wrap: wrap; }
  nav a { font-size: 14px; }
  .hero-inner { flex-direction: column-reverse; align-items: flex-start; padding-top: 56px; padding-bottom: 64px; gap: 32px; }
  .hero-symbol { width: 120px; }
  h1 { font-size: 40px; }
  .hero-sub { font-size: 19px; }
  .section { padding: 56px 0; scroll-margin-top: 110px; }
  h2 { font-size: 26px; }
  .footer-inner { flex-direction: column; gap: 24px; }
}
