/* =========================================================
   ARMAND — Photography Studio
   Static site · HTML/CSS/JS · cPanel ready
   ========================================================= */

:root {
  --bg: #F5F6F8;
  --ink: #171717;
  --ink-soft: rgba(23, 23, 23, 0.72);
  --line: rgba(23, 23, 23, 0.35);
  --display: "Bebas Neue", "Oswald", "Arial Narrow", Impact, sans-serif;
  --display-heavy: "Anton", "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --body: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --pad: clamp(16px, 2.5vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }

/* Photos are shown in black & white to match the editorial look.
   Add class "color" to an <img> to keep its original colours. */
.photo { position: relative; overflow: hidden; background: #d9dbe0; }
.photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform 1.2s var(--ease), filter .6s ease;
}
.photo img.color { filter: none; }
.photo:hover img { transform: scale(1.03); }

/* --- rotation: stacked cross-fading layers --- */
.photo.rotator img {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.4s ease, transform 1.2s var(--ease), filter .6s ease;
}
.photo.rotator img.cur { opacity: 1; }
.photo.rotator img.out { opacity: 0; }
.photo.rotator img.nxt { z-index: 1; }

/* --- image protection (deterrent) --- */
/* The shield is a transparent layer that lives INSIDE each .photo box only.
   .photo is position:relative + overflow:hidden + isolation:isolate, so the
   shield can never extend past the photo or sit above anything else. */
.photo { isolation: isolate; }
.photo::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: transparent;
}
.photo img {
  -webkit-user-select: none; user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;        /* iOS long-press "Save Image" */
  pointer-events: none;
}
.photo { pointer-events: auto; }
/* Footer wordmark: the picture is a CSS background (browsers offer no
   "save image" for those), so it needs no shield. It ignores the mouse
   entirely and cannot block anything below it. */
.wordmark.textured {
  position: relative; z-index: 0;
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}
@media print { .photo, .wordmark.textured { visibility: hidden; } }

/* Links always win: nav and footer sit above every photo/shield layer. */
.site-header, .site-footer .footer-nav, .site-footer .footer-map, .site-footer .footer-bottom {
  position: relative; z-index: 30; pointer-events: auto;
}
.site-footer a, .site-header a { pointer-events: auto; position: relative; }

.container { width: 100%; padding-left: var(--pad); padding-right: var(--pad); }

.label { font-size: 12px; letter-spacing: 0.06em; }
.tiny  { font-size: 11px; letter-spacing: 0.06em; }
.body-text {
  font-size: 13px; line-height: 1.5; text-align: justify;
  text-transform: uppercase; letter-spacing: 0.02em;
}

.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Section header in brackets, e.g. (WHO WE ARE?) */
.sec-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 0.9;
  letter-spacing: 0.01em;
  margin: 0;
  text-align: right;
}

/* Dark CTA button */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--bg);
  font-family: var(--body); font-size: 13px; letter-spacing: 0.08em;
  padding: 18px 28px; min-width: 260px;
  text-transform: uppercase;
  transition: opacity .3s ease, transform .3s var(--ease);
}
.btn:hover { opacity: .85; transform: translateY(-2px); }
.btn.block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: relative; z-index: 20;
  display: grid; grid-template-columns: 1fr auto auto; gap: 48px;
  align-items: start;
  padding-top: 22px; padding-bottom: 12px;
}
.logo {
  font-family: var(--display-heavy); font-size: 20px; letter-spacing: -0.01em;
  line-height: 1;
}
.nav-col li { line-height: 1.55; }
.nav-col a { position: relative; display: inline-block; }
.nav-col a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--ink); transition: width .35s var(--ease);
}
.nav-col a:hover::after { width: 100%; }

.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 30px; }

.hero-top {
  position: relative;
  height: clamp(260px, 34vw, 480px);
}
.hero-photo-1 {
  position: absolute; left: 30%; top: 0;
  width: clamp(120px, 15vw, 210px); aspect-ratio: 3 / 4;
}
.hero-photo-2 {
  position: absolute; right: 8%; top: 42%;
  width: clamp(160px, 20vw, 290px); aspect-ratio: 16 / 9;
}
.hero-since {
  position: absolute; left: 0; bottom: 6px;
}

.wordmark {
  font-family: var(--display-heavy);
  font-weight: 400;
  font-size: clamp(90px, 27.5vw, 460px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin: 0;
  width: 100%;
  white-space: nowrap;
  display: inline-block;
}
/* Wordmark filled with a photo texture (footer) */
.wordmark.textured {
  background-image:
    linear-gradient(rgba(23,23,23,.55), rgba(23,23,23,.55)),
    url("../images/footer.jpg");
  background-size: cover; background-position: center;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: grayscale(1) contrast(1.15);
}

.hero-bottom {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  margin-top: 40px; align-items: start;
}
.hero-photo-3 { width: clamp(180px, 24vw, 340px); aspect-ratio: 3 / 4; }
.hero-text { max-width: 320px; margin-left: 20%; margin-top: 10px; }

/* ---------- About / Who we are ---------- */
.about { padding-top: 120px; }
.about-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 110px);
  margin-top: 60px; align-items: start;
}
.about-brand {
  font-family: var(--display-heavy); font-size: 20px; letter-spacing: -0.01em; margin-bottom: 14px;
}
.about-copy { margin-bottom: 40px; }

.num-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-top: 1px solid var(--line);
  font-size: 13px; letter-spacing: .06em;
}
.num-list li:last-child { border-bottom: 1px solid var(--line); }
.num-list .n { color: var(--ink-soft); }
.about .btn { margin-top: 40px; }
.about-photo { aspect-ratio: 3 / 4; width: 100%; }

/* ---------- Counter + gallery strip ---------- */
.counter { padding-top: 140px; }
.counter-wrap { position: relative; }
.big-number {
  font-family: var(--display); font-size: clamp(140px, 30vw, 500px);
  line-height: 0.82; margin: 0; letter-spacing: 0.02em;
}
.counter-photo {
  position: absolute; left: clamp(230px, 53vw, 820px); top: -8%;
  width: clamp(130px, 17vw, 260px); aspect-ratio: 4 / 5;
}
.counter .rule { margin-top: 20px; }

.strip {
  display: flex; gap: clamp(14px, 2vw, 32px); align-items: flex-end;
  margin-top: 40px; padding-bottom: 8px;
  overflow-x: auto; scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip figure { margin: 0; flex: 0 0 auto; scroll-snap-align: start; }
.strip .photo { width: clamp(150px, 15vw, 230px); }
.strip figure:nth-child(1) .photo { height: clamp(210px, 22vw, 340px); }
.strip figure:nth-child(2) .photo { height: clamp(170px, 17vw, 260px); }
.strip figure:nth-child(3) .photo { height: clamp(230px, 24vw, 360px); }
.strip figure:nth-child(4) .photo { height: clamp(180px, 18vw, 270px); }
.strip figure:nth-child(5) .photo { height: clamp(220px, 21vw, 320px); }
.strip figure:nth-child(6) .photo { height: clamp(200px, 19vw, 290px); }
.strip figcaption { margin-top: 10px; font-size: 12px; letter-spacing: .06em; }

/* ---------- Work / process ---------- */
.work { padding-top: 140px; }
.work-grid {
  display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(30px, 6vw, 110px);
  margin-top: 60px; align-items: start;
}
.work-intro { max-width: 420px; margin-bottom: 40px; }
.steps li {
  display: grid; grid-template-columns: 160px 1fr; gap: 30px;
  padding: 16px 0; border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .step-name { font-size: 13px; letter-spacing: .08em; }
.steps p { text-align: justify; }
.work-side { display: flex; flex-direction: column; gap: 40px; align-items: flex-end; }
.work-side .photo { width: 100%; aspect-ratio: 4 / 3; }

.work-photos {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px;
  margin-top: 100px; align-items: end;
}
.work-photo-big { aspect-ratio: 16 / 10; }
.work-photo-small { width: 70%; aspect-ratio: 3 / 4; margin-left: auto; }
.work-note { max-width: 300px; margin: 24px 0 0 auto; }

/* ---------- Gallery + FAQ ---------- */
.gallery { padding-top: 140px; }
.gallery-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end;
}
.gallery-intro p { max-width: 380px; }
.gallery-intro .photo { aspect-ratio: 16 / 9; }

.gallery-row {
  display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 40px;
  margin-top: 60px; align-items: start;
}
.gallery-row .photo:nth-child(1) { aspect-ratio: 3 / 4; }
.gallery-row .photo:nth-child(2) { aspect-ratio: 4 / 3; margin-top: 60px; }
.gallery-row .photo:nth-child(3) { aspect-ratio: 3 / 4; }

.faq-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 110px);
  margin-top: 120px; align-items: start;
}
.faq-photo { aspect-ratio: 3 / 4; }
.faq-title {
  font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: .04em; margin: 0 0 20px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
address { font-style: normal; }
.faq-a a { text-decoration: underline; text-underline-offset: 2px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; text-align: left; font-size: 13px; letter-spacing: .06em;
  text-transform: uppercase;
}
.faq-q .icon { font-family: var(--display); font-size: 20px; line-height: 1; transition: transform .35s var(--ease); }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .5s var(--ease);
}
.faq-a p { padding: 0 0 18px; text-align: justify; max-width: 92%; }
.faq .btn { margin-top: 40px; }

/* ---------- Footer ---------- */
.site-footer { padding-top: 160px; padding-bottom: 30px; }
.footer-nav {
  display: grid; grid-template-columns: 1fr auto auto; gap: 48px;
  margin-top: 30px;
}
.footer-bottom {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: end;
  margin-top: 60px;
}
.footer-bottom .contact { text-align: center; line-height: 1.6; }
.footer-bottom .copy { text-align: right; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid, .work-grid, .faq-grid, .gallery-intro { grid-template-columns: 1fr; }
  .work-side { align-items: stretch; }
  .work-side .btn { width: 100%; }
  .gallery-row { grid-template-columns: 1fr 1fr; }
  .gallery-row .photo:nth-child(3) { display: none; }
  .steps li { grid-template-columns: 120px 1fr; gap: 16px; }
}

@media (max-width: 640px) {
  body { font-size: 12px; }
  .site-header { grid-template-columns: 1fr auto auto; gap: 20px; padding-top: 16px; }
  .nav-col { line-height: 1.5; }
  .menu-toggle { display: none; } /* two compact columns remain visible on mobile, like the reference */
  .site-header .nav-col { font-size: 10px; }

  .hero-top { height: 62vw; }
  .hero-photo-1 { left: 22%; width: 34vw; }
  .hero-photo-2 { right: 0; top: 38%; width: 46vw; }
  .wordmark { font-size: 26.5vw; }
  .hero-bottom { grid-template-columns: 1fr; gap: 24px; margin-top: 20px; }
  .hero-photo-3 { width: 60vw; }
  .hero-text { margin-left: 0; max-width: 100%; }

  .about, .counter, .work, .gallery { padding-top: 90px; }
  .sec-title { font-size: 13vw; }
  .about-grid { margin-top: 36px; gap: 40px; }
  .about .btn { margin-top: 28px; }

  .big-number { font-size: 31vw; }
  .counter-photo { left: 66%; top: -6%; width: 30vw; }
  .strip .photo { width: 40vw; }
  .strip figure:nth-child(n) .photo { height: 52vw; }
  .strip figure:nth-child(even) .photo { height: 42vw; }

  .work-grid { margin-top: 36px; gap: 40px; }
  .steps li { grid-template-columns: 1fr; gap: 8px; }
  .work-photos { grid-template-columns: 1fr; gap: 24px; margin-top: 60px; }
  .work-photo-small { width: 62%; }
  .work-note { max-width: 100%; margin-top: 16px; }

  .gallery-row { gap: 16px; margin-top: 40px; }
  .gallery-row .photo:nth-child(2) { margin-top: 30px; }
  .faq-grid { margin-top: 60px; gap: 40px; }
  .faq .btn { width: 100%; }

  .site-footer { padding-top: 100px; }
  .footer-nav { grid-template-columns: 1fr auto auto; gap: 20px; font-size: 10px; }
  .footer-bottom { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
  .footer-bottom .contact, .footer-bottom .copy { text-align: left; }
}
