﻿:root {
  --color-bg: #F5F2EB;
  --color-text: #2C3333;
  --color-text-muted: #6B7270;
  --color-primary: #2F4F4F;
  /* Dark Slate Gray */
  --color-accent: #C8A165;
  /* Muted Gold */
  --color-white: #FFFFFF;

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;

  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --transition-base: 0.4s var(--ease-out-expo);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0;
  line-height: 1.2;
}

p {
  margin: 0 0 1.5rem;
}

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

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

.wrap {
  width: min(90%, 1200px);
  margin: 0 auto;
}

/* Typography Utilities */
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  display: block;
}

.i-font {
  font-family: var(--font-display);
  font-style: italic;
}

.muted {
  color: var(--color-text-muted);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 2px;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-accent);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out-expo);
}

.btn--primary:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 2rem 0;
  transition: padding 0.3s ease, background 0.3s ease;
}

.header.scrolled {
  padding: 1rem 0;
  background: rgba(245, 242, 235, 0.9);
  backdrop-filter: blur(10px);
}

.header__inner {
  width: min(92%, 1400px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav__list {
  display: flex;
  gap: 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  font-size: 0.9rem;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-text);
  transition: 0.3s;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(245, 242, 235, 0.8) 0%, rgba(245, 242, 235, 0.4) 50%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-left: 10%;
}

.hero__title {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.d-block {
  display: block;
}

.lead {
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

.scroll-indicator .line {
  width: 1px;
  height: 60px;
  background: var(--color-text);
  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* Section Common */
.section {
  padding: 8rem 0;
}

.section__head {
  text-align: center;
  margin-bottom: 5rem;
}

.section__head h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
}

/* Works Section */
.works__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 4rem 2rem;
}



.work-card__img-box {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.work-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.work-card:hover .work-card__img {
  transform: scale(1.05);
}

.work-card__content .tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.5rem;
}

.work-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.link-arrow::after {
  content: '→';
  transition: transform 0.3s ease;
}

.link-arrow:hover::after {
  transform: translateX(5px);
}

/* Process Section */
.process {
  background-color: #EBE6DC;
}

.process__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.process__head {
  text-align: left;
  position: sticky;
  top: 8rem;
  height: fit-content;
}

.process__steps {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.step-item {
  background: var(--color-white);
  padding: 3rem;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(200, 161, 101, 0.2);
  position: absolute;
  top: 1rem;
  right: 2rem;
  line-height: 1;
}

.step-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Contact Section */
.contact {
  padding-bottom: 0;
}

.contact__card {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 6rem 2rem;
  text-align: center;
  border-radius: 4px 4px 0 0;
  position: relative;
  overflow: hidden;
}

.contact__card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.contact__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.contact__content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

.contact__content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
}

/* Footer */
.footer {
  background: #1A2222;
  color: rgba(255, 255, 255, 0.4);
  padding: 3rem 0;
  font-size: 0.9rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__links {
  display: flex;
  gap: 2rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.6);
}

.footer__links a:hover {
  color: var(--color-white);
}

/* Animation Classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Cursor (Optional - for PC) */
@media (min-width: 1024px) {

  .cursor-dot,
  .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
  }

  .cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-text);
  }

  .cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(44, 51, 51, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
  }

  body:hover .cursor-outline {
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out-expo);
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    font-size: 1.5rem;
  }

  .menu-toggle {
    display: flex;
    z-index: 101;
  }

  .hero__content {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 0 1rem;
  }

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

  .process__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process__head {
    position: static;
    text-align: center;
    margin-bottom: 2rem;
  }

  .footer__inner {
    flex-direction: column;
    gap: 1.5rem;
  }
}