/*
Theme Name: INDEVER 2026
Theme URI: https://www.indever.co.uk
Author: John Fotios | Indever
Author URI: https://www.indever.co.uk
Description: Indever theme
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: indeverweb
*/

:root {
  --ink: #171717;
  --muted: #666;
  --paper: #f7f6f2;
  --white: #fff;
  --line: rgba(23, 23, 23, 0.14);
  --dark: #111;
  --max: 1240px;
  --radius: 2px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "GRAD" 0;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid currentColor;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: 0.25s ease;
}

.button::after {
  content: "→";
  font-size: 16px;
  line-height: 1;
}

.button:hover {
  background: var(--ink);
  color: var(--white);
}

/* ----------------------------------------------------------
       HERO
       Replace hero image in the HTML with one of Lisa's images.
       ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 760px;
  color: var(--white);
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.62) 0%,
      rgba(0, 0, 0, 0.25) 55%,
      rgba(0, 0, 0, 0.12) 100%
    ),
    url("https://www.indever.co.uk/wp-content/uploads/2026/08/pexels-fotios-photos-30507848.jpg")
      center / cover no-repeat;
  display: flex;
  flex-direction: column;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.22));
  pointer-events: none;
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 28px 0;
}

.logo {
  line-height: 0.9;
  color: #fff;
}

.logo-main {
  display: block;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.logo-sub {
  display: block;
  margin-top: 6px;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-align: center;
  opacity: 0.8;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav a {
  opacity: 0.92;
}
.nav a:hover {
  opacity: 0.6;
}

.nav .nav-cta {
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--max));
  margin: auto auto 0;
  padding: 90px 0 105px;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: clamp(48px, 6.3vw, 88px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero-copy {
  max-width: 540px;
  margin: 0 0 30px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.hero .button {
  border-color: rgba(255, 255, 255, 0.8);
}

.hero .button:hover {
  background: #fff;
  color: var(--ink);
}

/* ----------------------------------------------------------
       SERVICES
       ---------------------------------------------------------- */
.services {
  padding: 105px 0 100px;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 0;
}

.services-intro {
  padding-right: 70px;
}

.services-intro h2,
.about-copy h2,
.work h2 {
  margin: 0 0 24px;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.services-intro p {
  max-width: 430px;
  margin: 0 0 28px;
  color: var(--muted);
}

.service {
  padding: 10px 35px 10px 45px;
  border-left: 1px solid var(--line);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 50%;
  background: #f0efeb;
  font-size: 20px;
}

.service h3 {
  margin: 0 0 13px;
  font-size: 21px;
  font-weight: 400;
}

.service p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.service ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #555;
  font-size: 12px;
}

.service li {
  position: relative;
  margin: 9px 0;
  padding-left: 18px;
}

.service li::before {
  content: "✓";
  position: absolute;
  left: 0;
}

/* ----------------------------------------------------------
       ABOUT
       ---------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #ecebe6;
}

.about-image {
  min-height: 620px;
  background: url("https://www.indever.co.uk/wp-content/uploads/2026/08/pexels-fotios-photos-36229140.jpg")
    center / cover no-repeat;
}

.about-copy {
  display: flex;
  align-items: center;
  padding: 90px clamp(40px, 8vw, 120px);
}

.about-copy-inner {
  max-width: 530px;
}

.about-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.signature {
  margin: 34px 0;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 27px;
}

/* ----------------------------------------------------------
       WORK
       ---------------------------------------------------------- */
.work {
  padding: 105px 0 115px;
  background: var(--white);
}

.work-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 45px;
}

.work-heading .eyebrow {
  margin-bottom: 15px;
}

.work-heading h2 {
  margin-bottom: 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.project-image {
  aspect-ratio: 1 / 0.92;
  overflow: hidden;
  background: #ddd;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project:hover .project-image img {
  transform: scale(1.04);
}

.project h3 {
  margin: 15px 0 2px;
  font-size: 15px;
  font-weight: 500;
}

.project p {
  margin: 0;
  font-size: 11px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.work-button {
  margin-top: 45px;
  text-align: center;
}

/* ----------------------------------------------------------
       CTA
       ---------------------------------------------------------- */
.cta {
  position: relative;
  padding: 115px 24px;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(rgba(10, 17, 20, 0.65), rgba(10, 17, 20, 0.65)),
    url("https://www.indever.co.uk/wp-content/uploads/2026/08/pexels-fotios-photos-37456514.jpg")
      center / cover no-repeat;
}

.cta h2 {
  max-width: 850px;
  margin: 0 auto 15px;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.cta p {
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.82);
}

.cta .button {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.cta .button:hover {
  background: transparent;
  color: #fff;
}

/* ----------------------------------------------------------
       FOOTER
       ---------------------------------------------------------- */
footer {
  padding: 60px 0 25px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
}

footer .logo {
  display: inline-block;
  margin-bottom: 25px;
}

.footer-about {
  max-width: 300px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-heading {
  margin: 0 0 18px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 7px;
  font-size: 12px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
}

/* ----------------------------------------------------------
       REVEAL
       ---------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: none;
}

/* ----------------------------------------------------------
       RESPONSIVE
       ---------------------------------------------------------- */
@media (max-width: 900px) {
  .nav {
    gap: 18px;
  }
  .nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: 700px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .services-intro {
    padding-right: 0;
  }

  .service {
    padding: 0 0 0 30px;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about-image {
    min-height: 500px;
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 38px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .container,
  .site-header,
  .hero-content {
    width: min(calc(100% - 32px), var(--max));
  }

  .site-header {
    padding: 20px 0;
  }

  .hero {
    min-height: 680px;
    background-position: 62% center;
  }

  .hero-content {
    padding-bottom: 65px;
  }

  .hero h1 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .hero-copy {
    font-size: 14px;
  }

  .services,
  .work {
    padding: 75px 0;
  }

  .services-intro h2,
  .about-copy h2,
  .work h2 {
    font-size: 42px;
  }

  .about-image {
    min-height: 380px;
  }

  .about-copy {
    padding: 70px 24px;
  }

  .work-heading {
    display: block;
  }

  .work-heading .button {
    margin-top: 20px;
  }

  .work-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 10px;
  }

  .project h3 {
    font-size: 13px;
  }

  .project p {
    font-size: 9px;
  }

  .cta {
    padding: 85px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 25px;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
    margin-top: 8px;
  }
}
