/* Hanin Visuals — layout & tokens follow the Ateena Visual UI/UX spec
   (serif display + italic accent word, full-bleed photo sections, tight
   3-col galleries, overlay cards, pill ghost buttons, gradient footer). */
:root {
  --ink: #1D1E20;
  --black: #000;
  --white: #fff;
  --paper: #F7F2EA;
  --primary: #C05722;        /* Hanin brand orange (replaces Ateena blue) */
  --primary-dark: #9E4418;
  --maroon: #7A3A1C;

  --font-display: "Libre Baskerville", Georgia, serif;
  --font-heading-alt: "PT Serif", Georgia, serif;
  --font-body: "Catamaran", "DM Sans", system-ui, sans-serif;

  --fs-display: 72px;
  --fs-h1: 64px;
  --fs-h3: 48px;
  --fs-h4: 32px;
  --fs-card-title: 20px;
  --fs-body: 16px;
  --fs-small: 14px;

  --radius-card: 20px;
  --radius-pill: 28px;
  --container: 1224px;
  --header-h: 78px;
  --gap: 4px;

  --reveal: transform .65s .1s, opacity .65s .1s;
  --hover: color .2s, border-color .2s, background-color .2s;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 400; margin: 0; line-height: 1.29; }
em { font-style: italic; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--black);
  color: var(--white);
  transition: background-color .3s ease-in-out;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 20px; white-space: nowrap; }
.brand img { width: 40px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav > a, .nav-drop > a { text-decoration: none; font-family: var(--font-display); font-size: 16px; transition: var(--hover); padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #F3B48F; border-bottom-color: currentColor; }
.nav-drop { position: relative; height: var(--header-h); display: flex; align-items: center; }
.nav-drop > a::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.nav-drop-menu {
  position: absolute; top: 100%; right: -16px; min-width: 260px; padding: 12px 0; margin-top: 0;
  background: var(--black); border-radius: 0 0 12px 12px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility 0s linear .25s; /* brief grace period before closing */
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-drop-menu a { display: block; padding: 10px 20px; text-decoration: none; font-size: 15px; transition: var(--hover); }
.nav-drop-menu a:hover { color: #F3B48F; }
.nav-cta { font-family: var(--font-body) !important; }
.header-spacer { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; margin: 6px 0; background: var(--white); transition: transform .3s, opacity .3s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 28px;
  font-family: var(--font-body); font-size: var(--fs-small); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border: 0; cursor: pointer;
  background: var(--primary); color: var(--white);
  transition: var(--hover);
}
.btn:hover { background: var(--primary-dark); }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; min-width: 173px; padding: 0 28px;
  border: 1px solid var(--white); border-radius: var(--radius-pill);
  color: var(--white); background: rgba(255,255,255,0);
  font-family: var(--font-body); font-size: 16px; font-weight: 500; text-decoration: none;
  transition: var(--hover);
}
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-ghost.dark { border-color: var(--ink); color: var(--ink); }
.btn-ghost.dark:hover { background: var(--ink); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- Section titles (serif + italic accent) ---------- */
.display { font-size: var(--fs-display); line-height: 1.29; }
.section-title { font-size: var(--fs-h1); line-height: 1.3; }
.section-sub { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-top: 8px; }
.on-dark { color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h));
  display: flex; align-items: flex-end; justify-content: center; text-align: center;
  color: var(--white); overflow: hidden; padding: 0 24px 12vh;
  background: #222 center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.55)); }
.hero-content { position: relative; max-width: 820px; }
.hero h1 { font-size: var(--fs-h1); font-weight: 700; }
.hero h1 em { font-weight: 400; }
.hero p { font-size: 20px; line-height: 1.6; margin: 20px auto 32px; max-width: 680px; font-weight: 500; }
.blob { position: absolute; background: var(--white); pointer-events: none; }
.blob-1 { width: 96px; height: 96px; left: 9%; top: 26%; border-radius: 58% 42% 55% 45% / 50% 60% 40% 50%; animation: float 9s ease-in-out infinite; }
.blob-2 { width: 64px; height: 64px; right: 16%; top: 36%; border-radius: 22% 8% 30% 12%; animation: float 11s ease-in-out infinite reverse; }
.blob-3 { width: 30px; height: 30px; right: 12%; top: 18%; border-radius: 50%; animation: float 7s ease-in-out infinite; }
.blob-4 { width: 96px; height: 96px; right: 8%; bottom: 4%; border-radius: 60% 40% 45% 55% / 40% 55% 45% 60%; animation: float 10s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translateY(-14px) rotate(6deg); } }

.page-hero {
  position: relative; min-height: 440px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--white); padding: 80px 24px;
  background: #333 center / cover no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.page-hero > * { position: relative; }
.page-hero .eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.page-hero.plain { background: var(--black); min-height: 320px; }
.page-hero.plain::before { display: none; }

/* ---------- Photo-background sections ---------- */
.photo-section {
  position: relative; padding: 120px 0; color: var(--white);
  background: #2a2a2a center / cover no-repeat;
}
.photo-section::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.photo-section > * { position: relative; }
.white-section { padding: 160px 0; }
.paper-section { padding: 140px 0; background: var(--paper); }

/* ---------- About (2 cols + photo strip) ---------- */
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin: 56px 0 48px; }
.about-cols h3 { font-size: var(--fs-h4); font-weight: 700; margin-bottom: 12px; }
.about-cols p { margin: 0; font-weight: 500; }
.hl { color: #F3B48F; font-weight: 700; }
.paper-section .hl, .white-section .hl { color: var(--primary); }
.photo-strip { display: grid; grid-template-columns: 1fr 1.25fr 1fr; border-radius: var(--radius-card); overflow: hidden; }
.photo-strip img { width: 100%; height: 440px; object-fit: cover; }

/* ---------- Galleries ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin: 48px 0; }
.grid-3 a, .grid-3 figure { margin: 0; overflow: hidden; display: block; background: #111; }
.grid-3 img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; transition: transform .6s ease, opacity .3s; }
.grid-3.square img { aspect-ratio: 1 / 1; }
.grid-3.landscape img { aspect-ratio: 4 / 3; }
.grid-3 a:hover img { transform: scale(1.04); }

/* ---------- Video cards ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 48px 0; }
.video-grid.two { grid-template-columns: repeat(2, 1fr); }
.video-card { margin: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-card); overflow: hidden; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .3s, transform .6s; }
.yt-facade:hover img { opacity: 1; transform: scale(1.03); }
.yt-facade .play {
  position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px;
  border: 1px solid var(--white); border-radius: 50%; background: rgba(0,0,0,.25);
  transition: var(--hover);
}
.yt-facade .play::after { content: ""; position: absolute; left: 29px; top: 23px; border: 13px solid transparent; border-left: 20px solid var(--white); border-right: 0; }
.yt-facade:hover .play { background: var(--primary); border-color: var(--primary); }
.video-card figcaption { margin-top: 14px; font-family: var(--font-display); font-size: 18px; }

/* ---------- Overlay cards (Explore our …) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; min-height: 440px; border-radius: var(--radius-card); overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 32px 24px; text-align: center; color: var(--white); text-decoration: none;
}
.card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.62)); }
.card > :not(img) { position: relative; z-index: 2; }
.card h3 { font-size: 22px; font-weight: 700; }
.card p { margin: 0 0 8px; font-size: 15px; font-weight: 500; max-width: 300px; }
.card:hover > img { transform: scale(1.05); }
.card:hover .btn-ghost { background: var(--white); color: var(--ink); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 56px; }
.member { text-align: center; }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card); }
.member h3 { font-size: var(--fs-h4); font-weight: 700; margin-top: 24px; }
.member .role { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: var(--fs-small); color: var(--primary); margin: 4px 0 8px; }
.member blockquote { margin: 0 0 20px; font-family: var(--font-display); font-style: italic; font-size: 18px; }

/* ---------- Rate deck slides ---------- */
.slides { display: grid; gap: 32px; margin: 0 auto; max-width: 1154px; }
.slides a { display: block; border-radius: var(--radius-card); overflow: hidden; box-shadow: 0 20px 50px -30px rgba(0,0,0,.45); }
.slides img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cta-band { background: var(--black); color: var(--white); text-align: center; padding: 96px 24px; }
.cta-band h2 { font-size: var(--fs-h3); margin-bottom: 12px; }
.cta-band p { margin: 0 auto 32px; max-width: 560px; font-size: 18px; }

/* ---------- Forms ---------- */
.form-wrap { max-width: 800px; margin: 0 auto; background: var(--white); border-radius: var(--radius-card); overflow: hidden; box-shadow: 0 24px 60px -36px rgba(0,0,0,.4); }
.form-wrap iframe { display: block; width: 100%; height: 2400px; border: 0; }
.form-note { text-align: center; margin: 0 auto 32px; max-width: 620px; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(90deg, #000 0%, #000 25%, var(--maroon) 80%, var(--primary) 100%); color: var(--white); padding: 56px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-heading-alt); font-weight: 700; }
.footer-brand img { width: 34px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: var(--font-heading-alt); font-weight: 700; }
.footer-links a { text-decoration: underline; text-underline-offset: 3px; }
.social { display: flex; gap: 20px; }
.social a { display: inline-flex; width: 32px; height: 32px; transition: opacity .2s; }
.social a:hover { opacity: .7; }
.social svg { width: 100%; height: 100%; fill: currentColor; }
.copyright { margin-top: 28px; font-size: 13px; opacity: .7; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; padding: 56px 72px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--white); font-size: 40px; line-height: 1; cursor: pointer; padding: 12px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 12px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: var(--reveal); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .blob { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-nav { gap: 22px; }
  .cards.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  :root { --fs-display: 44px; --fs-h1: 40px; --fs-h3: 34px; --fs-h4: 26px; --header-h: 72px; }
  .nav-toggle { display: block; }
  .brand { position: absolute; left: 50%; transform: translateX(-50%); font-size: 16px; }
  .brand img { width: 32px; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: flex-start; gap: 0; padding: 24px;
    background: var(--black); overflow-y: auto;
    transform: translateX(-100%); transition: transform .35s ease;
  }
  .nav-open .site-nav { transform: none; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .site-nav > a, .nav-drop > a { font-size: 22px; padding: 12px 0; }
  .nav-drop { height: auto; display: block; }
  .nav-drop > a::after { display: none; }
  .nav-drop-menu { position: static; opacity: 1; visibility: visible; transform: none; margin: 0; padding: 0 0 8px 16px; min-width: 0; }
  .nav-cta { margin-top: 16px; }
  .header-spacer { display: block; width: 42px; }
  .about-cols, .team { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .photo-strip img { height: 280px; }
  .cards, .video-grid { grid-template-columns: 1fr 1fr; }
  .white-section, .paper-section { padding: 96px 0; }
  .photo-section { padding: 88px 0; }
}
@media (max-width: 600px) {
  :root { --fs-display: 36px; --fs-h1: 34px; --fs-h3: 28px; }
  .container { padding: 0 16px; }
  .hero p { font-size: 17px; }
  .blob-2, .blob-3 { display: none; }
  .blob-1 { width: 48px; height: 48px; left: 6%; top: 8%; }
  .blob-4 { width: 56px; height: 56px; right: 5%; bottom: 3%; }
  .photo-strip { grid-template-columns: 1fr; }
  .photo-strip img { height: 240px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cards, .cards.four, .video-grid, .video-grid.two { grid-template-columns: 1fr; }
  .card { min-height: 380px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .lightbox { padding: 48px 8px; }
  .form-wrap { border-radius: 0; margin: 0 -16px; }
}

/* ---------- Client Login (client gallery portal) ----------
   Icon on desktop so the existing nav keeps its spacing; full label in the mobile menu. */
.nav-login { display: inline-flex; align-items: center; gap: 10px; }
.nav-login svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
.nav-login .nav-login-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Make room for the icon on narrower desktops (the nav wrapped here before it was added). */
@media (min-width: 1101px) and (max-width: 1200px) { .site-nav { gap: 24px; } }
@media (min-width: 921px) and (max-width: 1100px) { .site-nav { gap: 14px; } }
@media (max-width: 920px) {
  .nav-login .nav-login-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
