:root{
	  /* Type */
  --serif: "Playfair Display",
         "Iowan Old Style", /* macOS/iOS */
         "Palatino Linotype", Palatino, /* Windows/mac-ish */
         Georgia,
         "Times New Roman", Times,
         serif;
  --sans: "Inter",
        system-ui, -apple-system,
        "Segoe UI",        /* Windows */
        Roboto,            /* Android/ChromeOS */
        "Helvetica Neue", Helvetica, Arial,
        sans-serif;
		
  --header-height: 76px;
  /* Backgrounds (original light beiges) */
  --bg: #f4efe6;
  --bg-2:#efe7db;
  --paper:#fbf8f2;
  --paper-2:#f7f1e7;

  /* Text */
  --ink:#1a1a1a;
  --muted:#5c564d;

  /* Accent */
  --accent:#7c6b4f;
  --accent-rgb: 124, 107, 79;

  /* Lines / shadows */
  --line: rgba(26,26,26,.14);
  --line-2: rgba(26,26,26,.10);
  --shadow: 0 10px 28px rgba(26,26,26,.06);

  /* Layout */
  --max: 1120px;
  --pad: clamp(20px, 2.6vw, 40px);

  /* Sharp edges */
  --radius: 0px;

  /* Rhythm */
  --section-y: clamp(32px, 4.6vw, 68px);
}

*{ box-sizing:border-box; }
html{ 
	scroll-behavior:smooth;
	scrollbar-gutter: stable;
	overflow-y: scroll;
	}

body{
	overflow: visible;
  margin:0;
  color: var(--ink);
  font-family: var(--sans);
  font-size-adjust: 0.52;
  background:
    radial-gradient(900px 520px at 15% 10%, rgba(var(--accent-rgb), .08), transparent 56%),
    radial-gradient(700px 420px at 90% 25%, rgba(26,26,26,.04), transparent 62%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  min-height:100svh;
}

.container{
  width:min(var(--max), calc(100% - 2*var(--pad)));
  margin-inline:auto;
}

::selection{
  background: rgba(var(--accent-rgb), .20);
  color: var(--ink);
}

/* ---------- Header / Nav ---------- */

header{
  position: sticky;
  top:0;
  z-index:10;

  /* fallback (older browsers) */
  background: rgba(244,239,230,.92);
  /* preferred: tied to --bg */
  background: color-mix(in srgb, var(--bg) 92%, transparent);

  border-bottom: 1px solid rgba(26,26,26,.06);
}

.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:76px;
  gap: 18px;
  padding: 28px 18px;
}

/* Wordmark */
.logo{
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .06em;
  text-transform: lowercase;
  color: var(--ink);
  line-height: 1;
}

/* Nav links */
.nav-links{
  list-style:none;
  display:flex;
  gap: 8px;
  padding:0;
  margin:0;
  align-items:center;
  flex-wrap:nowrap;
  white-space:nowrap;
}
.nav-links li{
	flex:0 0 auto;
}

.nav-links a{
  display:inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 40px;
  padding: 10px 12px;
  color: rgba(26,26,26,.82);
  text-decoration:none;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;

  border: 1px solid transparent;
  border-bottom: 1px solid transparent;

  transition: color .18s ease, border-bottom-color .18s ease, background .18s ease;
}

.nav-links a:hover{
  color: var(--accent);
  border-bottom-color: transparent;
}

.nav-links a.active{
  color: var(--accent);
  border-bottom-color: transparent;
  background: rgba(var(--accent-rgb), .10);
}

/* ---------- Sections ---------- */

main{ padding: 10px 0 60px; }

section{
  scroll-margin-top: calc(var(--header-height) + 12px);
  margin: var(--section-y) 0;
  padding: clamp(28px, 3.6vw, 56px);
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--paper), var(--paper-2));
  box-shadow: var(--shadow);
}

/* Section header divider */
section > h2{
	min-height: 24px;
	line-height: 1.2;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(26,26,26,.08);
  margin: 0 0 18px;
}

/* ---------- Type ---------- */

h1,h2,h3{ margin:0; }

h2{
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(26,26,26,.90);
}

h3{
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: .01em;
  color: var(--ink);
  margin-top: 2px;
}

p{
  margin:0;
  line-height: 1.8;
  color: rgba(60,54,46,.86);
  font-size: 15px;
}

/* ---------- Hero ---------- */

.hero{
  position: relative;
  overflow:hidden;
  min-height: 58svh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;

  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.62)),
    linear-gradient(rgba(26,26,26,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,26,26,.03) 1px, transparent 1px);

  background-size:
    auto,
    64px 64px,
    64px 64px;

  border: 1px solid rgba(26,26,26,.08);
  box-shadow: 0 12px 32px rgba(26,26,26,.055);
  padding: 84px 44px;
}

.hero::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(800px 300px at 20% 10%, rgba(var(--accent-rgb), .10), transparent 60%),
    radial-gradient(700px 260px at 85% 25%, rgba(26,26,26,.04), transparent 62%);
  pointer-events:none;
}

.kicker{
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(60,54,46,.66);
}

.subcopy{
  margin: 12px auto 0;
  font-size: 13px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(60,54,46,.66);
}

.hero-content{
  position: relative;
  max-width: 720px;
  padding: 0;
}

.hero h1{
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(60px, 9vw, 110px);
  letter-spacing: .03em;
  text-transform: lowercase;
  line-height: .92;
  min-height: 1.0em;
  font-kerning:normal;
  margin-bottom: 10px;
  color: var(--ink);
  white-space: nowrap
}

.hero p{
  font-size: 16px;
  color: rgba(44,40,34,.82);
  margin: 0 auto 22px;
  max-width: 66ch;
}

/* CTA */
.cta-button{
  appearance:none;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  padding: 14px 22px;
  border-radius: 0;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  cursor: default;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.cta-button:hover{
  background: transparent;
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), .85);
}

/* ---------- Services ---------- */

.services{
  background: linear-gradient(180deg, var(--paper), rgba(255,255,255,.56));
}

.service-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.service-card{
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(26,26,26,.08);
  padding: 28px 24px 30px;
  position: relative;
  transition: border-color .18s ease, background .18s ease;
  min-height: 230px;
}

.service-card h3{
	line-height:1.15;
	min-height:2.3em;
  padding-top: 16px;
  border-top: 1px solid rgba(26,26,26,.10);
  margin-top: 6px;
}

.service-card:hover{
  border-color: rgba(var(--accent-rgb), .32);
  background: rgba(255,255,255,.90);
}

.service-card p{
  color: rgba(56,50,42,.80);
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.75;
}

/* ---------- About ---------- */

.about p{
  white-space: pre-line;
  max-width: 82ch;
}

/* ---------- Footer ---------- */

footer{
  padding: 22px 0 38px;
  border-top: 1px solid rgba(26,26,26,.08);
  margin-top: 34px;
}

footer p{
  color: rgba(60,54,46,.72);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0;
  text-align:center;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px){
  .service-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 560px){
  .navbar{ flex-wrap:wrap; }
  .nav-links{
    width:100%;
    justify-content:space-between;
    border-top: 1px solid rgba(26,26,26,.08);
    padding-top: 10px;
    margin-top: 10px;
  }
  section{ padding: 22px; }
}

/* optional: reduce motion for accessibility */
@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; }
  html{ scroll-behavior: auto; }
}