@tailwind base;
@tailwind components;
@tailwind utilities;

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Italiana&display=swap');
:root {
  font-family: 'DM Sans', sans-serif;
  color: #eae4d9;
  background: #121310;
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: 'Italiana', Georgia, serif;
  font-weight: 400;
}
em {
  font-style: normal;
  color: #d6b681;
}
.top {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5.5%;
  background: #10110f;
  position: relative;
  z-index: 5;
}
.brand {
  font-size: 20px;
  letter-spacing: 0.2em;
  font-weight: 600;
  white-space: nowrap;
}
.brand span {
  color: #d6b681;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 0.36em;
  margin-top: 8px;
  color: #a5a399;
}
.top nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.navcta {
  border: 1px solid #a58b5d;
  padding: 14px 18px;
}
.menu {
  display: none;
}
.hero {
  min-height: 690px;
  height: 80vh;
  max-height: 950px;
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(115deg, #1b1c18, #3a3930);
}
.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url('./resources/project-7.jpg');
  background-position: center 45%;
  background-size: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(9, 10, 9, 0.92),
    rgba(10, 10, 10, 0.45) 70%,
    rgba(10, 10, 10, 0.2)
  );
}
.hero-inner {
  position: relative;
  z-index: 1;
  margin-left: 10%;
  max-width: 810px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #c8a76f;
  font-weight: 600;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(55px, 6.5vw, 106px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 25px;
}
.lead {
  max-width: 540px;
  font-size: 17px;
  line-height: 1.8;
  color: #e0dbd2;
  margin-bottom: 36px;
}
.button {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 35px;
  padding: 19px 26px;
  font: 600 12px 'DM Sans';
  letter-spacing: 0.1em;
}
.gold {
  background: #c5a46e;
  color: #151510;
}
.button:hover {
  background: #e1c08b;
}
.vertical {
  position: absolute;
  right: 3%;
  bottom: 60px;
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: #e2cda6;
}
.intro {
  padding: 130px 10%;
  text-align: center;
  background: #f0ece4;
  color: #25251f;
}
.intro h2,
.section-head h2,
.services h2,
.partners h2,
.contact h2 {
  font-size: clamp(42px, 5vw, 74px);
  line-height: 1.15;
}
.intro > p:not(.eyebrow) {
  max-width: 760px;
  margin: 30px auto 65px;
  color: #69665e;
  line-height: 1.9;
}
.stats {
  display: flex;
  justify-content: center;
  gap: 11%;
  border-top: 1px solid #d5cec1;
  padding-top: 40px;
}
.stats div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.stats strong {
  font:
    52px 'Italiana',
    serif;
}
.stats strong span {
  color: #b49156;
}
.stats small {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #777168;
}
.portfolio {
  padding: 110px 7%;
  background: #171813;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
  margin-bottom: 45px;
}
.section-head h2 {
  margin: 0;
}
.section-head > p {
  max-width: 340px;
  line-height: 1.8;
  color: #a9a69b;
  font-size: 14px;
}
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.project {
  background: #24251e;
  overflow: hidden;
}
.project.wide {
  grid-column: span 2;
}
.photo {
  height: 380px;
  background-color: #3c3b33;
  background-size: cover;
  background-position: center;
  position: relative;
}
.wide .photo {
  height: 560px;
}
.p7 {
  background-image: url('./resources/project-7.jpg');
}
.p3 {
  background-image: url('./resources/project-3.jpg');
}
.p2 {
  background-image: url('./resources/project-2.jpg');
}
.p1 {
  background-image: url('./resources/project-1.jpg');
}
.p6 {
  background-image: url('./resources/project-6.jpg');
}
.p4 { background-image: url('./resources/project-4.jpg'); }
.p5 { background-image: url('./resources/project-5.jpg'); }
.photo-fallback {
  position: absolute;
  bottom: 22px;
  left: 22px;
  color: #d0c0a0;
  font: 11px 'DM Sans';
  letter-spacing: 0.2em;
  opacity: 0.65;
}
.project-label {
  padding: 28px 32px;
}
.project-label small {
  color: #b99b68;
  font-size: 10px;
  letter-spacing: 0.18em;
}
.project-label h3 {
  font: 31px 'Italiana';
  margin: 13px 0 7px;
}
.project-label p {
  color: #aaa79c;
  font-size: 12px;
  margin: 0;
}
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 130px 9%;
  background: #f0ece4;
  color: #24241f;
}
.service-list > div {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid #d2c9b9;
  padding: 24px 0;
}
.service-list span {
  color: #b18d55;
}
.service-list h3 {
  font-size: 17px;
}
.service-list p {
  color: #777169;
  font-size: 14px;
  line-height: 1.8;
}
.partners {
  text-align: center;
  padding: 120px 20%;
  background: #23251e;
}
.partners > p:not(.eyebrow) {
  line-height: 1.8;
  color: #b7b5aa;
  max-width: 620px;
  margin: 25px auto;
}
.textlink {
  color: #d9bb85;
  border-bottom: 1px solid #d9bb85;
  padding-bottom: 9px;
  display: inline-block;
  margin-top: 20px;
}
.contact {
  padding: 120px 9%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  background: #131410;
}
.contact > div > p:not(.eyebrow) {
  color: #aba99f;
  line-height: 1.9;
  max-width: 460px;
}
.location {
  margin-top: 35px;
  color: #d0b482 !important;
}
form {
  display: grid;
  gap: 18px;
}
label {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #d6d1c5;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 15px;
  background: #24251f;
  border: 1px solid #555347;
  color: #eee8db;
  font: 14px 'DM Sans';
  border-radius: 0;
}
textarea {
  resize: vertical;
}
form button {
  justify-content: space-between;
}
.note {
  color: #9a988f;
  font-size: 11px;
  line-height: 1.6;
}
footer {
  background: #0b0c0a;
  padding: 50px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: #a7a49a;
  font-size: 12px;
}
footer .brand {
  color: #e6e0d5;
}
@media (max-width: 800px) {
  .top {
    height: 76px;
    padding: 0 6%;
  }
  .brand {
    font-size: 15px;
  }
  .top nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #10110f;
    padding: 25px;
    flex-direction: column;
    align-items: start;
  }
  .top nav.open {
    display: flex;
  }
  .menu {
    display: block;
    background: none;
    border: 0;
    color: #d6b681;
    font-size: 26px;
  }
  .hero {
    min-height: 620px;
    height: 80vh;
  }
  .hero-inner {
    margin: 0 7%;
  }
  .hero h1 {
    font-size: 57px;
  }
  .vertical {
    display: none;
  }
  .intro,
  .portfolio,
  .services,
  .partners,
  .contact {
    padding: 75px 7%;
  }
  .stats {
    gap: 7%;
  }
  .stats strong {
    font-size: 37px;
  }
  .section-head,
  .services,
  .contact {
    display: block;
  }
  .section-head > p {
    margin-top: 25px;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .project.wide {
    grid-column: span 1;
  }
  .photo,
  .wide .photo {
    height: 320px;
  }
  .services .service-list {
    margin-top: 35px;
  }
  .partners {
    padding: 80px 7%;
  }
  .contact form {
    margin-top: 45px;
  }
  footer {
    display: block;
  }
  footer p {
    margin-top: 24px;
  }
}
