/* ===== Fonts ===== */
:root{
  --bg: #f4f2ee;
  --text: #1b1b1b;
  --muted: #6e6e6e;
  --line: rgba(0,0,0,.18);
  --card: rgba(255,255,255,.45);

  --container: 980px;
  --radius: 18px;
}

@font-face {
  font-family: "History Pro";
  src:
    url("fonts/HistoryPro-Regular.woff2") format("woff2"),
    url("fonts/HistoryPro-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    linear-gradient(rgba(244,242,238,.88), rgba(244,242,238,.88)),
    url("background.jpg");
  background-size: cover;
  background-attachment: fixed;
}

img{ max-width:100%; display:block; }

/* ===== Layout ===== */
.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}
.section{
  padding: 64px 0;
}
.center{ text-align:center; }

.grid-2{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 42px;
  align-items: start;
}

@media (max-width: 860px){
  .grid-2{ grid-template-columns: 1fr; }
}

/* ===== Typography ===== */
.h2{
  font-family: "History Pro", "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: .2px;
  margin: 10px 0 18px;
  font-size: 44px;
  line-height: 1.06;
}
.p{
  margin: 0 0 12px;
  color: rgba(0,0,0,.78);
  line-height: 1.7;
  font-size: 16px;
}
.muted{ color: var(--muted); }
.note{
  margin-top: 18px;
  color: rgba(0,0,0,.7);
}

.label{
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: lowercase;
  color: rgba(0,0,0,.55);
  margin-bottom: 10px;
}
.label.center{ margin-bottom: 12px; }

/* ===== Hero ===== */
.hero{
  padding: 90px 0 56px;
}
.hero__inner{
  text-align:center;
}
.hero__kicker{
  font-size: 14px;
  color: rgba(0,0,0,.55);
  margin-bottom: 26px;
}
.hero__title{
  font-family: "History Pro", "Times New Roman", serif;
  font-weight: 400;
  font-size: 58px;
  line-height: 1;
  margin: 0;
  letter-spacing: .2px;
  text-transform: lowercase;
}
.hero__subtitle{
  font-family: "History Pro", "Times New Roman", serif;
  font-size: 48px;
  margin-top: 10px;
}

@media (max-width: 520px){
  .hero{ padding: 70px 0 36px; }
  .hero__title{ font-size: 44px; }
  .hero__subtitle{ font-size: 38px; }
  .h2{ font-size: 36px; }
}

/* ===== About photo ===== */
.photo-card{
  margin:0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.25);
}
.photo-card img{
  width:100%;
  height: auto;
}

/* ===== Lists ===== */
.list{
  margin: 0 auto;
  padding: 0;
  list-style: disc;
  max-width: 760px;
}
.list li{
  margin: 10px 0;
  color: rgba(0,0,0,.78);
  line-height: 1.65;
}

/* ===== Cards ===== */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}
.card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  background: rgba(255,255,255,.35);
  min-height: 170px;
}
.card__num{
  font-size: 13px;
  letter-spacing: .16em;
  color: rgba(0,0,0,.55);
}
.card__title{
  font-family: "History Pro", "Times New Roman", serif;
  font-weight: 400;
  margin: 10px 0 10px;
  font-size: 24px;
}
@media (max-width: 900px){
  .cards{ grid-template-columns: 1fr; }
}

/* ===== Buttons / Links ===== */
.btn{
  display:inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.45);
  background: rgba(0,0,0,.92);
  color: #fff;
  text-decoration:none;
  font-weight: 500;
  letter-spacing: .02em;
}
.btn:hover{ filter: brightness(1.05); }
.btn--wide{
  width:100%;
  border-radius: 14px;
  padding: 16px 18px;
}
.cta{ margin-top: 26px; }

.link{
  display:inline-block;
  margin-top: 14px;
  text-decoration:none;
  color: rgba(0,0,0,.85);
  border-bottom: 1px solid rgba(0,0,0,.35);
  padding-bottom: 2px;
}

/* ===== Slider ===== */
.slider{
  position: relative;
  margin-top: 22px;
}
.slider__viewport{
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);

background: rgba(255,255,255,.25);
}
.slider__track{
  display: flex;
  transition: transform .35s ease;
  will-change: transform;
}
.slide{
  min-width: 100%;
}
.slide img{
  width: 100%;
  height: 520px;
  object-fit: cover;
}
@media (max-width: 720px){
  .slide img{ height: 420px; }
}

.slider__btn{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.25);
  background: rgba(255,255,255,.72);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  display:flex;
  align-items:center;
  justify-content:center;
}
.slider__btn--prev{ left: -10px; }
.slider__btn--next{ right: -10px; }

@media (max-width: 720px){
  .slider__btn--prev{ left: 8px; }
  .slider__btn--next{ right: 8px; }
}

.dots{
  display:flex;
  justify-content:center;
  gap: 8px;
  margin-top: 14px;
}
.dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.35);
  background: transparent;
  cursor:pointer;
}
.dot.is-active{
  background: rgba(0,0,0,.65);
}

/* ===== Reviews ===== */
.reviews{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
.review{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  background: rgba(255,255,255,.35);
}
.review__name{
  margin-top: 14px;
  font-family: "History Pro", "Times New Roman", serif;
  font-size: 22px;
}
@media (max-width: 900px){
  .reviews{ grid-template-columns: 1fr; }
}

/* ===== Form ===== */
.form{
  width: min(620px, 100%);
  margin: 22px auto 0;
  border: 1px solid rgba(0,0,0,.22);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255,255,255,.35);
}

.field{
  display:block;
  margin-bottom: 14px;
}
.field__label{
  display:block;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(0,0,0,.55);
  margin: 0 0 8px;
}

.input{
  width:100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.28);
  background: rgba(255,255,255,.65);
  font: inherit;
  outline: none;
}
.input:focus{
  border-color: rgba(0,0,0,.55);
  background: rgba(255,255,255,.8);
}
.input--area{
  resize: vertical;
  min-height: 120px;
}

/* Netlify honeypot hidden */
.hidden{ display:none; }

/* ===== Footer ===== */
.footer{
  padding-bottom: 90px;
}
.contact{
  margin-top: 10px;
}