/* ============================================================
   ATRIUM — About page
   Editorial layout: a quiet intro set to one side, a drifting
   strip of photos, three centred chapters with text either side,
   and a team section: names top-left, centred portrait, profile bottom-right.
   ============================================================ */
:root{
  --deep:#001c24;
  --deeper:#00141a;
  --mint:#9fd3af;
  --paper:#eaf3ec;
  --muted:rgba(234,243,236,.58);
  --rule:rgba(159,211,175,.2);
  --gut:clamp(20px,5vw,84px);
  --ease:cubic-bezier(.22,.61,.36,1);
  --display:"owners-xwide","Helvetica Neue",Arial,sans-serif;
  --body:"owners-wide","Helvetica Neue",Arial,sans-serif;
  --small:clamp(11px,.86vw,13px);
}
*{box-sizing:border-box}
html{background:var(--deep);color:var(--paper);font-family:var(--body);-webkit-text-size-adjust:100%}
body{margin:0;min-height:100vh;background:var(--deep);overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button{font:inherit;color:inherit}
::selection{background:var(--mint);color:var(--deep)}

.about-page::before,.about-page::after{
  content:'';position:fixed;inset:0;z-index:0;pointer-events:none;
}
/* Two quiet layers: the dark grain the homepage uses, then a stained-paper
   scan rebalanced around mid-grey so it adds texture without shifting the
   navy. Raise either opacity for more texture. */
.about-page::before{background:url('img/texture-grain.jpg') center/cover no-repeat;opacity:.1;mix-blend-mode:luminosity}
.about-page::after{background:url('img/texture-paper-blue.jpg') center/cover no-repeat;opacity:var(--paper-opacity,.6);mix-blend-mode:soft-light}
.about-page .site-header{position:fixed;top:0;left:0;right:0;background:linear-gradient(var(--deep),rgba(0,28,36,0))}
.about-main{position:relative;z-index:1}

/* Small justified copy: the page's main reading voice. */
.copy{
  margin:0;color:var(--paper);font-size:var(--small);font-weight:400;line-height:1.6;
  letter-spacing:.02em;text-transform:uppercase;text-align:left;
}
/* Justified only where the column is wide enough to avoid gaps. */
@media(min-width:901px){.ab-intro .copy,.ab-name__defs .copy{text-align:justify;text-align-last:left;hyphens:auto}}
.copy + .copy{margin-top:1.4em}
.copy--muted{color:var(--muted)}
.tag{margin:0;color:var(--mint);font-size:var(--small);font-weight:700;letter-spacing:.06em;line-height:1.4;text-transform:uppercase}

/* ---------- INTRO ---------- */
.ab-intro{
  display:grid;grid-template-columns:1fr 1fr;
  padding:clamp(150px,22vh,230px) var(--gut) clamp(90px,12vh,140px);
}
.ab-intro__inner{grid-column:2;max-width:560px}
.ab-intro h1{
  margin:0;color:var(--mint);font-family:var(--display);font-weight:700;
  font-size:clamp(24px,2.7vw,40px);line-height:1.02;letter-spacing:-.005em;text-transform:uppercase;
}
.ab-intro h1 span{display:block}
.ab-intro .copy:first-of-type{margin-top:clamp(28px,3vw,44px)}
.ab-intro__text{max-width:440px}

/* ---------- PHOTO STRIP ---------- */
.strip{overflow:hidden;cursor:grab;touch-action:pan-y}
.strip.is-dragging{cursor:grabbing}
.strip__track{display:flex;gap:16px;width:max-content;will-change:transform}
.strip__item{flex:0 0 auto;width:clamp(240px,30.8vw,460px);aspect-ratio:4/3;overflow:hidden;background:var(--deeper)}
.strip__item img{width:100%;height:100%;object-fit:cover;filter:saturate(.85) contrast(1.04);pointer-events:none;user-select:none;-webkit-user-drag:none}

/* ---------- OUR NAME ---------- */
.ab-name{
  display:grid;grid-template-columns:1fr minmax(0,560px) 1fr;
  padding:clamp(110px,14vw,200px) var(--gut) 0;
}
.ab-name__inner{grid-column:2;text-align:center}
.ab-name h2{margin:0;color:var(--paper);font-family:var(--display);font-size:clamp(20px,1.9vw,28px);font-weight:700;line-height:1;text-transform:uppercase}
.ab-name__phon{display:flex;justify-content:center;align-items:baseline;gap:14px;margin:14px 0 0}
.ab-name__phon strong{color:var(--mint);font-family:Arial,"Helvetica Neue",sans-serif;font-size:clamp(16px,1.3vw,20px);font-weight:400}
.ab-name__phon span{color:var(--muted);font-size:var(--small);letter-spacing:.06em;text-transform:uppercase}
.ab-name__defs{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,3vw,48px);margin-top:clamp(40px,4vw,60px);text-align:left}
.ab-name__defs .tag{margin-bottom:12px}

/* ---------- JOURNEY: centred image, title left, text right ---------- */
.ab-journey{padding:clamp(110px,14vw,200px) var(--gut) 0}
.chapter{
  display:grid;grid-template-columns:1fr minmax(0,440px) 1fr;gap:clamp(24px,3vw,56px);
  align-items:start;
}
.chapter + .chapter{margin-top:clamp(70px,8vw,120px)}
.chapter__title{justify-self:end;text-align:right;position:sticky;top:120px;padding-top:2px}
.chapter__title h3{margin:0;color:var(--mint);font-family:var(--display);font-size:clamp(13px,1.05vw,16px);font-weight:700;line-height:1.2;text-transform:uppercase}
.chapter__img{aspect-ratio:5/4;overflow:hidden;background:var(--deeper)}
.chapter__img img{width:100%;height:100%;object-fit:cover;filter:saturate(.85) contrast(1.04);transition:transform 1.2s var(--ease)}
.chapter:hover .chapter__img img{transform:scale(1.02)}
.chapter__text{align-self:center;max-width:240px;position:sticky;top:45%}

/* ---------- TEAM: names top-left, photo centred, profile bottom-right ----------
   Each portrait shows whole (no cropping) in a centred frame. */
.ab-team{
  --pw:clamp(260px,28vw,440px);
  position:relative;isolation:isolate;margin-top:clamp(110px,14vw,200px);
  min-height:100svh;display:grid;grid-template-columns:minmax(0,1fr) var(--pw) minmax(0,1fr);
  grid-template-rows:auto 1fr auto;column-gap:clamp(24px,3vw,56px);
  padding:clamp(90px,10vh,120px) var(--gut) clamp(40px,6vh,64px);
}
.ab-team__bg{grid-column:2;grid-row:1 / -1;align-self:center;position:relative;width:100%;height:min(68svh,640px)}
.ab-team__bg img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:50% 50%!important;opacity:0;transition:opacity .6s ease;filter:saturate(.85) contrast(1.04)}
.ab-team__bg img.is-on{opacity:1}

.ab-team__list{grid-column:1;grid-row:1;width:min(100%,430px)}
.ab-team__list h2{margin:0 0 22px;color:var(--paper);font-family:var(--display);font-size:clamp(20px,1.9vw,28px);font-weight:700;line-height:1;text-transform:uppercase}
.ab-team__list ul{margin:0;padding:0;list-style:none}
.member{
  display:flex;justify-content:space-between;align-items:baseline;gap:16px;width:100%;padding:7px 0;
  border:0;background:none;text-align:left;cursor:pointer;color:var(--paper);
  font-size:var(--small);font-weight:700;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;transition:color .25s ease,opacity .25s ease;
}
.member span{color:var(--muted);font-weight:400;font-size:.9em;text-align:right;transition:color .25s ease}
.ab-team__list ul:hover .member{opacity:.5}
.ab-team__list ul .member:hover,.member[aria-pressed="true"]{opacity:1;color:var(--mint)}
.member[aria-pressed="true"] span{color:var(--paper)}
.member:focus-visible{outline:1px solid var(--mint);outline-offset:3px}

.ab-team__profile{grid-column:3;grid-row:3;justify-self:end;align-self:end;width:min(100%,300px);min-height:9em}
.ab-team__profile h3{margin:0;color:var(--paper);font-family:var(--display);font-size:clamp(15px,1.25vw,19px);font-weight:700;line-height:1.1;text-transform:uppercase}
.ab-team__profile .tag{margin:6px 0 16px}
.ab-team__links{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:16px}
.ab-team__links a{color:var(--mint);font-size:var(--small);font-weight:700;letter-spacing:.06em;text-transform:uppercase;border-bottom:1px solid var(--rule);padding-bottom:2px;transition:border-color .2s ease}
.ab-team__links a:hover,.ab-team__links a:focus-visible{border-color:var(--mint);outline:0}
.ab-team__profile > *{animation:rise .45s var(--ease) both}
@keyframes rise{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* Footer: styled in footer.css (shared by every page). */

/* ---------- RESPONSIVE ---------- */
/* Team stacks (names, photo, profile) once three columns get tight. */
@media(max-width:1100px){
  .ab-team{grid-template-columns:1fr;grid-template-rows:auto auto auto;min-height:0;row-gap:clamp(32px,6vw,48px);padding-top:80px;padding-bottom:40px}
  .ab-team__list{grid-column:1;grid-row:1;width:100%;max-width:420px}
  .ab-team__bg{grid-column:1;grid-row:2;justify-self:center;width:min(100%,420px);height:min(120vw,560px)}
  .ab-team__profile{grid-column:1;grid-row:3;justify-self:start;align-self:start;width:min(100%,420px);min-height:0}
}
@media(max-width:900px){
  .ab-intro{grid-template-columns:1fr;padding-top:140px}
  .ab-intro__inner{grid-column:1}
  .ab-name{grid-template-columns:1fr}
  .ab-name__inner{grid-column:1}
  .chapter{grid-template-columns:1fr;gap:16px}
  .chapter__title,.chapter__text{position:static;justify-self:start;text-align:left;max-width:520px}
  .chapter__title{order:-1}
}
@media(max-width:560px){
  :root{--small:12px}
  .ab-name__defs{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  *,*::before{transition:none!important;animation:none!important}
}

