/* Sineq Horren */

:root {
  --paper: #f4efe6;
  --paper-deep: #ebe4d6;
  --panel: #fbf8f2;
  --ink: #22251f;
  --muted: #555a4e;
  --forest: #1f3a2d;
  --forest-soft: #2b4c3b;
  --lime: #bfd730;
  --rule: rgba(34, 37, 31, 0.2);
  --rule-light: rgba(244, 239, 230, 0.28);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pleats: repeating-linear-gradient(90deg, transparent 0 9px, rgba(31, 58, 45, 0.2) 9px 10px);
}

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

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

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

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
fieldset {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

fieldset {
  border: 0;
  min-width: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: var(--lime);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 3px;
}

.process :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--lime);
}

.wrap {
  width: min(100% - 2.5rem, 76rem);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--forest);
  color: var(--paper);
}

.skip-link:focus {
  top: 0.75rem;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--rule);
}

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

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding-block: 0.5rem;
  color: var(--forest);
  text-decoration: none;
}

.wordmark__name {
  font-family: var(--serif);
  font-size: 1.625rem;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.01em;
}

.wordmark__kind {
  padding-bottom: 0.2rem;
  border-bottom: 2px solid var(--lime);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.wordmark--light {
  color: var(--paper);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1.75rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.9375rem;
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 2px;
}

.site-nav__phone {
  font-weight: 600;
  color: var(--forest);
  white-space: nowrap;
}

.menu-toggle {
  min-width: 4.5rem;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}

.menu-toggle[aria-expanded="true"] {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--paper);
}

@media (min-width: 52rem) {
  .menu-toggle {
    display: none;
  }
}

@media (max-width: 51.99rem) {
  .site-nav {
    width: 100%;
    padding-bottom: 0.5rem;
  }

  .js .site-nav {
    display: none;
    padding-bottom: 0.75rem;
  }

  .js .site-nav.is-open {
    display: block;
  }

  .js .site-nav ul {
    display: block;
    border-top: 1px solid var(--rule);
  }

  .js .site-nav li {
    border-bottom: 1px solid var(--rule);
  }

  .js .site-nav a {
    display: flex;
    min-height: 3rem;
    font-size: 1.0625rem;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--forest);
  border-radius: 2px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn--primary {
  border-bottom: 3px solid var(--lime);
  background: var(--forest);
  color: var(--paper);
}

.btn--primary:hover {
  background: var(--forest-soft);
}

.btn--secondary {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--block {
  display: flex;
  width: 100%;
}

/* Hero */

.hero {
  padding-top: clamp(2.25rem, 5vw, 4.5rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: end;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: var(--forest);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 2.5rem;
  height: 1px;
  background: var(--forest);
}

h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw + 0.75rem, 5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

h1 span {
  display: block;
}

.hero__turn {
  color: var(--forest);
  font-style: italic;
}

.lede {
  max-width: 34rem;
  margin-top: 1.75rem;
  font-size: 1.1875rem;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--paper-deep);
}

.photo__link {
  display: block;
  cursor: zoom-in;
}

.photo__link:hover img {
  opacity: 0.92;
}

.photo figcaption {
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.4;
}

.hero__media {
  position: relative;
  isolation: isolate;
}

.hero__media::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1rem 1rem 3.5rem -1rem;
  background-image: var(--pleats);
}

.offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-block: 1px solid var(--ink);
}

.offer__lead {
  padding-block: 1.1rem;
  font-family: var(--serif);
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-style: italic;
  color: var(--forest);
}

.offer__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offer__list li {
  padding: 1.1rem 0 1.1rem 1rem;
  border-left: 1px solid var(--rule);
  font-weight: 600;
}

/* Sections */

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

h2 {
  max-width: 18ch;
  font-family: var(--serif);
  font-size: clamp(1.875rem, 2.6vw + 1rem, 3rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.section__intro {
  max-width: 34rem;
  margin-top: 1.25rem;
  color: var(--muted);
}

/* Products */

.products__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.products__media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(0.75rem, 2vw, 1.5rem);
  align-items: start;
  order: -1;
}

.products__media .photo + .photo {
  margin-top: clamp(2rem, 6vw, 5rem);
}

.spec {
  margin-top: 2.5rem;
  border-bottom: 1px solid var(--rule);
}

.spec__row {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  gap: 0.25rem 2rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--rule);
}

.spec dt {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--forest);
}

.spec dd {
  color: var(--muted);
}

.gallery {
  margin-top: clamp(3rem, 7vw, 5.5rem);
}

.gallery__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 2rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--ink);
  color: var(--muted);
  font-size: 0.9375rem;
}

.gallery__head h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.5vw + 1rem, 2rem);
  font-weight: 400;
  line-height: 1.15;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 2rem);
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.gallery__grid img {
  aspect-ratio: 4 / 5;
}

/* Process */

.process {
  background-color: var(--forest);
  background-image: repeating-linear-gradient(90deg, transparent 0 9px, rgba(244, 239, 230, 0.05) 9px 10px);
  color: var(--paper);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  counter-reset: stap;
}

.steps li {
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule-light);
  counter-increment: stap;
}

.steps li::before {
  content: counter(stap);
  display: block;
  margin-bottom: 0.75rem;
  color: var(--lime);
  font-family: var(--serif);
  font-size: 3rem;
  font-style: italic;
  line-height: 1;
}

.steps h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
}

.steps p {
  margin-top: 0.6rem;
  color: rgba(244, 239, 230, 0.86);
}

/* FAQ */

.faq {
  background: var(--paper-deep);
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.faq__list {
  border-bottom: 1px solid var(--rule);
}

.faq details {
  border-top: 1px solid var(--rule);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
  padding-block: 0.75rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  content: "+";
  flex: none;
  color: var(--forest);
  font-family: var(--sans);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.15s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 38rem;
  padding-bottom: 1.25rem;
  color: var(--muted);
}

/* Contact */

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.contact__list {
  margin-top: 2rem;
  border-bottom: 1px solid var(--rule);
}

.contact__list > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 1rem;
  min-height: 3.25rem;
  border-top: 1px solid var(--rule);
}

.contact__list dt {
  color: var(--muted);
  font-size: 0.9375rem;
}

.contact__list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 600;
}

.builder {
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
  border: 1px solid var(--ink);
  border-top: 4px solid var(--forest);
  background: var(--panel);
}

.builder h3 {
  margin-bottom: 1.5rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
}

html:not(.js) .builder__fields {
  display: none;
}

.builder fieldset,
.field {
  margin-bottom: 1.5rem;
}

.builder legend,
.field label,
.preview__label {
  display: block;
  margin-bottom: 0.6rem;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 600;
}

.field__hint {
  color: var(--muted);
  font-weight: 400;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.choice {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.4rem 1rem 0.4rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--paper);
  cursor: pointer;
}

.choice:hover {
  border-color: var(--forest);
}

.choice input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  accent-color: var(--forest);
}

.choice input:checked + span {
  font-weight: 600;
  color: var(--forest);
}

textarea {
  display: block;
  width: 100%;
  min-height: 5.5rem;
  padding: 0.75rem;
  border: 1px solid var(--muted);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.preview {
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--lime);
}

.preview__label {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-weight: 400;
}

.preview__text {
  white-space: pre-line;
}

.builder__note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Footer */

.site-footer {
  padding-block: 2.5rem;
  background: var(--forest);
  color: var(--paper);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 3rem;
  align-items: center;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.site-footer__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--rule-light);
  border-radius: 2px;
  color: var(--paper);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.site-footer__icon svg {
  width: 1.375rem;
  height: 1.375rem;
}

.site-footer__icon:hover {
  border-color: var(--lime);
  background: rgba(244, 239, 230, 0.08);
  color: var(--lime);
}

.site-footer__line {
  grid-column: 1 / -1;
  padding-top: 1rem;
  border-top: 1px solid var(--rule-light);
  color: rgba(244, 239, 230, 0.8);
  font-size: 0.875rem;
}

/* Photo lightbox */

.has-lightbox {
  overflow: hidden;
  scrollbar-gutter: stable;
}

.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  overflow: hidden;
  overscroll-behavior: contain;
  cursor: zoom-out;
}

.lightbox::backdrop {
  background: rgba(18, 22, 17, 0.9);
}

.lightbox :focus-visible {
  outline-color: var(--lime);
}

.lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 4.25rem 1rem 1rem;
}

.lightbox__img {
  width: auto;
  max-width: calc(100vw - 2rem);
  height: auto;
  max-height: calc(100vh - 5.25rem);
  max-height: calc(100dvh - 5.25rem);
  object-fit: contain;
  background: var(--ink);
}

.lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--paper);
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
}

.lightbox__close:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.lightbox__close svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Smaller screens */

@media (max-width: 51.99rem) {
  .hero__grid,
  .offer,
  .products__grid,
  .faq__grid,
  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__media::before {
    inset: -0.6rem 0.6rem 3.5rem -0.6rem;
  }

  .offer {
    gap: 0;
  }

  .offer__lead {
    padding-bottom: 0.25rem;
  }

  .offer__list li {
    padding: 0.75rem 0 1rem;
    border-left: 0;
  }

  .products__media {
    order: 0;
  }

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

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps li {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    column-gap: 0.5rem;
  }

  .steps li::before {
    grid-row: 1 / span 2;
    margin-bottom: 0;
    font-size: 2.5rem;
  }

  .steps h3,
  .steps p {
    grid-column: 2;
  }

  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 36rem) {
  .actions .btn {
    width: 100%;
  }

  .spec__row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
