/*
 * Larawan by Amihan — styles.css
 * ============================================================
 * PALETTE RATIONALE
 * "Larawan" = photograph | "Amihan" = cool northeast monsoon breeze
 * Visual concept: Misty cool morning — the quality of light when amihan blows,
 * soft, diffused, silver-touched, mist-cool. Perfect for a family/children/women
 * portrait photographer. Inverted from the typical dark-background portfolio:
 * this is a CREAM-dominant site with deep cool charcoal accents — editorial
 * and airy, like morning mist over Bulacan rice fields.
 *
 * --dark       #1C2530 — deep cool slate charcoal (midnight amihan sky)
 * --bg-alt     #242F3D — slightly lighter charcoal (pre-dawn)
 * --accent     #7B9EAF — steel-blue mist (amihan breeze color, desaturated sky)
 * --highlight  #C8AA96 — warm blush taupe (skin warmth, morning sun on faces)
 * --cream      #F4F1EE — cool parchment cream (neutral paper, soft and clean)
 * --cream-dim  rgba(244,241,238,0.65)
 * --accent-dim rgba(123,158,175,0.14)
 * --border     rgba(123,158,175,0.22)
 *
 * FONTS
 * --ff-display: 'Crete Round' — warm, editorial slab-influenced serif with humanist curves.
 *               Elegant without being stiff. Perfect for emotional portrait photography.
 *               First use in this portfolio.
 * --ff-body:    'Raleway' — geometric humanist sans with refined proportions.
 *               Clean and modern, allows photography to speak.
 *               (Used before in Raleway + other displays — Crete Round + Raleway is new.)
 *
 * ============================================================
 * SECTION INDEX
 * 01. CSS Custom Properties & Reset
 * 02. Typography
 * 03. Layout Utilities
 * 04. Buttons
 * 05. Navbar
 * 06. Footer
 * 07. Page Hero
 * 08. Home — Hero
 * 09. Home — Features Strip
 * 10. Home — Portfolio Grid
 * 11. Home — Brand Teaser
 * 12. Home — Stats Row
 * 13. Home — Review Cards
 * 14. Home — Social CTA
 * 15. Home — Social Feed Preview
 * 16. About Page
 * 17. Portfolio Page
 * 18. Gallery Page
 * 19. Contact Page
 * 20. Scroll-to-Top
 * 21. Animations
 * 22. Responsive
 * ============================================================
 */

/* ============================================================
   01. CSS Custom Properties & Reset
   ============================================================ */
:root {
  --dark:       #1C2530;
  --bg-alt:     #242F3D;
  --accent:     #7B9EAF;
  --highlight:  #C8AA96;
  --cream:      #F4F1EE;
  --cream-dim:  rgba(244,241,238,0.65);
  --accent-dim: rgba(123,158,175,0.14);
  --border:     rgba(123,158,175,0.22);
  --ff-display: 'Crete Round', Georgia, serif;
  --ff-body:    'Raleway', 'Helvetica Neue', Arial, sans-serif;
  --nav-h:      72px;
  --radius:     4px;
  --shadow:     0 4px 24px rgba(28,37,48,0.18);
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ============================================================
   02. Typography
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  line-height: 1.2;
  font-weight: 400;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
h5 { font-size: 0.85rem; font-family: var(--ff-body); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--ff-display);
  margin-bottom: 1.25rem;
  color: var(--dark);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--dark);
  opacity: 0.7;
  max-width: 55ch;
}

/* ============================================================
   03. Layout Utilities
   ============================================================ */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.section--dark {
  background: var(--dark);
  color: var(--cream);
}

.section--dark .section-title,
.section--dark h2,
.section--dark h3 {
  color: var(--cream);
}

.section--dark .section-label {
  color: var(--accent);
}

.section--alt {
  background: #EEE9E4;
}

.section--deep {
  background: var(--bg-alt);
  color: var(--cream);
}

.section--deep .section-title,
.section--deep h2,
.section--deep h3 {
  color: var(--cream);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-highlight { color: var(--highlight); }

/* ============================================================
   04. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #5F88A0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(123,158,175,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}

.btn-outline:hover {
  background: var(--dark);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-outline--light {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(244,241,238,0.6);
}

.btn-outline--light:hover {
  background: rgba(244,241,238,0.12);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--cream);
  color: var(--dark);
}

.btn-white:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ============================================================
   05. Navbar
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar--scrolled {
  background: var(--dark);
  box-shadow: 0 2px 20px rgba(28,37,48,0.3);
}

.navbar__inner {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.navbar__logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.navbar__brand-name {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar__nav a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,241,238,0.75);
  transition: color var(--transition);
  position: relative;
}

.navbar__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.navbar__nav a:hover,
.navbar__nav a.active {
  color: var(--cream);
}

.navbar__nav a:hover::after,
.navbar__nav a.active::after {
  transform: scaleX(1);
}

.navbar__cta {
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: all 0.3s ease;
}

/* Mobile overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.open {
  opacity: 1;
}

.mobile-overlay a {
  font-family: var(--ff-display);
  font-size: 2rem;
  color: var(--cream);
  transition: color var(--transition);
}

.mobile-overlay a:hover {
  color: var(--accent);
}

.mobile-overlay .btn {
  margin-top: 8px;
}

.mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ============================================================
   06. Footer
   ============================================================ */
.footer {
  background: var(--dark);
  color: var(--cream);
  padding: 80px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer__logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

.footer__brand-name {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--cream);
}

.footer__tagline {
  font-size: 0.9rem;
  color: rgba(244,241,238,0.6);
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: rgba(244,241,238,0.7);
  transition: all var(--transition);
}

.footer__social-link svg {
  width: 16px; height: 16px;
}

.footer__social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.footer__col h5 {
  color: var(--cream);
  margin-bottom: 20px;
}

.footer__col ul li {
  margin-bottom: 10px;
}

.footer__col ul a {
  font-size: 0.9rem;
  color: rgba(244,241,238,0.6);
  transition: color var(--transition);
}

.footer__col ul a:hover {
  color: var(--accent);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(244,241,238,0.7);
  font-size: 0.9rem;
}

.footer__contact-item svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
}

.footer__bottom {
  margin-top: 60px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  font-size: 0.78rem;
  color: rgba(244,241,238,0.45);
}

.footer__badges {
  display: flex;
  gap: 16px;
}

.footer__badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,241,238,0.35);
  border: 1px solid rgba(244,241,238,0.15);
  padding: 4px 10px;
  border-radius: 2px;
}

/* ============================================================
   07. Page Hero
   ============================================================ */
.page-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: var(--page-hero-bg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(28,37,48,0.55) 0%, rgba(28,37,48,0.3) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  color: var(--cream);
}

.page-hero__content h1 {
  color: var(--cream);
  margin-bottom: 12px;
}

.page-hero__content p {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 50ch;
  margin: 0 auto;
}

/* ============================================================
   08. Home — Hero
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('images/banner.jpg');
  background-size: cover;
  background-position: center top;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28,37,48,0.72) 0%,
    rgba(28,37,48,0.45) 50%,
    rgba(28,37,48,0.3) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding-top: var(--nav-h);
  color: var(--cream);
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid rgba(123,158,175,0.4);
  border-radius: 2px;
}

.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  color: var(--cream);
  line-height: 1.08;
  margin-bottom: 12px;
  max-width: 16ch;
}

.hero__subtitle {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero__tagline {
  font-size: 1.1rem;
  color: rgba(244,241,238,0.82);
  max-width: 52ch;
  margin-bottom: 40px;
  font-style: italic;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(244,241,238,0.6);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   09. Home — Features Strip
   ============================================================ */
.features-strip {
  padding: 80px 0;
  background: var(--dark);
}

.features-strip__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}

.feature-item {
  text-align: center;
  color: var(--cream);
  padding: 20px 12px;
}

.feature-item__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--accent);
}

.feature-item__icon svg {
  width: 100%;
  height: 100%;
}

.feature-item h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--cream);
}

.feature-item p {
  font-size: 0.82rem;
  color: rgba(244,241,238,0.55);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   10. Home — Portfolio Grid
   ============================================================ */
.portfolio-grid {
  padding: 100px 0;
  background: var(--cream);
}

.portfolio-grid__header {
  text-align: center;
  margin-bottom: 60px;
}

.portfolio-grid__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.portfolio-tile {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-tile:hover img {
  transform: scale(1.06);
}

.portfolio-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,37,48,0.82) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.portfolio-tile:hover .portfolio-tile__overlay {
  opacity: 1;
}

.portfolio-tile__cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.portfolio-tile__title {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  color: var(--cream);
}

/* ============================================================
   11. Home — Brand Teaser
   ============================================================ */
.brand-teaser {
  padding: 0;
  background: #EEE9E4;
}

.brand-teaser__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}

.brand-teaser__image {
  position: relative;
  overflow: hidden;
}

.brand-teaser__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.brand-teaser__image:hover img {
  transform: scale(1.04);
}

.brand-teaser__content {
  padding: 80px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-teaser__content .section-label {
  margin-bottom: 12px;
}

.brand-teaser__content h2 {
  margin-bottom: 24px;
  line-height: 1.2;
}

.brand-teaser__content p {
  color: rgba(28,37,48,0.75);
  font-size: 0.95rem;
  line-height: 1.8;
}

.brand-teaser__content .btn {
  margin-top: 32px;
  align-self: flex-start;
}

/* ============================================================
   12. Home — Stats Row
   ============================================================ */
.stats-row {
  padding: 80px 0;
  background: var(--dark);
}

.stats-row__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 20px;
  border-left: 1px solid var(--border);
}

.stat-item:first-child {
  border-left: none;
}

.stat-item__number {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244,241,238,0.55);
}

/* ============================================================
   13. Home — Review Cards
   ============================================================ */
.reviews {
  padding: 100px 0;
  background: var(--cream);
}

.reviews__header {
  text-align: center;
  margin-bottom: 60px;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: 0 2px 16px rgba(28,37,48,0.07);
  border-top: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-card__stars {
  display: flex;
  gap: 4px;
  color: var(--highlight);
}

.review-card__stars svg {
  width: 16px; height: 16px;
}

.review-card__quote {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(28,37,48,0.8);
  font-style: italic;
  flex: 1;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(28,37,48,0.08);
  padding-top: 16px;
}

.review-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 1rem;
  color: var(--accent);
  flex-shrink: 0;
}

.review-card__name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
}

.review-card__type {
  font-size: 0.75rem;
  color: rgba(28,37,48,0.5);
}

/* ============================================================
   14. Home — Social CTA
   ============================================================ */
.social-cta {
  padding: 100px 0;
  background: var(--bg-alt);
  text-align: center;
}

.social-cta h2 {
  color: var(--cream);
  margin-bottom: 16px;
}

.social-cta p {
  color: rgba(244,241,238,0.65);
  font-size: 1rem;
  margin-bottom: 40px;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}

.social-cta__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--transition);
}

.social-btn svg {
  width: 18px; height: 18px;
}

.social-btn--instagram {
  background: linear-gradient(135deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  color: #fff;
}

.social-btn--instagram:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.social-btn--facebook {
  background: #1877F2;
  color: #fff;
}

.social-btn--facebook:hover {
  background: #1265d0;
  transform: translateY(-2px);
}

/* ============================================================
   15. Home — Social Feed Preview
   ============================================================ */
.social-feed {
  padding: 100px 0;
  background: var(--cream);
}

.social-feed__header {
  text-align: center;
  margin-bottom: 48px;
}

.social-feed__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.feed-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--accent-dim);
}

.feed-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feed-item:hover img {
  transform: scale(1.08);
}

.feed-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,37,48,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.feed-item__overlay svg {
  width: 28px; height: 28px;
  color: #fff;
}

.feed-item:hover .feed-item__overlay {
  opacity: 1;
}

/* ============================================================
   16. About Page
   ============================================================ */
.about-origin {
  padding: 100px 0;
  background: var(--cream);
}

.about-origin__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-origin__image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-origin__image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.about-origin__accent {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 140px; height: 140px;
  border: 3px solid var(--accent);
  border-radius: var(--radius);
  z-index: -1;
}

.about-origin__content p {
  color: rgba(28,37,48,0.75);
  font-size: 0.98rem;
  line-height: 1.85;
  margin-bottom: 18px;
}

/* Philosophy cards */
.philosophy {
  padding: 100px 0;
  background: #EEE9E4;
}

.philosophy__header {
  text-align: center;
  margin-bottom: 60px;
}

.philosophy__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.philosophy-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 44px 32px;
  box-shadow: 0 2px 12px rgba(28,37,48,0.06);
  text-align: center;
}

.philosophy-card__icon {
  width: 56px; height: 56px;
  margin: 0 auto 24px;
  background: var(--accent-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.philosophy-card__icon svg {
  width: 28px; height: 28px;
}

.philosophy-card h4 {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.philosophy-card p {
  font-size: 0.88rem;
  color: rgba(28,37,48,0.68);
  line-height: 1.75;
}

/* Values */
.values-list {
  padding: 100px 0;
  background: var(--dark);
}

.values-list__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.values-list__title {
  color: var(--cream);
  margin-bottom: 16px;
}

.values-list__intro {
  color: rgba(244,241,238,0.65);
  font-size: 1rem;
  margin-bottom: 0;
}

.values-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.value-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.value-item__num {
  font-family: var(--ff-display);
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.45;
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}

.value-item__text h4 {
  color: var(--cream);
  margin-bottom: 4px;
  font-size: 1rem;
}

.value-item__text p {
  font-size: 0.85rem;
  color: rgba(244,241,238,0.55);
  margin: 0;
  line-height: 1.6;
}

/* Timeline */
.timeline-section {
  padding: 100px 0;
  background: var(--cream);
}

.timeline-section__header {
  text-align: center;
  margin-bottom: 60px;
}

.timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  padding-left: 0;
  position: relative;
}

.timeline-item__dot {
  flex-shrink: 0;
  width: 80px;
  text-align: center;
  position: relative;
}

.timeline-item__dot::after {
  content: '';
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.timeline-item__year {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.timeline-item__content {
  padding-top: 0;
}

.timeline-item__content h4 {
  margin-bottom: 6px;
  font-size: 1rem;
  color: var(--dark);
}

.timeline-item__content p {
  font-size: 0.87rem;
  color: rgba(28,37,48,0.65);
  line-height: 1.65;
  margin: 0;
}

/* About CTA split */
.about-cta {
  padding: 0;
  background: var(--bg-alt);
}

.about-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.about-cta__image {
  overflow: hidden;
}

.about-cta__image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.about-cta__content {
  padding: 80px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--cream);
}

.about-cta__content h2 {
  color: var(--cream);
  margin-bottom: 20px;
}

.about-cta__content p {
  color: rgba(244,241,238,0.7);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.about-cta__btns {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ============================================================
   17. Portfolio Page
   ============================================================ */
.disclaimer-bar {
  background: var(--accent-dim);
  border-left: 3px solid var(--accent);
  padding: 16px 0;
}

.disclaimer-bar p {
  font-size: 0.85rem;
  color: var(--dark);
  margin: 0;
}

.disclaimer-bar a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}

/* Category tiles */
.category-tiles {
  padding: 80px 0;
  background: var(--cream);
}

.category-tiles__header {
  text-align: center;
  margin-bottom: 48px;
}

.category-tiles__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  aspect-ratio: 3/4;
}

.category-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-tile:hover img {
  transform: scale(1.06);
}

.category-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,37,48,0.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--cream);
  transition: background var(--transition);
}

.category-tile:hover .category-tile__overlay {
  background: linear-gradient(to top, rgba(28,37,48,0.9) 0%, rgba(28,37,48,0.2) 55%);
}

.category-tile__count {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.category-tile__name {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  color: var(--cream);
}

/* Service sections */
.services-section {
  padding: 60px 0;
}

.services-section:nth-child(even) {
  background: #EEE9E4;
}

.services-section__header {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}

.services-section__anchor {
  position: relative;
  top: -100px;
}

.services-section__tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 2px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}

.service-item:last-child {
  border-bottom: none;
}

.service-item__name {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-signature {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--highlight);
  color: #fff;
  padding: 3px 8px;
  border-radius: 2px;
}

.service-item__desc {
  font-size: 0.88rem;
  color: rgba(28,37,48,0.68);
  line-height: 1.75;
  margin: 0;
}

/* Portfolio CTA */
.portfolio-cta {
  padding: 100px 0;
  background: var(--dark);
  text-align: center;
}

.portfolio-cta h2 {
  color: var(--cream);
  margin-bottom: 16px;
}

.portfolio-cta p {
  color: rgba(244,241,238,0.65);
  max-width: 48ch;
  margin: 0 auto 40px;
}

/* ============================================================
   18. Gallery Page
   ============================================================ */
.gallery-section {
  padding: 80px 0;
  background: var(--cream);
}

.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 9px 22px;
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  color: rgba(28,37,48,0.6);
  border: 1.5px solid rgba(28,37,48,0.18);
  transition: all var(--transition);
  font-family: var(--ff-body);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.gallery-group {
  margin-bottom: 60px;
}

.gallery-group__title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(28,37,48,0.4);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.gallery-group__title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.masonry {
  columns: 4;
  column-gap: 4px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: block;
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.masonry-item:hover img {
  transform: scale(1.04);
}

.masonry-item[data-category] {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.masonry-item.hidden {
  display: none;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28,37,48,0.97);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox__close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition);
  line-height: 1;
}

.lightbox__close:hover { opacity: 1; }

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(244,241,238,0.12);
  border: 1px solid rgba(244,241,238,0.2);
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  cursor: pointer;
  transition: background var(--transition);
  font-size: 1.2rem;
}

.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(123,158,175,0.3);
}

.lightbox__counter {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  color: rgba(244,241,238,0.5);
  letter-spacing: 0.1em;
}

/* Gallery CTA */
.gallery-cta {
  padding: 100px 0;
  background: var(--dark);
  text-align: center;
}

.gallery-cta h2 { color: var(--cream); margin-bottom: 16px; }
.gallery-cta p { color: rgba(244,241,238,0.65); max-width: 48ch; margin: 0 auto 40px; }

/* ============================================================
   19. Contact Page
   ============================================================ */
.contact-section {
  padding: 100px 0;
  background: var(--cream);
}

.contact-section__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.contact-blocks {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(28,37,48,0.06);
  border-left: 3px solid var(--accent);
  text-decoration: none;
  transition: box-shadow var(--transition), transform var(--transition);
}

.contact-block:hover {
  box-shadow: 0 4px 20px rgba(28,37,48,0.12);
  transform: translateY(-2px);
}

.contact-block__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-block__icon svg {
  width: 20px; height: 20px;
}

.contact-block__title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.contact-block__detail {
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 500;
}

/* Contact Form */
.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 48px 40px;
  box-shadow: 0 4px 24px rgba(28,37,48,0.08);
}

.contact-form h3 {
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.contact-form > p {
  font-size: 0.88rem;
  color: rgba(28,37,48,0.6);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(28,37,48,0.65);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(28,37,48,0.15);
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 0.92rem;
  color: var(--dark);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #C0392B;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

#formSuccess {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

#formSuccess.visible {
  display: block;
}

#formSuccess svg {
  width: 60px; height: 60px;
  color: var(--accent);
  margin: 0 auto 16px;
}

#formSuccess h3 {
  margin-bottom: 8px;
  color: var(--dark);
}

#formSuccess p {
  color: rgba(28,37,48,0.65);
  font-size: 0.92rem;
  margin: 0;
}

/* Map placeholder */
.map-section {
  padding: 80px 0;
  background: #EEE9E4;
}

.map-placeholder {
  background: #fff;
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 2px 12px rgba(28,37,48,0.06);
}

.map-placeholder__pin {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  color: var(--accent);
}

.map-placeholder__pin svg {
  width: 100%; height: 100%;
}

.map-placeholder h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.map-placeholder p {
  font-size: 0.88rem;
  color: rgba(28,37,48,0.65);
  margin-bottom: 20px;
}

/* FAQ Accordion */
.faq-section {
  padding: 100px 0;
  background: var(--cream);
}

.faq-section__header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  font-family: var(--ff-body);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--accent);
  transition: transform var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer p {
  font-size: 0.9rem;
  color: rgba(28,37,48,0.72);
  line-height: 1.8;
  padding-bottom: 20px;
  margin: 0;
}

/* ============================================================
   20. Scroll-to-Top
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--cream);
  z-index: 900;
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--transition);
  font-size: 1rem;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.scroll-top svg {
  width: 18px; height: 18px;
}

/* ============================================================
   21. Animations
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   22. Responsive
   ============================================================ */
@media (max-width: 1280px) {
  .features-strip__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .navbar__nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-overlay {
    display: flex;
  }

  .brand-teaser__content {
    padding: 60px 48px;
  }

  .features-strip__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-tiles__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .masonry {
    columns: 3;
  }

  .social-feed__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-section__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-origin__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-origin__image {
    max-height: 400px;
  }

  .values-list__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 60px;
  }

  .section {
    padding: 70px 0;
  }

  .portfolio-grid__items {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .philosophy__cards {
    grid-template-columns: 1fr;
  }

  .features-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .stat-item {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 32px 16px;
  }

  .brand-teaser__grid {
    grid-template-columns: 1fr;
  }

  .brand-teaser__image {
    height: 350px;
  }

  .brand-teaser__content {
    padding: 48px 32px;
  }

  .about-cta__inner {
    grid-template-columns: 1fr;
  }

  .about-cta__image {
    height: 300px;
  }

  .about-cta__content {
    padding: 48px 32px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .social-feed__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .masonry {
    columns: 2;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .category-tiles__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }

  .hero__ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .portfolio-grid__items {
    grid-template-columns: 1fr;
  }

  .social-feed__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-strip__grid {
    grid-template-columns: 1fr;
  }

  .category-tiles__grid {
    grid-template-columns: 1fr;
  }

  .masonry {
    columns: 1;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}
