/* VIP Auto Customs · About (about.html). Page rules on top of css/home.css, which is linked first.
   After olympic.no's "Navigating with heritage" page, in this site's world (DESIGN.md): the full-bleed shop-front hero,
   the "Who we are" band, three tall alternating text-media rows (the second the dark variant), three facts on the
   page's one light band, the calm close.
   Red: --red (#E3202A) for the hero's italic word; small red type uses --red-text (#EE2C35), the same red lifted a touch
   so 10–11px labels hold 4.5:1 on the ground and the panel. The close is the shared .e-close block from home.css (dim label, red italic word), so the
   italic word is that screen's one red. */

:root{--red-text:#EE2C35;--row-media:min(520px,37vw)}

.a-mono{font:500 13px/1.4 var(--sans);letter-spacing:.02em;text-transform:none;color:var(--label)}
.a-kicker{font:500 13px/1.5 var(--sans);letter-spacing:.02em;text-transform:none;color:var(--red-text)}
.a-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------------------------------------------------------------- (1) hero: the shop front, full screen */
.a-hero{position:relative;height:var(--screen);min-height:600px;overflow:hidden;background:var(--ground)}
.a-hero__photo{position:absolute;inset:0;transform:scale(var(--a-z,1));transform-origin:50% 60%;will-change:transform}
.a-hero__photo picture,.a-hero__photo img{display:block;width:100%;height:100%}
.a-hero__photo img{object-fit:cover;object-position:50% 50%}
.a-hero__wash{position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(5,5,5,.72) 0%,rgba(5,5,5,.3) 18%,rgba(5,5,5,.34) 50%,rgba(5,5,5,.82) 82%,rgba(5,5,5,.96) 100%),
    linear-gradient(90deg,rgba(5,5,5,.7) 0%,rgba(5,5,5,.35) 34%,rgba(5,5,5,0) 60%)}
.a-hero__head{position:absolute;left:var(--gutter);right:var(--gutter);bottom:clamp(32px,7vh,80px);z-index:2;max-width:1100px}
.a-hero__title{margin-top:20px;font:300 clamp(52px,min(5vw,9vh),92px)/1.02 var(--serif);font-variation-settings:'opsz' 72;letter-spacing:-.02em;color:var(--text)}
.a-hero__title em{font-style:italic;color:var(--red)}
.a-hero__scroll{position:absolute;right:var(--gutter);bottom:clamp(32px,7vh,80px);z-index:2;padding:8px 0;
  font:500 13px/1.4 var(--sans);letter-spacing:.02em;text-transform:none;color:rgba(242,241,237,.72);text-decoration:none;transition:color .4s var(--ease)}
.a-hero__scroll:hover{color:var(--text)}

/* ---------------------------------------------------------------- (2) who we are */
.a-who{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:32px clamp(32px,6vw,120px);max-width:1440px;margin:0 auto;
  padding:clamp(108px,16.5vh,184px) var(--gutter) clamp(100px,14.5vh,164px)}
.a-who__label{padding-top:12px}
.a-who__text{max-width:60ch;font:300 clamp(21px,1.62vw,28px)/1.45 var(--serif);font-variation-settings:'opsz' 24;letter-spacing:-.005em;color:var(--text)}

/* ---------------------------------------------------------------- (3) text-media rows: kicker and title at the top
   of the text column, the body pinned to its bottom; a 4:5 photo with the home page's tile parallax (.e-tile__media,
   driven by js/home.js); sides swap row by row. About 850px tall at 1440+. */
.a-row{display:grid;grid-template-columns:minmax(0,1fr) var(--row-media);gap:clamp(48px,8vw,160px);align-items:stretch;
  max-width:1440px;margin:0 auto;padding:clamp(52px,6.5vh,72px) var(--gutter)}
.a-row__text{display:flex;flex-direction:column;justify-content:space-between;gap:40px;min-width:0;max-width:520px}
.a-row__title{margin-top:22px;font:300 clamp(42px,3.35vw,52px)/1.04 var(--serif);font-variation-settings:'opsz' 72;letter-spacing:-.02em;color:var(--text)}
.a-row__body{max-width:46ch}
.a-row__body p{font:300 15px/1.7 var(--sans);color:rgba(242,241,237,.8)}
.a-row__body p+p,.a-row__body dl+p{margin-top:14px}
.a-row__btn{margin-top:32px}
.a-row .e-tile__media{margin:0;background:var(--panel);aspect-ratio:4/5;width:100%}
.a-row__media--right img{object-position:100% 0}
.a-inline{white-space:nowrap;color:var(--text);text-decoration:underline;text-decoration-color:var(--box);text-underline-offset:3px}
.a-inline:hover{text-decoration-color:var(--text)}

/* "How a job runs": a hairline numbered list, one line per step */
.a-steps{list-style:none;margin:0;padding:0;border-bottom:1px solid var(--hair)}
.a-steps li{display:grid;grid-template-columns:3.2em minmax(0,7.5em) minmax(0,1fr);align-items:baseline;gap:4px 16px;padding:15px 0;border-top:1px solid var(--hair)}
.a-steps__n{font:400 13px/1.5 var(--sans);letter-spacing:.02em;color:var(--label)}
.a-steps__t{font:500 14px/1.5 var(--sans);color:var(--text)}
.a-steps__l{font:300 14px/1.5 var(--sans);color:rgba(242,241,237,.72)}

/* "Service comes first": the three things, as a hairline list */
.a-ways{margin:24px 0 0;border-bottom:1px solid var(--hair)}
.a-ways div{display:grid;grid-template-columns:minmax(0,10.5em) minmax(0,1fr);gap:4px 20px;padding:12px 0;border-top:1px solid var(--hair)}
.a-ways dt{font:500 13px/1.5 var(--sans);color:var(--text)}
.a-ways dd{margin:0;font:300 14px/1.5 var(--sans);color:rgba(242,241,237,.72)}

/* the dark variant: full-bleed photo on one half, the grain panel with the text on the other */
.a-row--dark{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;max-width:none;padding:0;margin:clamp(52px,6.5vh,72px) 0;min-height:min(780px,84vh)}
.a-row--dark .e-tile__media{aspect-ratio:auto;height:100%;min-height:560px}
.a-row--dark .a-row__text{max-width:none;padding:clamp(52px,6.5vw,112px) clamp(32px,5.5vw,112px)}
.a-row--dark .a-row__body{max-width:48ch}

/* ---------------------------------------------------------------- (4) three facts on the light band */
.a-facts{margin-top:clamp(96px,14vh,160px);padding:clamp(112px,17vh,184px) var(--gutter);background:#F4F3EF;color:#0B0B0B}
.a-facts__row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) minmax(0,1fr);max-width:1440px;margin:0 auto}
.a-fact{position:relative;display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:20px;padding:8px clamp(20px,3vw,48px)}
.a-fact + .a-fact::before{content:"";position:absolute;left:0;top:0;bottom:0;width:1px;background:rgba(11,11,11,.14)}
.a-fact dd{margin:0;font:300 clamp(44px,3.6vw,68px)/1 var(--serif);font-variation-settings:'opsz' 72;letter-spacing:-.02em;color:#0B0B0B;white-space:nowrap}
.a-fact dt{font:400 13px/1.4 var(--sans);letter-spacing:.02em;text-transform:none;color:rgba(11,11,11,.62)}

/* ---------------------------------------------------------------- (5) the calm close, on the ground */

/* ---------------------------------------------------------------- tablet, phone */
@media (max-width:1023px) and (min-width:768px){
  :root{--row-media:44vw}
  .a-row{gap:48px}
  .a-fact dd{font-size:clamp(36px,4.4vw,46px)}
}
@media (max-width:767px){
  .a-hero{min-height:600px;max-height:940px}
  .a-hero__head{left:20px;right:20px;bottom:88px}
  .a-hero__title{font-size:clamp(44px,12.4vw,56px)}
  .a-hero__scroll{left:20px;right:auto;bottom:36px}
  .a-hero__wash{background:linear-gradient(180deg,rgba(5,5,5,.7) 0%,rgba(5,5,5,.25) 20%,rgba(5,5,5,.3) 46%,rgba(5,5,5,.86) 74%,rgba(5,5,5,.96) 100%)}
  .a-who{grid-template-columns:1fr;gap:28px;padding:96px 20px 72px}
  .a-who__label{padding-top:0}
  .a-who__text{font-size:23px}
  .a-row{grid-template-columns:1fr;gap:36px;padding:56px 20px}
  .a-row__media{order:-1}
  .a-row__text{gap:32px;max-width:none}
  .a-row__title{font-size:44px}
  .a-steps li{grid-template-columns:2.6em minmax(0,1fr);gap:2px 12px}
  .a-steps__l{grid-column:2}
  .a-ways div{grid-template-columns:1fr}
  .a-row--dark{gap:0;padding:0;min-height:0;margin:56px 0}
  .a-row--dark .e-tile__media{aspect-ratio:4/5;height:auto;min-height:0}
  .a-row--dark .a-row__text{padding:56px 20px 72px}
  .a-facts{margin-top:0;padding:72px 20px}
  .a-facts__row{grid-template-columns:1fr;border-bottom:1px solid rgba(11,11,11,.14)}
  .a-fact{gap:10px;padding:24px 0;border-top:1px solid rgba(11,11,11,.14)}
  .a-fact + .a-fact::before{display:none}
  .a-fact dd{font-size:44px}
}

@media (prefers-reduced-motion:reduce){
  .a-hero__photo{transform:none}
  .a-hero__scroll{transition:none}
}
