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

/* ── Variables ── */
:root {
  --bg:        #131110;
  --surface:   #1d1815;
  --border:    #2e2420;
  --accent:    #c4a27a;
  --accent2:   #8c6a44;
  --text:      #f0e8df;
  --muted:     #7a6659;
  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'DM Sans', sans-serif;
  --max:       1200px;
  --nav-h:     72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 64px);
  background: rgba(19, 17, 16, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }

/* ── Hero ── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
}
.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(40px, 8vw, 100px) clamp(24px, 6vw, 80px);
}
.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.1;
  max-width: 700px;
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 420px;
  line-height: 1.8;
}

/* ── Sections ── */
section { padding: clamp(64px, 10vw, 120px) clamp(24px, 6vw, 80px); }
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}
.about-text h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 24px;
}
.about-text p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.9;
}
.about-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-img img { transition: transform 0.8s ease; }
.about-img:hover img { transform: scale(1.04); }

/* ── CTA Banner ── */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 0;
  height: 480px;
}
.cta-banner img {
  position: absolute;
  inset: 0;
  filter: brightness(0.3);
}
.cta-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}
.cta-inner h3 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  margin-bottom: 28px;
  font-style: italic;
}
.btn {
  display: inline-block;
  padding: 14px 40px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  color: var(--accent);
  transition: all 0.25s;
}
.btn:hover {
  background: var(--accent);
  color: var(--bg);
}
.btn-solid {
  background: var(--accent);
  color: var(--bg);
}
.btn-solid:hover {
  background: transparent;
  color: var(--accent);
}

/* ── Portfolio Grid ── */
.portfolio-header {
  text-align: center;
  padding: clamp(100px, 12vw, 160px) clamp(24px, 6vw, 80px) clamp(48px, 6vw, 80px);
}
.portfolio-header h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  font-style: italic;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2px;
  padding: 0 0 clamp(64px, 10vw, 120px);
}
.portfolio-item {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--surface);
}
.portfolio-item img {
  transition: transform 0.7s ease, filter 0.4s;
  filter: brightness(0.85);
}
.portfolio-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.5);
}
.portfolio-item-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  background: linear-gradient(transparent, rgba(13,10,9,0.9));
  transform: translateY(8px);
  transition: transform 0.3s;
}
.portfolio-item:hover .portfolio-item-info { transform: translateY(0); }
.portfolio-item-info h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
}
.portfolio-item-info span {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.3s 0.1s;
}
.portfolio-item:hover .portfolio-item-info span { opacity: 1; }

/* ── Portfolio Detail ── */
.detail-hero {
  height: 70svh;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}
.detail-hero img {
  filter: brightness(0.6);
}
.detail-hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: clamp(32px, 5vw, 64px);
  background: linear-gradient(transparent, rgba(13,10,9,0.95));
}
.detail-hero-content h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  margin-bottom: 8px;
}
.detail-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 100px) clamp(24px, 6vw, 80px);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(40px, 6vw, 80px);
}
.detail-specs {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.detail-specs h4 {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.spec-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.spec-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.spec-value { font-size: 0.95rem; }
.detail-content p {
  color: var(--muted);
  line-height: 1.95;
  font-size: 1rem;
  margin-bottom: 20px;
}
.gallery {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.gallery-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface);
}
.gallery-img img { transition: transform 0.5s; }
.gallery-img:hover img { transform: scale(1.04); }
.detail-nav {
  display: flex;
  justify-content: space-between;
  padding: 40px clamp(24px, 6vw, 80px);
  border-top: 1px solid var(--border);
  max-width: var(--max);
  margin: 0 auto;
}
.detail-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.detail-nav a:hover { color: var(--accent); }

/* ── Contact ── */
.contact-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(120px, 14vw, 180px) clamp(24px, 6vw, 80px) clamp(64px, 10vw, 120px);
}
.contact-wrap h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 12px;
}
.contact-wrap p {
  color: var(--muted);
  margin-bottom: 48px;
  font-size: 0.95rem;
}
.form-group { margin-bottom: 28px; }
.form-group label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent2); }
.form-group textarea { resize: vertical; min-height: 160px; }
.form-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 32px;
  font-style: italic;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px clamp(24px, 6vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
footer .foot-brand {
  font-family: var(--serif);
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}
footer .foot-copy {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.25s; }
.fade-up-3 { animation-delay: 0.4s; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img { order: -1; aspect-ratio: 3/2; }
  .detail-body { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .detail-nav { flex-direction: column; gap: 16px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 24px; }
}
