/* NFR-0001-7cae9: Shared presentation-derived colour, type and component system. */
:root {
  --ink: #252832;
  --dusk: #414854;
  --mist: #e5ddd2;
  --accent: #b56f52;
  --accent-light: #d89476;
  --accent-dark: #824b38;
  --paper: #f8f5f1;
  --surface: #efe9e2;
  --line: #cfc4ba;
  --stone: #b0a39a;
  --white: #fffcf7;
  --content: 74rem;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
  color-scheme: light;
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 6rem;
  background: var(--paper);
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a {
  color: inherit;
  text-underline-offset: 0.25em;
}
button,
input,
textarea {
  font: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.045em;
}
h2 {
  font-size: clamp(2.4rem, 4.6vw, 4.1rem);
  font-weight: 620;
}
h3 {
  font-size: 1.55rem;
  font-weight: 650;
}
p {
  max-width: 65ch;
}
p + p {
  margin-top: 1rem;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: var(--accent);
  color: var(--white);
}
.container {
  width: min(var(--content), calc(100% - 6rem));
  margin-inline: auto;
}
.section {
  padding-block: 7rem;
}
.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  vertical-align: middle;
}
.mono,
.eyebrow {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
}
.eyebrow {
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 1.6rem;
  font-weight: 600;
}
.section-lead {
  color: var(--dusk);
  font-size: 1.08rem;
  line-height: 1.75;
  margin-top: 1.75rem;
  max-width: 48ch;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-block: 0.5rem;
}
.text-link:hover {
  color: var(--accent-dark);
}
.button {
  display: inline-flex;
  gap: 1.5rem;
  align-items: center;
  padding: 1rem 1.3rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 650;
}
.button--light {
  background: var(--mist);
  color: var(--ink);
}
.button:hover {
  background: var(--accent-light);
}
.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 30;
  background: var(--white);
  color: var(--ink);
  padding: 1rem;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background: var(--ink);
  color: var(--white);
  border-bottom: 1px solid #4b4b51;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.055em;
}
.wordmark__dot {
  color: var(--accent-light);
}
nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}
/* REQ-UX-0001-98c69: All primary links share the same structure and treatment. */
.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid transparent;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}
.nav-link:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent-light);
}
.hero {
  background: var(--ink);
  color: var(--white);
  padding: 4.5rem 0 1.4rem;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 2rem;
  align-items: center;
}
.hero .eyebrow {
  color: var(--accent-light);
}
h1 {
  font-size: clamp(3.6rem, 6.6vw, 6.6rem);
  line-height: 1.01;
  font-weight: 620;
  letter-spacing: -0.065em;
}
h1 em {
  font-style: normal;
  color: var(--accent-light);
}
.hero__statement {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--mist);
  margin: 2rem 0;
  max-width: 43ch;
}
.hero__art {
  min-width: 0;
}
.hero__art img {
  width: 100%;
}
.hero__art figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font:
    0.55rem/1.5 ui-monospace,
    monospace;
  letter-spacing: 0.08em;
  color: var(--stone);
  padding-top: 1rem;
}
.hero__foot {
  border-top: 1px solid #53515a;
  padding-top: 1.3rem;
  margin-top: 4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--stone);
  font-size: 0.75rem;
}
.hero__foot a {
  text-decoration: none;
  color: var(--mist);
}
.hero__foot a span {
  margin-left: 1rem;
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  margin-bottom: 3.4rem;
}
.section-heading > .eyebrow {
  padding-top: 0.6rem;
}
.modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.module {
  padding: 2rem;
  border-right: 1px solid var(--line);
}
.module:first-child {
  padding-left: 0;
}
.module:last-child {
  border-right: 0;
  padding-right: 0;
}
.module__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.3rem;
  color: var(--accent-dark);
}
.module__top > .icon {
  width: 2.1rem;
  height: 2.1rem;
}
.module h3 {
  margin-bottom: 1rem;
}
.module p {
  color: var(--dusk);
  font-size: 0.95rem;
  min-height: 7rem;
}
.module .text-link {
  margin-top: 1rem;
}
.module-note {
  margin-top: 1.6rem;
  font-size: 0.85rem;
  color: var(--dusk);
}
.consulting {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.consulting__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}
.consulting .text-link {
  margin-top: 2rem;
}
.services {
  display: grid;
  gap: 2rem;
}
.service {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1.2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.service:last-child {
  padding-bottom: 0;
  border: 0;
}
.service > .icon {
  color: var(--accent-dark);
}
.service h3 {
  font-size: 1.23rem;
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.service p {
  font-size: 0.95rem;
  color: var(--dusk);
  margin-top: 0.7rem;
}
.stories {
  border-top: 1px solid var(--line);
  margin-bottom: 2rem;
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  display: flex;
  gap: 2rem;
  align-items: center;
  padding: 1.65rem 0.25rem;
  cursor: pointer;
  list-style: none;
  font-size: 1.6rem;
  font-weight: 550;
  letter-spacing: -0.03em;
}
summary::-webkit-details-marker {
  display: none;
}
summary .mono {
  color: var(--accent-dark);
  font-weight: 400;
}
summary .icon {
  margin-left: auto;
  color: var(--accent-dark);
}
details[open] summary .icon {
  transform: rotate(45deg);
}
details > p {
  margin: 0 3.4rem 2rem;
  color: var(--dusk);
  max-width: 62ch;
}
.about {
  background: var(--ink);
  color: var(--mist);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 7rem;
  align-items: center;
}
.about__portrait {
  border: 1px solid #67626a;
  min-height: 26rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 2rem;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 39px,
    #ffffff06 40px
  );
}
.about__portrait > img {
  align-self: center;
  width: 110px;
}
.about__initial {
  font-size: 5rem;
  letter-spacing: -0.08em;
  line-height: 1;
}
.about__initial > span {
  color: var(--accent-light);
}
.about__portrait .mono {
  font-size: 0.65rem;
  color: var(--stone);
}
.about .eyebrow {
  color: var(--accent-light);
}
.about h2 {
  color: var(--white);
}
.about__lead {
  font-size: 1.3rem;
  margin: 1.8rem 0 1rem;
}
.about p:not(.eyebrow) {
  max-width: 48ch;
}
.about__themes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.8rem 0;
}
.about__themes span {
  padding: 0.3rem 0.65rem;
  border: 1px solid #777481;
  font-size: 0.7rem;
}
.about .text-link:hover {
  color: var(--accent-light);
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}
.email-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  margin-top: 2rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.5rem;
}
.contact__privacy {
  font-size: 0.8rem;
  color: var(--dusk);
  margin-top: 2rem;
  max-width: 37ch;
}
.contact__panel {
  background: var(--surface);
  padding: 2rem;
  border: 1px solid var(--line);
}
form {
  display: grid;
  gap: 1.2rem;
}
.field {
  display: grid;
  gap: 0.45rem;
}
label {
  font-size: 0.8rem;
  font-weight: 650;
}
input,
textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--stone);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
}
input {
  min-height: 3rem;
}
textarea {
  resize: vertical;
  min-height: 8rem;
}
.field__hint,
.form-note {
  font-size: 0.7rem;
  color: var(--dusk);
}
button {
  border: 1px solid var(--ink);
  padding: 0.9rem 1.2rem;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  justify-self: start;
  font-size: 0.88rem;
}
button:hover {
  background: var(--dusk);
}
button:disabled {
  background: var(--line);
  color: var(--dusk);
  border-color: var(--line);
  cursor: not-allowed;
}
.honeypot,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.form-status {
  padding: 1rem;
  border-left: 3px solid var(--accent-dark);
  background: var(--paper);
}
.form-status h3 {
  font-size: 1.2rem;
}
.form-status p {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}
.contact__panel.is-unconfigured form::before {
  content: "The contact form is being prepared. Please email us using the link alongside it.";
  display: block;
  background: var(--paper);
  border-left: 3px solid var(--accent);
  padding: 1rem;
  font-size: 0.8rem;
}
.is-unconfigured .form-note {
  display: none;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-block: 2rem;
}
.site-footer p,
.site-footer > a:not(.wordmark),
.site-footer small {
  font-size: 0.7rem;
}
.site-footer p {
  color: var(--dusk);
}
@media screen and (min-width: 1600px) {
  .hero {
    padding-top: 6rem;
  }
  .hero__foot {
    margin-top: 5rem;
  }
}
@media screen and (max-width: 1000px) {
  .container {
    width: calc(100% - 4rem);
  }
  .site-header {
    padding-inline: 2rem;
  }
  .consulting__grid,
  .about__grid,
  .contact {
    gap: 3rem;
  }
  .module {
    padding: 1.5rem;
  }
  .hero__art figcaption span:last-child {
    display: none;
  }
  .section {
    padding-block: 5rem;
  }
  .about__portrait {
    min-height: 23rem;
  }
}
@media screen and (max-width: 720px) {
  .container {
    width: calc(100% - 2rem);
  }
  .site-header {
    padding: 0.8rem 1rem;
  }
  .wordmark {
    font-size: 1.1rem;
  }
  .wordmark img {
    width: 30px;
  }
  nav {
    gap: 0;
  }
  .nav-link {
    font-size: 0.72rem;
    padding: 0.5rem 0.3rem;
  }
  .hero {
    padding-top: 3rem;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  h1 {
    font-size: clamp(3.7rem, 12vw, 5.5rem);
  }
  .hero__statement {
    font-size: 0.95rem;
  }
  .hero__art {
    width: min(85%, 25rem);
    margin-inline: auto;
  }
  .hero__art figcaption {
    justify-content: center;
  }
  .hero__foot {
    margin-top: 2rem;
    font-size: 0.65rem;
  }
  .hero__foot > span {
    max-width: 18ch;
  }
  .section {
    padding-block: 4rem;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 2rem;
  }
  .section-heading > .eyebrow {
    margin-bottom: 1.2rem;
  }
  .modules {
    grid-template-columns: 1fr;
  }
  .module,
  .module:first-child,
  .module:last-child {
    padding: 2rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .module:last-child {
    border-bottom: 0;
  }
  .module__top {
    margin-bottom: 1.2rem;
  }
  .module p {
    min-height: 0;
    max-width: 44ch;
  }
  .module .text-link {
    margin-top: 0.6rem;
  }
  .consulting__grid,
  .about__grid,
  .contact {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about__portrait {
    min-height: 19rem;
    max-width: 28rem;
    width: 100%;
  }
  .about__portrait > img {
    width: 80px;
  }
  .about__initial {
    font-size: 4rem;
  }
  .contact__panel {
    padding: 1.25rem;
  }
  .stories summary {
    font-size: 1.1rem;
    gap: 1rem;
  }
  details > p {
    margin-left: 2rem;
    margin-right: 0.5rem;
    font-size: 0.9rem;
  }
  .site-footer {
    gap: 1.2rem;
  }
  .site-footer p {
    order: 4;
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
@media print {
  @page {
    size: A4;
    margin: 15mm;
  }
  html,
  body {
    background: white;
    color: #252832;
  }
  .site-header,
  .skip-link,
  .hero__art,
  .hero__foot,
  .about__portrait {
    display: none;
  }
  .container {
    width: 100%;
  }
  .section,
  .hero {
    padding: 1.5rem 0;
    background: white;
    color: #252832;
  }
  .hero__grid,
  .section-heading,
  .consulting__grid,
  .about__grid,
  .contact {
    display: block;
  }
  .hero .eyebrow,
  .about .eyebrow,
  .about h2,
  h1 em {
    color: #824b38;
  }
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2rem;
  }
  .hero__statement {
    color: #414854;
  }
  .section-lead {
    margin-top: 1rem;
  }
  .module {
    padding: 1rem !important;
  }
  .module p {
    min-height: 0;
  }
  .module .text-link {
    display: none;
  }
  .modules,
  .service,
  details,
  .contact__panel {
    break-inside: avoid;
  }
  .about__themes span {
    border-color: #414854;
  }
  .about .text-link {
    color: #252832;
  }
  .contact__panel {
    margin-top: 1rem;
  }
  .section-heading {
    margin-bottom: 1rem;
  }
  .section-heading > .eyebrow {
    margin-bottom: 0.5rem;
  }
  .services {
    margin-top: 1rem;
  }
  .site-footer {
    padding-block: 1rem;
  }
  .button {
    border: 1px solid #252832;
  }
  .hero__content .button {
    display: none;
  }
  summary {
    font-size: 1.2rem;
  }
  h2,
  h3 {
    break-after: avoid;
  }
  p {
    orphans: 3;
    widows: 3;
  }
}

@media print {
  details::details-content {
    content-visibility: visible;
    block-size: auto;
  }
}

/* REQ-WEB-0001-e71be: Consulting-first reading order and founder introduction. */
.founder {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 2rem;
  padding-block: 3rem;
  align-items: center;
}
.founder__photo {
  width: 8rem;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--dusk);
  font-size: 0.8rem;
}
.founder__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}
.founder p:last-child {
  max-width: 68ch;
  color: var(--dusk);
}
.founder .eyebrow {
  margin-bottom: 0.5rem;
}
.review-outputs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  border-block: 1px solid var(--line);
  padding-block: 2rem;
  margin: 2.5rem 0 2rem;
}
.review-outputs h3 {
  font-size: 1.35rem;
  margin: 1rem 0;
}
.review-outputs p {
  color: var(--dusk);
}
.review-note {
  margin-top: 1.5rem;
  color: var(--dusk);
  font-size: 0.85rem;
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
  max-width: 65ch;
}
.evidence {
  background: var(--surface);
}
.evidence__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}
@media screen and (max-width: 720px) {
  .founder {
    grid-template-columns: 5rem minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
  }
  .founder__photo {
    width: 5rem;
    font-size: 0.65rem;
  }
  .review-outputs,
  .evidence__grid {
    grid-template-columns: 1fr;
  }
  .review-outputs {
    gap: 2rem;
  }
  .hero .button {
    max-width: 100%;
    font-size: 0.85rem;
  }
}

.founder__role {
  font-weight: 650;
  margin-bottom: 1rem;
}

/* REQ-WEB-0001-e71be: Short anonymised engagement summaries, with pilot limits beside results. */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
}
.experience-grid article {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.experience-grid h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.experience-grid p {
  color: var(--dusk);
  max-width: 60ch;
}
.experience-grid .eyebrow {
  color: var(--accent-dark);
}
.experience-note {
  font-size: 0.85rem;
  margin-top: 1rem;
}
@media screen and (max-width: 720px) {
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
  min-height: 2.75rem;
  font-weight: 600;
  color: var(--accent-dark);
}
