/* Concept 02: Ask for Jamie, ask for Darren. Editorial black and white. */

:root {
  /* colour roles */
  --ink: #0b0b0b;          /* text, black fields */
  --ink-2: #1a1a1a;        /* raised surface on black */
  --paper: #ffffff;        /* page */
  --stone: #f2f1ef;        /* quiet grey field */
  --grey-text: #5c5c5c;    /* secondary text on white (6.7:1) and stone (5.9:1) */
  --grey-text-dark: #a3a3a3; /* secondary text on ink (7.8:1) */
  --rule: #d4d4d4;         /* hairlines on light */
  --rule-dark: #333333;    /* hairlines on ink */
  --cyan: #00afd5;         /* brand accent: tick, one CTA, links on black */
  --cyan-deep: #00728c;    /* cyan for text on white (5.6:1) */

  /* type */
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --fs-small: 0.8125rem;
  --fs-body: 1.0625rem;
  --fs-lede: 1.1875rem;
  --fs-quote: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem);
  --fs-h2: clamp(2.75rem, 1.8rem + 3.6vw, 4.75rem);
  --fs-h1: clamp(3rem, 1.2rem + 5.2vw, 6rem);

  /* spacing */
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2rem;
  --s7: 3rem;
  --s8: 4.5rem;
  --s9: 7rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1320px;

  /* shape */
  --radius: 0;
  --radius-btn: 2px;
  --line: 1px solid var(--rule);
  --line-dark: 1px solid var(--rule-dark);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: italic; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2 { text-wrap: balance; }

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

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: var(--s3) var(--s4); z-index: 100; }
.skip:focus { left: var(--s4); top: var(--s4); }

.tick { width: 1.05em; height: 1.05em; fill: none; stroke: var(--cyan); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ribbon */
.ribbon {
  background: var(--ink);
  color: #d9d9d9;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0.45rem var(--s3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 var(--s5);
  font-family: var(--sans); font-weight: 500; font-size: 0.9375rem; letter-spacing: 0.02em;
  text-decoration: none; border-radius: var(--radius-btn); border: 1px solid transparent;
  cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #333; }
.btn--cyan { background: var(--cyan); color: var(--ink); }
.btn--cyan:hover { background: #2fc3e3; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--stone); }

.link-light { color: var(--cyan); }

/* masthead */
.masthead { background: var(--paper); border-bottom: var(--line); position: sticky; top: 0; z-index: 20; }
.masthead__row { display: flex; align-items: center; gap: var(--s6); min-height: 84px; }
.masthead__logo img { width: 150px; }
.masthead__nav { display: flex; gap: var(--s5); margin-left: auto; }
.masthead__nav a { color: var(--ink); text-decoration: none; font-size: 0.9375rem; font-weight: 500; }
.masthead__nav a:hover { text-decoration: underline; }
.masthead__actions { display: flex; align-items: center; gap: var(--s5); }
.masthead__phone { color: var(--ink); font-weight: 500; text-decoration: none; font-size: 0.9375rem; white-space: nowrap; }
.masthead__phone:hover { text-decoration: underline; }

/* cover (hero) */
.cover { padding: var(--s8) 0 var(--s7); }
.cover__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "head port" "body port"; grid-template-rows: auto 1fr; column-gap: var(--s8); align-items: start; }
.cover__head { grid-area: head; }
.cover__body { grid-area: body; }
.cover__portraits { grid-area: port; }
.kicker { display: flex; align-items: center; gap: var(--s2); font-size: var(--fs-small); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; margin-bottom: var(--s6); }
.cover__title {
  font-family: var(--serif); font-weight: 400;
  font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -0.015em;
  margin-bottom: var(--s6);
}
.cover__title em { font-style: italic; }
.cover__lede { font-size: var(--fs-lede); line-height: 1.55; max-width: 34ch; margin-bottom: var(--s5); }
.cover__own { font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1.3; color: var(--grey-text); max-width: 28ch; padding-left: var(--s4); border-left: 2px solid var(--ink); margin-bottom: var(--s6); }
.cover__cta { display: flex; flex-wrap: wrap; gap: var(--s3); }

.cover__portraits { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.portrait--darren { margin-top: var(--s8); }
.portrait__frame { aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; filter: grayscale(1) contrast(1.04); }
.portrait figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--ink); }
.portrait__name { font-weight: 600; font-size: 1rem; }
.portrait__role { color: var(--grey-text); font-size: var(--fs-small); letter-spacing: 0.08em; text-transform: uppercase; }
.portrait__quote { padding-top: var(--s4); }
.portrait__quote p { font-family: var(--serif); font-style: italic; font-size: var(--fs-quote); line-height: 1.22; }
.portrait__quote cite { display: block; margin-top: var(--s2); font-style: normal; font-size: var(--fs-small); color: var(--grey-text); }

.factline { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: var(--s8); border-top: 1px solid var(--ink); border-bottom: var(--line); }
.factline li { display: flex; align-items: baseline; gap: var(--s3); padding: var(--s5) var(--s4) var(--s5) 0; }
.factline li + li { border-left: var(--line); padding-left: var(--s5); }
.factline strong { font-family: var(--serif); font-weight: 400; font-size: 2.75rem; line-height: 1; }
.factline span { font-size: 0.875rem; color: var(--grey-text); line-height: 1.35; }

/* section heads */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: var(--s8); align-items: end; margin-bottom: var(--s8); }
.section-head__no { font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.14em; color: var(--grey-text); margin-bottom: var(--s4); grid-column: 1 / -1; }
.section-head__no::before { content: "No. "; }
.section-head__no--light { color: var(--grey-text-dark); }
.section-head__title { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.01em; }
.section-head__dek { font-size: var(--fs-lede); color: var(--grey-text); max-width: 42ch; padding-bottom: 0.4rem; }

/* services */
.services { background: var(--stone); padding: var(--s9) 0; }
.services__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); }
.services__label { font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding-bottom: var(--s3); border-bottom: 1px solid var(--ink); }
.index { counter-reset: idx; }
.index li { counter-increment: idx; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: var(--s3); padding: var(--s4) 0; border-bottom: var(--line); }
.index li::before { content: counter(idx, decimal-leading-zero); grid-row: 1 / span 2; font-family: var(--serif); font-size: 1.25rem; line-height: 1.3; color: var(--grey-text); }
.index__name { font-weight: 500; font-size: 1.0625rem; line-height: 1.35; }
.index__line { color: var(--grey-text); font-size: 0.9375rem; line-height: 1.5; text-wrap: pretty; }

/* tax time */
.taxtime { background: var(--ink); color: var(--paper); padding: var(--s9) 0; }
.taxtime__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); align-items: start; }
.taxtime__title { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h2); line-height: 1.04; margin-bottom: var(--s5); }
.taxtime__dek { color: var(--grey-text-dark); font-size: var(--fs-lede); max-width: 32ch; }
.steps li { display: grid; grid-template-columns: 4rem minmax(0, 1fr); column-gap: var(--s5); padding: var(--s5) 0; border-top: var(--line-dark); }
.steps li:last-child { border-bottom: var(--line-dark); }
.steps__no { grid-row: 1 / span 2; font-family: var(--serif); font-size: 3.25rem; line-height: 0.9; color: var(--paper); }
.steps h3 { font-size: 1.25rem; font-weight: 500; line-height: 1.3; margin-bottom: var(--s1); }
.steps p { color: #cfcfcf; }

/* reviews */
.reviews { padding: var(--s9) 0; }
.rating { display: block; font-family: var(--serif); font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.5rem); line-height: 1.1; color: var(--ink); }
.feature-quote { border-top: 1px solid var(--ink); padding-top: var(--s6); margin-bottom: var(--s8); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); column-gap: var(--s8); }
.feature-quote blockquote { grid-column: 2; }
.feature-quote blockquote p { font-family: var(--serif); font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.625rem); line-height: 1.18; letter-spacing: -0.005em; }
.feature-quote blockquote p::before { content: "\201C"; }
.feature-quote blockquote p::after { content: "\201D"; }
.feature-quote figcaption { grid-column: 1; grid-row: 1; font-weight: 600; }
.feature-quote figcaption span { display: block; font-weight: 400; color: var(--grey-text); font-size: var(--fs-small); }

.quotes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s8); row-gap: var(--s7); padding-left: calc(25% + var(--s8) * 0.75); }
.quote { border-top: var(--line); padding-top: var(--s5); }
.quote blockquote p { font-family: var(--serif); font-size: var(--fs-quote); line-height: 1.25; }
.quote blockquote p::before { content: "\201C"; }
.quote blockquote p::after { content: "\201D"; }
.quote figcaption { margin-top: var(--s4); font-size: 0.875rem; font-weight: 600; }
.quote figcaption::after { content: "Google review, 5 stars"; display: block; font-weight: 400; color: var(--grey-text); font-size: var(--fs-small); }

/* about */
.about { background: var(--stone); padding: var(--s9) 0; }
.about__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s8); align-items: center; }
.about__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.about__photo figcaption { margin-top: var(--s3); font-size: var(--fs-small); color: var(--grey-text); }
.about__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.75rem); line-height: 1.05; margin-bottom: var(--s5); }
.about__text > p:not(.section-head__no):not(.about__motto):not(.about__small) { margin-bottom: var(--s4); max-width: 46ch; }
.about__motto { display: flex; align-items: center; gap: var(--s3); font-family: var(--serif); font-size: 2rem; line-height: 1.2; margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--ink); }
.about__small { color: var(--grey-text); font-size: 0.9375rem; margin-top: var(--s2); }

/* team */
.team { padding: var(--s9) 0; }
.team__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 12px; row-gap: var(--s6); }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; filter: grayscale(1); background: var(--stone); margin-bottom: var(--s3); }
.member__name { display: block; font-weight: 500; font-size: 1rem; line-height: 1.3; }
.member__role { display: block; color: var(--grey-text); font-size: 0.875rem; }

/* visit + contact */
.visit { background: var(--ink); color: var(--paper); padding-bottom: var(--s9); }
.visit__photo img { width: 100%; height: clamp(280px, 42vw, 620px); object-fit: cover; object-position: 60% 45%; }
.visit__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s8); padding-top: var(--s8); }
.visit__title { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h2); line-height: 1.04; margin-bottom: var(--s6); }
.details > div { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: var(--s4); padding: var(--s4) 0; border-top: var(--line-dark); }
.details > div:last-child { border-bottom: var(--line-dark); }
.details dt { color: var(--grey-text-dark); font-size: var(--fs-small); letter-spacing: 0.12em; text-transform: uppercase; padding-top: 0.2rem; }
.details dd { font-size: 1.0625rem; overflow-wrap: anywhere; }

.book { background: var(--ink-2); padding: var(--s6); display: grid; gap: var(--s4); align-content: start; }
.book__title { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.1; }
.book__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.book label { display: grid; gap: var(--s1); font-size: var(--fs-small); letter-spacing: 0.06em; color: #d0d0d0; }
.book input, .book select, .book textarea {
  font: inherit; font-size: 1rem; letter-spacing: 0; color: var(--paper);
  background: transparent; border: 0; border-bottom: 1px solid #6a6a6a; border-radius: 0;
  padding: var(--s2) 0; min-height: 44px; width: 100%;
}
.book select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #d0d0d0 50%), linear-gradient(135deg, #d0d0d0 50%, transparent 50%); background-position: calc(100% - 14px) 55%, calc(100% - 9px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.book select option { color: var(--ink); }
.book textarea { resize: vertical; }
.book input:focus, .book select:focus, .book textarea:focus { outline: none; border-bottom-color: var(--cyan); box-shadow: 0 1px 0 var(--cyan); }
.book .btn { justify-self: start; margin-top: var(--s2); }
.book__note { font-size: 0.875rem; color: var(--grey-text-dark); }

/* footer */
.footer { background: var(--ink); color: var(--grey-text-dark); border-top: var(--line-dark); padding: var(--s7) 0; font-size: 0.875rem; }
.footer__grid { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s7); align-items: center; }
.footer__logo { width: 130px; }
.footer__name { color: var(--paper); font-weight: 500; }
.footer__legal { text-align: right; }

/* mobile bar */
.mobilebar { display: none; }

/* ------ responsive ------ */
@media (max-width: 1180px) {
  .masthead__nav { gap: var(--s4); }
  .masthead__phone { display: none; }
}

@media (max-width: 980px) {
  .taxtime__grid, .about__grid, .visit__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s7); }
  .cover__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "port" "body"; grid-template-rows: auto; row-gap: var(--s6); }
  .cover__portraits { max-width: 46rem; }
  .cover__title { font-size: clamp(3rem, 9vw, 5.5rem); }
  .cover__lede, .cover__own { max-width: 40rem; }
  .section-head { grid-template-columns: minmax(0, 1fr); row-gap: var(--s4); }
  .feature-quote { grid-template-columns: minmax(0, 1fr); row-gap: var(--s4); }
  .feature-quote blockquote, .feature-quote figcaption { grid-column: 1; }
  .feature-quote figcaption { grid-row: 2; }
  .quotes { padding-left: 0; column-gap: var(--s6); }
  .team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .factline { grid-template-columns: repeat(2, 1fr); }
  .factline li:nth-child(3) { border-left: 0; padding-left: 0; }
  .factline li:nth-child(n+3) { border-top: var(--line); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .footer__legal { text-align: left; }
}

@media (max-width: 760px) {
  .footer { padding-bottom: calc(var(--s7) + 56px); }
  .ribbon { font-size: min(0.8125rem, 2.35vw); letter-spacing: 0; padding: 0.4rem 0.5rem; }
  .masthead { position: static; }
  .masthead__row { flex-wrap: wrap; gap: var(--s2) var(--s4); min-height: 0; padding-top: var(--s3); padding-bottom: var(--s3); }
  .masthead__logo img { width: 116px; }
  .masthead__actions { margin-left: auto; }
  .masthead__actions .btn { display: none; }
  .masthead__phone { display: inline; }
  .masthead__nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; border-top: var(--line); padding-top: var(--s2); }
  .masthead__nav a { font-size: 0.875rem; padding: var(--s2) 0; }

  .cover { padding-top: var(--s6); }
  .kicker { margin-bottom: var(--s5); letter-spacing: 0.1em; font-size: 0.75rem; }
  .cover__title { font-size: clamp(3rem, 14.6vw, 4.5rem); margin-bottom: var(--s5); }
  .cover__own { font-size: 1.3125rem; }
  .cover__cta .btn { flex: 1 1 100%; }
  .cover__portraits { gap: var(--s3); }
  .portrait--darren { margin-top: var(--s7); }
  .portrait figcaption { flex-direction: column; gap: 0; }
  .portrait__role { font-size: 0.6875rem; }
  .portrait__quote p { font-size: 1.1875rem; }
  .factline { margin-top: var(--s7); }
  .factline li { flex-direction: column; gap: var(--s1); padding: var(--s4) var(--s3) var(--s4) 0; }
  .factline li + li { padding-left: var(--s4); }
  .factline li:nth-child(3) { padding-left: 0; }
  .factline strong { font-size: 2.25rem; }

  .services, .taxtime, .reviews, .about, .team { padding: var(--s8) 0; }
  .section-head { margin-bottom: var(--s7); }
  .services__cols { grid-template-columns: minmax(0, 1fr); gap: var(--s7); }
  .steps li { grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: var(--s4); }
  .steps__no { font-size: 2.5rem; }
  .quotes { grid-template-columns: minmax(0, 1fr); row-gap: var(--s6); }
  .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s5); }
  .member__name { font-size: 0.9375rem; }
  .member__role { font-size: 0.8125rem; }
  .visit { padding-bottom: var(--s8); }
  .visit__grid { padding-top: var(--s7); }
  .details > div { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .book { padding: var(--s5); }
  .book__row { grid-template-columns: minmax(0, 1fr); }

  .mobilebar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    border-top: 1px solid var(--rule-dark);
  }
  .mobilebar a { display: flex; align-items: center; justify-content: center; min-height: 56px; font-weight: 600; font-size: 1rem; letter-spacing: 0.04em; text-decoration: none; background: var(--ink); color: var(--paper); }
  .mobilebar .mobilebar__book { background: var(--cyan); color: var(--ink); }
}
