:root{--bg:#f7f2e9;--ink:#191611;--muted:#786f64;--line:#ded4c7;--card:#fffaf3;--accent:#8f7150;--soft:#efe5d7;--sage:#e9efe8}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}.wrap{max-width:1180px;margin:auto;padding:0 28px}.top{display:flex;align-items:center;justify-content:space-between;padding:24px 0;border-bottom:1px solid var(--line)}.brand{font-family:Georgia,serif;font-size:27px;letter-spacing:.13em}.nav{display:flex;gap:28px;font-size:14px}.hero{display:grid;grid-template-columns:1.1fr .9fr;gap:42px;align-items:center;padding:72px 0 48px}.hero h1{font:56px/1.02 Georgia,serif;margin:0 0 24px}.hero p{font-size:18px;line-height:1.6;color:var(--muted);max-width:620px}.hero-art{min-height:360px;border-radius:4px;background:linear-gradient(135deg,#ede1cf,#f8f4ec);display:flex;align-items:end;justify-content:center;overflow:hidden}.hero-art img{width:100%;height:100%;object-fit:cover}.search{display:flex;border:1px solid var(--line);background:#fff;padding:14px 16px;margin:18px 0 0}.search input{border:0;outline:0;background:transparent;width:100%;font-size:16px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding-bottom:60px}.oil{background:var(--card);border-top:1px solid var(--line);padding:18px}.oil img{width:100%;height:220px;object-fit:cover;background:#eee7dc}.oil h3{font:27px Georgia,serif;margin:16px 0 4px}.latin,.eyebrow{color:var(--muted);font-style:italic}.tag{display:inline-block;margin-top:14px;border:1px solid var(--line);padding:6px 10px;font-size:12px}.section-title{display:flex;justify-content:space-between;align-items:end;margin:18px 0 24px}.section-title h2{font:38px Georgia,serif;margin:0}.empty{padding:60px 0;color:var(--muted)}

.oil-page{display:grid;grid-template-columns:.72fr 1.28fr;gap:54px;padding:54px 0}.oil-visual{align-self:start;position:sticky;top:24px}.photo{background:#eee6d9;min-height:520px}.photo img{width:100%;height:100%;object-fit:cover}.photo-placeholder{min-height:520px;display:grid;place-items:center;color:#a99d90;font:24px Georgia,serif}.oil-page h1{font:56px/1 Georgia,serif;margin:8px 0 8px}.official-name{font-size:23px;margin-bottom:28px}.lead{font:21px/1.55 Georgia,serif;margin:0 0 38px;max-width:720px}.friendly-section{padding:34px 0;border-top:1px solid var(--line)}.friendly-section h2{font:34px/1.15 Georgia,serif;margin:4px 0 18px}.section-kicker{text-transform:uppercase;letter-spacing:.12em;font-size:11px;color:var(--accent);font-weight:700}.section-intro{color:var(--muted);line-height:1.6;margin-top:-6px}.use-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.use-card{background:var(--card);border:1px solid var(--line);padding:18px}.use-card h3,.soft-item h3,.science-card h3{margin:0 0 9px;font-size:17px}.use-card p,.soft-item p,.science-card p,.simple-copy{line-height:1.62;margin:0}.source-note{font-size:12px;color:var(--muted);margin-top:14px;line-height:1.5}.text-link{display:inline-block;margin-top:14px;border-bottom:1px solid currentColor}.soft-list{display:grid;gap:10px}.soft-item{background:#fbf7f0;padding:18px;border-left:3px solid #c5ad8d}.soft-item small{display:block;color:var(--muted);line-height:1.5;margin-top:8px}.science-card{padding:20px 0;border-top:1px solid var(--line)}.science-top{display:flex;gap:10px;align-items:center;margin-bottom:9px}.science-year{font-size:12px;border:1px solid var(--line);padding:5px 8px}.science-status{font-size:13px;color:var(--muted)}details summary{cursor:pointer}.science-card details{margin-top:12px}.science-card summary{font-weight:700}.study-details{padding:14px 0 4px;color:#4d473f;line-height:1.58}.safety-box{background:var(--sage);padding:18px 20px}.safety-row+.safety-row{border-top:1px solid #cfd8cf;padding-top:14px;margin-top:14px}.safety-row p{margin:6px 0 0;line-height:1.55}.tech-details{border-top:1px solid var(--line);padding:24px 0}.tech-details>summary{font-weight:700}.tech-body{padding-top:18px}.meta{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:0 0 22px}.meta div{border-top:1px solid var(--line);padding-top:10px}.market-note{font-size:12px;color:var(--muted);padding:18px 0;border-top:1px solid var(--line)}.footer{border-top:1px solid var(--line);padding:36px 0 60px;color:var(--muted);font-size:13px}

@media(max-width:800px){.nav{display:none}.hero,.oil-page{grid-template-columns:1fr}.oil-visual{position:static}.grid{grid-template-columns:1fr 1fr}.hero h1{font-size:42px}.oil-page h1{font-size:46px}.use-grid{grid-template-columns:1fr}.photo{min-height:360px}}
@media(max-width:520px){.wrap{padding:0 18px}.grid{grid-template-columns:1fr}.hero{padding-top:38px}.hero h1{font-size:36px}.friendly-section h2{font-size:29px}.oil-page{gap:28px;padding-top:32px}.meta{grid-template-columns:1fr}}.pairing-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.pairing-card{display:flex;flex-direction:column;gap:6px;background:#fffaf3;border:1px solid var(--line);padding:16px}.pairing-card strong{font-family:Georgia,serif;font-size:18px}.pairing-card span{color:var(--muted);font-size:14px;line-height:1.45}.quiet-link{font-size:12px;color:var(--muted);margin-top:12px}@media(max-width:520px){.pairing-grid{grid-template-columns:1fr}}
/* Detailed content cards */
.mini-label{font-size:10px;text-transform:uppercase;letter-spacing:.11em;color:var(--accent);font-weight:700;margin-bottom:8px}
.source-mini{display:inline-block;margin-top:12px;font-size:11px;color:var(--muted);border-bottom:1px dotted var(--muted);line-height:1.2}
.soft-item .source-mini,.pairing-card .source-mini{align-self:flex-start}
.pairing-card{gap:8px}
.pairing-card strong{display:block}
.pairing-card span{display:block}

.scenario-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.scenario-item{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:122px;text-align:center;padding:16px 10px;background:var(--card);border:1px solid var(--line)}.scenario-icon{width:38px;height:38px;margin-bottom:10px;color:var(--accent)}.scenario-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.scenario-name{font:16px/1.25 Georgia,serif;max-width:150px}@media(max-width:900px){.scenario-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:620px){.scenario-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scenario-item{min-height:108px}}

.method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.method-card{background:var(--card);border:1px solid var(--line);padding:18px}.method-card h3{font:19px/1.25 Georgia,serif;margin:0 0 8px}.method-card p{margin:0;line-height:1.55;color:var(--ink)}@media(max-width:620px){.method-grid{grid-template-columns:1fr}}

.scenario-image{width:46px;height:46px;margin-bottom:10px}.scenario-image img{width:100%;height:100%;object-fit:contain;display:block}.method-card{display:flex;gap:14px;align-items:flex-start}.method-image{width:46px;height:46px;flex:0 0 46px}.method-image img{width:100%;height:100%;object-fit:contain;display:block}

.pairing-filters{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 20px}.pair-filter{border:1px solid var(--line);background:transparent;color:var(--ink);padding:9px 14px;border-radius:999px;font-size:13px;cursor:pointer}.pair-filter:hover,.pair-filter.active{background:var(--ink);color:var(--bg);border-color:var(--ink)}.pairing-card[hidden]{display:none}

.practice-filters{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 20px}.practice-filter{border:1px solid var(--line);background:transparent;color:var(--ink);padding:9px 14px;border-radius:999px;font-size:13px;cursor:pointer}.practice-filter:hover,.practice-filter.active{background:var(--ink);color:var(--bg);border-color:var(--ink)}.soft-item[hidden]{display:none}

.home-hero{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center;padding:72px 0 54px}.home-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.14em;color:var(--accent);font-weight:700;margin-bottom:12px}.home-hero h1{font:58px/1.02 Georgia,serif;margin:0 0 22px;max-width:720px}.home-hero-copy>p{font-size:19px;line-height:1.6;color:var(--muted);max-width:650px;margin:0}.home-search{display:flex;margin-top:28px;background:#fff;border:1px solid var(--line);max-width:650px}.home-search input{flex:1;border:0;outline:0;padding:16px 17px;font-size:16px;background:transparent}.home-search button{border:0;background:var(--ink);color:var(--bg);padding:0 22px;cursor:pointer}.home-hero-links{display:flex;gap:22px;margin-top:18px;font-size:14px}.home-hero-links a{border-bottom:1px solid currentColor;padding-bottom:2px}.home-hero-visual{min-height:420px;background:linear-gradient(145deg,#ece1d2,#f9f5ee);overflow:hidden;display:flex}.home-hero-visual img{width:100%;height:100%;object-fit:cover}.home-visual-placeholder{margin:auto;text-align:center;padding:30px}.home-visual-placeholder span{display:block;font:42px Georgia,serif}.home-visual-placeholder small{display:block;color:var(--muted);margin-top:12px;letter-spacing:.05em}.home-section{padding:48px 0;border-top:1px solid var(--line)}.home-section-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:22px}.home-section h2{font:40px/1.12 Georgia,serif;margin:0}.home-reset{font-size:13px;border-bottom:1px solid currentColor}.home-scenarios{display:flex;flex-wrap:wrap;gap:10px}.home-scenario{padding:11px 15px;border:1px solid var(--line);border-radius:999px;font-size:14px;background:transparent}.home-scenario:hover,.home-scenario.active{background:var(--ink);color:var(--bg);border-color:var(--ink)}.home-catalog-title{margin-top:0}.home-oil-grid{padding-bottom:0}.home-oil-card{padding:0;overflow:hidden;transition:transform .18s ease}.home-oil-card:hover{transform:translateY(-3px)}.home-oil-card img,.home-oil-placeholder{height:250px}.home-oil-placeholder{display:grid;place-items:center;background:#eee6d9}.home-oil-placeholder span{font:72px Georgia,serif;color:#b7aa98}.home-oil-body{padding:18px}.home-oil-card h3{font-size:30px;margin:8px 0 3px}.home-official-name{font-size:15px;margin-bottom:12px}.home-oil-card p{color:var(--muted);line-height:1.5;font-size:14px;margin:0 0 16px}.home-card-link{display:inline-block;font-size:13px;border-bottom:1px solid currentColor}.home-empty{padding:36px;background:var(--card);border:1px solid var(--line)}.home-empty h3{font:28px Georgia,serif;margin:0 0 8px}.home-empty p{color:var(--muted)}.home-empty a{display:inline-block;margin-top:8px;border-bottom:1px solid currentColor}.home-how{padding-bottom:64px}.home-how>h2{max-width:700px}.home-how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:30px}.home-how-grid>div{border-top:1px solid var(--line);padding-top:18px}.home-how-grid span{font-size:12px;color:var(--accent)}.home-how-grid h3{font:22px Georgia,serif;margin:10px 0}.home-how-grid p{color:var(--muted);line-height:1.55;margin:0}.home-footer{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}
@media(max-width:900px){.home-hero{grid-template-columns:1fr;gap:32px;padding-top:48px}.home-hero-visual{min-height:320px}.home-how-grid{grid-template-columns:1fr}.home-section h2{font-size:34px}}
@media(max-width:620px){.home-hero h1{font-size:42px}.home-search{flex-direction:column}.home-search button{padding:13px}.home-hero-links{flex-direction:column;gap:10px}.home-section{padding:36px 0}.home-section-head{align-items:flex-start;flex-direction:column}.home-oil-card img,.home-oil-placeholder{height:220px}}

/* Home editorial refinement */
.home-hero{grid-template-columns:1.08fr .92fr;gap:46px;padding:62px 0 50px}
.home-hero h1{font-size:52px;max-width:620px;letter-spacing:-.02em}
.home-hero-copy>p{max-width:610px;font-size:18px}
.home-hero-visual{min-height:400px;border:1px solid var(--line);background:
radial-gradient(circle at 72% 28%,rgba(143,113,80,.11),transparent 24%),
linear-gradient(145deg,#eee4d6,#faf7f1)}
.home-visual-placeholder span{font-size:39px}
.home-visual-placeholder small{font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.home-search{max-width:610px;box-shadow:none}
.home-search button{min-width:96px;background:#2d271f;font-size:14px}
.home-hero-links{gap:10px;margin-top:16px}
.home-cta{display:inline-flex;align-items:center;justify-content:center;padding:11px 15px;border:1px solid var(--ink);font-size:13px;text-decoration:none}
.home-cta.primary{background:var(--ink);color:var(--bg)}
.home-cta.secondary{background:transparent;color:var(--ink)}
.home-section{padding:42px 0}
.home-section-head{margin-bottom:18px}
.home-scenarios{gap:8px}
.home-scenario{padding:9px 13px;font-size:13px}
.home-catalog-title{align-items:flex-start;margin-bottom:20px}
.home-count{font-size:13px;color:var(--muted);padding-top:10px}
.home-selected-task{margin-top:9px;font-size:13px;color:var(--muted)}
.home-oil-grid{gap:18px}
.home-oil-card{border:1px solid var(--line);background:#fbf7f0}
.home-oil-body{padding:16px}
.home-oil-card h3{font-size:27px}
.home-card-link{margin-top:2px}
.home-about>h2{max-width:780px}
.home-about-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:28px}
.home-about-grid>div{border-top:1px solid var(--line);padding-top:16px}
.home-about-grid span{font-size:11px;color:var(--accent)}
.home-about-grid h3{font:20px Georgia,serif;margin:8px 0}
.home-about-grid p{font-size:14px;line-height:1.55;color:var(--muted);margin:0}
.home-footer{padding-top:28px}
@media(max-width:980px){.home-about-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.home-hero h1{max-width:760px}.home-hero-visual{min-height:300px}}
@media(max-width:620px){.home-hero{padding-top:36px}.home-hero h1{font-size:39px}.home-hero-links{flex-direction:row;flex-wrap:wrap}.home-cta{width:100%}.home-about-grid{grid-template-columns:1fr}.home-count{padding-top:0}}

.home-hero-visual img{object-position:center center}
.home-section-head .home-reset{margin-bottom:4px}
@media(max-width:760px){.home-hero-visual{aspect-ratio:4/3;min-height:0}.home-hero-visual img{height:100%}}

/* Home page — final editorial direction */
.home-hero{
  grid-template-columns:minmax(0,.88fr) minmax(440px,1.12fr);
  gap:64px;
  align-items:center;
  padding:72px 0 64px;
}
.home-hero-copy{padding:18px 0 8px}
.home-kicker{font-size:10px;letter-spacing:.18em;margin-bottom:16px}
.home-hero h1{
  font-size:60px;
  line-height:.98;
  max-width:650px;
  margin-bottom:26px;
  font-weight:400;
}
.home-hero-copy>p{
  max-width:590px;
  font-size:18px;
  line-height:1.65;
  color:#70685e;
}
.home-search{
  max-width:590px;
  margin-top:30px;
  min-height:54px;
  background:#fffdf8;
  border-color:#cabfae;
}
.home-search input{padding:16px 18px;font-size:15px}
.home-search button{
  min-width:110px;
  background:#1d1a16;
  letter-spacing:.02em;
}
.home-hero-links{margin-top:14px;gap:10px}
.home-cta{
  min-height:42px;
  padding:10px 18px;
  font-size:12px;
  letter-spacing:.02em;
  border-radius:0;
}
.home-cta.primary{background:#1d1a16}
.home-hero-visual{
  margin:0;
  min-height:520px;
  aspect-ratio:1/1.03;
  border:0;
  background:#eee5d8;
  position:relative;
}
.home-hero-visual:after{
  content:"";
  position:absolute;
  inset:14px;
  border:1px solid rgba(143,113,80,.18);
  pointer-events:none;
}
.home-hero-visual img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.home-section{
  padding:56px 0;
  border-top:1px solid #d9cfc1;
}
.home-section-head{
  display:grid;
  grid-template-columns:1fr auto;
  gap:28px;
  align-items:end;
  margin-bottom:28px;
}
.home-section h2{
  font-size:44px;
  line-height:1.06;
  font-weight:400;
}
.home-reset{
  font-size:12px;
  color:var(--muted);
  border-bottom:1px solid #a89b89;
  margin:0 0 7px;
}
.home-scenarios{
  gap:0;
  border-top:1px solid #d9cfc1;
  border-bottom:1px solid #d9cfc1;
}
.home-scenario{
  border:0;
  border-right:1px solid #d9cfc1;
  border-radius:0;
  padding:13px 18px;
  font-size:13px;
  background:transparent;
}
.home-scenario:first-child{border-left:1px solid #d9cfc1}
.home-scenario:hover,
.home-scenario.active{
  background:#201c17;
  color:#f8f1e7;
}
.home-catalog-title{margin-bottom:28px}
.home-count{
  font-size:12px;
  padding-top:8px;
  letter-spacing:.04em;
}
.home-selected-task{
  margin-top:10px;
  font-size:12px;
  letter-spacing:.03em;
}
.home-oil-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.home-oil-card{
  border:1px solid #d9cfc1;
  background:#fbf7ef;
  transition:transform .2s ease, box-shadow .2s ease;
}
.home-oil-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 30px rgba(58,46,32,.07);
}
.home-oil-media{
  background:#eee5d8;
  overflow:hidden;
}
.home-oil-media img{
  width:100%;
  height:300px;
  object-fit:cover;
}
.home-oil-placeholder{
  height:300px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  background:
    radial-gradient(circle at 50% 32%,rgba(143,113,80,.08),transparent 28%),
    #eee5d8;
}
.home-oil-placeholder span{
  font:86px/1 Georgia,serif;
  color:#b3a692;
}
.home-oil-placeholder small{
  max-width:80%;
  text-align:center;
  color:#8e8374;
  font:italic 13px Georgia,serif;
}
.home-oil-body{padding:20px 20px 22px}
.home-oil-card h3{
  font-size:32px;
  margin:8px 0 4px;
}
.home-official-name{
  font-size:13px;
  color:#5f584f;
  margin-bottom:14px;
}
.home-oil-card p{
  font-size:14px;
  line-height:1.55;
  margin-bottom:18px;
}
.home-card-link{
  font-size:12px;
  padding-bottom:2px;
}
.is-single-grid{
  grid-template-columns:minmax(0,1fr);
  max-width:900px;
}
.home-oil-card.is-single{
  display:grid;
  grid-template-columns:minmax(330px,.78fr) minmax(0,1.22fr);
  align-items:stretch;
}
.home-oil-card.is-single .home-oil-media,
.home-oil-card.is-single .home-oil-placeholder,
.home-oil-card.is-single .home-oil-media img{
  height:100%;
  min-height:390px;
}
.home-oil-card.is-single .home-oil-body{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:44px 46px;
}
.home-oil-card.is-single h3{font-size:42px}
.home-oil-card.is-single p{
  max-width:520px;
  font-size:16px;
  line-height:1.65;
}
.home-about{
  padding-top:64px;
  padding-bottom:72px;
}
.home-about>h2{
  max-width:820px;
  font-size:46px;
}
.home-about-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  margin-top:34px;
  border-top:1px solid #d9cfc1;
  border-bottom:1px solid #d9cfc1;
}
.home-about-grid>div{
  border-top:0;
  border-right:1px solid #d9cfc1;
  padding:24px 22px 28px;
  min-height:190px;
}
.home-about-grid>div:first-child{border-left:1px solid #d9cfc1}
.home-about-grid h3{font-size:22px}
.home-about-grid p{font-size:13px;line-height:1.6}
.home-footer{
  border-top:1px solid #d9cfc1;
  padding:30px 0 48px;
}
.top{
  padding:26px 0 22px;
  border-bottom-color:#d9cfc1;
}
.brand{font-size:28px;letter-spacing:.16em}
.nav{gap:32px;font-size:13px}
.nav a{position:relative}
.nav a:after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:-5px;
  height:1px;
  background:currentColor;
  transition:right .18s ease;
}
.nav a:hover:after{right:0}

@media(max-width:980px){
  .home-hero{
    grid-template-columns:1fr;
    gap:34px;
    padding:48px 0 52px;
  }
  .home-hero-copy{max-width:760px}
  .home-hero h1{font-size:54px;max-width:760px}
  .home-hero-visual{max-width:760px;min-height:0;aspect-ratio:4/3}
  .home-oil-card.is-single{grid-template-columns:1fr}
  .home-oil-card.is-single .home-oil-media,
  .home-oil-card.is-single .home-oil-placeholder,
  .home-oil-card.is-single .home-oil-media img{min-height:320px}
  .home-about-grid{grid-template-columns:repeat(2,1fr)}
  .home-about-grid>div:nth-child(2){border-right:1px solid #d9cfc1}
  .home-about-grid>div:nth-child(3){border-left:1px solid #d9cfc1;border-top:1px solid #d9cfc1}
  .home-about-grid>div:nth-child(4){border-top:1px solid #d9cfc1}
}
@media(max-width:700px){
  .home-hero{padding-top:34px}
  .home-hero h1{font-size:42px;line-height:1.02}
  .home-hero-copy>p{font-size:16px}
  .home-scenarios{border:0;display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
  .home-scenario,
  .home-scenario:first-child{
    border:1px solid #d9cfc1;
    text-align:center;
  }
  .home-section{padding:40px 0}
  .home-section h2{font-size:36px}
  .home-section-head{grid-template-columns:1fr;gap:8px}
  .home-reset{justify-self:start}
  .home-oil-card.is-single .home-oil-body{padding:28px 24px}
  .home-oil-card.is-single h3{font-size:34px}
  .home-about>h2{font-size:36px}
  .home-about-grid{grid-template-columns:1fr}
  .home-about-grid>div,
  .home-about-grid>div:first-child,
  .home-about-grid>div:nth-child(3){
    border-left:1px solid #d9cfc1;
    border-right:1px solid #d9cfc1;
    border-top:1px solid #d9cfc1;
  }
  .home-about-grid>div:first-child{border-top:0}
}

/* Reference-inspired TerraDoterra homepage */
.site-shell{max-width:1440px;margin:0 auto;background:#fffdfa;min-height:100vh}
.ref-header{background:#fff;border-bottom:1px solid #eee8df;position:sticky;top:0;z-index:20}
.ref-header-inner{max-width:1320px;margin:0 auto;padding:13px 24px;display:grid;grid-template-columns:auto 1fr 300px;gap:28px;align-items:center}
.ref-brand{display:inline-flex;align-items:center;gap:10px}
.ref-brand-mark{width:38px;height:38px;color:#4b7d5e;display:grid;place-items:center}
.ref-brand-mark svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ref-brand strong{display:block;font:24px/1 Georgia,serif}
.ref-brand small{display:block;margin-top:4px;color:#8b8176;font-size:11px}
.ref-nav{display:flex;justify-content:center;gap:26px;font-size:13px}
.ref-nav a{color:#2d2923}
.ref-header-search{display:flex;align-items:center;background:#f4f1f7;border:1px solid #ebe5ef;border-radius:22px;padding:0 10px}
.ref-header-search input{width:100%;border:0;outline:0;background:transparent;padding:9px 6px;font-size:12px}
.ref-header-search button{border:0;background:transparent;padding:4px;cursor:pointer;color:#6f6874}
.ref-header-search svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7}

.ref-hero{max-width:1320px;margin:0 auto;padding:18px 24px 10px;display:grid;grid-template-columns:.88fr 1.12fr;min-height:470px;background:#f7f0e8}
.ref-hero-copy{padding:48px 44px 38px 32px;align-self:center}
.ref-hero h1{font:58px/.98 Georgia,serif;margin:0 0 18px;color:#173829;max-width:610px}
.ref-hero-copy>p{font-size:17px;line-height:1.55;color:#5f5b55;margin:0 0 22px;max-width:560px}
.ref-hero-search{display:flex;background:#fff;border:1px solid #e3ddd3;border-radius:30px;overflow:hidden;max-width:590px;box-shadow:0 6px 18px rgba(80,60,40,.06)}
.ref-hero-search input{flex:1;border:0;outline:0;padding:15px 18px;font-size:14px}
.ref-hero-search button{border:0;background:#507b60;color:#fff;padding:0 30px;font-size:14px;cursor:pointer}
.ref-search-examples{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin-top:12px;font-size:11px;color:#857b70}
.ref-search-examples a{padding:5px 9px;border-radius:15px;background:#fff;border:1px solid #ebe4da}
.ref-hero-media{position:relative;overflow:hidden;min-height:430px}
.ref-hero-media img{width:100%;height:100%;object-fit:cover;display:block}
.ref-hero-fallback{height:100%;display:grid;place-items:center;background:#efe7da;font:40px Georgia,serif;color:#8d7f6f}

.ref-quick-links{max-width:1320px;margin:0 auto;padding:18px 24px 8px;display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.ref-feature-card{min-height:176px;border-radius:12px;padding:18px;position:relative;overflow:hidden;border:1px solid rgba(0,0,0,.04)}
.card-green{background:linear-gradient(135deg,#edf5ee,#e4efe5)}
.card-lilac{background:linear-gradient(135deg,#f1e9f8,#e9e1f2)}
.card-sand{background:linear-gradient(135deg,#f6eadf,#f1dfcc)}
.card-mint{background:linear-gradient(135deg,#e9f5ef,#def0e8)}
.ref-feature-icon{width:34px;height:34px;border-radius:50%;background:#fff9;display:grid;place-items:center;color:#4f725e}
.ref-feature-icon svg,.req-icon svg,.trust-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ref-feature-card h3{font:24px/1.08 Georgia,serif;margin:16px 0 8px;max-width:190px}
.ref-feature-card p{font-size:12px;line-height:1.45;color:#5f5b55;max-width:210px;margin:0}
.ref-arrow{position:absolute;left:18px;bottom:15px;width:30px;height:30px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:18px}

.ref-section{max-width:1320px;margin:0 auto;padding:24px 24px 8px}
.ref-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:16px}
.ref-section h2{font:30px/1.1 Georgia,serif;margin:0;color:#2a261f}
.ref-section-link{font-size:12px;color:#6c5e81;border-bottom:1px solid #b7adc3}
.ref-request-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:10px}
.ref-request{min-height:96px;border-radius:10px;background:#faf8fa;border:1px solid #efebef;padding:13px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;text-align:center;font-size:11px}
.ref-request.active{box-shadow:inset 0 0 0 1px #567e65;background:#edf5ef}
.req-icon{width:36px;height:36px;border-radius:50%;background:#fff;display:grid;place-items:center;color:#58775f}
.req-icon svg{width:22px;height:22px}
.ref-request:nth-child(3n+2) .req-icon{color:#8a6fa0;background:#f4edf8}
.ref-request:nth-child(4n+3) .req-icon{color:#b56b85;background:#faedf2}
.ref-request:nth-child(5n+4) .req-icon{color:#6f7fa3;background:#eef2fa}

.ref-oil-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.ref-oil-row.is-single{grid-template-columns:minmax(260px,340px)}
.ref-oil-card{background:#fff;border:1px solid #eee7dc;border-radius:10px;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease}
.ref-oil-card:hover{transform:translateY(-3px);box-shadow:0 10px 22px rgba(62,48,34,.07)}
.ref-oil-image{height:190px;background:#f2eee7;overflow:hidden}
.ref-oil-image img{width:100%;height:100%;object-fit:cover}
.ref-oil-placeholder{height:100%;display:grid;place-items:center;background:linear-gradient(145deg,#efe8dd,#f9f5ee)}
.ref-oil-placeholder span{font:62px Georgia,serif;color:#b3a694}
.ref-oil-meta{padding:13px 14px 16px}
.ref-oil-meta h3{font:19px Georgia,serif;margin:0 0 5px}
.ref-oil-meta .latin{font-size:11px}
.ref-oil-meta p{font-size:11px;line-height:1.45;color:#746d64;margin:9px 0 0}

.ref-assistant{max-width:1320px;margin:24px auto 0;padding:28px 34px;display:grid;grid-template-columns:1fr .8fr 1fr;gap:30px;align-items:center;background:linear-gradient(90deg,#f6eee3,#f2ebdf,#f8f1e9);border-radius:12px}
.ref-assistant-copy h2{font:31px/1.08 Georgia,serif;margin:4px 0 12px;color:#284b36}
.ref-assistant-copy p{font-size:13px;line-height:1.55;color:#665f56;max-width:430px}
.ref-assistant-btn{display:inline-block;margin-top:7px;background:#4f785c;color:#fff;padding:11px 16px;border-radius:5px;font-size:12px}
.ref-assistant-visual{display:flex;justify-content:center}
.assistant-phone{width:185px;height:300px;border:8px solid #1e1e1e;border-radius:32px;background:#fff;padding:24px 13px 14px;box-shadow:0 12px 25px rgba(0,0,0,.13);transform:rotate(-5deg)}
.phone-title{display:block;font-weight:700;font-size:13px;margin-bottom:18px}
.phone-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}
.phone-grid span{background:#f6f0e6;border-radius:7px;padding:18px 3px 7px;text-align:center;font-size:8px}
.phone-add{margin-top:22px;border:1px dashed #d6cec2;border-radius:8px;padding:12px 6px;font-size:9px;text-align:center;color:#746d64}
.ref-assistant-note{background:#fff9;padding:20px;border-radius:10px}
.ref-assistant-note strong{font-size:12px}
.ref-assistant-note p{font:16px/1.5 Georgia,serif;margin:9px 0 12px}
.ref-assistant-note a{font-size:11px;color:#6c5e81;border-bottom:1px solid currentColor}

.ref-trust-grid{max-width:1320px;margin:14px auto 0;padding:0 24px 18px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.ref-trust-grid>div{border-radius:10px;padding:20px;background:#faf6fb;border:1px solid #eee8ef}
.ref-trust-grid>div:nth-child(2){background:#f1f7f0}
.ref-trust-grid>div:nth-child(3){background:#f8f1e8}
.trust-icon{width:34px;height:34px;border-radius:50%;background:#fff;display:grid;place-items:center;color:#6b5a85}
.ref-trust-grid>div:nth-child(2) .trust-icon{color:#4f765c}
.ref-trust-grid>div:nth-child(3) .trust-icon{color:#9a6f45}
.ref-trust-grid h3{font:18px Georgia,serif;margin:12px 0 7px}
.ref-trust-grid p{font-size:11px;line-height:1.5;color:#696259;margin:0}

.ref-bottom-banner{max-width:1440px;margin:10px auto 0;min-height:180px;background:linear-gradient(90deg,#d9c8b3,#c5b297);position:relative;overflow:hidden}
.ref-bottom-banner:before{content:"";position:absolute;inset:0;background:
radial-gradient(circle at 15% 70%,rgba(94,117,73,.34),transparent 22%),
radial-gradient(circle at 80% 25%,rgba(104,81,139,.20),transparent 28%),
linear-gradient(90deg,rgba(255,255,255,.48),rgba(255,255,255,.1))}
.ref-bottom-overlay{position:relative;z-index:1;padding:34px 48px;display:flex;align-items:center;min-height:180px}
.ref-bottom-overlay h2{font:28px Georgia,serif;margin:0 0 8px;color:#31472f}
.ref-bottom-overlay p{font-size:12px;color:#544f48;max-width:620px;margin:0}

.ref-footer{max-width:1320px;margin:0 auto;padding:22px 24px 30px;display:grid;grid-template-columns:auto 1fr minmax(260px,430px);gap:28px;align-items:center;border-top:1px solid #eee7de}
.ref-brand-footer strong{font-size:20px}
.ref-brand-footer .ref-brand-mark{width:32px;height:32px}
.ref-footer-links{display:flex;justify-content:center;gap:24px;font-size:11px}
.ref-footer-note{font-size:10px;line-height:1.45;color:#837b72;text-align:right}

@media(max-width:1100px){
  .ref-header-inner{grid-template-columns:auto 1fr}.ref-header-search{display:none}
  .ref-hero{grid-template-columns:1fr}.ref-hero-media{min-height:360px}
  .ref-quick-links{grid-template-columns:repeat(2,1fr)}
  .ref-request-grid{grid-template-columns:repeat(4,1fr)}
  .ref-oil-row{grid-template-columns:repeat(3,1fr)}
  .ref-assistant{grid-template-columns:1fr 1fr}.ref-assistant-note{grid-column:1/-1}
  .ref-footer{grid-template-columns:auto 1fr}.ref-footer-note{grid-column:1/-1;text-align:left}
}
@media(max-width:760px){
  .ref-header-inner{padding:12px 16px}.ref-nav{display:none}
  .ref-brand strong{font-size:21px}.ref-brand small{font-size:10px}
  .ref-hero{padding:0 16px 12px}.ref-hero-copy{padding:34px 4px 26px}.ref-hero h1{font-size:42px}.ref-hero-media{min-height:280px}
  .ref-quick-links{grid-template-columns:1fr;padding:14px 16px}.ref-feature-card{min-height:150px}
  .ref-section{padding:22px 16px 6px}.ref-request-grid{grid-template-columns:repeat(2,1fr)}
  .ref-oil-row,.ref-oil-row.is-single{grid-template-columns:1fr 1fr}
  .ref-assistant{margin:20px 16px 0;padding:24px;grid-template-columns:1fr}.ref-assistant-visual{order:3}
  .ref-trust-grid{grid-template-columns:1fr;padding:0 16px 16px}
  .ref-bottom-overlay{padding:28px 20px}.ref-footer{grid-template-columns:1fr;padding:20px 16px}.ref-footer-links{justify-content:flex-start;flex-wrap:wrap}
}
@media(max-width:520px){
  .ref-hero h1{font-size:36px}.ref-hero-search{border-radius:8px}.ref-hero-search button{padding:0 18px}
  .ref-search-examples{display:none}.ref-oil-row,.ref-oil-row.is-single{grid-template-columns:1fr}
}

/* Homepage card imagery + tighter reference proportions */
.ref-hero{min-height:420px}
.ref-hero-copy{padding-top:36px;padding-bottom:30px}
.ref-hero-media{min-height:390px}
.ref-quick-links{gap:12px;padding-top:14px}
.ref-feature-card{
  min-height:190px;
  display:block;
  padding:0;
  overflow:hidden;
}
.ref-feature-copy{
  position:relative;
  z-index:2;
  width:58%;
  min-height:190px;
  padding:18px 8px 18px 18px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.ref-feature-card h3{font-size:23px;margin:13px 0 7px}
.ref-feature-card p{font-size:11px;line-height:1.45;max-width:170px}
.ref-feature-card .ref-arrow{left:18px;bottom:14px}
.ref-feature-image{
  position:absolute;
  z-index:1;
  right:-2px;
  bottom:0;
  width:50%;
  height:100%;
  object-fit:cover;
  object-position:center;
  mix-blend-mode:multiply;
}
.ref-feature-card:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(255,255,255,.18) 0%,rgba(255,255,255,.06) 47%,rgba(255,255,255,0) 70%);
}
.ref-popular-requests .ref-section-head{margin-bottom:14px}
.ref-popular-requests .ref-section-head h2{font-size:24px}
.ref-request-grid{gap:8px}
.ref-request{min-height:88px;padding:10px 6px}
.req-icon{width:34px;height:34px}
.ref-oil-row.is-single{grid-template-columns:minmax(320px,420px)}
.ref-oil-row.is-single .ref-oil-image{height:250px}
.ref-oil-row.is-single .ref-oil-meta{padding:16px 18px 20px}
.ref-bottom-banner{background:
linear-gradient(90deg,rgba(247,240,229,.88),rgba(247,240,229,.45)),
radial-gradient(circle at 78% 40%,rgba(116,93,147,.18),transparent 27%),
linear-gradient(135deg,#d8cfbf,#b9c7ad)}
@media(max-width:1100px){
  .ref-feature-copy{width:62%}
  .ref-feature-image{width:46%}
}
@media(max-width:760px){
  .ref-feature-card{min-height:165px}
  .ref-feature-copy{min-height:165px;width:64%}
  .ref-feature-image{width:44%}
}

/* First quick-link card: approved "Найти масло" composition */
.ref-quick-links .ref-feature-card:first-child .ref-feature-copy{
  width:55%;
  padding:18px 10px 18px 18px;
}
.ref-quick-links .ref-feature-card:first-child .ref-feature-image{
  width:47%;
  right:0;
  object-fit:cover;
  object-position:58% center;
  mix-blend-mode:normal;
}
.ref-quick-links .ref-feature-card:first-child:after{
  background:linear-gradient(90deg,
    rgba(237,245,238,1) 0%,
    rgba(237,245,238,.98) 42%,
    rgba(237,245,238,.72) 54%,
    rgba(237,245,238,.18) 68%,
    rgba(237,245,238,0) 82%);
}
.ref-quick-links .ref-feature-card:first-child h3{max-width:150px}
.ref-quick-links .ref-feature-card:first-child p{max-width:150px}
@media(max-width:1100px){
  .ref-quick-links .ref-feature-card:first-child .ref-feature-copy{width:56%}
  .ref-quick-links .ref-feature-card:first-child .ref-feature-image{width:48%}
}
@media(max-width:760px){
  .ref-quick-links .ref-feature-card:first-child .ref-feature-copy{width:58%}
  .ref-quick-links .ref-feature-card:first-child .ref-feature-image{width:46%;object-position:62% center}
}

/* Fine-tune approved first card image crop */
.ref-quick-links .ref-feature-card:first-child .ref-feature-copy{
  width:53%;
}
.ref-quick-links .ref-feature-card:first-child .ref-feature-image{
  width:50%;
  right:0;
  object-position:100% center;
}
.ref-quick-links .ref-feature-card:first-child:after{
  background:linear-gradient(90deg,
    rgba(237,245,238,1) 0%,
    rgba(237,245,238,.99) 39%,
    rgba(237,245,238,.78) 50%,
    rgba(237,245,238,.22) 64%,
    rgba(237,245,238,0) 78%);
}

/* Keep feature-card arrow below copy instead of overlapping it */
.ref-feature-copy{
  padding-bottom:58px;
}
.ref-feature-card .ref-arrow{
  position:absolute;
  left:18px;
  bottom:14px;
  margin:0;
}
.ref-quick-links .ref-feature-card:first-child .ref-feature-copy{
  padding-bottom:58px;
}
@media(max-width:760px){
  .ref-feature-copy,
  .ref-quick-links .ref-feature-card:first-child .ref-feature-copy{
    padding-bottom:54px;
  }
}

/* Unify all four quick-link cards with the approved first-card layout */
.ref-quick-links .ref-feature-card .ref-feature-copy{
  width:53%;
  padding:18px 10px 18px 18px;
  padding-bottom:58px;
}
.ref-quick-links .ref-feature-card .ref-feature-image{
  width:50%;
  right:0;
  object-fit:cover;
  object-position:100% center;
  mix-blend-mode:normal;
}
.ref-quick-links .ref-feature-card:after{
  background:linear-gradient(90deg,
    rgba(255,255,255,.00) 0%,
    rgba(255,255,255,.00) 100%);
}

/* soft color-aware fade between text and image */
.ref-quick-links .card-green:after{
  background:linear-gradient(90deg,
    rgba(237,245,238,1) 0%,
    rgba(237,245,238,.99) 39%,
    rgba(237,245,238,.78) 50%,
    rgba(237,245,238,.22) 64%,
    rgba(237,245,238,0) 78%);
}
.ref-quick-links .card-lilac:after{
  background:linear-gradient(90deg,
    rgba(241,233,248,1) 0%,
    rgba(241,233,248,.99) 39%,
    rgba(241,233,248,.78) 50%,
    rgba(241,233,248,.22) 64%,
    rgba(241,233,248,0) 78%);
}
.ref-quick-links .card-sand:after{
  background:linear-gradient(90deg,
    rgba(246,234,223,1) 0%,
    rgba(246,234,223,.99) 39%,
    rgba(246,234,223,.78) 50%,
    rgba(246,234,223,.22) 64%,
    rgba(246,234,223,0) 78%);
}
.ref-quick-links .card-mint:after{
  background:linear-gradient(90deg,
    rgba(233,245,239,1) 0%,
    rgba(233,245,239,.99) 39%,
    rgba(233,245,239,.78) 50%,
    rgba(233,245,239,.22) 64%,
    rgba(233,245,239,0) 78%);
}
.ref-quick-links .ref-feature-card h3{
  max-width:150px;
}
.ref-quick-links .ref-feature-card p{
  max-width:150px;
}
@media(max-width:1100px){
  .ref-quick-links .ref-feature-card .ref-feature-copy{width:56%}
  .ref-quick-links .ref-feature-card .ref-feature-image{width:48%}
}
@media(max-width:760px){
  .ref-quick-links .ref-feature-card .ref-feature-copy{
    width:58%;
    padding-bottom:54px;
  }
  .ref-quick-links .ref-feature-card .ref-feature-image{
    width:46%;
    object-position:62% center;
  }
}
