:root {
  --ink: #201b18;
  --muted: #6f655c;
  --paper: #fbf8f3;
  --soft: #f1ebe2;
  --line: #ded2c3;
  --gold: #b98a44;
  --deep: #2c3430;
  --sage: #8d9a88;
  --rose: #b8796f;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(49, 38, 26, 0.14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}

body.is-locked {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.section-anchor {
  scroll-margin-top: 84px;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(222, 210, 195, 0.78);
  background: rgba(251, 248, 243, 0.9);
  backdrop-filter: blur(16px);
}

main {
  padding-top: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 30px);
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-link {
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--deep);
  border-radius: 999px;
  background: var(--deep);
  color: var(--white);
  font-weight: 400;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: var(--gold);
  background: var(--gold);
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.88rem;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--white);
  background: var(--white);
  color: var(--deep);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("images/hero.jpg") center / cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.56);
  content: "";
}

.hero-content {
  width: min(720px, calc(100% - 36px));
  align-self: center;
  margin-left: clamp(18px, 8vw, 110px);
  padding: 86px 0 120px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: 80px;
}

h2 {
  margin-bottom: 16px;
  font-size: 46px;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 500;
}

.hero-copy {
  max-width: 540px;
  margin-bottom: 42px;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  font-weight: 300;
}

.hero .eyebrow {
  margin-bottom: 21px;
}

.hero h1 {
  margin-bottom: 33px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.trust-note {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.trust-item {
  display: flex;
  min-height: 112px;
  align-items: center;
  gap: 14px;
  padding: 22px clamp(16px, 2vw, 28px);
  background: var(--paper);
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  color: var(--gold);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(18px, 4vw, 56px);
}

.tinted {
  background: var(--soft);
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 300;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.project-card,
.process-step,
.contact-form,
.faq-list {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 10px 34px rgba(49, 38, 26, 0.06);
}

.project-card:hover img {
  transform: scale(1.045);
}

.custom-design-block {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.custom-design-image {
  aspect-ratio: 1.22 / 1;
  overflow: hidden;
}

.custom-design-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.custom-design-copy {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.custom-design-copy h3 {
  margin-bottom: 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 500;
}

.service-list {
  display: grid;
  grid-column: 1 / -1;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  color: var(--ink);
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 24px;
}

.service-list li::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.service-list-tablet {
  display: none;
}

.process-step {
  padding: 26px;
}

.process-step p,
.split-copy p,
.faq-list p {
  font-size: 16px;
  color: var(--muted);
  font-weight: 400;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: center;
}

.portrait {
  width: fit-content;
  max-width: 100%;
  justify-self: end;
  overflow: hidden;
}

.portrait img {
  width: auto;
  height: clamp(520px, 58vw, 680px);
  object-fit: contain;
  object-position: center;
}

.split-copy {
  max-width: 660px;
}

.split-copy h3 {
  margin-bottom: 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 500;
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 30px;
}

.values span {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.process-step span {
  display: block;
  margin-bottom: 26px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
}

.project-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  padding: 0;
  border-radius: 0;
  color: var(--white);
  text-align: left;
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 500ms ease;
}

.slider {
  max-width: 860px;
  margin: 0 auto;
}

.slides {
  display: grid;
  min-height: 230px;
}

.testimonial {
  grid-area: 1 / 1;
  display: grid;
  align-content: center;
  padding: clamp(30px, 5vw, 62px);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 320ms ease, transform 320ms ease;
  pointer-events: none;
}

.testimonial.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.testimonial p {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.22;
}

.testimonial strong {
  color: var(--gold);
  font-weight: 400;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}

.slider-controls button,
.lightbox-close,
.lightbox-nav {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 1.5rem;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  min-height: 0;
  padding: 0;
  border-color: var(--gold);
  background: transparent;
}

.slider-dots button.is-active {
  background: var(--gold);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

details + details {
  border-top: 1px solid var(--line);
}

summary {
  min-height: 64px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 400;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  float: right;
  color: var(--gold);
  content: "+";
  font-size: 1.2rem;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 0;
  padding: 0 24px 22px;
}

.contact-form {
  display: grid;
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px);
  background: var(--white);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  font-weight: 400;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  outline: none;
}

input {
  min-height: 50px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  padding: 14px;
}

input:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185, 138, 68, 0.18);
}

.field-error {
  min-height: 18px;
  color: #a33b2b;
  font-size: 0.82rem;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--deep);
  font-weight: 500;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: var(--deep);
  color: var(--white);
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer nav {
  display: grid;
  justify-items: end;
  gap: 14px;
  color: rgba(255, 255, 255, 0.78);
}

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

.footer-socials,
.footer-pages {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.footer-socials {
  gap: 18px;
}

.footer-pages {
  gap: 24px;
  white-space: nowrap;
}

.social-link {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.social-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-link:hover,
.social-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  transform: translateY(-1px);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 16px;
  padding: 32px;
  background: rgba(20, 17, 14, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox figure {
  display: grid;
  justify-items: center;
  margin: 0;
  color: var(--white);
  text-align: center;
}

.lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 78vh;
  margin: 0 auto;
  object-fit: contain;
}

.lightbox figcaption {
  margin-top: 14px;
  font-weight: 800;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .hero-content {
    width: auto;
    max-width: 720px;
    margin-right: clamp(18px, 8vw, 110px);
  }

  h1 {
    font-size: 72px;
  }

  .menu-toggle {
    display: block;
    order: 3;
    justify-self: end;
  }

  .main-nav {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 12px 18px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-link {
    padding: 13px 0;
  }

  .header-cta {
    justify-self: end;
  }

  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .custom-design-block {
    grid-template-columns: 1fr;
  }

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

@media (min-width: 721px) and (max-width: 1060px) {
  h2 {
    font-size: 38px;
  }

  .testimonial p {
    font-size: 26px;
  }

  .service-list-main {
    display: none;
  }

  .service-list-tablet {
    display: grid;
    margin-top: 18px;
  }

  .site-footer {
    align-items: flex-start;
  }

  .portrait {
    justify-self: center;
  }

  .trust-item:first-child {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
    gap: 12px;
  }

  main {
    padding-top: 68px;
  }

  .brand span:last-child {
    display: none;
  }

  .main-nav {
    top: 68px;
  }

  .header-cta {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: calc(100vh - 68px);
  }

  .hero-media {
    background: url("images/hero.jpg") center / cover;
  }

  .hero-content {
    width: min(720px, calc(100% - 36px));
    margin: 0 auto;
    padding-top: 58px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 38px;
  }

  .trust-bar,
  .project-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .trust-item {
    min-height: 82px;
  }

  .project-card {
    min-height: 300px;
  }

  .service-list-main {
    display: none;
  }

  .service-list-tablet {
    display: grid;
    margin-top: 18px;
  }

  .portrait {
    max-width: 100%;
    justify-self: center;
  }

  .portrait img {
    height: 100%;
  }

  .site-footer {
    display: grid;
  }

  .site-footer nav {
    justify-items: start;
  }

  .footer-socials,
  .footer-pages {
    justify-content: flex-start;
  }

  .footer-pages {
    flex-wrap: wrap;
    gap: 12px 18px;
    white-space: normal;
  }

  .lightbox {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 8px;
    padding: 18px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
