/* ============================================================
   EDITORIAL — journal index and article pages
   Built on the tokens in styles.css. Nothing here restyles the homepage.
   ============================================================ */

/* Pages with a fixed nav and no full-bleed hero need their own top offset,
   or the first line sits underneath the bar. */
.stories,
.article,
.svc,
.svcIndex {
  /* the bar is a fixed ~87px, so clearance is stated in pixels and only the
     breathing room above that scales with the viewport */
  padding: calc(88px + clamp(46px, 7vh, 104px)) var(--gutter) var(--section);
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- stories index ----------
   Image-led and centred: on a photography site the photograph is the
   headline's equal, so each entry is eyebrow, title, rule, frame, then a
   single quiet way in. A rule closes each one so the page reads as a stack
   of distinct stories rather than a feed. */
.stories { max-width: 1000px; }   /* narrower than the shared 1200 */
.stories__head {
  margin: clamp(40px, 7vh, 84px) 0 clamp(52px, 9vh, 104px);
  text-align: center;
}
.stories__kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 26px;
}
.stories__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5.4vw, 78px);
  line-height: 1.04;
  letter-spacing: .01em;
}
.stories__intro {
  margin: 28px auto 0;
  max-width: 48ch;
  color: var(--steel);
  font-size: clamp(15px, 1.4vw, 17px);
}
.stories__empty { text-align: center; color: var(--steel); }

.story {
  text-align: center;
  padding-bottom: clamp(48px, 7vh, 84px);
  margin-bottom: clamp(48px, 7vh, 84px);
  border-bottom: 1px solid var(--hairline);
}
.story:last-child { border-bottom: 0; margin-bottom: 0; }

.story__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.story__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 50px);
  line-height: 1.1;
  letter-spacing: .01em;
  text-wrap: balance;
}
.story__title a { transition: color .3s ease; }
.story__title a:hover { color: var(--red); }
.story__title a:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

/* the short centred divider under the headline */
.story__rule {
  display: block;
  width: 46px;
  height: 1px;
  margin: 26px auto clamp(28px, 4vh, 44px);
  background: var(--steel);
}

.story__frame { display: block; overflow: hidden; }
.story__frame img {
  width: 100%;
  height: auto;
  transition: transform 1.1s cubic-bezier(.22,.61,.36,1);
}
@media (hover: hover) and (pointer: fine) {
  .story__frame:hover img { transform: scale(1.03); }
}

.story__summary {
  margin: clamp(26px, 4vh, 40px) auto 0;
  max-width: 56ch;
  color: var(--steel);
  line-height: 1.75;
}
.story__more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: clamp(20px, 3vh, 32px);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--red);
  padding-bottom: 3px;
  transition: color .3s ease;
}
.story__more:hover { color: var(--red); }
.story__more:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- article ---------- */
.article { max-width: 860px; }
.article__head {
  margin: clamp(40px, 7vh, 84px) 0 clamp(30px, 4vh, 48px);
  text-align: center;
}
/* the same short divider the stories index uses, so a story and its listing
   read as the same object */
.article__head::after {
  content: "";
  display: block;
  width: 46px;
  height: 1px;
  margin: clamp(28px, 4vh, 40px) auto 0;
  background: var(--steel);
}
.article__market {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
}
.article__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 5.2vw, 68px);
  line-height: 1.06;
  letter-spacing: .01em;
  text-wrap: balance;
}
.article__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--steel);
}
.article__standfirst {
  margin: 28px auto 0;
  max-width: 54ch;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.6;
  color: var(--steel);
}
.article__hero { margin: clamp(34px, 5vh, 62px) 0; }
.article__hero img { width: 100%; height: auto; }
.article__hero figcaption {
  margin-top: 14px;
  font-size: 12px;
  color: var(--steel);
}

/* ---------- prose ----------
   One measure, one rhythm. More space above a heading than below it, so the
   gap reads as a boundary between sections rather than padding on the text. */
.prose { max-width: 68ch; margin-inline: auto; }
.prose > * + * { margin-top: 1.3em; }
.prose p { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.75; text-wrap: pretty; }
.prose h2 {
  margin-top: 2.4em;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.2;
}
.prose h3 {
  margin-top: 2em;
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 500;
  letter-spacing: .01em;
}
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose li { line-height: 1.7; }
.prose a {
  color: var(--ink);
  border-bottom: 1px solid var(--red);
  transition: color .3s ease, background .3s ease;
}
.prose a:hover { color: var(--red); }
.prose a:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.prose blockquote {
  margin-left: 0;
  padding-left: 1.2em;
  border-left: 1px solid var(--red);
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.35;
  color: var(--ink);
}
.prose img { width: 100%; height: auto; margin-block: 1.6em; }
.prose code {
  font-size: .9em;
  padding: .15em .4em;
  background: var(--paper-2);
  border-radius: 2px;
}
.prose hr { height: 1px; border: 0; background: var(--hairline); margin-block: 2.6em; }

/* ---------- closing CTA ---------- */
.article__cta {
  margin-top: clamp(56px, 9vh, 104px);
  padding: clamp(34px, 5vw, 56px);
  background: var(--void);
  color: var(--paper);
}
.article__cta h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.15;
  color: var(--paper);
}
.article__cta p {
  margin-top: 16px;
  max-width: 46ch;
  color: color-mix(in srgb, var(--paper) 70%, transparent);
}
.article__cta-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 30px;
  padding: 12px 26px;
  border: 1px solid color-mix(in srgb, var(--paper) 40%, transparent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  transition: border-color .3s ease, color .3s ease, background .3s ease;
}
.article__cta-btn:hover { border-color: var(--red); background: var(--red); color: var(--white); }
.article__cta-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

/* ---------- related ---------- */
.article__related { margin-top: clamp(56px, 8vh, 90px); }
.article__related h2 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 10px;
}
.article__related ul { list-style: none; }
.article__related li { border-top: 1px solid var(--hairline); }
.article__related a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0;
  transition: color .3s ease;
}
.article__related a:hover { color: var(--red); }
.article__related a:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.article__related-title { font-family: var(--serif); font-size: clamp(18px, 2vw, 24px); font-weight: 300; }
.article__related-market {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--steel);
}

@media (max-width: 760px) {
  .article__cta { padding: 32px 24px; }
}

/* ============================================================
   SERVICE PAGES
   One page per discipline, each running the studio's flight path through
   its own process. Built on the same tokens as everything else.
   ============================================================ */
.svc__head { margin: clamp(40px, 7vh, 84px) 0 clamp(30px, 4vh, 48px); max-width: 30ch; }
.svc__num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .32em;
  color: var(--red);
  margin-bottom: 20px;
}
.svc__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: .01em;
  text-wrap: balance;
}
.svc__standfirst {
  margin-top: 26px;
  max-width: 46ch;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.6;
  color: var(--steel);
}

/* the booking action, repeated at the top and the bottom of the page so it
   is never more than a screen away */
.svc__book {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 30px;
  padding: 12px 26px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.svc__book:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.svc__book:active { transform: translateY(1px); }
.svc__book:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

.svc__hero { margin: clamp(34px, 5vh, 62px) 0; }
.svc__hero img { width: 100%; height: auto; }

.svc__intro { max-width: 68ch; }
.svc__intro p { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.75; text-wrap: pretty; }
.svc__intro p + p { margin-top: 1.3em; }

/* the flight path, inside a service page */
.svc__traj { margin-top: clamp(56px, 9vh, 104px); }
.svc__traj .traj__title { font-size: clamp(22px, 2.4vw, 32px); }

/* two plain columns: what arrives, and what we need to start */
.svc__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(30px, 5vw, 72px);
  margin-top: clamp(56px, 9vh, 104px);
  padding-top: clamp(34px, 5vh, 56px);
  border-top: 1px solid var(--hairline);
}
.svc__colTitle {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 22px;
}
.svc__list { list-style: none; }
.svc__list li {
  padding: 14px 0 14px 22px;
  border-top: 1px solid var(--hairline);
  position: relative;
  line-height: 1.6;
}
.svc__list li:first-child { border-top: 0; padding-top: 0; }
.svc__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 9px;
  height: 1px;
  background: var(--red);
}
.svc__list li:first-child::before { top: 10px; }

/* proof, linked straight through to the project */
.svc__related { margin-top: clamp(56px, 9vh, 104px); }
.svc__relList {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 3vw, 34px);
}
.svc__relList a { display: grid; gap: 10px; }
.svc__relList img { width: 100%; height: auto; }
.svc__relCat {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--red);
}
.svc__relTitle {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
  transition: color .3s ease;
}
.svc__relList a:hover .svc__relTitle { color: var(--red); }
.svc__relList a:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

.svc__close { margin-top: clamp(56px, 9vh, 104px); }

.svc__also { margin-top: clamp(48px, 7vh, 80px); }
.svc__also ul { list-style: none; }
.svc__also li { border-top: 1px solid var(--hairline); }
.svc__also a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0;
  transition: color .3s ease;
}
.svc__also a:hover { color: var(--red); }
.svc__also a:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.svc__also span { font-family: var(--serif); font-size: clamp(18px, 2vw, 24px); font-weight: 300; }
.svc__also em {
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ---------- services index ---------- */
.svcIndex__head { margin: clamp(48px, 8vh, 96px) 0 clamp(52px, 9vh, 104px); text-align: center; }
.svcIndex__head .stories__intro { margin-inline: auto; }
.svcIndex__list { list-style: none; display: grid; gap: clamp(30px, 4vw, 56px); }

.svcCard { border-top: 1px solid var(--hairline); }
.svcCard a {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(18px, 3vw, 42px);
  align-items: start;
  padding: clamp(26px, 4vh, 44px) 0;
}
.svcCard__num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .26em;
  color: var(--steel);
  padding-top: 6px;
}
.svcCard__frame { display: block; overflow: hidden; }
.svcCard__frame img {
  width: 100%;
  height: auto;
  transition: transform 1.1s cubic-bezier(.22,.61,.36,1);
}
@media (hover: hover) and (pointer: fine) {
  .svcCard a:hover .svcCard__frame img { transform: scale(1.04); }
}
.svcCard__body { display: grid; gap: 12px; align-content: start; }
.svcCard__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.1;
  transition: color .3s ease;
}
.svcCard a:hover .svcCard__title { color: var(--red); }
.svcCard a:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
.svcCard__desc { color: var(--steel); line-height: 1.65; max-width: 46ch; }
.svcCard__more {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink);
}

@media (max-width: 860px) {
  .svc__cols { grid-template-columns: 1fr; }
  .svcCard a { grid-template-columns: 1fr; gap: 16px; }
  .svcCard__num { padding-top: 0; }
}

/* a service with no published work yet holds its column rather than
   collapsing the row, and rather than borrowing a frame from another job */
.svcCard__frame--empty {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--paper-2);
  border: 1px solid var(--hairline);
}

/* ============================================================
   PHOTO JOB PAGES
   One page per shoot, laid out as a collage of that job's frames.
   ============================================================ */
.job {
  padding: calc(88px + clamp(46px, 7vh, 104px)) var(--gutter) var(--section);
  max-width: 1200px;
  margin: 0 auto;
}

.job__head { margin-bottom: clamp(30px, 4vh, 48px); max-width: 34ch; }
.job__cat {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.job__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: .01em;
}
.job__sub {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--steel);
}
.job__summary {
  margin-top: 24px;
  max-width: 50ch;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.65;
  color: var(--steel);
}

.job__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(18px, 3vw, 42px);
  padding: clamp(22px, 3vh, 32px) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: clamp(34px, 5vh, 62px);
}
.job__facts dt {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 8px;
}
.job__facts dd { margin: 0; font-size: 15px; line-height: 1.5; }

/* The collage. The lead frame takes the space, the rest fall in around it,
   so a job with three frames does not read as three identical thumbnails. */
.collage { display: grid; gap: clamp(10px, 1.4vw, 20px); }
.collage__item { margin: 0; overflow: hidden; cursor: zoom-in; }
.collage__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(.22,.61,.36,1);
}
@media (hover: hover) and (pointer: fine) {
  .collage__item:hover img { transform: scale(1.03); }
}

.collage--1 { grid-template-columns: 1fr; }
.collage--2 { grid-template-columns: repeat(2, 1fr); }
.collage--3 { grid-template-columns: repeat(2, 1fr); }
.collage--3 .collage__item:first-child { grid-row: span 2; }
.collage--4 { grid-template-columns: repeat(2, 1fr); }
.collage--5,
.collage--6 { grid-template-columns: repeat(3, 1fr); }
.collage--5 .collage__item:first-child,
.collage--6 .collage__item:first-child { grid-column: span 2; grid-row: span 2; }

.job__body { max-width: 68ch; margin-top: clamp(34px, 5vh, 62px); }
.job__body p { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.75; text-wrap: pretty; }
.job__body p + p { margin-top: 1.3em; }
.job__cta { margin-top: clamp(56px, 9vh, 104px); }
.job__next { margin-top: clamp(48px, 7vh, 80px); }

@media (max-width: 700px) {
  .collage--2,
  .collage--3,
  .collage--4,
  .collage--5,
  .collage--6 { grid-template-columns: 1fr; }
  .collage--3 .collage__item:first-child,
  .collage--5 .collage__item:first-child,
  .collage--6 .collage__item:first-child { grid-row: auto; grid-column: auto; }
}


/* ------------------------------------------------------------------------
   Mobile legibility. editorial.css loads after styles.css, so the phone
   override for anything defined here has to live here too.
   ------------------------------------------------------------------------ */
@media (max-width: 760px) {
  .svc__relCat { font-size: 11px; }
}
