:root{
  --brown:#361f17;
  --footer-link:#a57a65;
  --doc-text:#e8c9bb;
  --cookie:#e7c35d;
  --white:#fff;
}

*{box-sizing:border-box}

html{
  min-width:280px;
  background:var(--brown);
}

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

body{
  font-family:Arial, Helvetica, sans-serif;
  color:var(--white);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

a{color:inherit}

/* ---------- MAIN PAGE ---------- */

.home{
  min-height:100svh;
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
  background:var(--brown);
}

.hero{
  position:relative;
  min-height:520px;
  overflow:hidden;
  background-color:#d9ae3f;
  background-image:url("assets/bg-desktop.jpg");
  background-repeat:no-repeat;
  background-position:center center;
  background-size:100% 100%;
}

.home-logo{
  position:absolute;
  z-index:2;
  top:40px;
  left:50%;
  display:block;
  width:521px;
  max-width:calc(100vw - 56px);
  height:auto;
  transform:translateX(-50%);
  pointer-events:none;
  user-select:none;
}

.launch-line{
  position:absolute;
  z-index:2;
  left:50%;
  bottom:68px;
  width:521px;
  max-width:calc(100vw - 56px);
  transform:translateX(-50%);
  display:grid;
  grid-template-columns:auto auto auto;
  justify-content:space-between;
  align-items:center;
  gap:26px;
  font-size:18px;
  line-height:1;
  font-weight:700;
  text-transform:uppercase;
  white-space:nowrap;
}

.launch-line span,
.launch-line a{
  display:block;
}

.notify-link{
  border:1px solid rgba(255,255,255,.98);
  border-radius:999px;
  padding:13px 24px 12px;
  text-decoration:none;
}

.notify-link:hover{
  background:rgba(255,255,255,.08);
}

.site-footer{
  min-height:44px;
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  align-items:center;
  gap:28px;
  padding:0 24px;
  background:var(--brown);
  color:var(--footer-link);
  font-size:11px;
  line-height:1.25;
}

.site-footer a{
  min-width:0;
  text-decoration:none;
}

.site-footer a:nth-child(1){text-align:left}
.site-footer a:nth-child(2){text-align:center}
.site-footer a:nth-child(3){text-align:right}

.site-footer a:hover{
  color:#c99c85;
}

/* Cookie notice, matching the desktop screenshot. */
.cookie{
  position:fixed;
  z-index:20;
  right:20px;
  bottom:29px;
  width:405px;
  max-width:calc(100vw - 40px);
  min-height:72px;
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:16px;
  padding:13px 17px 13px 23px;
  border-radius:20px;
  background:var(--cookie);
  color:#5d442f;
  box-shadow:0 5px 18px rgba(53,31,23,.08);
  font-size:8.5px;
  line-height:1.12;
}

.cookie.is-hidden{display:none}

.cookie p{margin:0}

.cookie a{
  color:#8c644d;
  text-decoration:none;
}

.cookie button{
  width:60px;
  height:30px;
  border:0;
  border-radius:999px;
  background:#fff;
  color:#5b493c;
  cursor:pointer;
  font-size:11px;
}

/* ---------- DOCUMENT PAGES ---------- */

.document-page{
  min-height:100svh;
  background:var(--brown);
  color:var(--doc-text);
}

.back-link{
  position:absolute;
  top:18px;
  left:23px;
  z-index:2;
  color:#9f735f;
  font-size:12px;
  line-height:1;
  text-decoration:none;
}

.back-link:hover{color:#c89a84}

.document-main{
  width:760px;
  max-width:calc(100% - 36px);
  margin:0 auto;
  padding:140px 0 110px;
}

.document-main h1{
  max-width:760px;
  margin:0 0 74px;
  color:#fff;
  font-size:36px;
  line-height:1.16;
  letter-spacing:-.02em;
  font-weight:700;
}

.document-copy{
  color:var(--doc-text);
  font-size:15px;
  line-height:1.43;
  font-weight:400;
}

.document-copy p{
  margin:0 0 22px;
}

.document-copy .tight{
  margin-bottom:0;
}

.document-copy a{
  color:inherit;
  text-decoration:none;
}

.document-copy a:hover{text-decoration:underline}

.document-page .site-footer{
  margin-top:0;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width:700px){
  .home{
    min-height:100svh;
  }

  .hero{
    min-height:560px;
    background-image:url("assets/bg-mobile.jpg");
    /*
      The supplied mobile art is intentionally kept close to its native scale.
      This preserves the chair/lamp composition from the 430 px reference
      instead of aggressively zooming it with background-size: cover.
    */
    background-size:640px 960px;
    background-position:34.5% -34px;
  }

  .home-logo{
    top:26px;
    width:calc(100vw - 52px);
    max-width:521px;
  }

  .launch-line{
    left:26px;
    right:26px;
    bottom:35px;
    width:auto;
    max-width:none;
    transform:none;
    grid-template-columns:auto auto auto;
    gap:18px;
    font-size:16px;
  }

  .notify-link{
    padding:11px 19px 10px;
  }

  .site-footer{
    min-height:131px;
    grid-template-columns:1fr;
    align-content:center;
    gap:12px;
    padding:25px 26px 23px;
    font-size:13px;
    line-height:1.25;
  }

  .site-footer a:nth-child(n){
    text-align:left;
  }

  /* The supplied mobile reference is shown without the cookie card. */
  .cookie{display:none}

  .back-link{
    top:20px;
    left:18px;
    font-size:12px;
  }

  .document-main{
    width:auto;
    max-width:none;
    margin:0;
    padding:145px 17px 70px;
  }

  .document-main h1{
    margin-bottom:73px;
    font-size:28px;
    line-height:1.22;
    letter-spacing:-.015em;
  }

  .document-copy{
    font-size:15.5px;
    line-height:1.43;
  }

  .document-copy p{
    margin-bottom:24px;
  }
}

@media (max-width:380px){
  .hero{
    min-height:500px;
    background-position:37% -50px;
  }

  .home-logo{
    top:20px;
    width:calc(100vw - 58px);
  }

  .launch-line{
    left:22px;
    right:22px;
    bottom:22px;
    gap:12px;
    font-size:12px;
  }

  .notify-link{
    padding:8px 13px 7px;
  }

  .site-footer{
    padding-left:22px;
    padding-right:22px;
    font-size:12px;
  }
}

@media (prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important}
}
