/* EASE-IT ALL — site styles. One file, no framework, no JavaScript needed. */

@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #2a2224;          /* headings, strong text */
  --text: #6e5f63;         /* body copy */
  --muted: #9a8b8e;        /* small print */
  --accent: #8f5468;       /* buttons, links, numbers */
  --accent-dark: #77435a;  /* button hover */
  --accent-soft: #a66c7f;  /* eyebrow, labels */
  --brand: #c292a0;        /* logo colour */
  --bg: #ffffff;
  --bg-warm: #faf6f5;      /* hero, "who you are hiring" */
  --bg-tint: #f5eced;      /* "how we work", contact */
  --square: #efdde1;
  --square-line: #d3aab6;
  --line: #ebe1e3;
  --card: #ffffff;
  --radius: 2px;
  --wrap: 1120px;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { color: var(--ink); margin: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }
section[id] { scroll-margin-top: 80px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(6px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--accent); }
.brand svg { width: 34px; height: 34px; color: var(--brand); flex: none; }
.brand-name { display: block; font-weight: 600; font-size: 14px; letter-spacing: .02em; line-height: 1.1; color: var(--accent); }
.brand-name span { font-weight: 400; }
.brand-tag { display: block; font-size: 11px; color: var(--brand); line-height: 1.3; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 14.5px; }
.nav a:hover { color: var(--accent); }
.nav .btn { color: #fff; }

/* mobile menu: <details>, works without JavaScript */
.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; font-size: 14px; color: var(--ink);
  border: 1px solid var(--line); padding: 7px 14px; border-radius: var(--radius);
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: var(--accent); }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(42, 34, 36, .08);
  padding: 8px;
}
.menu-panel a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; }
.menu-panel a:hover { background: var(--bg-warm); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font: 500 14.5px/1 var(--sans); text-decoration: none;
  padding: 14px 20px; border-radius: var(--radius); border: 1px solid var(--accent);
  background: var(--accent); color: #fff; transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: #d9cdd0; }
.btn-ghost:hover { background: var(--bg-warm); color: var(--ink); border-color: var(--accent); }
.btn-small { padding: 10px 16px; font-size: 14px; }

/* ---------- shared section parts ---------- */
.section { padding: 96px 0; }
.section.warm { background: var(--bg-warm); }
.section.tint { background: var(--bg-tint); }
.eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 22px;
  font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-soft);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--accent-soft); }
.h2 { font: 400 clamp(32px, 4vw, 40px)/1.1 var(--serif); letter-spacing: -.005em; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  padding-bottom: 22px; margin-bottom: 30px; border-bottom: 1px solid var(--line);
}
.section-head p { margin: 0; max-width: 400px; text-align: right; font-size: 14.5px; }
.section-head.plain { border: 0; padding: 0; display: block; }
.section-head.plain p { text-align: left; max-width: none; margin-top: 10px; }

/* ---------- hero ---------- */
.hero { background: var(--bg-warm); padding: 104px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.hero h1 { font: 400 clamp(42px, 6vw, 64px)/1.04 var(--serif); letter-spacing: -.01em; max-width: 15ch; }
.hero .lead { font-size: 17.5px; line-height: 1.6; max-width: 560px; margin: 28px 0 32px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .note { font-size: 13px; color: var(--muted); margin: 26px 0 0; }
.squares { position: relative; width: min(100%, 300px); aspect-ratio: 1; justify-self: end; margin-top: 30px; }
.squares::before, .squares::after { content: ""; position: absolute; width: 63%; aspect-ratio: 1; }
.squares::before { left: 0; top: 0; border: 1px solid var(--square-line); }
.squares::after { right: 0; bottom: 0; background: var(--square); border: 1px solid var(--square-line); }

/* ---------- cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); padding: 30px 32px 30px; }
.card .num { font-size: 12px; letter-spacing: .08em; color: var(--accent-soft); margin-bottom: 10px; }
.card h3 { font: 600 19px/1.3 var(--sans); margin-bottom: 10px; }
.card p { font-size: 15px; }
.card .ticks { margin: 18px 0 0; border-left: 1px solid var(--line); padding-left: 14px; }
.card .ticks li { font-size: 14px; padding: 3px 0; }
.card .fine { font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.card.plain { padding: 26px 30px; }
.card.plain h3 { font-size: 17.5px; }
.card.plain p { margin: 0; }

/* ---------- selected work (kept hidden until real projects are added) ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.work { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.work-shot { aspect-ratio: 16 / 10; background: var(--bg-tint); overflow: hidden; }
.work-shot img { width: 100%; height: 100%; object-fit: cover; }
.work-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.work-kind { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 6px; }
.work h3 { font: 600 18px/1.3 var(--sans); margin-bottom: 8px; }
.work p { font-size: 14.5px; flex: 1; }
.work a { font-size: 14px; text-decoration: none; }

/* ---------- who you are hiring ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.about .h2 { margin-bottom: 20px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #e3d5d9; background: #fff; }
.stat { padding: 26px 24px 28px; }
.stat:nth-child(odd) { border-right: 1px solid #e3d5d9; }
.stat:nth-child(-n+2) { border-bottom: 1px solid #e3d5d9; }
.stat b { display: block; font: 400 34px/1.1 var(--serif); color: var(--accent-soft); margin-bottom: 8px; }
.stat span { font-size: 13.5px; line-height: 1.45; display: block; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.contact .h2 { font-size: clamp(34px, 4.4vw, 44px); margin-bottom: 20px; }
.contact-card { background: #fff; border: 1px solid var(--line); padding: 30px 32px; }
.contact-card .label { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.channel { padding: 0 0 20px; }
.channel + .channel { border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 0; }
.channel small { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 2px; }
.channel a { font-size: 21px; text-decoration: none; word-break: break-word; }
.channel a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 40px; font-size: 13px; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.site-footer address { font-style: normal; line-height: 1.7; text-align: right; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }

/* ---------- legal / simple pages ---------- */
.page { padding: 80px 0 96px; background: var(--bg-warm); }
.page .wrap { max-width: 760px; }
.page h1 { font: 400 clamp(36px, 5vw, 48px)/1.1 var(--serif); margin-bottom: 10px; }
.page h2 { font: 600 18px/1.3 var(--sans); margin: 34px 0 10px; }
.page .meta { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.page ul { list-style: disc; padding-left: 22px; margin: 0 0 1em; }
.page li { margin: 4px 0; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .nav { display: none; }
  .menu { display: block; }
  .hero { padding: 64px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .squares { display: none; }
  .section { padding: 72px 0; }
  .about, .contact { grid-template-columns: 1fr; gap: 36px; }
  .work-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .grid-2, .work-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head p { text-align: left; margin-top: 10px; }
  .card { padding: 24px 22px; }
  .hero .actions .btn { flex: 1 1 auto; text-align: center; }
  .site-footer address { text-align: left; }
  .contact-card { padding: 24px 22px; }
}

@media print {
  .site-header, .menu, .hero .actions { display: none; }
  .section, .hero { padding: 28px 0; }
}
