/* ===== Alpine Custom Works — Clean Modern Luxury ===== */

:root {
  --bg: #0a1a1a;                 /* refined deep teal */
  --bg-elevated: #0e2222;
  --bg-card: #122828;
  --text: #f7f4ef;               /* warm cream */
  --text-muted: #a3aba3;
  --accent: #c17a3a;             /* copper from logo */
  --accent-hover: #d48b48;
  --border: rgba(255, 255, 255, 0.07);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --container: 1200px;
  --header-h: 88px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 28, 28, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(11, 28, 28, 0.96);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* ===== Brand / Logo System ===== */
/* Shared pinecone icon */
.pinecone {
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-drag: none;
  /* Bolder 3D / depth effect */
  filter: 
    drop-shadow(0 1px 0 rgba(255, 220, 180, 0.25))
    drop-shadow(0 3px 2px rgba(0, 0, 0, 0.35))
    drop-shadow(0 8px 16px rgba(0, 0, 0, 0.28))
    drop-shadow(0 14px 28px rgba(0, 0, 0, 0.18))
    drop-shadow(2px 2px 0 rgba(255, 255, 255, 0.08));
  transform: translateZ(0);
  transition: filter 0.35s ease, transform 0.35s ease;
}

.brand-row .brand-pinecone {
  transform: translateY(-50%);
}

.pinecone:hover {
  filter: 
    drop-shadow(0 1px 0 rgba(255, 220, 180, 0.35))
    drop-shadow(0 4px 3px rgba(0, 0, 0, 0.4))
    drop-shadow(0 10px 20px rgba(0, 0, 0, 0.32))
    drop-shadow(0 18px 36px rgba(0, 0, 0, 0.2))
    drop-shadow(2px 2px 0 rgba(255, 255, 255, 0.1));
  transform: translateY(-2px);
}

.brand-row .brand-pinecone:hover {
  transform: translateY(calc(-50% - 2px));
}


.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}

.logo-icon {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.logo-text-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--text);
  line-height: 1;
}

.logo-tag {
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
}

/* Hero Brand Mark — pinecone left of ALPINE, centered */
.hero-brand {
  margin-bottom: 36px;
  text-align: center;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0 auto;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brand-row .brand-name {
  /* This is the centering reference */
  position: relative;
  z-index: 1;
}

.brand-row .brand-pinecone {
  /* Sit to the left of the centered ALPINE without shifting the text */
  position: absolute;
  right: 100%;
  margin-right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.brand-pinecone {
  height: clamp(82px, 11.5vw, 122px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 12px rgba(0,0,0,0.35));
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: clamp(4.3rem, 10.8vw, 7rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text);
  line-height: 1;
  text-align: center;
}

.brand-sub {
  font-family: var(--font-serif);
  font-size: clamp(0.8rem, 1.7vw, 1.05rem);
  letter-spacing: 0.4em;
  color: var(--text);
  font-weight: 400;
  opacity: 0.72;
  margin-top: 6px;
  text-align: center;
  width: 100%;
  display: block;
}

.brand-slogan {
  margin-top: 14px;
  font-size: 0.76rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
  display: block;
}

/* Footer brand */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-icon {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.footer-brand .logo-name {
  font-size: 1.15rem;
}

.footer-brand .logo-tag {
  font-size: 0.55rem;
}

.nav {
  display: flex;
  gap: 36px;
}

.nav a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  position: relative;
}

.nav a:hover {
  color: var(--text);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav a:hover::after {
  width: 100%;
}

.header-phone {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-weight: 500;
}

.header-phone:hover {
  color: var(--accent-hover);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  position: absolute;
  left: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle span:first-child { top: 4px; }
.menu-toggle span:last-child { bottom: 4px; }

.menu-toggle.active span:first-child {
  transform: translateY(5.5px) rotate(45deg);
}
.menu-toggle.active span:last-child {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1920&q=85') center/cover no-repeat;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(11, 28, 28, 0.94) 0%,
    rgba(11, 28, 28, 0.75) 45%,
    rgba(11, 28, 28, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  padding: 80px 24px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
  font-weight: 400;
  opacity: 0.85;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  color: var(--text);
  opacity: 0.95;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  font-weight: 300;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

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

.btn-full {
  width: 100%;
}

/* ===== Sections common ===== */
.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 64px;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 500;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 300;
}

/* ===== Services ===== */
.services {
  padding: 120px 0;
  background: var(--bg);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 40px 32px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
  border-color: rgba(201, 168, 124, 0.35);
  transform: translateY(-4px);
}

.service-number {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.7;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 14px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
}

/* ===== Work ===== */
.work {
  padding: 120px 0;
  background: var(--bg-elevated);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.work-item {
  position: relative;
  overflow: hidden;
  grid-column: span 4;
  aspect-ratio: 4/3;
  background: var(--bg-card);
}

.work-item.large {
  grid-column: span 8;
  grid-row: span 2;
  aspect-ratio: auto;
  height: 100%;
  min-height: 480px;
}

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

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

.work-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.work-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

.work-item figcaption span:first-child {
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

.work-tag {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.work-cta {
  text-align: center;
  margin-top: 48px;
}

.work-cta p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
  font-weight: 300;
}


/* ===== About ===== */
.about {
  padding: 120px 0;
}

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

.about-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 500;
  margin-bottom: 24px;
}

.about-content p {
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 18px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.instagram-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.instagram-link:hover {
  border-bottom-color: var(--accent);
}

.about-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}

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

/* ===== Contact ===== */
.contact {
  padding: 120px 0;
  background: var(--bg-elevated);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  max-width: 960px;
  margin: 0 auto;
}

.contact-item {
  margin-bottom: 32px;
}

.contact-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 500;
}

.contact-item a,
.contact-item p {
  font-size: 1.15rem;
  color: var(--text);
  font-weight: 300;
}

.contact-item a:hover {
  color: var(--accent);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 40px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  border-radius: 2px;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

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

.form-note {
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===== Footer ===== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand .logo-text {
  font-size: 1.1rem;
}

.footer-brand .logo-sub {
  font-size: 0.55rem;
}

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

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.footer-links a:hover {
  color: var(--accent);
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .work-item,
  .work-item.large {
    grid-column: span 6;
    min-height: 260px;
  }

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

  .about-image {
    order: -1;
    max-height: 420px;
  }

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

@media (max-width: 768px) {
  .logo-icon {
    height: 38px;
  }

  .logo-name {
    font-size: 1.25rem;
  }

  .brand-row .brand-pinecone {
    height: 56px;
    margin-right: 12px;
  }

  .brand-name {
    font-size: 2.8rem;
    letter-spacing: 0.12em;
  }

  .brand-sub {
    font-size: 0.78rem;
    letter-spacing: 0.3em;
  }

  .brand-slogan {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
  }

  .nav,
  .header-phone {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--border);
  }

  .nav.active a {
    font-size: 1.1rem;
  }

  .hero-content {
    padding: 60px 24px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .work-item,
  .work-item.large {
    grid-column: span 12;
  }

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

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

@media (max-width: 480px) {
  .services,
  .work,
  .about,
  .contact {
    padding: 80px 0;
  }

  .contact-form {
    padding: 28px 20px;
  }
}


/* Smoother section transitions */
section {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card,
.work-item,
.contact-item {
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease, opacity 0.5s ease;
}

/* Slightly longer, smoother button & link transitions */
.btn,
.nav a,
.instagram-link,
.footer-links a,
.contact-item a {
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Smooth image hover */
.work-item img,
.about-image img {
  transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.form-status {
  margin-top: 16px;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.4em;
}

.form-status.success {
  color: #7dcea0;
}

.form-status.error {
  color: #e07a7a;
}

.contact-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
