/* Homepage copy review: existing section patterns, with room for complete explanations. */
/* Homepage hero from Figma: the wordmark is a separate row below the wine-coloured panel. */
.editorial .home-header{height:var(--header-h);}
.home-header .nav-services .chevron{transform:rotate(180deg);}
.home-header .services-toggle[aria-expanded="true"] .chevron{transform:none;}
.home-header .nav-book-call img{display:block;}

.home-hero{container-type:inline-size;overflow:clip;}
.editorial .home-hero .hero-shot{
  background:
    radial-gradient(62% 85% at 78% 28%,var(--red) 0%,color-mix(in srgb,var(--red) 55%,transparent) 32%,transparent 68%),
    radial-gradient(48% 55% at 16% 85%,color-mix(in srgb,var(--red) 70%,var(--night)) 0%,transparent 62%),
    linear-gradient(135deg,var(--night) 0%,var(--home-hero-wine) 58%,var(--night) 100%);
}
.home-hero .hero-shot::after{position:absolute;inset:0;}
.home-hero .hero-shot::after{
  content:"";
  z-index:1;
  background:var(--home-hero-video-overlay);
  pointer-events:none;
}
.editorial .home-hero .hero-meta-top{
  top:auto;
  bottom:var(--hero-pad);
  display:grid;
  gap:var(--home-hero-content-gap);
  letter-spacing:normal;
}
.home-hero-copy,.home-hero-details{display:grid;grid-template-columns:49% 23.6%;justify-content:space-between;}
.home-hero-copy{align-items:end;grid-template-columns:max(49%,calc(var(--home-hero-title) * 7.7)) 23.6%;}
.editorial .home-hero .hero-tagline{margin:0;max-width:none;gap:var(--gutter);}
.editorial .home-hero .hero-tagline .hero-positioning{
  font-family:var(--serif);
  font-size:var(--home-hero-title)!important;
  line-height:var(--home-hero-title-lh)!important;
  letter-spacing:var(--sf-ls)!important;
  max-width:7.7em; /* "A creative partner / who thinks it through / and brings it to life." on three lines */
}
.home-kicker,.home-hero-intro{margin:0;color:var(--white);font-weight:var(--font-medium);}
.home-kicker{font-size:var(--text-15);line-height:var(--lh-body);}
.home-hero-intro{font-size:var(--home-hero-body);line-height:1.5;}
.editorial .home-hero .hero-local-time{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:0;
}
.home-hero-details{
  padding-top:.75rem;
  border-top:1px solid var(--white-70);
}
/* The homepage hero has no buttons, so the local-time row is the grid's only child -- span both
   columns instead of sitting in the first 49% one, so the social links can reach the right edge. */
.home-hero-details .hero-local-time{grid-column:1 / -1;}
/* The 3 links space-between across the same width as the paragraph's own column (23.6%/36%/100%
   at each breakpoint below), not just hugging their own text (owner rule, 2026-11-20). */
.home-hero-social{display:flex;justify-content:space-between;width:23.6%;}
.home-hero .hero-local-time span,.home-hero-social{
  font-size:var(--text-xs);
  line-height:var(--lh-meta);
  letter-spacing:normal;
  font-weight:var(--font-medium);
}
.home-hero .hero-time{font-variant-numeric:tabular-nums;}
.home-hero-social a{transition:opacity .25s;}
@media (hover: hover){
.home-hero-social a:hover{opacity:.7;}}
.editorial .home-hero .mega-wordmark{
  padding:var(--home-hero-wordmark-gap) var(--hero-edge) 0;
  color:var(--ink);
  font-size:var(--home-hero-wordmark-size);
  line-height:.88;
  overflow:visible;
}
.home-hero .particle-wordmark-copy{left:-.019em;}

/* All homepage section headings follow the introduction's display size. */
.editorial :is([data-page="home"],[data-page="landing"]) :is(.intro-statement,.intro-statement span,.section-heading-line > h2){
  font-size:var(--home-section-title);
}
.editorial :is([data-page="home"],[data-page="landing"]) .section-heading-line > h2{margin-block-end:0;}
.editorial :is([data-page="home"],[data-page="landing"]) :is(.section-heading-line > p,.intro-section .intro-lower){
  margin-block-start:var(--home-section-heading-gap);
}

/* The introduction label and heading share the top of the existing grid row. */
.editorial .intro-section .section-grid-intro{align-items:start;}
.editorial .intro-section .intro-statement{margin:0;}
@media(min-width:1000px){
 .editorial .intro-section .intro-statement{max-width:var(--home-intro-title-width);}
}
@media(max-width:999px){
 .editorial .intro-section .section-grid-intro{row-gap:var(--gutter);}
}

.editorial .intro-section .intro-copy{
  display:grid;
  justify-items:start;
  gap:var(--home-intro-copy-gap);
  margin-bottom:0;
}
.editorial .intro-section .intro-copy p{
  max-width:none;
  margin:0;
  font-size:var(--fs-text);
  line-height:var(--home-intro-copy-lh);
  letter-spacing:normal;
}
.editorial main .pill.home-pill{
  min-height:var(--home-pill-height);
  border:0;
  border-radius:var(--home-pill-height);
  padding:0 1rem;
  gap:.625rem;
  background:var(--ink);
  color:var(--white);
}
@media (hover: hover){
.editorial main .pill.home-pill:hover{background:var(--wine);}}
.editorial main .pill.home-pill.white{background:var(--white);color:var(--ink);}
@media (hover: hover){
.editorial main .pill.home-pill.white:hover{background:var(--surface);}}
.editorial :is([data-page="home"],[data-page="landing"]) .flow-section .section-heading-line{border-top:0;}
.editorial :is([data-page="home"],[data-page="landing"]) .flow-section .section-heading-line h2 em{white-space:nowrap;}
.editorial .section-heading-line > .home-process-action{
  grid-column:1 / -1;
  justify-self:start;
  margin-top:2rem;
}
.editorial .intro-copy .home-pill{margin-top:var(--home-intro-button-gap);}
.editorial .work-section .more-work{margin-top:calc(1.5 * var(--gutter));}
.editorial :is([data-page="home"],[data-page="landing"]) #pricing .section-heading-line{border-top:0;padding-block:0;}
.editorial .home-articles + .questions-section{padding-block-start:var(--section-pad-top);}
.editorial .home-articles + .questions-section .section-heading-line{border-top:0;}
.editorial :is([data-page="home"],[data-page="landing"]) .services-section .service-row h3{margin-block-end:var(--home-service-title-gap);}
@media(min-width:1000px){
 .editorial .work-section .section-heading-line > h2{grid-column:5 / span 5;}
 .editorial .work-section .section-heading-line > p{grid-column:5 / span 3;max-width:none;}
 .editorial .services-section .section-heading-line > h2{grid-column:6 / span 5;}
 .editorial .services-section .section-heading-line > p{grid-column:6 / span 3;max-width:none;}
 .editorial :is([data-page="home"],[data-page="landing"]) .flow-section .section-heading-line > h2{grid-column:7 / span 5;}
 .editorial :is([data-page="home"],[data-page="landing"]) .flow-section .section-heading-line > p{grid-column:7 / span 3;max-width:none;}
 .editorial :is([data-page="home"],[data-page="landing"]) .flow-section :is(.approach-picture figcaption,.tools-title){font-size:var(--home-feature-title);}
 .editorial .section-heading-line > .home-process-action{grid-column:7 / -1;}
 .editorial #pricing .section-heading-line > h2{grid-column:5 / span 4;}
 .editorial #pricing .section-heading-line > p{grid-column:5 / span 3;max-width:none;}
 .editorial .contact-section .section-heading-line > :is(h2,p){grid-column:5 / span 4;}
 /* .contact-cta is a sibling of .section-heading-line, not a grid child of it (see Contact.astro), so it
    can't share the h2/p's grid-column -- align it to the same column with a matching left margin instead. */
 .editorial .contact-section .contact-cta{margin-left:calc(4 * (var(--col) + var(--gutter)));}
}
@media(min-width:700px){
 .editorial .intro-section .intro-photo{align-self:stretch;aspect-ratio:auto;}
 .editorial .intro-section .intro-photo img{position:absolute;inset:0;}
}
@media(max-width:699px){
 .editorial .intro-section .intro-photo{grid-row:2;}
}

.home-section-actions{display:flex;flex-wrap:wrap;align-items:center;gap:1.5rem;margin-top:2rem;}
.home-studio-feature{position:relative;overflow:hidden;border-radius:var(--radius);background:var(--paper);}
.home-studio-image{position:relative;aspect-ratio:17 / 10;}
.home-studio-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top;}
.home-studio-image .photo-tag{background:var(--scrim-strong);}
.home-studio-card{display:grid;justify-items:start;gap:1.5rem;padding:2rem;background:var(--paper);border-radius:var(--radius);}
.home-studio-card h2{margin:0;font:400 var(--home-feature-title,var(--sf-title))/var(--sf-title-lh) var(--serif);letter-spacing:var(--sf-ls);}
.home-studio-card p{margin:0;color:var(--muted);font-size:var(--fs-body);line-height:var(--lh-body);}
@media(min-width:1000px){
 .home-studio-card{position:absolute;bottom:1.25rem;left:1.25rem;width:26rem;}
}
.home-articles{
  display:grid;
  gap:var(--head-gap);
  padding-block:var(--section-pad-top) var(--section-pad-bottom);
}
.home-articles-heading{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:end;
  gap:var(--gutter);
}
.home-articles-heading :is(h1,h2){
  margin:0;
  font:400 var(--home-section-title)/var(--sf-title-lh) var(--serif);
  letter-spacing:var(--sf-ls);
}
.editorial main .home-articles-heading .home-pill{width:max-content;}
.home-articles-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:var(--card-gap) var(--gutter);
}
.home-article{position:relative;}
.home-article-image{
  position:relative;
  overflow:hidden;
  aspect-ratio:436.67 / 268;
  border-radius:var(--home-article-radius);
}
.home-article-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.home-article-image--top img{object-position:top;}
.editorial .home-article-image .photo-tag{
  inset: auto auto 1.25rem 1.25rem;
  background:var(--scrim-strong);
}
.home-article h3{
  margin:var(--home-article-image-gap) 0 1.25rem;
  font:400 var(--home-article-title)/var(--home-article-title-lh) var(--serif);
  letter-spacing:var(--sf-ls);
}
.home-article p{
  max-width:var(--home-article-copy-width);
  margin:0;
  color:var(--muted);
  font-size:var(--fs-body);
  line-height:var(--lh-text);
  letter-spacing:var(--ls-body);
}
.home-article-action{
  display:inline-flex;
  align-items:center;
  gap:.75rem;
  margin-top:1.5625rem;
  padding:0;
  border:0;
  background:transparent;
  color:var(--ink);
  font:var(--font-medium) var(--fs-text)/var(--lh-meta) var(--body);
}
.home-article-action::after{
  content:"";
  position:absolute;
  inset:0;
}
.home-article:has(.home-article-action:focus-visible){
  outline:2px solid var(--ink);
  outline-offset:.375rem;
}
.home-article:focus-within .home-article-action{color:var(--home-article-hover);}
@media (hover: hover){
.home-article:hover .home-article-action{color:var(--home-article-hover);}}
.editorial .home-article:focus-within .home-article-action .arr i:first-child{
  transform:translate(110%,-110%);
}
@media (hover: hover){
.editorial .home-article:hover .home-article-action .arr i:first-child{
  transform:translate(110%,-110%);
}}
.editorial .home-article:focus-within .home-article-action .arr i + i{
  transform:none;
}
@media (hover: hover){
.editorial .home-article:hover .home-article-action .arr i + i{
  transform:none;
}}
@media(min-width:700px){
 .home-articles-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(min-width:1000px){
 .home-articles-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
.editorial .pk .pk-cta{font-weight:400;white-space:normal;text-align:center;}
.editorial .pk .pk-price small{font-weight:400;}
.editorial #pricing .pk-note{max-width:26.25rem;}
.editorial .pk-grid{align-items:stretch;}
.editorial :is([data-page="home"],[data-page="landing"]) .contact-section .section-heading-line{padding-bottom:0;}
.editorial .contact-section .contact-cta{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:2rem;}
/* The outline button sits next to .contact-pill but is the base (hero) .hero-cta-pill--outline outside its
   usual .hero-buttons context, which sizes it bigger: match .contact-pill's own height/padding/type here
   (owner rule, 2026-11-20: the two buttons read as the same size, not one bigger than the other). */
.editorial .contact-cta .hero-cta-pill--outline{min-height:2.5625rem;padding:0 1rem;font-size:var(--fs-btn);gap:0.625rem;}
.editorial .contact-cta .contact-pill.outline{background:transparent;border:1px solid var(--white-70);color:var(--white);}
@media(min-width:1000px){
 .editorial .home-header.nav-shared .nav-primary{gap:clamp(var(--gutter),2.78vw,2.5rem);}
}
@media (700px <= width < 1000px){
 .home-hero-copy,.home-hero-details{grid-template-columns:52% 36%;}
 .home-hero-social{width:36%;}
}
@media(max-width:699px){
 .home-hero-copy,.home-hero-details{grid-template-columns:minmax(0,1fr);gap:var(--gutter);}
 .home-hero-intro{max-width:35ch;}
 .home-hero-social{width:100%;}
 .editorial .flow-section .steps{grid-template-columns:minmax(0,1fr);}
 .editorial .flow-section .step{grid-column:auto;}
}

/* Homepage recommendations: alternating editorial cards in a single frame. */
.home-reviews {
  --review-columns: 2;
  display: grid;
  gap: var(--head-gap);
  padding-block-start: var(--section-pad-top);
}
.home-reviews-heading {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: start;
}
.home-reviews-heading > .eyebrow { grid-column: 1 / span 4; }
.home-reviews-heading > div { grid-column: 5 / span 6; }
.home-reviews-heading h2 {
  margin: 0;
  font: 400 var(--sf-h2)/var(--sf-h2-lh) var(--serif);
  letter-spacing: var(--sf-ls);
}
.home-reviews-heading .home-pill { margin-block-start: var(--home-section-heading-gap); }
.home-reviews-viewport {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .75rem;
}
.home-reviews-viewport:focus-visible { outline-offset: .25rem; }
.home-reviews-track {
  display: flex;
  transform: translate3d(calc(-100% * var(--review-offset, 0) / var(--review-columns)), 0, 0);
  transition-property: none;
}
.home-review {
  flex: 0 0 calc(100% / var(--review-columns));
  min-width: 0;
  min-height: var(--home-review-card-height);
  display: flex;
  flex-direction: column;
  margin: 0;
  border-inline-end: 1px solid var(--line);
}
.home-review:last-child { border-inline-end: 0; }
.home-review-author {
  display: flex;
  align-items: center;
  gap: .9375rem;
  padding: var(--home-review-padding);
  border-block-end: 1px solid var(--line);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
.home-review-author img {
  flex: 0 0 auto;
  width: 3.125rem;
  height: 3.125rem;
  border-radius: .3125rem;
  object-fit: cover;
}
/* a recommendation without a supplied photo yet gets initials on a flat tint, the same size and shape as a photo */
.home-review-author .avatar-initials {
  flex: 0 0 auto;
  width: 3.125rem;
  height: 3.125rem;
  border-radius: .3125rem;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--ink) 10%, var(--paper));
  color: var(--ink);
  font-size: var(--fs-tiny);
  font-weight: 400;
  letter-spacing: .02em;
}
.home-review-author strong { display: block; font-weight: 400; }
.home-review-author span { color: var(--muted); }
.home-review-quote {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  margin: 0;
  padding: var(--home-review-padding);
}
.home-review-quote h3 {
  margin: 0;
  font: 400 var(--sf-name)/var(--sf-md-lh) var(--serif);
  letter-spacing: var(--sf-ls);
}
.home-review-quote p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.5;
}
.home-review--reversed .home-review-author {
  order: 1;
  border-block-start: 1px solid var(--line);
  border-block-end: 0;
}
.home-review--reversed .home-review-quote { flex-direction: column-reverse; }
.home-reviews.is-ready .home-reviews-viewport { cursor: grab; touch-action: pan-y pinch-zoom; }
.home-reviews.is-ready .home-reviews-viewport.is-dragging { cursor: grabbing; user-select: none; }
.home-reviews.is-ready .home-review-author img { pointer-events: none; }
.home-reviews-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-block-start: calc(2rem - var(--head-gap));
}
.home-reviews-controls[hidden] { display: none; }
.home-reviews-dots { display: flex; gap: var(--home-review-dot-gap); }
/* the visible dot stays tiny; the button's own box (what a touch-target check measures) is enlarged with padding, then
   pulled back to the old footprint with an equal negative margin, so neighbouring dots keep their original spacing */
.home-reviews-dots button {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 2.75rem;
  margin: -0.625rem;
  padding: 0.625rem;
  border: 0;
  border-radius: .25rem;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.home-reviews-dots button::before {
  content: "";
  width: 1rem;
  height: .25rem;
  border-radius: .25rem;
  background: var(--home-review-dot-inactive);
}
.home-reviews-dots button[aria-current]::before { width: 2rem; background: var(--ink); }
@media (min-width: 1000px) {
  .home-reviews.is-ready { --review-columns: 4; }
}
@media (max-width: 699px) {
  .home-reviews { --review-columns: 1; }
  .home-reviews-heading > :is(.eyebrow, div) { grid-column: 1 / -1; }
  .home-reviews:not(.is-ready) .home-reviews-track { flex-wrap: wrap; }
  .home-review { min-height: 27.5rem; }
  .home-reviews:not(.is-ready) .home-review { min-height: 0; border-inline-end: 0; }
  .home-reviews:not(.is-ready) .home-review + .home-review { border-block-start: 1px solid var(--line); }
}

/* /agencies (06) and other collab sections: the single button sits under the text on the text's column, dark on the light page
   (it picked up the white .contact-pill of the dark contact panel and was squeezed into one grid cell; review 2026-11-28). */
.editorial .collab-section .section-heading-line > .collab-action{grid-column:5 / -1;justify-self:start;margin-top:2rem;background:var(--ink);color:var(--white);}
@media (max-width:999px){.editorial .collab-section .section-heading-line > .collab-action{grid-column:1 / -1;}}

/* Review 2026-11-28: article cards keep their "Read more" links on one line when the texts differ in length,
   and every article picture gets the thin image edge (better-ui: 1px, pure black at 10%). */
.home-article{display:flex;flex-direction:column;}
.home-article p{margin-bottom:1.5625rem;}
.home-article-action{margin-top:auto;align-self:flex-start;}
/* Owner 2026-11-28: every card title takes exactly two lines and every intro at most three (ending in "..."), so titles,
   texts and "Read more" line up across the row. A shorter title or text keeps the room of two or three lines. */
.home-article h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;min-height:calc(var(--home-article-title) * var(--home-article-title-lh) * 2);}
.home-article p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;min-height:calc(var(--lh-text) * 3);}
.home-article-image::after{content:"";position:absolute;inset:0;border-radius:inherit;outline:1px solid var(--img-outline);outline-offset:-1px;pointer-events:none;}
