/* Plantox, Lda - preview site
   Palette is taken from the client's own logo (bright #37b34a, deep #025f0e) with a Corten
   rust as the working accent, because weathering steel is what their reviews talk about. */

:root {
  --ink: #101c15;
  --ink-soft: #3d4a41;
  --forest: #14382a;
  --forest-deep: #0d241a;
  --leaf: #37b34a;
  --leaf-dark: #1f7a34;
  --corten: #a3572f;
  --corten-light: #c4764a;
  --paper: #f7f5f0;
  --sand: #e9e3d6;
  --line: #d6cfc0;
  --line-dark: rgba(247, 245, 240, 0.22);
  --white: #fff;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --text: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --rhythm: clamp(4rem, 9vw, 8rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.62;
  font-weight: 400;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip:focus { left: 0; }

:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--corten);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- small shared pieces ---------- */

.eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--corten);
}
.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  flex: none;
}
/* Over a photograph the Corten accent loses too much contrast, so the light variant keeps the
   text near-white and spends the accent on the rule instead. */
.eyebrow--light { color: rgba(255, 255, 255, 0.92); }
.eyebrow--light::before { background: var(--leaf); }

.lede {
  font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.3125rem);
  line-height: 1.5;
  color: var(--ink-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 1.6rem;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: var(--white);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { background: var(--forest-deep); border-color: var(--forest-deep); }

.btn--ghost { background: transparent; color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--white); }

.btn--onDark { background: var(--leaf); border-color: var(--leaf); color: var(--forest-deep); }
.btn--onDark:hover { background: var(--white); border-color: var(--white); }

.btn--ghostLight { background: transparent; border-color: var(--line-dark); color: var(--white); }
.btn--ghostLight:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.5); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16, 28, 21, 0.94);
  backdrop-filter: saturate(140%) blur(6px);
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  text-decoration: none;
  flex: none;
  padding-block: 0.6rem;
}
.wordmark__name {
  font-family: var(--display);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.wordmark__sub {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: clamp(1rem, 2.2vw, 2rem);
  margin: 0;
  padding: 0;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  padding-block: 0.4rem;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--white); border-bottom-color: var(--leaf); }

.header-call {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line-dark);
}
.header-call:hover { border-color: var(--leaf); color: var(--leaf); }

@media (max-width: 960px) {
  .site-nav { display: none; }
}
@media (max-width: 560px) {
  .wordmark__sub { display: none; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  color: var(--white);
  background: var(--forest-deep);
  min-height: clamp(30rem, 78vh, 44rem);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(8, 20, 13, 0.92) 0%, rgba(8, 20, 13, 0.58) 42%, rgba(8, 20, 13, 0.18) 78%);
}
.hero__inner {
  padding-block: clamp(4rem, 12vw, 7rem) clamp(2.5rem, 5vw, 3.5rem);
  max-width: 46rem;
}
.hero h1 {
  font-size: clamp(2.35rem, 1.5rem + 4.2vw, 4.25rem);
  margin-bottom: 1.1rem;
}
.hero__sub {
  font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.25rem);
  color: rgba(255, 255, 255, 0.84);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* facts strip below the hero */
.facts {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.86);
  border-top: 1px solid var(--line-dark);
}
.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  margin-inline: calc(var(--gutter) * -1);
}
.facts__item {
  background: var(--forest);
  padding: 1.5rem var(--gutter);
}
.facts__k {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.facts__v {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.stars { color: var(--leaf); letter-spacing: 0.05em; }

@media (max-width: 880px) {
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- generic section ---------- */

.section { padding-block: var(--rhythm); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--forest-deep); color: var(--white); }
.section--dark .lede { color: rgba(255, 255, 255, 0.76); }

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section__head h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
@media (max-width: 800px) {
  .section__head { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- services ---------- */

.services { border-top: 1px solid var(--line); }

.service {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.service__n {
  font-family: var(--display);
  font-size: 0.9375rem;
  color: var(--corten);
  letter-spacing: 0.05em;
}
.service__name {
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  line-height: 1.15;
}
.service__body { color: var(--ink-soft); font-size: 0.9375rem; }

@media (max-width: 760px) {
  .service { grid-template-columns: 3rem minmax(0, 1fr); }
  .service__body { grid-column: 2; }
}

/* ---------- work grid ---------- */

.work {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
}
.work figure {
  margin: 0;
  position: relative;
  background: var(--sand);
  overflow: hidden;
}
.work img { width: 100%; height: 100%; object-fit: cover; }
/* The scrim has to carry both caption lines, not just the bottom one: over a sunlit lawn the
   label sat where the old gradient had already faded out and lost its contrast. */
.work figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 4rem 1.15rem 1.05rem;
  color: var(--white);
  font-size: 0.8125rem;
  line-height: 1.4;
  background: linear-gradient(to top,
    rgba(6, 16, 10, 0.94) 0%,
    rgba(6, 16, 10, 0.82) 45%,
    rgba(6, 16, 10, 0.45) 72%,
    rgba(6, 16, 10, 0) 100%);
}
.work figcaption b {
  display: block;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.6875rem;
  color: #a8e6b2;
  margin-bottom: 0.2rem;
}
.work__a { grid-column: span 4; aspect-ratio: 4 / 3; }
.work__b { grid-column: span 2; aspect-ratio: 3 / 4; }
.work__c { grid-column: span 2; aspect-ratio: 1 / 1; }
.work__d { grid-column: span 2; aspect-ratio: 1 / 1; }
.work__e { grid-column: span 2; aspect-ratio: 1 / 1; }
.work__f { grid-column: span 3; aspect-ratio: 4 / 3; }
.work__g { grid-column: span 3; aspect-ratio: 4 / 3; }

@media (max-width: 760px) {
  .work { grid-template-columns: repeat(2, 1fr); }
  .work__a, .work__f, .work__g { grid-column: span 2; }
  .work__b { grid-column: span 2; aspect-ratio: 4 / 3; }
  .work__c, .work__d, .work__e { grid-column: span 1; }
}

/* ---------- craft band ---------- */

.band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: stretch;
  background: var(--forest-deep);
  color: var(--white);
}
.band__media { min-height: 20rem; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__body {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.band__body h2 { font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.6rem); margin-bottom: 1.2rem; }
.band__body p { color: rgba(255, 255, 255, 0.78); }
@media (max-width: 860px) {
  .band { grid-template-columns: 1fr; }
  .band__media { min-height: 15rem; max-height: 22rem; }
}

/* ---------- process ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.step { background: var(--paper); padding: clamp(1.5rem, 3vw, 2.25rem); }
.step__n {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--corten);
  line-height: 1;
  display: block;
  margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.55rem; }
.step p { font-size: 0.875rem; color: var(--ink-soft); }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- quoting note ---------- */

.note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.note__list { list-style: none; margin: 0; padding: 0; }
.note__list li {
  padding: 1.1rem 0 1.1rem 2.25rem;
  border-bottom: 1px solid var(--line-dark);
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9375rem;
}
.note__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.55rem;
  width: 1.25rem;
  height: 1px;
  background: var(--leaf);
}
.note__list li b { color: var(--white); font-weight: 600; display: block; margin-bottom: 0.15rem; }
@media (max-width: 800px) { .note { grid-template-columns: 1fr; } }

/* ---------- products ---------- */

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}
.product { display: flex; flex-direction: column; }
.product img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.product h3 { font-size: 1.15rem; margin: 1rem 0 0.4rem; }
.product p { font-size: 0.875rem; color: var(--ink-soft); }
@media (max-width: 760px) { .products { grid-template-columns: 1fr; } }

/* ---------- reviews ---------- */

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}
.review {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(1.4rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.review blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: 1.0625rem;
  line-height: 1.42;
}
.review cite {
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: auto;
}
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); margin-bottom: 1.2rem; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

.card {
  border: 1px solid var(--line-dark);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.card + .card { border-top: 0; }
.card h3 {
  font-family: var(--text);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--leaf);
  margin-bottom: 0.75rem;
}
.card p, .card address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9375rem;
  margin: 0;
}
.card a { color: var(--white); text-decoration-color: rgba(255, 255, 255, 0.4); text-underline-offset: 3px; }
.card a:hover { text-decoration-color: var(--leaf); }

.hours { list-style: none; margin: 0; padding: 0; font-size: 0.9375rem; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.82);
}
.hours li:last-child { border-bottom: 0; }
.hours span:last-child { color: var(--white); }
.hours__note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.9rem;
}

@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.66);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  font-size: 0.875rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line-dark);
}
.site-footer h3 {
  font-family: var(--text);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.7rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--leaf); text-decoration: underline; text-underline-offset: 3px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
/* Footer links are a dense list, so each one gets a full 44px touch target of its own
   rather than the 15px the type alone would give. */
.site-footer li a {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  font-size: 0.8125rem;
  /* 0.45 composited onto --ink lands at 4.47:1, just under AA; 0.52 clears it. */
  color: rgba(255, 255, 255, 0.52);
}
.site-footer__logo { width: 7.5rem; margin-bottom: 1rem; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 404 ---------- */

.oops {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: var(--forest-deep);
  color: var(--white);
}
.oops h1 { font-size: clamp(2.25rem, 1.5rem + 3.4vw, 3.6rem); margin-bottom: 1rem; }
.oops p { color: rgba(255, 255, 255, 0.78); max-width: 34rem; }
.oops__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ---------- motion ---------- */

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