:root {
  --ink: #1b425e;
  --forest: #15344b;
  --cream: #ddd2c0;
  --paper: #f3efe7;
  --gold: #c2965d;
  --rose: #a24c3d;
  --line: rgba(27, 66, 94, 0.34);
  --timber: #744a38;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: linear-gradient(rgba(243,239,231,.88), rgba(243,239,231,.88)), url("assets/paja-woven-texture.png");
  background-size: auto, 272px 216px;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 92px;
  padding: 0 clamp(24px, 5vw, 76px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(27,66,94,.36);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: "Roboto Slab", serif; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 15px; }
.brand-logo { display: block; width: 112px; height: auto; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 30px; color: var(--paper); background: var(--rose); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); font-family: "DM Sans", sans-serif; font-size: 9px; line-height: 1; }
nav { display: flex; gap: 34px; font-size: 13px; }
nav a, footer a { transition: color .2s ease; }
nav a:hover, footer a:hover { color: var(--gold); }
.header-cta { justify-self: end; padding: 10px 14px; color: white; background: var(--ink); border: 1px solid var(--ink); box-shadow: none; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.hero {
  min-height: 790px;
  display: grid;
  grid-template-columns: 56% 44%;
  background-color: var(--cream);
  background-image: linear-gradient(rgba(221,210,192,.9), rgba(221,210,192,.9)), url("assets/paja-woven-texture.png");
  background-size: auto, 272px 216px;
  overflow: hidden;
}
.hero-copy { padding: 176px clamp(24px, 7vw, 112px) 84px; align-self: stretch; display: flex; flex-direction: column; justify-content: center; background-color: var(--cream); background-image: linear-gradient(rgba(221,210,192,.9), rgba(221,210,192,.9)), url("assets/paja-woven-texture.png"); background-position: center; background-size: auto, 272px 216px; }
.eyebrow { margin: 0 0 28px; font-size: 11px; line-height: 1; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { margin-bottom: 30px; font-family: "Roboto Slab", serif; font-weight: 500; line-height: 1.02; letter-spacing: -.035em; }
h1 { max-width: 680px; font-size: clamp(48px, 5vw, 76px); line-height: 1.04; }
h1 em, h2 em { color: var(--ink); font-weight: 500; font-style: normal; }
.hero-intro { max-width: 560px; margin-bottom: 38px; color: rgba(40,42,38,.78); font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 52px; padding: 14px 21px; border: 1px solid var(--ink); box-shadow: none; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s, transform .25s; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: var(--rose); border-color: var(--rose); }
.text-link { display: inline-flex; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 5px; font-size: 13px; font-weight: 600; }
.text-link span, .button span { color: #dca66f; }

.hero-art { position: relative; min-height: 790px; background: var(--ink); border-left: 4px solid var(--ink); overflow: hidden; }
.workshop-photo { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 58% center; filter: saturate(.8) contrast(1.08) sepia(.08); }
.hero-art::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(29,24,19,.05), transparent 50%, rgba(29,24,19,.42)); box-shadow: inset 0 0 0 10px rgba(29, 31, 29, .35); }
.photo-stamp { position: absolute; z-index: 2; right: 32px; bottom: 32px; width: 185px; padding: 18px 14px; color: white; background: rgba(27,66,94,.92); border: 1px solid rgba(255,255,255,.75); text-align: center; text-transform: uppercase; transform: rotate(-1deg); }
.photo-stamp strong { display: block; margin: 6px 0; font-family: "Roboto Slab", serif; font-size: 35px; line-height: .9; letter-spacing: .08em; }
.photo-stamp span { font-size: 8px; letter-spacing: .18em; }
.arch { position: relative; width: 72%; height: 74%; min-height: 510px; display: grid; place-items: center; border-radius: 260px 260px 0 0; background: #eadbc9; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.arch::before, .arch::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.24); filter: blur(1px); }
.arch::before { width: 110px; height: 110px; left: -36px; top: 46%; }
.arch::after { width: 54px; height: 54px; right: 4%; top: 24%; }
.arch > p { position: absolute; bottom: 25px; letter-spacing: .2em; text-transform: uppercase; font-size: 9px; }
.ring { position: relative; width: 220px; height: 220px; border: 16px solid var(--gold); border-radius: 50%; transform: rotate(-16deg); box-shadow: inset -8px -5px 0 #b27c34, 7px 15px 24px rgba(74,46,31,.18); }
.gem { position: absolute; top: -66px; left: 50%; width: 86px; height: 74px; transform: translateX(-50%); display: grid; place-items: center; clip-path: polygon(20% 0,80% 0,100% 36%,50% 100%,0 36%); background: #f9f4e8; box-shadow: inset 0 0 0 6px var(--gold); }
.gem span { width: 46px; height: 46px; clip-path: polygon(50% 0,100% 38%,81% 100%,19% 100%,0 38%); background: linear-gradient(135deg,#fff 15%,#c9d7d0 45%,#fff 60%,#b7cbc3); }
.spark { position: absolute; color: var(--gold); font-size: 34px; }
.spark-one { top: 20%; left: 17%; }
.spark-two { right: 14%; bottom: 28%; font-size: 20px; }

.promise-bar { display: grid; grid-template-columns: repeat(3,1fr); padding: 22px clamp(24px, 6vw, 90px); color: #f7f1e6; background-color: var(--ink); border-top: 1px solid var(--forest); border-bottom: 1px solid var(--forest); }
.promise-bar p { margin: 0; text-align: center; font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
.promise-bar p + p { border-left: 1px solid rgba(255,255,255,.2); }
.promise-bar span { margin-right: 12px; color: #d5a373; }

.section { padding: 108px clamp(24px, 6vw, 92px); scroll-margin-top: 50px; }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; margin-bottom: 65px; }
.section-heading h2, .process h2, .faq h2, .contact h2 { font-size: clamp(44px, 4.8vw, 70px); }
.section-heading > p { max-width: 500px; margin-bottom: 8px; color: rgba(40,42,38,.72); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { min-height: 310px; padding: 28px; display: flex; flex-direction: column; background: rgba(255,255,255,.58); border: 1px solid rgba(27,66,94,.3); transition: background .3s, transform .3s; }
.service-card:hover { background: rgba(227,212,192,.82); transform: translateY(-2px); }
.service-number { align-self: flex-end; padding: 2px 5px; color: var(--paper); background: var(--rose); font-size: 10px; }
.service-icon { height: 96px; display: flex; align-items: center; margin: 10px 0 12px; }
.service-icon img { display: block; width: 74px; height: 74px; object-fit: contain; }
.service-card h3 { margin-bottom: 10px; font-family: "Roboto Slab", serif; font-size: 27px; font-weight: 500; }
.service-card p { max-width: 330px; margin-bottom: 18px; color: rgba(40,42,38,.72); font-size: 14px; }
.service-note { margin-top: auto; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.service-card-cta { justify-content: flex-end; background-color: var(--ink); background-image: linear-gradient(rgba(21,52,75,.88), rgba(21,52,75,.88)), url("assets/paja-tools-background.png"); background-position: center; background-size: cover; color: white; }
.service-card-cta:hover { background-color: var(--forest); }
.service-card-cta .eyebrow { color: #f0cfac; }
.service-card-cta h3 { font-size: 36px; }
.service-card-cta a { width: max-content; margin-top: 26px; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.5); font-size: 12px; text-transform: uppercase; }
.service-card-cta a span { margin-left: 22px; color: var(--gold); }

.process { display: grid; grid-template-columns: .85fr 1.15fr; gap: 9vw; color: white; background-color: var(--forest); background-image: linear-gradient(rgba(21,52,75,.9), rgba(21,52,75,.9)), url("assets/paja-tools-background.png"); background-position: center; background-size: cover; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.process h2 em { color: white; }
.process-intro > p:not(.eyebrow) { max-width: 400px; color: rgba(255,255,255,.65); }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; padding: 35px 0; border-top: 1px solid rgba(255,255,255,.22); }
.process-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.22); }
.process-list li > span { color: var(--gold); font-size: 11px; }
.process-list li > div { width: 100%; }
.process-list h3 { max-width: 100%; margin-bottom: 8px; font-family: "Roboto Slab", serif; font-size: clamp(29px, 2.35vw, 38px); font-weight: 500; }
.process-list p { max-width: 680px; margin-bottom: 0; color: rgba(255,255,255,.72); font-size: 15px; }
.bench-illustration { position: relative; width: 230px; height: 150px; margin-top: 60px; }
.bench-line { position: absolute; left: 0; right: 0; bottom: 22px; height: 1px; background: rgba(255,255,255,.25); transform: rotate(-7deg); }
.bench-gem { position: absolute; left: 75px; top: 10px; color: var(--gold); font-size: 90px; transform: rotate(-9deg); }
.bench-star { position: absolute; right: 0; top: 10px; color: var(--rose); font-size: 24px; }

.goldsmiths { background-color: var(--paper); background-image: linear-gradient(rgba(243,239,231,.9), rgba(243,239,231,.9)), url("assets/paja-woven-texture.png"); background-size: auto, 272px 216px; }
.goldsmiths-heading { display: grid; grid-template-columns: 1fr .8fr; gap: 9vw; align-items: end; margin-bottom: 64px; }
.goldsmiths-heading h2 { margin-bottom: 0; font-size: clamp(44px, 4.8vw, 70px); }
.goldsmiths-heading > p { max-width: 470px; margin: 0 0 5px; color: rgba(27,66,94,.74); }
.goldsmith-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 4vw, 68px); }
.goldsmith-card { display: grid; grid-template-columns: minmax(180px, .9fr) 1.1fr; align-items: center; background-color: #e3d4c0; background-image: linear-gradient(rgba(227,212,192,.89), rgba(227,212,192,.89)), url("assets/paja-tools-background.png"); background-position: center; background-size: cover; border: 1px solid rgba(27,66,94,.42); box-shadow: none; }
.goldsmith-card-wide { grid-column: 1 / -1; grid-template-columns: minmax(240px, .62fr) 1.38fr; }
.goldsmith-photo-wrap { position: relative; height: 100%; min-height: 390px; overflow: hidden; border-right: 1px solid rgba(27,66,94,.42); background: var(--forest); }
.goldsmith-photo-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; filter: saturate(.88) contrast(1.03); }
.goldsmith-photo-wrap span { position: absolute; top: 16px; left: 16px; padding: 4px 7px; color: white; background: var(--ink); border: 1px solid white; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.goldsmith-details { padding: 30px 25px; }
.goldsmith-details .eyebrow { margin-bottom: 20px; color: var(--rose); font-size: 9px; }
.goldsmith-details h3 { margin-bottom: 16px; color: var(--ink); font-family: "Roboto Slab", serif; font-size: clamp(25px, 2.2vw, 34px); font-weight: 500; line-height: 1.08; }
.goldsmith-details p:last-child { margin: 0; color: rgba(27,66,94,.75); font-size: 14px; }

.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 10vw; background-color: var(--cream); background-image: linear-gradient(rgba(221,210,192,.9), rgba(221,210,192,.9)), url("assets/paja-woven-texture.png"); background-size: auto, 272px 216px; }
.faq-heading > p:not(.eyebrow) { margin-bottom: 8px; color: rgba(40,42,38,.65); font-size: 13px; }
.accordion { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; cursor: pointer; list-style: none; font-family: "Roboto Slab", serif; font-size: 21px; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary span { position: relative; flex: 0 0 18px; height: 18px; }
summary span::before, summary span::after { content: ""; position: absolute; top: 8px; left: 2px; width: 14px; height: 1px; background: var(--ink); transition: transform .2s; }
summary span::after { transform: rotate(90deg); }
details[open] summary span::after { transform: rotate(0); }
details > p { max-width: 680px; padding: 0 40px 26px 0; margin: 0; color: rgba(40,42,38,.68); font-size: 14px; }

.contact { display: block; }
.contact-copy { max-width: 880px; }
.contact-copy > p:not(.eyebrow) { max-width: 620px; color: rgba(40,42,38,.7); }
.contact-email { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; margin-top: 34px; padding: 17px 21px; color: white; background: var(--ink); border: 1px solid var(--ink); font-size: clamp(16px, 2vw, 22px); font-weight: 600; transition: background .25s, border-color .25s, transform .25s; }
.contact-email:hover { background: var(--rose); border-color: var(--rose); transform: translateY(-2px); }
.contact-email span { color: var(--gold); }

footer { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 30px; align-items: center; padding: 45px clamp(24px, 6vw, 92px); color: rgba(255,255,255,.75); background: var(--forest); border-top: 2px solid var(--rose); font-size: 11px; }
.footer-brand { padding: 0; background: transparent; }
.footer-logo { width: 132px; }
footer p { margin: 0; }
.footer-brand { color: white; }
footer div { display: flex; gap: 24px; }

.reveal { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: auto 1fr; height: auto; min-height: 76px; padding-top: 14px; padding-bottom: 12px; }
  .site-header > .brand { grid-column: 1; grid-row: 1; }
  .site-header nav { grid-column: 1 / -1; grid-row: 2; width: 100%; padding-top: 10px; gap: 20px; overflow-x: auto; white-space: nowrap; }
  .header-cta { grid-column: 2; grid-row: 1; display: block; justify-self: end; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 145px; }
  .hero-art { min-height: 620px; border-top: 10px solid var(--ink); border-left: 0; }
  .arch { min-height: 480px; width: min(76%, 480px); }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .process, .faq { grid-template-columns: 1fr; gap: 60px; }
  .goldsmiths-heading { grid-template-columns: 1fr; gap: 24px; }
  .goldsmith-grid { gap: 32px; }
  .goldsmith-card { grid-template-columns: 1fr; }
  .goldsmith-card-wide { grid-column: auto; }
  .goldsmith-photo-wrap { min-height: 460px; border-right: 0; border-bottom: 2px solid var(--ink); }
  .bench-illustration { display: none; }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero { min-height: auto; }
  .hero-copy { padding-bottom: 68px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 24px; }
  .hero-art { min-height: 520px; }
  .photo-stamp { right: 22px; bottom: 22px; width: 160px; }
  .arch { min-height: 410px; width: 84%; }
  .ring { width: 170px; height: 170px; border-width: 13px; }
  .promise-bar { grid-template-columns: 1fr; gap: 12px; }
  .promise-bar p + p { border-left: 0; }
  .section { padding-top: 84px; padding-bottom: 84px; }
  .section-heading { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; }
  .goldsmith-grid { grid-template-columns: 1fr; }
  .goldsmith-photo-wrap { min-height: 410px; }
  .contact-email { width: 100%; }
  footer { grid-template-columns: 1fr; }
}

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