/* ============================================
   HAVENROCK HOLDINGS — INDEXINVEST STYLE THEME
   Clean • Modern • Corporate • White Background
   ============================================ */

:root {
/* COLOR SYSTEM — OPTION 4 (Black • Bronze • Linen) */
--color-primary: #111111;        /* Ultra Deep Black */
--color-accent: #B08D57;         /* Bronze */
--color-bg: #FFFFFF;             /* Clean White */
--color-bg-alt: #F9F5EF;         /* Linen */
--color-border: #D6D1C8;         /* Soft Warm Gray */
--color-text-main: #1A1A1A;      /* Deep Charcoal Black */
--color-text-muted: #7A7368;     /* Muted Warm Taupe */

  /* TYPOGRAPHY */
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;

  /* SHADOWS + RADIUS */
  --shadow-card: 0 10px 22px rgba(0,0,0,0.06);
  --shadow-soft: 0 14px 32px rgba(0,0,0,0.08);
  --radius-card: 14px;
  --radius-xl: 24px;
  --radius-round: 999px;

  /* WIDTH */
  --max-width: 1200px;
}

/* ============================================
   BASE STYLES
   ============================================ */

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

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ============================================
   LAYOUT
   ============================================ */

.page-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0rem 1.4rem 4rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 2.5rem;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.section-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}

.page-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section-intro {
  max-width: 720px;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

header {
  background: var(--color-primary);
  padding: 1.2rem 0;
  position: relative;
  z-index: 5;
}

.top-bar {
  max-width: var(--max-width);
  margin: auto;
  padding: 0 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.logo-mark {
  width: 46px;
  height: 46px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
}

.logo-text-main {
  color: #fff;
  /* text-transform: uppercase; */
  font-size: 0.85rem;
  letter-spacing: 0.14em;
}

.logo-text-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.16em;
}

nav {
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

.nav-cta {
  background: var(--color-accent);
  border: none;
  color: #fff;
  padding: 0.55rem 1.3rem;
  font-size: 0.85rem;
  border-radius: var(--radius-round);
  cursor: pointer;
  transition: 0.2s;
}

.nav-cta:hover {
  background: #0089b4;
}

/* MOBILE NAV ----------------------------- */

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

.hamburger span {
  width: 26px;
  height: 2px;
  background: white;
  transition: 0.2s ease;
}

.mobile-nav {
  display: none;
  background: var(--color-primary);
  padding: 1rem;
}

.mobile-nav.show {
  display: block;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: white;
}

/* ============================================
   HERO — SPLIT LAYOUT (H2)
   ============================================ */
   /* ======================================================
   HERO — FULL-WIDTH VIDEO BACKGROUND (H1 LAYOUT)
   Centered-Left Content • Clean • IndexInvest Style
====================================================== */

/* Background Video */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Light Overlay for Readability */
.hero-overlay-light {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.92) 0%,
    rgba(255,255,255,0.78) 35%,
    rgba(255,255,255,0.45) 60%,
    rgba(255,255,255,0.1) 100%
  );
  z-index: -1;
}

/* TEXT BLOCK (Left-Aligned, Vertical Centering) */
.hero-content-centered {
  position: relative;
  max-width: 640px;
  padding: 2rem 0;
}

.hero-content-centered .hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-accent);
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
}

.hero-content-centered .hero-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  line-height: 1.18;
}

.hero-content-centered .hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: 1.8rem;
}

/* HERO BUTTONS */

/* Responsive Adjustments */
@media (max-width: 960px) {
  .hero-fullwidth {
    height: auto;
    padding: 3rem 1.5rem;
  }

  .hero-content-centered {
    padding: 3rem 0;
  }

  /* .hero-bg-video {
    height: 100%;
  } */
}

@media (max-width: 600px) {
  .hero-content-centered .hero-title {
    font-size: 2rem;
  }

  .hero-content-centered .hero-subtitle {
    font-size: 1rem;
  }

  .hero-overlay-light {
    background: rgba(255,255,255,0.92);
  }
}


.btn-primary {
  background: var(--color-accent);
  border: none;
  color: #fff;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-round);
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-primary:hover {
  background: #0089b4;
}

.btn-secondary {
  border: 1px solid var(--color-border);
  background: white;
  padding: 0.82rem 1.6rem;
  border-radius: var(--radius-round);
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--color-text-main);
  transition: 0.25s ease;
}

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

/* ============================================
   CARDS & PANELS
   ============================================ */

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 2rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.cta-panel {
  background: var(--color-accent);
  color: #fff;
  padding: 2rem;
  border-radius: var(--radius-card);
  text-align: center;
  box-shadow: 0 20px 35px rgba(0,166,214,0.35);
}

/* ===========================
   HERO
=========================== */
.hero-fullwidth {
  position: relative;
  width: 100vw;
  height: 80vh;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  padding: 0; /* ✅ critical */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.hero-content {
  position: absolute;
  inset: 0;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.hero-title {
  font-size: 2.6rem;
  margin: 16px 0;
}

.hero-subtitle {
  max-width: 640px;
  opacity: 0.9;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===========================
   HOME SECTIONS
=========================== */
.home {
  max-width: 880px;
  margin: 0 auto;
}

.home-section {
  margin-top: 88px;
}

.home-section h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.home-section p {
  max-width: 720px;
  color: var(--color-text-muted);
}

/* Metrics */
.metrics-editorial {
  margin-top: 24px;
}

.metrics-editorial p {
  margin-bottom: 10px;
}

.metrics-footnote {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Image */
.home-image {
  margin-top: 36px;
  border-radius: 18px;
  overflow: hidden;
}

.home-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ===========================
   MOBILE
=========================== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .home-section {
    margin-top: 64px;
  }

  .home-section h2 {
    font-size: 1.4rem;
  }
}

.about {
  max-width: 880px;
  margin: 0 auto;
}

.about-hero {
  margin-top: 2.5rem;
}

.about-section {
  margin-top: 72px;
}

.about-section h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.about-section p {
  max-width: 720px;
  color: var(--color-text-muted);
}

.about-image {
  margin-top: 32px;
  border-radius: 18px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Leadership */
.leadership-block {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  margin-top: 40px;
  align-items: start;
}

.leadership-image img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.leadership-text h3 {
  margin-bottom: 12px;
}

.leadership-quote {
  margin-top: 24px;
  padding-left: 18px;
  border-left: 3px solid var(--color-border);
  font-style: italic;
  color: var(--color-text-muted);
}

/* Mobile */
@media (max-width: 768px) {
  .about-section {
    margin-top: 56px;
  }

  .about-section h2 {
    font-size: 1.4rem;
  }

  .leadership-block {
    grid-template-columns: 1fr;
  }

  .leadership-image {
    max-width: 260px;
  }
}

/* ============================================
   PORTFOLIO GRID
   ============================================ */

/* ============================================
   PORTFOLIO SECTION
============================================ */

.portfolio-section {
  margin-top: 2.5rem;
}

.portfolio-section .section-title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  margin-bottom: 1.8rem;
}

/* FOOTER */

.portfolio {
  max-width: 880px;
  margin: 0 auto;
}

.portfolio-section {
  margin-top: 88px;
}

.portfolio-section h2 {
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.portfolio-meta {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.portfolio-section p {
  max-width: 720px;
  color: var(--color-text-muted);
}

.portfolio-image {
  display: block;
  margin-top: 32px;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.portfolio-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Subtle hover (desktop only) */
@media (hover: hover) {
  .portfolio-image:hover {
    transform: translateY(-2px);
  }
}

/* Mobile spacing */
@media (max-width: 768px) {
  .portfolio-section {
    margin-top: 64px;
  }

  .portfolio-section h2 {
    font-size: 1.45rem;
  }
}

/* STRATEGY */

.strategy {
  max-width: 880px;
  margin: 0 auto;
}

.strategy-section {
  margin-top: 72px;
}

.strategy-section h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.strategy-section p {
  max-width: 720px;
  color: var(--color-text-muted);
}

.strategy-image {
  margin-top: 40px;
  border-radius: 18px;
  overflow: hidden;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}


.strategy-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .strategy-image {
    width: 100%;
  }
}

/* Mobile spacing */
@media (max-width: 768px) {
  .strategy-section {
    margin-top: 56px;
  }

  .strategy-section h2 {
    font-size: 1.4rem;
  }
}

/* ACQUISITIONS */

.acquisitions {
  max-width: 880px;
  margin: 0 auto;
}

.acq-section {
  margin-top: 72px;
}

.acq-section h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.acq-section p {
  max-width: 720px;
  color: var(--color-text-muted);
}

.acq-image {
  margin-top: 40px;
  border-radius: 18px;
  overflow: hidden;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.acq-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .acq-image {
    width: 100%;
  }
}

/* Mobile spacing refinement */
@media (max-width: 768px) {
  .acq-section {
    margin-top: 56px;
  }

  .acq-section h2 {
    font-size: 1.4rem;
  }
}

/* ============================================
   FOOTER — LOCATION BLOCK
============================================ */

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-location {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.45;
}

.footer-location strong {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.82rem;
}

/* Mobile */
@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    gap: 1.4rem;
    align-items: flex-start;
  }
}

/* ============================================
   FOOTER — ABOUT INDEX INVESTMENT GROUP
============================================ */

.footer-about {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.45;
  margin-top: 0.6rem;
  max-width: 380px;
}

.footer-about strong {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.82rem;
  display: block;
  margin-bottom: 0.25rem;
}

/* Spacing adjustments for mobile */
@media (max-width: 600px) {
  .footer-about {
    margin-top: 0.2rem;
  }
}

/* ============================================
   FOOTER — TWO COLUMN INLINE LAYOUT
============================================ */

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-col {
  flex: 1;
}

/* LOCATION BLOCK */
.footer-location {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.45;
}

.footer-location strong {
  color: #fff;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

/* ABOUT BLOCK INLINE */
.footer-about-inline {
  max-width: 420px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.45;
}

.footer-about-inline strong {
  display: block;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

/* MOBILE STACKING */
@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ============================================
   SNAPSHOT / METRICS CARD
   ============================================ */

.hero-metrics-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow-card);
  max-width: 960px;
  margin: 2.5rem auto 0;
}

.metrics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.metrics-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
}

.metrics-pill {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-round);
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  background: #f0fbff;
}

/* Grid of metrics */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.metric-item {
  padding: 0.9rem 0.95rem;
  border-radius: 10px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}

.metric-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.metric-value {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.15rem;
}

.metric-caption {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Footnote under grid */
.metric-footnote {
  margin-top: 1.2rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* Responsive layout for metrics */
@media (max-width: 960px) {
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .hero-metrics-card {
    padding: 1.4rem 1.2rem;
  }

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

/* ============================================
   FORMS
   ============================================ */

form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

input, select, textarea {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 0.8rem 1rem;
  font-size: 1rem;
  color: var(--color-text-main);
}

textarea {
  min-height: 150px;
}

/* ============================================
   CONTACT FORM — HAVENROCK CORPORATE STYLE
============================================ */

form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem 1.6rem; /* row, column */
  margin-top: 1.2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field-full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: white;
  color: var(--color-text-main);
  transition: all 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: #9aa3b0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(0, 166, 214, 0.15);
  outline: none;
}

textarea {
  min-height: 150px;
  resize: vertical;
  border-radius: 12px;
}

/* Submit Button Area */
.form-submit {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

.form-submit button {
  width: fit-content;
  padding: 0.85rem 2rem;
}

/* Footnote */
.form-footnote {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: -0.5rem;
}

/* RESPONSIVE */
@media (max-width: 780px) {
  form {
    grid-template-columns: 1fr;
  }
}

/* Card styling improvements for this section */

/* CONTACT PAGE */

.contact {
  max-width: 880px;
  margin: 0 auto;
}

.contact-hero {
  margin-top: 2.5rem;
}

.contact-section {
  margin-top: 72px;
}

.contact-section h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.contact-section p {
  max-width: 720px;
  color: var(--color-text-muted);
}

.contact-meta {
  margin-top: 16px;
  font-size: 0.95rem;
}

.contact-meta a {
  color: var(--color-primary);
  text-decoration: none;
}

/* FORM */
.contact-form {
  max-width: 720px;
  margin-top: 32px;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
}

.form-row label {
  font-weight: 500;
  margin-bottom: 6px;
}

.form-row input,
.form-row select,
.form-row textarea {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
}

.form-row textarea {
  resize: vertical;
}

.form-footnote {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 24px 0;
}

.form-submit {
  margin-top: 16px;
}

.contact-disclaimer {
  margin-top: 48px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Mobile refinements */
@media (max-width: 768px) {
  .contact-section {
    margin-top: 56px;
  }

  .contact-section h2 {
    font-size: 1.4rem;
  }
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--color-primary);
  padding: 2rem 0;
  color: rgba(255,255,255,0.85);
  margin-top: 4rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: auto;
  padding: 0 1.4rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-links {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 480px) {
  .page-title,
  .hero-title {
    font-size: 2rem;
  }
}

/* ============================================
   DETAIL PAGE — UNIFORM GALLERY CARD
============================================ */

.detail-gallery-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  margin-top: 1rem;
}

.detail-gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.detail-gallery-row img {
  width: 100%;
  height: 220px;              /* forces uniform height */
  object-fit: cover;           /* keeps clean visuals */
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
}

/* =====================================================
   DETAIL PAGE — FULL-WIDTH VERTICAL PHOTO CARDS
===================================================== */

.detail-gallery-vertical {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.2rem;
}

.detail-photo-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 0.75rem;
  box-shadow: var(--shadow-card);
}

.detail-photo-card img {
  width: 100%;
  height: 300px;         /* uniform height */
  object-fit: cover;     /* clean, professional scaling */
  border-radius: var(--radius-card);
}

@media (max-width: 900px) {
  .detail-gallery-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .detail-gallery-row {
    grid-template-columns: 1fr;
  }

  .detail-gallery-row img {
    height: 200px;
  }
}

@media (max-width: 600px) {
  .detail-photo-card img {
    height: 220px;
  }
}

/* ============================================
   MOBILE NAV TOGGLE (REQUIRED)
============================================ */

@media (max-width: 768px) {

  /* Hide desktop nav */
  nav {
    display: none;
  }

  /* Show hamburger */
  .hamburger {
    display: flex;
  }

}

/* ===============================
   PORTFOLIO SNAPSHOT — CARD
================================ */

.snapshot-card {
  max-width: 820px;
  margin: 32px auto 0;
  padding: 28px 32px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.08),
    0 1px 2px rgba(15, 23, 42, 0.04);
}

/* Each metric row */
.snapshot-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
  padding: 16px 0;
  align-items: start;
}

/* Divider between rows */
.snapshot-row + .snapshot-row {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

/* Left label */
.snapshot-label {
  font-weight: 600;
  color: #0f172a; /* deep slate / navy */
  font-size: 0.95rem;
}

/* Right value */
.snapshot-value {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footnote under card */
.metrics-footnote {
  max-width: 820px;
  margin: 14px auto 0;
  font-size: 0.8rem;
  color: #64748b;
}

/* ===============================
   MOBILE ADJUSTMENTS
================================ */

@media (max-width: 640px) {
  .snapshot-card {
    padding: 22px 20px;
  }

  .snapshot-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .snapshot-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #334155;
  }
}

.portfolio-image {
  margin-top: 40px;
  border-radius: 18px;
  overflow: hidden;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.portfolio-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .portfolio-image {
    width: 100%;
  }
}
