@import url('https://googleapis.com');

:root {
  --bg: #f7f6f3;
  --text: #292927;
  --line: #d9d8d4;
  --dark: #20201e;
  --dark-text: #f1f0ec;
  --dark-muted: #a5a39e;
  --max-width: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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


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

.site-header {
  height: 154px;
  padding: 0 4.2vw;
  display: flex;
  align-items: center;
  gap: 48px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: relative;
  z-index: 10;
}

.site-logo {
  display: block;
  width: 236px;
  flex: 0 0 auto;
}

.site-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 56px;
}

.main-nav a {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.header-cta,
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.075em;
  white-space: nowrap;
}

.header-cta {
  min-height: 58px;
  padding: 0 30px;
  border: 1px solid var(--text);
  margin-left: 6px;
  transition: background 0.3s ease, color 0.3s ease;
}

.header-cta:hover {
  background: var(--text);
  color: var(--bg);
}


/* =========================
   HERO
   ========================= */

.hero {
  margin: 0;
  padding: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  width: 100%;
}

.hero-content {
  display: flex;
  min-height: calc(100vh - 154px); 
  width: 100%;
}

.hero-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; 
  padding: 60px 0 60px 4.2vw; 
  background: var(--bg);
  box-sizing: border-box;
  text-align: left;
  width: 100%;
  max-width: none; 
}
.hero-eyebrow {
  margin: 0 0 24px 0; 
  padding: 0;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.17em;
  color: var(--text);
  text-align: left;
  align-self: flex-start;
}

.hero-copy h1 {
  padding: 0;
  font-size: clamp(40px, 3.8vw, 64px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.045em;
  text-align: left;
  align-self: flex-start;
  margin: 0 0 24px -2px; 
}

.hero-description {
  max-width: 460px;
  margin: 0 0 36px 0; 
  padding: 0;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  color: #55534f; 
  text-align: left;
  align-self: flex-start;
}

.hero-cta {
  min-height: 54px;
  padding: 0 30px;
  margin: 0; 
  background: var(--text);
  border: 1px solid var(--text);
  color: #fff;
  align-self: flex-start; 
  text-align: center; 
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.hero-cta:hover {
  background: transparent;
  color: var(--text);
}

.hero-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #e3e1dc; 
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-image-placeholder-text {
  position: absolute;
  font-size: 14px;
  color: #7c7a75;
  letter-spacing: 0.05em;
  z-index: 1;
  pointer-events: none;
}

.hero-image img:not([src=""]) + .hero-image-placeholder-text {
  display: none;
}


/* =========================
   PORTFOLIO SECTION & CAROUSEL
   ========================= */

.projects-section {
  padding: 120px 4.2vw;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  width: 100%;
}

.projects-header {
  margin-bottom: 80px;
  width: 100%; 
  max-width: none; 
  text-align: left; 
}

.projects-eyebrow {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.17em;
  color: var(--text);
  margin: 0 0 16px 0;
  text-align: left;
}

.projects-header h2 {
  font-size: clamp(42px, 4vw, 60px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.04em;
  text-align: left;
  margin: 0 0 20px -7px; 
}
.projects-subtitle {
  font-size: 17px;
  line-height: 1.55;
  color: #55534f;
  margin: 0;
  text-align: left;
  max-width: none;
}

.projects-rows-container {
  display: flex;
  flex-direction: column;
  gap: 120px; 
  width: 100%;
}

.project-row-card {
  display: flex;
  align-items: center;
  gap: 6.5vw;
  width: 100%;
}

.project-row-reverse {
  flex-direction: row-reverse;
}

.project-slider-wrapper {
  flex: 1.2;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.project-row-slider {
  width: 100%;
  overflow: hidden;
}

.project-slide-track {
  display: flex;
  width: 300%; 
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-row-image {
  width: 100%;
  flex: 0 0 33.333%; 
  aspect-ratio: 16 / 10; 
  overflow: hidden;
  background: #e3e1dc;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  opacity: 0.35;
  padding: 0 20px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.slider-btn:hover { opacity: 0.9; }
.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
  opacity: 0.6;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--text);
  opacity: 1;
  transform: scale(1.15);
}

.project-row-meta {
  flex: 1;
  max-width: 440px;
  text-align: left;
}

.project-name {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: left;
  margin: 0 0 16px -2px; 
}

.project-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #55534f;
  margin: 0;
  text-align: left;
}


/* =========================
   PHILOSOPHY SECTION
   ========================= */

.approach-section {
  padding: 120px 4.2vw;
  background: #fdfdfc; 
  border-bottom: 1px solid var(--line);
  width: 100%;
}

.approach-container {
  max-width: none; 
  margin: 0;
  width: 100%;
}
.approach-header {
  margin-bottom: 60px;
  width: 100%;
  text-align: left;
}

.approach-eyebrow {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.17em;
  color: var(--text);
  margin: 0 0 16px 0;
  text-align: left;
}

.approach-header h2 {
  font-size: clamp(42px, 4vw, 60px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.04em;
  text-align: left;
  margin: 0 0 0 -7px; 
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(320px, auto);
  gap: 24px;
  width: 100%;
}

.bento-card {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  transition: transform 0.3s ease;
  text-align: left;
}

.bento-card:hover {
  transform: translateY(-2px);
}

.card-graphic-indicator {
  width: 40px;
  height: 2px;
  background-color: var(--text);
  margin-bottom: 32px;
}

.bento-card h3 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.22;
  margin: 0 0 20px 0;
  letter-spacing: -0.02em;
  text-align: left;
  color: var(--text) !important; 
}

.bento-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #55534f;
  margin: 0;
  text-align: left;
}


/* =========================
   CONTACT SECTION
   ========================= */

.contact-section {
  padding: 120px 4.2vw;
  background: var(--bg);
  width: 100%;
}

.contact-container {
  max-width: none; 
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  width: 100%;
}

.contact-info-side {
  max-width: 480px;
  text-align: left;
}

.contact-eyebrow {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.17em;
  color: var(--text);
  margin: 0 0 1px 0;
  text-align: left;
}

.contact-info-side h2 {
  font-size: clamp(38px, 3.5vw, 54px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.04em;
  text-align: left;
  margin: 0 0 24px -5px; 
}

.contact-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: #55534f;
  margin-bottom: 40px;
  text-align: left;
}

.contact-direct-info p {
  font-size: 14px;
  margin: 8px 0;
  color: var(--text);
  text-align: left;
}

.contact-form-side {
  width: 100%;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.form-group {
  position: relative;
  width: 100%;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group textarea { resize: vertical; }

.form-group label {
  position: absolute;
  left: 0;
  top: 10px;
  font-size: 16px;
  color: #7c7a75;
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -16px;
  font-size: 12px;
  color: var(--text);
  letter-spacing: 0.05em;
}

.form-group .input-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--text);
  transition: width 0.4s ease;
}

.form-group input:focus ~ .input-line,
.form-group textarea:focus ~ .input-line { width: 100%; }

.form-submit-btn {
  align-self: flex-start;
  min-height: 54px;
  padding: 0 40px;
  background: var(--text);
  border: 1px solid var(--text);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s ease, color 0.3s ease;
  margin-top: 10px;
  text-align: center;
}

.form-submit-btn:hover {
  background: transparent;
  color: var(--text);
}


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

.site-footer {
  background: var(--dark) !important;
  color: var(--dark-text) !important;
  padding: 88px 4.2vw 0 !important;
  width: 100% !important;
  display: block !important;
}

.footer-main {
  display: grid !important;
  grid-template-columns: minmax(360px, 1.65fr) 0.85fr 1fr 0.85fr !important;
  gap: 56px !important;
  padding-bottom: 82px !important;
  width: 100% !important;
  background: transparent !important;
}

.footer-brand {
  min-width: 0;
  text-align: left;
}

.footer-logo {
  display: block;
  width: 238px;
}

.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.85;
}

.footer-tagline {
  margin: 32px 0 0; 
  max-width: 380px; 
  font-size: 15px;  
  line-height: 1.6; 
  letter-spacing: 0.02em; 
  font-weight: 400; 
  color: var(--dark-muted); 
  text-align: left;
}

.footer-column {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
}

.footer-column h3 {
  color: var(--dark-muted) !important;
  font-size: 11px; 
  font-weight: 500;
  letter-spacing: 0.12em; 
  margin: 5px 0 24px;
}

.footer-column > a {
  font-size: 15px; 
  font-weight: 400;
  color: #c9c7c2 !important; 
  margin-bottom: 12px;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer-column > a:hover {
  color: #ffffff !important; 
}

.social-link,
.messenger-link {
  display: inline-flex !important;
  align-items: center;
  gap: 14px;
}

.social-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
}

.social-icon svg {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  stroke: #c9c7c2 !important;
  fill: none !important;
  transition: stroke 0.3s ease;
}

.social-link:hover .social-icon svg,
.messenger-link:hover .social-icon svg {
  stroke: #ffffff !important;
}

.footer-legal {
  border-top: 1px solid #4a4946 !important;
  border-bottom: 1px solid #4a4946 !important;
  min-height: 118px;
  padding: 32px 0 !important;
  display: grid !important;
  grid-template-columns: 1.1fr 2.3fr 1fr !important;
  gap: 40px !important;
  color: var(--dark-muted) !important;
  font-size: 14px;
  line-height: 1.7;
  background: transparent !important;
}

.legal-title {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-align: left;
}

.legal-company, .legal-numbers {
  text-align: left;
}

.footer-bottom {
  min-height: 98px;
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  align-items: center !important;
  gap: 20px !important;
  color: #d1cfca !important;
  font-size: 13px;
  letter-spacing: 0.08em;
  background: transparent !important;
}

.footer-bottom span:nth-child(2) { text-align: center; }
.footer-bottom a { text-align: right; }
.footer-bottom a:hover { opacity: 0.65; }


/* =========================
   RESPONSIVENESS
   ========================= */

@media (max-width: 1100px) {
  .site-header { height: 132px; padding: 0 3.5vw; gap: 30px; }
  .site-logo { width: 205px; }
  .main-nav { gap: 32px; }
  .main-nav a { font-size: 16px; }
  .header-cta { padding: 0 22px; font-size: 13px; }
  .hero-content { min-height: auto; }
  .hero-copy { padding: 48px 3.5vw; }
  .hero-copy h1 { font-size: clamp(36px, 4.5vw, 48px); }
  .projects-section, .approach-section { padding: 80px 3.5vw; }
  .projects-rows-container { gap: 80px; }
  .project-row-card { gap: 40px; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-section { padding: 80px 3.5vw; }
  .contact-container { gap: 40px; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr !important; }
  .footer-brand { grid-row: span 2; }
}

@media (max-width: 760px) {
  .site-header { height: auto; min-height: 86px; padding: 18px 20px; gap: 18px; flex-wrap: wrap; }
  .main-nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; gap: 12px; padding-top: 3px; }
  .main-nav a { font-size: 14px; }
  .header-cta { margin-left: auto; min-height: 44px; padding: 0 14px; font-size: 10px; letter-spacing: 0.055em; }
  .hero-content { flex-direction: column-reverse; }
  .hero-copy { padding: 40px 20px; width: 100%; }
  .hero-copy h1 { font-size: 38px; line-height: 1.1; margin-bottom: 18px; }
  .hero-description { font-size: 15px; margin-bottom: 24px; }
  .hero-image { width: 100%; height: 400px; }
  .desktop-break { display: none; }
  .projects-section, .approach-section { padding: 60px 20px; }
  .projects-header, .approach-header { margin-bottom: 40px; }
  .projects-rows-container { gap: 56px; }
  .project-row-card { flex-direction: column !important; align-items: flex-start; gap: 32px; }
  .project-slider-wrapper { flex: none; }
  .project-row-image { aspect-ratio: 4 / 3; }
  .bento-grid { grid-template-columns: 1fr; gap: 16px; }
  .bento-card { padding: 36px 28px; }
  .contact-section { padding: 60px 20px; }
  .contact-container { grid-template-columns: 1fr; gap: 48px; }
  .form-submit-btn { width: 100%; min-height: 50px; }
  .site-footer { padding: 60px 20px 0 !important; }
  .footer-main { grid-template-columns: 1fr 1fr !important; gap: 48px 30px !important; padding-bottom: 58px !important; }
  .footer-brand { grid-column: 1 / -1; grid-row: auto; }
  .footer-logo { width: 190px; }
  .footer-tagline { margin-top: 35px; max-width: 330px; font-size: 17px; }
  .footer-legal { grid-template-columns: 1fr !important; gap: 20px !important; padding: 24px 0 !important; }
  .footer-bottom { grid-template-columns: 1fr !important; gap: 12px !important; text-align: left !important; padding: 24px 0 !important; }
  .footer-bottom span, .footer-bottom a { text-align: left !important; }
}
