
/* ============================================================================
   FILE: style.css  |  WEBSITE STYLES
   ============================================================================ */
:root {
  --navy:#172b3a;
  --yellow:#f4c443;
  --light:#edf0ed;
  --line:#172b3a33
}

* {
  box-sizing:border-box
}

body {
  margin:0;
  background:var(--light);
  color:var(--navy);
  font-family:"DM Sans",sans-serif
}

a {
  color:inherit;
  text-decoration:none
}

header {
  height:78px;
  padding:0 5vw;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:var(--navy);
  color:var(--light)
}

.logo {
  font:700 19px/1 "Space Grotesk",sans-serif;
  letter-spacing:-.07em
}

.logo span {
  font:9px "DM Mono",monospace;
  letter-spacing:.12em;
  margin-left:7px
}

.logo span:before {
  content:"/";
  margin-right:7px;
  color:var(--yellow)
}

nav {
  display:flex;
  gap:28px;
  font:10px "DM Mono",monospace;
  text-transform:uppercase
}

nav a.active {
  color:var(--yellow)
}

.call {
  font-size:11px;
  font-weight:700;
  border-bottom:1px solid;
  padding-bottom:3px
}

.tag {
  font:10px "DM Mono",monospace;
  letter-spacing:.11em;
  margin:0
}

.hero {
  min-height:calc(100vh - 78px);
  position:relative;
  overflow:hidden;
  background:var(--navy)
}

.hero-image {
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#172b3af2 8%,#172b3a7a 57%,transparent),url("images/renovation.png") center/cover
}

.hero-box {
  position:relative;
  z-index:1;
  color:var(--light);
  padding:clamp(95px,13vw,175px) 9vw;
  max-width:780px
}

.hero h1,.page h1,.projects h1,.contact h1 {
  font:clamp(58px,7.8vw,118px)/.82 "Space Grotesk",sans-serif;
  letter-spacing:-.11em;
  margin:27px 0
}

.hero h1 em,.page h1 em,.projects h1 em,.contact h1 em {
  font-family:"DM Sans",sans-serif;
  font-weight:400;
  color:var(--yellow)
}

.hero-box>p:not(.tag) {
  max-width:370px;
  font-size:15px;
  line-height:1.7;
  margin:0 0 34px
}

.yellow-button,.black-button {
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  padding:15px 18px;
  border:0;
  font:700 11px "DM Sans",sans-serif;
  cursor:pointer
}

.yellow-button {
  background:var(--yellow);
  color:var(--navy)
}

.black-button {
  background:var(--navy);
  color:var(--light)
}

.hero-box>div {
  display:flex;
  gap:25px;
  align-items:center
}

.text-button {
  font-size:11px;
  font-weight:700;
  border-bottom:1px solid;
  padding-bottom:4px
}

.hero-number {
  position:absolute;
  z-index:1;
  right:5%;
  bottom:6%;
  color:var(--light);
  font:9px "DM Mono",monospace;
  letter-spacing:.1em
}

.hero-number b {
  font:700 50px "Space Grotesk",sans-serif;
  color:var(--yellow)
}

.trust {
  background:var(--yellow);
  padding:17px 5vw;
  display:flex;
  justify-content:space-between;
  font:700 11px "DM Mono",monospace;
  letter-spacing:.08em
}

.intro {
  padding:125px 9vw;
  display:grid;
  grid-template-columns:1.1fr .55fr;
  gap:10vw
}

.intro h2 {
  font:clamp(43px,5.5vw,80px)/.86 "Space Grotesk",sans-serif;
  letter-spacing:-.1em;
  margin:25px 0
}

.intro h2 em {
  color:#d75436
}

.intro>p {
  line-height:1.8;
  font-size:15px;
  align-self:end
}

.quick-links {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--line)
}

.quick-links a {
  padding:52px 4vw;
  min-height:280px;
  border-right:1px solid var(--line);
  position:relative;
  transition:.3s
}

.quick-links a:hover {
  background:var(--navy);
  color:var(--light)
}

.quick-links span {
  font:10px "DM Mono",monospace
}

.quick-links h2 {
  font:clamp(29px,3.7vw,55px)/.86 "Space Grotesk",sans-serif;
  letter-spacing:-.1em
}

.quick-links b {
  position:absolute;
  right:10%;
  bottom:35px;
  font-size:24px;
  color:var(--yellow)
}

.page,.projects {
  padding:120px 9vw
}

.service-list {
  margin-top:70px;
  border-top:2px solid var(--navy)
}

.service-list article {
  display:grid;
  grid-template-columns:55px 1fr 30px;
  gap:20px;
  padding:26px 0;
  border-bottom:1px solid var(--line);
  transition:.25s
}

.service-list article:hover {
  background:var(--yellow);
  padding-inline:18px
}

.service-list span {
  font:10px "DM Mono",monospace
}

.service-list h2 {
  font:600 25px "Space Grotesk",sans-serif;
  margin:0 0 6px
}

.service-list p {
  margin:0;
  font-size:13px;
  color:#4f5d64
}

.yellow-panel {
  margin-top:95px;
  background:var(--yellow);
  padding:50px;
  display:flex;
  justify-content:space-between;
  align-items:center
}

.yellow-panel h2 {
  font:clamp(34px,4vw,60px)/.9 "Space Grotesk",sans-serif;
  letter-spacing:-.08em;
  margin:0
}

.projects-head {
  max-width:700px
}

.projects-head>p:last-child {
  font-size:14px
}

.project-grid {
  margin-top:65px;
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:15px
}

.project {
  height:440px;
  border:0;
  text-align:left;
  padding:22px;
  position:relative;
  color:var(--light);
  background-size:cover;
  background-position:center;
  cursor:zoom-in;
  overflow:hidden
}

.project:before {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,#172b3ac9,transparent 65%)
}

.project>* {
  position:relative
}

.project span {
  font:10px "DM Mono",monospace;
  letter-spacing:.09em
}

.project b {
  position:absolute;
  left:22px;
  bottom:22px;
  font-size:15px
}

.project-one {
  background-image:url("images/renovation.png")
}

.project-two {
  background-image:url("images/kitchen.png")
}

.lightbox {
  position:fixed;
  z-index:5;
  inset:0;
  display:grid;
  place-items:center;
  background:#0b1822eb;
  opacity:0;
  pointer-events:none;
  transition:.25s
}

.lightbox.open {
  opacity:1;
  pointer-events:auto
}

.lightbox img {
  max-width:92vw;
  max-height:88vh
}

.lightbox button {
  position:fixed;
  right:25px;
  top:15px;
  border:0;
  background:none;
  color:white;
  font-size:38px;
  cursor:pointer
}

.contact {
  padding:125px 9vw;
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:10vw
}

.contact section>p:not(.tag) {
  max-width:330px;
  line-height:1.7
}

.contact section>a {
  display:block;
  font:600 17px "Space Grotesk",sans-serif;
  margin-top:15px
}

.contact form {
  background:var(--navy);
  color:var(--light);
  padding:35px;
  display:grid;
  gap:18px
}

label {
  display:grid;
  gap:8px;
  font:9px "DM Mono",monospace;
  text-transform:uppercase
}

input,select,textarea {
  font:13px "DM Sans",sans-serif;
  padding:10px 0;
  background:transparent;
  border:0;
  border-bottom:1px solid #ffffff55;
  color:var(--light);
  outline:none
}

textarea {
  resize:vertical
}

#status {
  font:9px "DM Mono",monospace;
  margin:0;
  color:var(--yellow)
}

footer {
  min-height:96px;
  padding:25px 5vw;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:var(--navy);
  color:var(--light);
  font:9px "DM Mono",monospace
}

@media(max-width:760px) {
  header {
    height:67px;
    padding:0 6vw
  }

  nav,.call {
    display:none
  }

  .hero {
    min-height:620px
  }

  .hero-box {
    padding:100px 6vw
  }

  .hero-box>div {
    flex-wrap:wrap
  }

  .trust {
    overflow:hidden;
    gap:25px;
    justify-content:flex-start;
    white-space:nowrap
  }

  .intro,.contact {
    grid-template-columns:1fr;
    padding:85px 6vw;
    gap:35px
  }

  .quick-links {
    grid-template-columns:1fr
  }

  .quick-links a {
    min-height:190px;
    padding:35px 6vw;
    border-bottom:1px solid var(--line)
  }

  .page,.projects {
    padding:90px 6vw
  }

  .service-list {
    margin-top:45px
  }

  .yellow-panel {
    padding:35px 25px;
    display:block
  }

  .yellow-panel h2 {
    margin-bottom:25px
  }

  .project-grid {
    grid-template-columns:1fr;
    margin-top:40px
  }

  .project {
    height:330px
  }

  footer p {
    display:none
  }

}


/* Simple, hardware-friendly interaction layer */
body {
  animation: page-enter .48s cubic-bezier(.2,.75,.2,1) both;
}

.yellow-button,
.black-button,
.call,
.text-button {
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, color .22s ease;
}

.yellow-button:hover,
.black-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 18px #172b3a33;
}

.call:hover,
.text-button:hover {
  opacity: .68;
}

.yellow-button:active,
.black-button:active {
  transform: translateY(0);
  box-shadow: none;
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


/* ============================================================================
   RESPONSIVE STYLES
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
  }

  .yellow-button,
  .black-button,
  .call,
  .text-button {
    transition: none;
  }

}

