:root{
  --bg: #f3efe7;
  --paper: #f6f1ea;
  --ink: #1f1c17;
  --muted: rgba(31,28,23,.66);
  --line: rgba(31,28,23,.14);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --wrap: 1040px;

  --hero-bg: none;

  /* tuned to match preview rhythm */
  --title-xl: 56px;
  --title-lg: 42px;
  --title-md: 34px;
  --body: 14px;
  --small: 12.5px;

  --section-pad: 64px;
}

*{ box-sizing: border-box; }
html, body{ height:100%; }
body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
}

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

.wrap{
  width:min(var(--wrap), calc(100% - 64px));
  margin:0 auto;
}

/* ===== Top bar (like preview) ===== */
.topbar{
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 10;
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
}
.brand{
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  opacity: .9;
}

.topnav{
  font-size: var(--small);
  letter-spacing: .02em;
  color: rgba(31,28,23,.70);
  display:flex;
  align-items:center;
  gap: 10px;
}
.topnav a{
  color: inherit;
  text-decoration: none;
}
.topnav a:hover{ color: rgba(31,28,23,.92); }
.dot{ opacity:.35; }

/* ===== Hero ===== */
.hero{
  position: relative;
  padding: 92px 0 44px;
  overflow:hidden;
  border-bottom: 1px solid rgba(31,28,23,.08);
}
.hero__bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(to bottom, rgba(243,239,231,.18), rgba(243,239,231,.78)),
    var(--hero-bg);
  background-size: cover;
  background-position: center;
  filter: saturate(.95) contrast(.98);
}
.hero__inner{
  position: relative;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items:center;
}

.hero__title{
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--title-xl);
  line-height: 1.05;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.hero__hello{
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 18px;
  color: rgba(31,28,23,.70);
}
.hero__meta{
  margin: 0;
  font-size: var(--body);
  color: rgba(31,28,23,.60);
}
.hero__meta + .hero__meta{ margin-top: 2px; }

.hero__right{
  display:flex;
  justify-content:flex-end;
}
.hero__portrait{
  width: 340px;              /* match preview proportion */
  height: 240px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(0,0,0,.10);
  border: 1px solid rgba(31,28,23,.10);
  background: rgba(255,255,255,.18);
}

/* ===== Buttons (preview style) ===== */
.btn{
  display:inline-block;
  font-family: var(--serif);
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 4px;
  text-decoration:none;
  transition: transform .15s ease, background .2s ease, opacity .2s ease;
}
.btn--outline{
  margin-top: 18px;
  border: 1px solid rgba(31,28,23,.22);
  color: rgba(31,28,23,.78);
  background: rgba(255,255,255,.18);
}
.btn--outline:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.30);
}

/* ===== Sections ===== */
.section{
  padding: var(--section-pad) 0;
}
.section--soft{
  background:
    radial-gradient(1000px 500px at 20% 0%, rgba(226,190,145,.18), transparent 55%),
    radial-gradient(900px 420px at 85% 15%, rgba(210,190,160,.14), transparent 55%),
    var(--paper);
  border-top: 1px solid rgba(31,28,23,.08);
  border-bottom: 1px solid rgba(31,28,23,.08);
}

.section__head{
  margin-bottom: 22px;
}
.section__title{
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--title-lg);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.section__sub{
  margin: 0;
  font-size: var(--body);
  color: rgba(31,28,23,.62);
  font-family: var(--sans);
}

/* ===== Portfolio cards (match preview card look) ===== */
.cards{
  margin-top: 18px;
  display:grid;
  gap: 18px;
}
.cards--4{
  grid-template-columns: repeat(4, 1fr); /* 4 projects requirement */
}

.card{
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(31,28,23,.12);
  border-radius: 6px;
  overflow:hidden;
}
.card__img{
  display:block;
  padding: 14px 14px 0;
}
.card__img img{
  width:100%;
  height: 128px;             /* small artwork like preview */
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(31,28,23,.10);
}
.card__body{
  padding: 12px 14px 16px;
}
.card__title{
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
}
.card__meta{
  margin: 0;
  font-size: 12.5px;
  color: rgba(31,28,23,.62);
}

.section__center{
  display:flex;
  justify-content:center;
  margin-top: 22px;
}

/* ===== RRR split like preview ===== */
.rrrHead{
  margin-bottom: 18px;
}
.rrrSplit{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.rrrCard{
  padding: 0;
}
.rrrCard__img{
  width:100%;
  height: 170px;
  object-fit: cover;
  border: 1px solid rgba(31,28,23,.12);
  border-radius: 6px;
  background: rgba(255,255,255,.18);
}
.rrrCard__btn{
  margin-top: 12px;
}

.rrrBtns{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}
.rrrBtns__btn{
  display:inline-block;
  padding: 10px 14px;
  border: 1px solid rgba(31,28,23,.18);
  border-radius: 999px;
  text-align:center;
  text-decoration:none;
  font-size: 12.5px;
  color: rgba(31,28,23,.72);
  background: rgba(255,255,255,.20);
}
.rrrBtns__btn:hover{
  background: rgba(255,255,255,.35);
}

.rrrPortrait{
  border-radius: 8px;
  overflow:hidden;
  border: 1px solid rgba(31,28,23,.10);
  background: rgba(255,255,255,.16);
}
.rrrPortrait img{
  width:100%;
  height: 260px;
  object-fit: cover;
}
.reflectCard {
  max-width: 420px;
  margin: 24px auto 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(31,28,23,.12);
  background: rgba(255,255,255,.2);
}

.reflectCard img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.reflectCard:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
  transform: translateY(-2px);
  transition: .25s ease;
}


/* ===== About (header left + links right) ===== */
.aboutHead{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.miniNav{
  font-size: var(--small);
  color: rgba(31,28,23,.62);
  display:flex;
  align-items:center;
  gap: 10px;
}
.miniNav a{
  color: inherit;
  text-decoration:none;
}
.miniNav a:hover{ color: rgba(31,28,23,.90); }
.sep{ opacity:.45; }

.aboutSplit{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items:start;
}
.aboutImg img{
  width:100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(31,28,23,.12);
  background: rgba(255,255,255,.18);
}
.aboutText{
  font-family: var(--serif);
  font-size: 16px;
  color: rgba(31,28,23,.72);
  line-height: 1.65;
}

/* Contact */
.contactBox{
  margin-top: 14px;
  border: 1px solid rgba(31,28,23,.10);
  background: rgba(255,255,255,.22);
  border-radius: 8px;
  padding: 16px 18px;
}
.contactBox p{
  margin: 10px 0;
  color: rgba(31,28,23,.72);
  font-size: 14px;
}
.contactBox strong{
  font-family: var(--serif);
  font-weight: 400;
}

/* ===== Responsive ===== */
@media (max-width: 1100px){
  .cards--4{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px){
  .hero__inner{ grid-template-columns: 1fr; }
  .hero__right{ justify-content:flex-start; }
  .hero__portrait{ width: 100%; height: 220px; }
  .rrrSplit, .aboutSplit{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  :root{ --title-xl: 44px; --title-lg: 34px; }
  .wrap{ width: min(var(--wrap), calc(100% - 36px)); }
  .topbar__inner{ flex-direction: column; align-items:flex-start; gap: 8px; }
  .rrrBtns{ grid-template-columns: 1fr; }
  .cards--4{ grid-template-columns: 1fr; }
}


