:root {
  --ivory: #f6f2e9;
  --paper: #eee8dc;
  --stone: #c9c0b2;
  --ink: #25231f;
  --soft-ink: #686157;
  --gold: #aa8749;
  --line: rgba(56, 49, 39, .18);
  --glass: rgba(250, 247, 241, .72);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 78px);
  transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: rgba(80, 68, 50, .12);
}
.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3.15rem);
  font-weight: 700;
  letter-spacing: .18em;
  color: #9d7a3e;
  line-height: 1;
}
.header-contact {
  position: relative;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  padding: 10px 0;
}
.header-contact::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 3px;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform .25s ease;
}
.header-contact:hover::after { transform: scaleX(.45); }

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.closing-image {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity:.65;
}
.hero-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(245,240,229,.59) 0%, rgba(245,240,229,.48) 37%, rgba(245,240,229,.05) 72%),
              linear-gradient(0deg, rgba(245,240,229,.56), transparent 40%);
}
.hero-content {
   margin-right: clamp(60px, 8vw, 140px);
  position: relative;
  z-index: 2;
  width: min(760px, 90%);
  padding: 150px clamp(24px, 8vw, 130px) clamp(70px, 10vh, 110px);
  text-align: left;
}


.eyebrow {
  margin: 0 0 22px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #75664f;
}

.hero-eyebrow {
    width: fit-content;
    margin-left: auto;
    text-align: right;
}
h1, h2 {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 300;
  letter-spacing: -.045em;
  line-height: 1.02;
}
h1 { font-size: clamp(3.1rem, 7vw, 7.2rem); }
h2 { font-size: clamp(2.6rem, 5.2vw, 5.6rem); }
.hero-copy {
  max-width: 420px;          /* or whatever width you like */
    margin: 30px 0 28px auto;  /* pushes the paragraph to the right */
    text-align: right;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.8;
  color: #554f47;
}
.text-link {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 8px;
}

.section { padding: clamp(90px, 12vw, 180px) clamp(24px, 7vw, 110px); }
.create {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(460px, 1.25fr);
  gap: clamp(50px, 8vw, 130px);
  align-items: center;
}
.create-copy > p:not(.eyebrow) {
  margin:30px auto 35px;
  max-width: 520px;
  color: var(--soft-ink);
  line-height: 1.8;
}
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  justify-content:center;
}
.services li:not(:last-child)::after {
  content: "·";
  margin-left: 22px;
  color: var(--gold);
}
.device-visual { margin: 0; }
.device-visual img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 32px 80px rgba(83, 67, 43, .14);
}
figcaption {
  margin-top: 14px;
  font-size: .7rem;
  color: var(--soft-ink);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.process {
  background: #f6f2e9;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(45px, 8vw, 120px);
  align-items: start;
  position: relative;
  overflow: hidden;
}
.process::before{
    content:"";
    position:absolute;
    inset:0;

    background:
        url("assets/image-5-automation.jpg")
        center center / 135%
        no-repeat;

    opacity:.15;

    filter: saturate(.65) brightness(1.02);

    z-index:0;
}
.process > *{
    position: relative;
    z-index: 2;
}
.process-art-main img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.process-content { padding-top: clamp(10px, 5vw, 80px); }

.steps {
  margin: 50px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.steps li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 73px;
  padding: 20px 12px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.steps strong {
  font-weight: 500;
}


/* Collection entry inside the process list */

.steps .collection-step {
  padding-top: 26px;
  padding-bottom: 26px;
}

.process-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-bottom: 8px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

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

.process-link-arrow {
  color: var(--gold);
  font-size: 0.9rem;
  line-height: 1;
  transition: transform 0.28s ease;
}

.process-link:hover {
  color: var(--gold);
}

.process-link:hover::after {
  transform: scaleX(1);
}

.process-link:hover .process-link-arrow {
  transform: translateX(6px);
}
.process-details figure { margin: 0; }
.process-details img { aspect-ratio: 16 / 9; object-fit: cover; }

.closing {
  position: relative;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
}

.closing-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(246, 242, 233, .28) 0%,
      rgba(246, 242, 233, .54) 58%,
      rgba(42, 36, 29, .68) 100%
    );
  pointer-events: none;
}

.closing-content {
  position: relative;
  z-index: 2;
   width: min(900px, 88%);
  min-height: 90vh;
  margin: 0 auto;
  padding: 130px 0 110px;
  display: grid;
  align-content: center;
}

.closing-content h2 { margin-bottom: 24px; }
.contact-intro {
  width: min(560px, 100%);
  margin: 0 auto 46px;
  color: var(--soft-ink);
  font-size: clamp(.95rem, 1.2vw, 1.08rem);
  line-height: 1.8;
}

.project-form {
  width: min(680px, 100%);
  margin: 0 auto;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-field {
  margin-bottom: 24px;
}

.form-field label {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(61, 49, 31, .42);
  border-radius: 0;
  padding: 12px 2px;
  color: var(--ink);
  background: rgba(249, 246, 239, .34);
  font: inherit;
  font-size: .95rem;
  outline: none;
  transition:
    border-color .25s ease,
    background .25s ease;
}

.form-field select {
  cursor: pointer;
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  background: rgba(249, 246, 239, .62);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  margin: 12px auto 0;
  cursor: pointer;
  color: var(--ink);
}

.form-submit:disabled {
  cursor: wait;
  opacity: .65;
  transform: none;
}

.form-status {
  min-height: 28px;
  margin: 22px auto 0;
  text-align: center;
  color: var(--ink);
  font-size: .85rem;
  line-height: 1.6;
}

.form-status.success {
  color: #4f6345;
}

.form-status.error {
  color: #7a3838;
}
.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 15px 22px;
  border: 1px solid rgba(61, 49, 31, .55);
  background: rgba(249, 246, 239, .48);
  backdrop-filter: blur(10px);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .17em;
  transition: background .25s ease, transform .25s ease;
}
.contact-button:hover { background: rgba(249,246,239,.82); transform: translateY(-2px); }

.site-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  background: transparent;
  text-align: left;
}

.footer-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 58px clamp(24px, 7vw, 110px) 70px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 40px;
  align-items: end;
}
.footer-copy p,
.footer-copy a,
.copyright {
  margin: 0;
  font-size: .72rem;
  line-height: 1.9;
  color: rgba(255, 252, 246, .9);
}

.footer-copy a {
  border-bottom: 1px solid rgba(255, 252, 246, .42);
}

.site-footer .footer-brand {
  color: #e5c78d;
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .create, .process { grid-template-columns: 1fr; }
  .create { gap: 55px; }
  .device-visual { width: min(760px, 100%); }
  .process-content { padding-top: 0; }
  .process-art-main img { aspect-ratio: 16 / 10; }
  .process-details { grid-column: 1; }
  .footer-inner { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 620px) {
  .site-header { height: 70px; padding-inline: 18px; }
  .brand { font-size: 2rem; }
  .header-contact { font-size: .64rem; letter-spacing: .11em; }
  .hero { min-height: 760px; }
  .hero-wash { background: linear-gradient(0deg, rgba(245,240,229,.86), rgba(245,240,229,.18) 78%); }
  .hero-content { padding: 130px 22px 60px; }
  .section { padding: 82px 22px; }
  .services { display: grid; gap: 12px; }
  .services li:not(:last-child)::after { display: none; }
  .steps li {
  min-height: 68px;
  padding: 18px 8px;
}

.steps .collection-step {
  padding-top: 24px;
  padding-bottom: 24px;
}

.process-link {
  gap: 12px;
  font-size: 0.65rem;
  letter-spacing: 0.13em;
}
  .process-details { grid-template-columns: 1fr; }
  .closing-content {  min-height: 650px;
  padding: 100px 22px 70px;
  }
  .form-row {
  grid-template-columns: 1fr;
  gap: 0;
}

.closing-content {
  width: calc(100% - 44px);
  min-height: auto;
  padding: 105px 0 85px;
}

.contact-intro {
  margin-bottom: 36px;
}

.form-field {
  margin-bottom: 22px;
}

.form-submit {
  width: 100%;
  justify-content: center;
}
.footer-inner {
  padding: 45px 22px 55px;
}
}




@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
