@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

.internal-page { background: var(--bg); color: var(--ink); }

.internal-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(246, 241, 233, 0.76);
  border-bottom: 1px solid rgba(38, 33, 29, 0.1);
  backdrop-filter: blur(14px);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.internal-header.scrolled {
  background: rgba(246, 241, 233, 0.96);
  box-shadow: 0 8px 28px rgba(36, 28, 20, 0.07);
}

.internal-nav-row {
  width: min(1320px, calc(100% - 4rem));
  min-height: 104px;
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2.4vw, 2rem);
}
.internal-nav { flex: 1 1 auto; justify-content: center; }

.internal-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: fit-content;
  color: var(--ink);
  text-decoration: none;
}

.internal-logo img { width: auto; height: 58px; }
.internal-logo-copy { display: flex; flex-direction: column; }
.internal-logo-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}
.internal-logo-sub {
  margin-top: 0.5rem;
  font-family: var(--sans);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.42em;
}

.internal-nav { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); }
.internal-nav a {
  position: relative;
  padding: 0.8rem 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-decoration: none;
}
.internal-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.internal-nav a:hover::after,
.internal-nav a.active::after { transform: scaleX(1); transform-origin: left; }

.internal-cta {
  justify-self: end;
  padding: 1rem 1.7rem;
  border: 1px solid rgba(38, 33, 29, 0.38);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-decoration: none;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease);
}
.internal-cta:hover { color: var(--bg); background: var(--ink); transform: translateY(-2px); }

.internal-lang { display: flex; align-items: center; gap: 0.4rem; flex: 0 0 auto; white-space: nowrap; font-family: var(--sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; }
.internal-cta { flex: 0 0 auto; white-space: nowrap; }
/* On the showroom page the "explore the showroom" button links to itself — hide it */
.portfolio-page .internal-nav-row .internal-cta { display: none; }
.internal-lang a { color: #75695f; transition: color 0.3s; }
.internal-lang a.active { color: var(--ink); }
.internal-lang a:hover { color: var(--ink); }
.internal-lang span { color: #75695f; opacity: 0.45; }

.internal-menu-button {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.internal-menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s ease;
}
.internal-menu-button span + span { margin-top: 8px; }
.internal-header.menu-open .internal-menu-button span:first-child { transform: translateY(5px) rotate(45deg); }
.internal-header.menu-open .internal-menu-button span:last-child { transform: translateY(-5px) rotate(-45deg); }
.internal-mobile-menu { display: none; }

.internal-hero {
  position: relative;
  min-height: clamp(500px, 66vh, 700px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #f6f1e9;
  isolation: isolate;
}
.internal-hero img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: internalHeroScale 1.5s var(--ease) both;
}
.internal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(25, 20, 16, 0.08) 20%, rgba(25, 20, 16, 0.68) 100%),
    linear-gradient(90deg, rgba(25, 20, 16, 0.38), transparent 62%);
}
.internal-hero-copy {
  width: min(1320px, calc(100% - 4rem));
  margin: 0 auto;
  padding: 11rem 0 clamp(4rem, 9vh, 7rem);
  animation: internalHeroUp 1s var(--ease) 0.12s both;
}
.internal-hero-kicker {
  display: block;
  margin-bottom: 1.2rem;
  color: rgba(246, 241, 233, 0.84);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.36em;
}
.internal-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #f6f1e9;
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 7.6rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: 0;
}
.internal-hero h1 em { color: #d6c3b0; font-weight: 400; }
.internal-hero p {
  max-width: 650px;
  margin-top: 1.4rem;
  color: rgba(246, 241, 233, 0.86);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
}

.portfolio-page .internal-hero img { object-position: center 58%; }
.about-page .internal-hero img { object-position: center 48%; }
.about-page .internal-hero { min-height: clamp(470px, 58vh, 620px); }
.contact-page .internal-hero img { object-position: center 52%; }
.contact-page .internal-hero::before {
  background:
    linear-gradient(180deg, rgba(25, 20, 16, 0.14) 16%, rgba(25, 20, 16, 0.78) 100%),
    linear-gradient(90deg, rgba(25, 20, 16, 0.5), transparent 70%);
}
.portfolio-page .pf-filter-section { border-top: 0; }

/* About page editorial flow */
.about-editorial-container {
  width: min(1180px, calc(100% - 4rem));
  margin: 0 auto;
}

.about-editorial-label {
  display: block;
  margin-bottom: 1.5rem;
  color: #75695f;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.36em;
}

.about-editorial-label.light { color: rgba(246, 241, 233, 0.78); }

.about-intro { padding: clamp(6rem, 12vh, 10rem) 0; }
.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: clamp(4rem, 10vw, 9rem);
  align-items: start;
}

.about-intro-copy h2,
.about-section-heading h2,
.about-inquiry h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
}

.about-intro-copy h2 {
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  line-height: 0.98;
}

.about-intro-copy p {
  max-width: 720px;
  margin-top: 1.4rem;
  color: #544b43;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.75;
}

.about-intro-copy .about-intro-lead {
  margin-top: 2.2rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.25;
}

.about-facts { border-top: 1px solid rgba(38, 33, 29, 0.2); }
.about-fact {
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(38, 33, 29, 0.15);
}
.about-fact span {
  display: block;
  margin-bottom: 0.4rem;
  color: #75695f;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.28em;
}
.about-fact strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
}

.about-journey {
  padding: clamp(6rem, 11vh, 9rem) 0;
  background: #ebe2d7;
}
.about-section-heading {
  max-width: 700px;
  margin-bottom: clamp(3.5rem, 7vh, 5.5rem);
}
.about-section-heading h2 {
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  line-height: 1;
}
.about-journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(38, 33, 29, 0.22);
}
.about-journey-item {
  min-height: 320px;
  padding: 2rem clamp(1.5rem, 3vw, 3rem) 1rem 0;
  border-right: 1px solid rgba(38, 33, 29, 0.18);
}
.about-journey-item + .about-journey-item { padding-left: clamp(1.5rem, 3vw, 3rem); }
.about-journey-item:last-child { border-right: 0; }
.about-journey-number {
  color: #75695f;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.25em;
}
.about-journey-item h3 {
  margin: 4rem 0 1.2rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  font-weight: 500;
  line-height: 1.08;
}
.about-journey-item p {
  color: #544b43;
  font-family: var(--sans);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* ── Timeline (My Journey) ─────────────────────────────────────────── */
.about-timeline-list { border-top: 1px solid rgba(38, 33, 29, 0.22); }
.about-timeline-row {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: start;
  padding: clamp(2rem, 4vh, 2.8rem) 0;
  border-bottom: 1px solid rgba(38, 33, 29, 0.15);
}
.about-timeline-year {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1;
  color: #d6c3b0;
}
.about-timeline-body h3 {
  margin: 0 0 0.9rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink);
}
.about-timeline-body p {
  margin: 0;
  max-width: 62ch;
  color: #544b43;
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.75;
}
@media (max-width: 640px) {
  .about-timeline-row { grid-template-columns: 1fr; gap: 0.7rem; }
}

.about-philosophy { padding: clamp(7rem, 14vh, 12rem) 0; }
.about-philosophy blockquote {
  max-width: 1050px;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 500;
  line-height: 1;
}
.about-philosophy-copy {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  max-width: 850px;
  margin: clamp(3rem, 7vh, 5rem) 0 0 auto;
}
.about-philosophy-copy p {
  color: #544b43;
  font-family: var(--sans);
  font-size: 0.98rem;
  line-height: 1.75;
}

.about-inquiry {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #f6f1e9;
}
.about-inquiry > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.about-inquiry-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 22, 16, 0.55), rgba(28, 22, 16, 0.72));
}
.about-inquiry-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.about-inquiry-logo {
  display: block;
  width: auto;
  height: 96px;
  margin: 0 auto 1.8rem;
}
.about-inquiry h2 {
  color: #f6f1e9;
  font-size: clamp(4rem, 8vw, 7.5rem);
  line-height: 0.9;
}
.about-inquiry h2 em { color: #d6c3b0; font-weight: 400; }
.about-inquiry p {
  max-width: 480px;
  margin: 1.8rem auto 2.8rem;
  color: rgba(246, 241, 233, 0.86);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
}
.about-inquiry-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.about-inquiry-primary,
.about-inquiry-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 1.8rem;
  border: 1px solid rgba(246, 241, 233, 0.58);
  border-radius: 999px;
  color: #f6f1e9;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease);
}
.about-inquiry-primary { color: var(--ink); background: #f6f1e9; }
.about-inquiry-primary span { margin-left: 0.8rem; }
.about-inquiry-primary:hover,
.about-inquiry-secondary:hover { transform: translateY(-2px); }
.about-inquiry-secondary:hover { background: rgba(246, 241, 233, 0.12); }

@keyframes internalHeroScale {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}
@keyframes internalHeroUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1040px) {
  .internal-nav-row {
    grid-template-columns: 1fr auto;
    min-height: 92px;
    width: calc(100% - 2.6rem);
  }
  .internal-nav, .internal-cta { display: none; }
  .internal-nav-row .internal-lang { display: none; }
  .internal-mobile-menu .internal-lang { margin-top: 1.4rem; font-size: 0.9rem; letter-spacing: 0.22em; }
  .internal-menu-button { display: block; }
  .internal-mobile-menu {
    position: fixed;
    inset: 92px 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1.3rem 2.5rem;
    background: rgba(246, 241, 233, 0.98);
    border-bottom: 1px solid rgba(38, 33, 29, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  }
  .internal-header.menu-open .internal-mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .internal-mobile-menu a {
    color: var(--ink);
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-decoration: none;
  }
  .about-intro-grid { grid-template-columns: 1fr; }
  .about-facts { display: grid; grid-template-columns: repeat(2, 1fr); }
  .about-fact:nth-child(odd) { padding-right: 2rem; border-right: 1px solid rgba(38, 33, 29, 0.15); }
  .about-fact:nth-child(even) { padding-left: 2rem; }
}

@media (max-width: 600px) {
  .internal-nav-row { min-height: 86px; }
  .internal-logo img { height: 48px; }
  .internal-logo-name { font-size: 1.05rem; }
  .internal-logo-sub { font-size: 0.45rem; }
  .internal-mobile-menu { inset: 86px 0 auto; }
  .internal-hero { min-height: 590px; }
  .internal-hero-copy { width: calc(100% - 2.6rem); padding: 9rem 0 3.5rem; }
  .internal-hero h1 { font-size: clamp(3.5rem, 17vw, 5rem); }
  .internal-hero p { font-size: 0.94rem; }
  .about-page .internal-hero { min-height: 560px; }
  .about-editorial-container { width: calc(100% - 2.6rem); }
  .about-intro { padding: 5rem 0; }
  .about-intro-copy h2 { font-size: 3.4rem; }
  .about-intro-copy .about-intro-lead { font-size: 1.8rem; }
  .about-facts { grid-template-columns: 1fr; }
  .about-fact:nth-child(odd),
  .about-fact:nth-child(even) { padding: 1.2rem 0; border-right: 0; }
  .about-journey { padding: 5rem 0; }
  .about-journey-grid { grid-template-columns: 1fr; }
  .about-journey-item,
  .about-journey-item + .about-journey-item {
    min-height: 0;
    padding: 1.8rem 0 2.5rem;
    border-right: 0;
    border-bottom: 1px solid rgba(38, 33, 29, 0.18);
  }
  .about-journey-item h3 { margin-top: 2.4rem; }
  .about-philosophy { padding: 6rem 0; }
  .about-philosophy blockquote { font-size: 3.25rem; }
  .about-philosophy-copy { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-inquiry { min-height: 680px; }
  .about-inquiry h2 { font-size: 4.2rem; }
  .about-inquiry-actions { flex-direction: column; align-items: stretch; }
  .about-page .reference-footer .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .about-page .reference-footer .footer-social {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .internal-hero img, .internal-hero-copy { animation: none; }
}

/* Privacy note under the contact form */
.form-privacy {
  margin-top: 1.1rem;
  font-size: 0.78rem;
  color: #75695f;
}

/* Unified footer (matches homepage footer exactly) */
.reference-footer {
  background: #f6f1e9;
}
.reference-footer .footer-contact a {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #26211d;
}
.reference-footer .footer-contact a:hover { color: #544b43; }
.reference-footer .footer-social a {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #75695f;
}
.reference-footer .footer-social a:hover { color: #26211d; }
.reference-footer .footer-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: #75695f;
}

@media (max-width: 600px) {
  .internal-page .reference-footer .footer-top,
  .internal-page .reference-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .internal-page .reference-footer .footer-social {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
