/* Woldvale Ltd — landing page
   To set the background photo, save it as images/hero.jpg
   (landscape, around 2400px wide). Until then a dark green-grey shows. */

:root {
  --ink: #1E231F;
  --paper: #F4F1EA;
  --text-soft: #E8E4DA;
  --text-muted: #D3CCBD;
  --line: rgba(244, 241, 234, 0.25);
  --line-strong: rgba(244, 241, 234, 0.6);
  --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Gill Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 48px);
  --max: 1320px;
}

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

html, body { margin: 0; height: 100%; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }

/* Full-screen frame */
.page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.page__bg {
  position: absolute;
  inset: 0;
  background-color: #2B312B;
  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: settle 2.4s ease-out both;
}

.page__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(18, 21, 18, 0.55) 0%,
    rgba(18, 21, 18, 0.45) 45%,
    rgba(18, 21, 18, 0.88) 100%);
}

.site-header, .hero, .services, .site-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Header */
.site-header { padding-top: 32px; }
.site-header__logo { display: block; height: 78px; width: auto; }

/* Hero */
.hero {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding-top: 72px;
  padding-bottom: 56px;
}

.hero__kicker {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(52px, 7.4vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: #fff;
}

.hero__rule { display: block; width: 72px; height: 1px; background: var(--line-strong); }

.hero__intro {
  margin: 0;
  max-width: 34em;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-soft);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 6px; }

.btn {
  min-height: 52px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.btn--solid { background: var(--paper); color: var(--ink); }
.btn--solid:hover { background: #fff; }

/* Services strip */
.services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 28px 32px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}
.service:first-child { border-left: 0; padding-left: 0; }
.service:last-child { padding-right: 0; }

.service__title {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
}

.service__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
}

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  padding-top: 8px;
  padding-bottom: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-muted);
}
.site-footer > * { min-height: 44px; display: inline-flex; align-items: center; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }

@keyframes settle {
  from { transform: scale(1.06); opacity: 0.6; }
  to   { transform: scale(1); opacity: 1; }
}

/* Tablet */
@media (max-width: 960px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service:nth-child(odd) { border-left: 0; padding-left: 0; }
  .service:nth-child(even) { padding-right: 0; }
}

/* Phone */
@media (max-width: 600px) {
  .site-header { padding-top: 20px; }
  .site-header__logo { height: 60px; }
  .hero { padding-top: 48px; }
  .hero__intro { font-size: 17px; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .service, .service:nth-child(even) { border-left: 0; padding: 22px 0; }
  .service__title { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .page__bg { animation: none; }
  * { transition: none !important; }
}
