@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&display=swap');
/* The Ivey House v6 — review edition. Palette values defined at the top for easy comparison. */
:root {
  --logo-sage: #838672; /* supplied round logo is preserved unchanged */
  --olive-sage: #A9BFA0; /* supplied Olive Sage sample */
  --soft-blue-gray: #CCD9D6;
  --muted-coastal-gray: #AABDBB;
  --header: #6B7D67;
  --header-hover: #53684F;
  --sage: #A9BFA0;
  --sage-dark: #50694E;
  --ivory: #F6F1E8;
  --paper: #FBF9F4;
  --about-bg: #CCD9D6;
  --finds-bg: #E5EDDF; /* warmer, greener light sage, less gray */
  --charcoal: #373a34;
  --ink: #45493f;
  --muted: #60665b;
  --line: #d4d8cd;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--charcoal); background: var(--paper); font-family: 'DM Sans', Arial, sans-serif; line-height: 1.65; }
a { color: inherit; }
.topline { background: var(--ivory); color: var(--sage-dark); text-align: center; padding: 7px 16px; letter-spacing: .2em; font-size: 10px; min-height: 30px; }
.site-header { background: var(--header); display: flex; justify-content: flex-end; align-items: center; gap: 32px; min-height: 122px; padding: 18px max(34px, calc((100vw - 1172px)/2)); position: relative; isolation: isolate; }
.brand { display: block; position: absolute; left: max(34px, calc((100vw - 1172px)/2)); top: -28px; width: 178px; height: 178px; z-index: 3; border-radius: 50%; filter: drop-shadow(0 5px 10px #24331b24); }
.brand img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
nav { display: flex; align-items: center; gap: clamp(22px, 3.4vw, 50px); }
nav a { text-decoration: none; font-size: 16px; font-weight: 500; color: #faf8f1; letter-spacing: .01em; border-bottom: 1px solid transparent; padding-bottom: 3px; }
nav a:hover, nav a:focus-visible { border-color: #faf8f1; }
.hero { max-width: 1240px; margin: 0 auto; padding: 80px 34px 82px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(36px, 6vw, 82px); }
.eyebrow { margin: 0 0 10px; color: var(--sage-dark); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5; }
.about > .eyebrow, .section-head .eyebrow, .finds .eyebrow { display: flex; align-items: center; gap: 13px; }
.about > .eyebrow::before, .section-head .eyebrow::before, .finds .eyebrow::before { content: ''; width: 30px; height: 2px; background: var(--sage); flex: 0 0 auto; }
h1, h2, h3, blockquote p, .closing-wordmark { font-family: 'Playfair Display', Georgia, serif; font-weight: 400; }
h1 { margin: 0 0 24px; font-size: clamp(42px, 5.2vw, 72px); line-height: 1.04; letter-spacing: -.04em; }
h1 em { color: var(--sage-dark); }
.intro { max-width: 500px; font-size: 16px; line-height: 1.8; color: var(--muted); margin: 0 0 28px; }
.button { display: inline-flex; gap: 12px; align-items: center; background: var(--sage-dark); color: #fffdf6; padding: 13px 19px; text-decoration: none; font-size: 13px; transition: background .2s; }
.button:hover { background: var(--charcoal); }
.hero-image { background: var(--ivory); }
.hero-image img { display: block; width: 100%; height: auto; }
.about { background: var(--about-bg); padding: 77px max(34px, calc((100% - 1172px)/2)) 83px; }
.intro-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 8%; align-items: center; }
.intro-grid h2 { font-size: clamp(34px, 3.8vw, 49px); line-height: 1.16; max-width: 560px; margin: 0; }
.intro-grid > p { max-width: 480px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.8; border-left: 3px solid var(--sage); padding-left: 24px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.pillars article { padding: 0 28px; border-left: 1px solid var(--line); }
.pillars article:first-child { padding-left: 0; border-left: none; }
.pillars article:last-child { padding-right: 0; }
.pillars h3 { font-size: 31px; margin: 0 0 6px; color: var(--sage-dark); }
.pillars p { font-size: 15px; line-height: 1.75; color: var(--muted); margin: 0; }
.projects { padding: 78px 34px 84px; max-width: 1240px; margin: 0 auto; }
.section-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; margin-bottom: 36px; }
.section-head h2, .finds h2, .closing h2 { margin: 0; font-size: clamp(34px, 4vw, 47px); line-height: 1.16; }
.section-head > p { max-width: 400px; font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0 0 4px auto; }
.section-head > p::before { content: ''; display: block; width: 38px; height: 2px; background: var(--sage); margin-bottom: 12px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card { background: #fffdf9; border: 1px solid #e5dfd3; }
.project-image { height: 230px; background: #dedbd0; position: relative; display: grid; place-items: center; overflow: hidden; }
.project-image > span { position: absolute; top: 14px; left: 16px; font-size: 10px; color: #53564c; z-index: 2; }
.placeholder.lantern { width: 82px; height: 128px; border: 8px solid #343632; background: #f3eee2; box-shadow: 0 10px 20px #0002; position: relative; }
.placeholder.lantern:before { content: ''; position: absolute; width: 70px; height: 10px; background: #343632; left: -2px; top: -15px; }
.wood-bg { background: #d3bea2; }
.wood-lines { width: 70%; height: 50%; background: repeating-linear-gradient(0deg, #d7b48a 0 19px, #a9825a 20px 22px); transform: rotate(-5deg); box-shadow: 0 12px 18px #6e523322; }
.shade-bg { background: #dfe1d5; }
.shade-lines { width: 48%; height: 68%; background: repeating-linear-gradient(0deg, #cbb18b 0 7px, #f1e6d4 8px 11px); border: 8px solid #f9f6ee; }
.card-copy { padding: 23px 24px 25px; }
.card-copy small { display: inline-block; font-size: 11px; letter-spacing: .12em; font-weight: 600; color: var(--sage-dark); background: #E5EEDC; padding: 3px 8px; margin-left: -8px; }
.card-copy h3 { font-size: 23px; line-height: 1.2; margin: 12px 0 10px; }
.card-copy p { color: var(--muted); font-size: 13px; margin: 0 0 18px; }
.card-copy label, .finds label { display: inline-block; font-size: 11px; color: var(--sage-dark); border-bottom: 1px solid #b7b8a8; padding-bottom: 4px; }
.finds { background: var(--finds-bg); padding: 78px max(34px, calc((100% - 1172px)/2)); display: grid; grid-template-columns: 1.2fr .8fr; gap: 8%; align-items: center; }
.finds > div > p:not(.eyebrow) { max-width: 600px; color: var(--muted); font-size: 16px; margin: 19px 0 18px; }
blockquote { background: var(--paper); border-left: 4px solid var(--sage); padding: 35px 36px; margin: 0; }
blockquote p { font-size: clamp(23px, 2.5vw, 29px); line-height: 1.3; margin: 0 0 23px; }
blockquote hr { border: 0; background: var(--sage); width: 44px; height: 2px; margin: 0; }
.closing { text-align: center; padding: 76px 24px 80px; }
.closing-wordmark { color: var(--sage-dark); font-size: 24px; letter-spacing: .065em; display: inline-block; border-bottom: 1px solid var(--sage); padding-bottom: 13px; margin-bottom: 23px; }
.closing .eyebrow { margin-bottom: 12px; }
.closing > p:not(.eyebrow) { max-width: 560px; margin: 16px auto 20px; color: var(--muted); font-size: 15px; }
.socials { font-size: 12px; letter-spacing: .1em; color: var(--sage-dark); }
.socials span { padding: 0 7px; }
footer { border-top: 1px solid var(--line); padding: 22px 34px; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 11px; color: var(--muted); }
footer strong { letter-spacing: .12em; font-size: 10px; color: var(--charcoal); }
@media (max-width: 760px) {
  .topline { font-size: 9px; }
  .site-header { min-height: 122px; padding: 20px 20px 18px; align-items: center; justify-content: flex-end; }
  .brand { width: 151px; height: 151px; top: -24px; left: 16px; }
  nav { width: min(48%, 200px); margin-left: auto; justify-content: flex-end; gap: 8px 14px; flex-wrap: wrap; }
  nav a { font-size: 13px; white-space: nowrap; }
  .hero { padding: 52px 20px 48px; grid-template-columns: 1fr; gap: 28px; }
  h1 { font-size: clamp(40px, 11vw, 58px); }
  .about { padding: 55px 20px 60px; }
  .intro-grid { grid-template-columns: 1fr; gap: 25px; }
  .intro-grid > p { font-size: 16px; }
  .pillars { grid-template-columns: 1fr; gap: 20px; margin-top: 35px; }
  .pillars article, .pillars article:first-child, .pillars article:last-child { border-left: 2px solid var(--line); padding: 0 0 0 20px; }
  .projects { padding: 55px 20px 58px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .section-head > p { margin: 0; }
  .cards { grid-template-columns: 1fr; }
  .project-image { height: 220px; }
  .finds { padding: 55px 20px; grid-template-columns: 1fr; gap: 32px; }
  footer { padding: 22px 20px; flex-direction: column; text-align: center; gap: 8px; }
}
@media (max-width: 410px) {
  .site-header { min-height: 122px; padding: 16px 16px 16px; }
  .brand { left: 12px; width: 144px; height: 144px; top: -14px; }
  nav { width: 48%; justify-content: flex-end; gap: 6px 10px; }
  nav a { font-size: 12px; }
}
