/* fameria.com: the site's dress.
   It wears the Day colours and the letters of Fameria itself (paper, ink, the brown of
   the header, the green of the doors that act, a thin gold rule).
   Self-contained: no script, no font and no file from anywhere else. */

:root{
  --paper:#f4f1ea;
  --card:#ffffff;
  --ink:#2b2b2b;
  --soft:#5c5345;
  --line:#e3d9c6;
  --accent:#7a5c3e;
  --accent-deep:#5e452d;
  --green:#3d6051;
  --green-deep:#2f4b3f;
  --gold:#a87b2d;
  --bar:#efe9dd;
  --night:#26221d;
  --serif:Georgia,"Iowan Old Style","Palatino Linotype",Palatino,"Times New Roman",serif;
  --sans:"Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
  --wide:1120px;
  --read:36em;
  color-scheme:light;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:var(--serif); font-size:20px; line-height:1.6;
}
.wrap{max-width:var(--wide); margin:0 auto; padding:0 28px}

a{color:var(--accent-deep); text-underline-offset:4px; text-decoration-thickness:1px}
a:hover{color:var(--green-deep)}
a:focus-visible{outline:3px solid var(--gold); outline-offset:3px; border-radius:4px}

h1,h2,h3{font-family:var(--serif); font-weight:600; line-height:1.14; margin:0; color:var(--ink)}
h1{font-size:clamp(32px,8.4vw,88px); letter-spacing:-.02em}
h2{font-size:clamp(28px,4.4vw,48px); letter-spacing:-.012em}
h3{font-size:clamp(22px,2.3vw,27px); line-height:1.25}
p{margin:0 0 1em}

/* the masthead: the header of the house */
.masthead{background:var(--accent); color:#fff}
.masthead .wrap{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap;
  gap:8px 20px; min-height:84px; padding-top:14px; padding-bottom:14px;
}
.wordmark{
  font-family:var(--serif); font-size:34px; font-weight:600; line-height:1;
  letter-spacing:-.01em; color:#fff; text-decoration:none; white-space:nowrap;
}
.wordmark:hover{color:#fff}
.wordmark .tm{
  font-family:var(--sans); font-size:13px; font-weight:400; letter-spacing:0;
  vertical-align:super; margin-left:2px;
}
.nav{display:flex; flex-wrap:wrap; gap:6px}
.nav a{
  font-family:var(--sans); font-size:18px; color:#fff; text-decoration:none;
  padding:10px 14px; border-radius:8px;
}
.nav a:hover{background:rgba(255,255,255,.14); color:#fff}
.nav a[aria-current="page"]{background:rgba(255,255,255,.2)}
.masthead a:focus-visible{outline-color:#fff}

/* the first screen */
.hero{padding:clamp(56px,9vw,120px) 0 clamp(48px,7vw,92px)}
.pagehead{padding:clamp(48px,7vw,88px) 0 0}
.pagehead h1{font-size:clamp(32px,6vw,64px)}
.kicker{
  font-family:var(--sans); font-size:15px; font-weight:600; letter-spacing:.14em;
  text-transform:uppercase; color:var(--green); margin:0 0 22px;
}
.lede{
  font-size:clamp(21px,2.3vw,28px); line-height:1.45; color:var(--soft);
  max-width:31em; margin:28px 0 0;
}
.btn-row{display:flex; flex-wrap:wrap; align-items:center; gap:16px; margin:40px 0 18px}
.btn{
  display:inline-block; font-family:var(--sans); font-size:19px; font-weight:600;
  line-height:1.2; padding:18px 30px; border-radius:10px; text-decoration:none;
  border:2px solid transparent;
}
.btn:focus-visible{outline:3px solid var(--gold); outline-offset:3px}
.btn-primary{background:var(--green); color:#fff}
.btn-primary:hover{background:var(--green-deep); color:#fff}
.btn-quiet{background:transparent; color:var(--ink); border-color:#cdbfa6}
.btn-quiet:hover{border-color:var(--accent); color:var(--ink)}
.fine{font-family:var(--sans); font-size:16px; color:var(--soft); margin:0}

/* four plain facts in a row */
.strip{background:var(--bar); border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.strip ul{
  list-style:none; margin:0 auto; padding:22px 28px; max-width:var(--wide);
  display:flex; flex-wrap:wrap; gap:10px 44px;
}
.strip li{font-family:var(--sans); font-size:18px; color:var(--ink)}
.strip b{font-weight:600}

/* the sections */
section{padding:clamp(56px,8vw,104px) 0}
.white{background:var(--card); border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.sec-head{margin-bottom:clamp(30px,4vw,52px)}
.sec-head p{font-size:clamp(20px,1.9vw,23px); color:var(--soft); margin:18px 0 0; max-width:31em}

.three{
  display:grid; gap:clamp(28px,4vw,52px);
  grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));
}
.three.two{grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr))}
.three > div{border-top:3px solid var(--gold); padding-top:22px}
.three p{color:var(--soft); margin:12px 0 0}

.rooms{
  display:grid; gap:clamp(30px,4vw,56px) clamp(32px,5vw,72px);
  grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));
}
.rooms p{color:var(--soft); margin:10px 0 0}

/* a column for reading */
.narrow{max-width:var(--read)}
.prose{padding-top:clamp(36px,5vw,60px)}
.prose h2{font-size:clamp(25px,3vw,34px); margin:1.7em 0 .55em}
.prose h2:first-child{margin-top:0}
.prose ul{margin:0 0 1em; padding-left:1.2em}
.prose li{margin-bottom:.55em}
.prose b{font-weight:600}
.stand p{font-size:clamp(20px,1.9vw,23px)}
.stand p.fine{font-size:16px}

/* the foot of the page */
footer{
  background:var(--night); color:#cfc6b6; font-family:var(--sans); font-size:17px;
  padding:64px 0 48px;
}
footer a{color:#f4f1ea; text-decoration:none}
footer a:hover{color:#fff; text-decoration:underline}
footer a:focus-visible{outline-color:#fff}
.fcols{
  display:grid; gap:36px; margin-bottom:44px;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));
}
.fcols h2{
  font-family:var(--sans); font-size:14px; font-weight:600; letter-spacing:.14em;
  text-transform:uppercase; color:#fff; margin:0 0 14px;
}
.fcols ul{list-style:none; margin:0; padding:0}
.fcols li{margin-bottom:10px}
.legal{border-top:1px solid #4a4238; padding-top:26px; color:#b4aa99; font-size:15.5px}
.legal p{margin:0 0 8px}

.skip{position:absolute; left:-9999px}
.skip:focus{
  position:static; display:block; padding:14px 28px; background:var(--green);
  color:#fff; font-family:var(--sans);
}

@media (max-width:560px){
  body{font-size:18px}
  .wrap{padding:0 20px}
  .strip ul{padding:18px 20px}
  .kicker{font-size:13px; letter-spacing:.09em}
  .wordmark{font-size:30px}
  .nav a{font-size:17px; padding:10px 10px}
  .btn{width:100%; text-align:center}
}
