/* ==========================================================
   TWO FEET FOUR PAWS
   Single stylesheet. Brand tokens come from the brand
   guidelines and should not be changed without updating them.
   ========================================================== */

:root{
  --forest:#264438;
  --sage:#6f856e;
  --gold:#c6a468;
  --gold-ink:#8a6a2f;
  --cream:#f7f4ef;
  --panel:#efe9dd;
  --stone:#d8d3c8;
  --charcoal:#2d2d2d;
  --white:#ffffff;

  --wrap:1120px;
  --measure:68ch;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}

html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation:none !important;transition:none !important;}
}

body{
  font-family:'Montserrat',sans-serif;
  font-weight:400;
  font-size:16px;
  line-height:1.7;
  color:var(--charcoal);
  background:var(--cream);
  -webkit-font-smoothing:antialiased;
}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px;}
.wrap--narrow{max-width:820px;}

h1,h2,h3,h4{font-family:'Cormorant Garamond',serif;color:var(--forest);line-height:1.15;font-weight:600;}
h1{font-size:clamp(2.3rem,5.5vw,3.4rem);}
h2{font-size:clamp(1.8rem,3.6vw,2.4rem);}
h3{font-size:1.4rem;font-weight:400;}
em.accent{font-style:italic;color:var(--gold);}

a{color:var(--forest);}
a:focus-visible,button:focus-visible{outline:2px solid var(--gold);outline-offset:3px;}

.eyebrow{
  font-family:'Montserrat',sans-serif;
  font-weight:500;font-size:12px;text-transform:uppercase;
  letter-spacing:.2em;color:var(--sage);
}
.rule{width:56px;height:2px;background:var(--gold);margin:20px 0;}
.rule--centre{margin-left:auto;margin-right:auto;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-block;text-decoration:none;
  padding:.8rem 1.7rem;border-radius:6px;
  font-size:.82rem;font-weight:600;letter-spacing:.06em;
  text-transform:uppercase;
  border:1px solid transparent;
  transition:background .2s ease,color .2s ease;
}
.btn--primary{background:var(--forest);color:var(--cream);}
.btn--primary:hover{background:var(--sage);}
.btn--ghost{background:transparent;color:var(--forest);border-color:var(--forest);}
.btn--ghost:hover{background:var(--forest);color:var(--cream);}
.btn--gold{background:var(--gold);color:var(--forest);}
.btn--gold:hover{background:var(--cream);}

/* ---------- Skip link ---------- */
.skip{position:absolute;left:-9999px;}
.skip:focus{left:12px;top:12px;z-index:100;background:var(--forest);color:var(--cream);padding:.6rem 1rem;border-radius:4px;}

/* ---------- Header ---------- */
.site-header{
  background:var(--cream);
  border-bottom:1px solid var(--stone);
  position:sticky;top:0;z-index:50;
}
.site-header .wrap{display:flex;align-items:center;gap:24px;min-height:92px;}
.brand{display:flex;align-items:center;text-decoration:none;margin-right:auto;padding:8px 0;}
.brand-lockup{height:64px;width:auto;display:block;}
@media(max-width:600px){.brand-lockup{height:52px;}.site-header .wrap{min-height:78px;}}

.nav{display:flex;align-items:center;gap:28px;}
.nav a{
  text-decoration:none;color:var(--forest);
  font-size:.82rem;font-weight:500;letter-spacing:.04em;
  padding:4px 0;border-bottom:1px solid transparent;
}
.nav a:hover,.nav a[aria-current="page"]{border-bottom-color:var(--gold);}

.nav-toggle{
  display:none;background:none;border:1px solid var(--stone);
  border-radius:6px;padding:.5rem .7rem;cursor:pointer;color:var(--forest);
  font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;font-weight:600;
}

@media(max-width:860px){
  .nav-toggle{display:block;}
  .nav{
    display:none;position:absolute;top:100%;left:0;right:0;
    flex-direction:column;align-items:flex-start;gap:0;
    background:var(--cream);border-bottom:1px solid var(--stone);
    padding:8px 24px 20px;
  }
  .nav.is-open{display:flex;}
  .nav a{padding:12px 0;width:100%;border-bottom:1px solid var(--stone);}
}

/* ---------- Hero ---------- */
.hero{background:var(--forest);color:var(--cream);padding:88px 0 92px;}
.hero h1{color:var(--cream);max-width:16ch;}
.hero h1 em{font-style:italic;color:var(--gold);}
.hero .eyebrow{color:var(--gold);}
.hero p{max-width:52ch;margin-top:18px;color:#d6ded6;font-size:1.02rem;}
.hero .actions{margin-top:32px;display:flex;gap:14px;flex-wrap:wrap;}
.hero .btn--ghost{color:var(--cream);border-color:var(--cream);}
.hero .btn--ghost:hover{background:var(--cream);color:var(--forest);}

/* ---------- Sections ---------- */
.section{padding:76px 0;}
.section--panel{background:var(--panel);}
.section--white{background:var(--white);}
.section-head{max-width:var(--measure);margin-bottom:36px;}
.section-head p{margin-top:12px;}
.section-head--centre{margin-left:auto;margin-right:auto;text-align:center;}

/* ---------- Value pillars ---------- */
.pillars{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:28px;}
.pillar{border-top:2px solid var(--gold);padding-top:18px;}
.pillar h3{font-size:1.25rem;margin-bottom:6px;}
.pillar p{font-size:.9rem;color:#5a5a5a;}

/* ---------- Split ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;}
.split img{width:100%;border-radius:14px;display:block;}
@media(max-width:820px){.split{grid-template-columns:1fr;gap:32px;}}

/* ---------- Product cards ---------- */
.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:26px;}
.product{
  background:var(--white);border:1px solid var(--stone);
  border-radius:12px;overflow:hidden;display:flex;flex-direction:column;
}
.product img{width:100%;height:210px;object-fit:contain;padding:18px;background:var(--white);display:block;}
.product-body{padding:0 20px 22px;display:flex;flex-direction:column;flex:1;}
.product h3{font-size:1.2rem;font-weight:600;margin-bottom:6px;}
.product p{font-size:.88rem;color:#5a5a5a;margin-bottom:14px;}
.product .status{
  margin-top:auto;font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;
  font-weight:600;color:var(--sage);
}

/* ---------- Guide cards ---------- */
.guides{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:26px;}
.guide-card{
  background:var(--white);border:1px solid var(--stone);border-radius:12px;
  padding:26px 24px 24px;display:flex;flex-direction:column;
  text-decoration:none;transition:box-shadow .2s ease,transform .2s ease;
}
.guide-card:hover{box-shadow:0 6px 22px rgba(38,68,56,.10);transform:translateY(-2px);}
.guide-card .cat{
  font-size:.64rem;letter-spacing:.14em;text-transform:uppercase;font-weight:600;
  color:var(--sage);margin-bottom:10px;
}
.guide-card h3{font-size:1.35rem;font-weight:600;margin-bottom:10px;}
.guide-card p{font-size:.88rem;color:#5a5a5a;margin-bottom:18px;}
.guide-card .more{margin-top:auto;font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;font-weight:600;color:var(--gold-ink);}

/* ---------- Newsletter ---------- */
.newsletter{background:var(--forest);color:var(--cream);padding:76px 0;}
.newsletter h2{color:var(--cream);}
.newsletter h2 em{font-style:italic;color:var(--gold);}
.newsletter p{color:#cfd8cf;max-width:52ch;margin-top:12px;}
.newsletter .form-slot{margin-top:26px;max-width:520px;}
.newsletter .placeholder{
  border:1px dashed var(--sage);border-radius:10px;padding:20px;
  font-size:.85rem;color:#cfd8cf;
}

/* ---------- Forms ---------- */
.field{margin-bottom:18px;}
.field label{display:block;font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;font-weight:600;color:var(--sage);margin-bottom:7px;}
.field input,.field textarea{
  width:100%;font-family:inherit;font-size:1rem;color:var(--charcoal);
  background:var(--white);border:1px solid var(--stone);border-radius:6px;
  padding:.75rem .9rem;
}
.field textarea{min-height:150px;resize:vertical;}

/* ---------- Contact detail list ---------- */
.detail-list{list-style:none;margin:0;}
.detail-list li{padding:14px 0;border-bottom:1px solid var(--stone);}
.detail-list span{display:block;font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;color:var(--sage);font-weight:600;margin-bottom:4px;}

/* ---------- Prose pages ---------- */
.prose{max-width:var(--measure);}
.prose h2{margin:2.4rem 0 .8rem;}
.prose h3{margin:1.8rem 0 .5rem;font-weight:600;font-size:1.25rem;}
.prose p,.prose li{margin-bottom:1rem;}
.prose ul,.prose ol{margin-left:1.2rem;}
.prose strong{color:var(--forest);font-weight:600;}

/* ---------- Footer ---------- */
.site-footer{background:var(--forest);color:#cfd8cf;padding:64px 0 28px;font-size:.88rem;}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:40px;}
.site-footer h4{font-family:'Montserrat',sans-serif;font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);margin-bottom:14px;font-weight:600;}
.site-footer a{color:#cfd8cf;text-decoration:none;}
.site-footer a:hover{color:var(--gold);}
.site-footer ul{list-style:none;}
.site-footer li{margin-bottom:9px;}
.footer-lockup{height:96px;width:auto;display:block;margin-bottom:14px;}
.footer-brand p{margin-top:10px;max-width:38ch;}
.footer-legal{border-top:1px solid rgba(207,216,207,.22);margin-top:44px;padding-top:22px;font-size:.78rem;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;}
@media(max-width:760px){.footer-grid{grid-template-columns:1fr;gap:34px;}}

/* ==========================================================
   ARTICLE STYLES
   Applied inside .tf-article on guide pages.
   ========================================================== */

.tf-article{
  font-family:'Montserrat',sans-serif;
  color:var(--charcoal);
  font-size:16px;
  line-height:1.7;
  max-width:780px;
  margin:0 auto;
}
.tf-article h2{font-family:'Cormorant Garamond',serif;font-weight:600;font-size:2rem;line-height:1.2;color:var(--forest);margin:2.6rem 0 .9rem;}
.tf-article h2 em{font-style:italic;color:var(--gold);}
.tf-article h3{font-family:'Cormorant Garamond',serif;font-weight:600;font-size:1.35rem;color:var(--forest);margin:1.9rem 0 .6rem;}
.tf-article p{margin:0 0 1rem;}
.tf-article ul,.tf-article ol{margin:0 0 1.2rem 1.2rem;}
.tf-article li{margin-bottom:.5rem;}
.tf-article strong{font-weight:600;color:var(--forest);}
.tf-lede{font-size:1.06rem;color:var(--forest);}

.tf-disclosure{
  background:var(--panel);border-left:3px solid var(--sage);
  padding:.85rem 1.1rem;font-size:.85rem;line-height:1.6;color:var(--forest);
  margin:0 0 2rem;border-radius:0 6px 6px 0;
}

.tf-note{
  background:var(--panel);border-left:3px solid var(--gold);
  padding:1rem 1.2rem;margin:1.6rem 0;border-radius:0 8px 8px 0;font-size:.95rem;
}
.tf-note strong{display:block;margin-bottom:.3rem;}

.tf-table{width:100%;border-collapse:collapse;margin:1.2rem 0 1.6rem;font-size:.9rem;}
.tf-table th{background:var(--forest);color:#fff;text-align:left;padding:.7rem .8rem;font-weight:600;font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;}
.tf-table td{padding:.7rem .8rem;border-bottom:1px solid var(--stone);vertical-align:top;}
.tf-table-scroll{overflow-x:auto;}

.tf-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:1.4rem;margin:1.6rem 0 2rem;}
.tf-item{border:1px solid var(--stone);border-radius:12px;background:var(--white);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s ease,transform .2s ease;}
.tf-item:hover{box-shadow:0 6px 20px rgba(38,68,56,.10);transform:translateY(-2px);}
.tf-item-img{display:block;padding:1rem;background:var(--white);}
.tf-item-img img{width:100%;height:165px;object-fit:contain;display:block;}
.tf-item-body{padding:0 1rem 1.1rem;display:flex;flex-direction:column;flex:1;}
.tf-tag{display:inline-block;align-self:flex-start;background:var(--panel);color:var(--forest);font-size:.62rem;letter-spacing:.1em;text-transform:uppercase;font-weight:600;padding:.25rem .55rem;border-radius:4px;margin-bottom:.55rem;}
.tf-item-name{font-family:'Cormorant Garamond',serif;font-size:1.12rem;font-weight:600;line-height:1.25;color:var(--forest);text-decoration:none;display:block;margin-bottom:.4rem;}
.tf-item-name:hover{color:var(--sage);}
.tf-item-meta{font-size:.8rem;color:#6b6b6b;margin-bottom:.7rem;}
.tf-item-price{font-size:.95rem;font-weight:600;color:var(--forest);text-decoration:none;margin-bottom:.8rem;display:block;}
.tf-item-btn{margin-top:auto;display:block;text-align:center;background:var(--forest);color:#fff !important;text-decoration:none;padding:.6rem .9rem;border-radius:6px;font-size:.78rem;font-weight:600;letter-spacing:.04em;}
.tf-item-btn:hover{background:var(--sage);}

.tf-cta{background:var(--forest);color:var(--cream);border-radius:14px;padding:2.1rem 1.8rem;margin:2.8rem 0 1rem;text-align:center;}
.tf-cta h3{font-family:'Cormorant Garamond',serif;color:var(--cream);font-size:1.75rem;margin:0 0 .6rem;}
.tf-cta h3 em{color:var(--gold);font-style:italic;}
.tf-cta p{color:#cfd8cf;font-size:.95rem;max-width:470px;margin:0 auto 1.3rem;}
.tf-cta a{display:inline-block;background:var(--gold);color:var(--forest) !important;text-decoration:none;padding:.75rem 1.6rem;border-radius:6px;font-weight:600;font-size:.88rem;}
.tf-cta a:hover{background:var(--cream);}

/* Guide page header */
.guide-header{background:var(--panel);padding:56px 0 44px;border-bottom:1px solid var(--stone);}
.guide-header .inner{max-width:780px;margin:0 auto;}
.guide-header h1{font-size:clamp(2rem,4.4vw,2.9rem);}
.guide-meta{margin-top:14px;font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;color:var(--sage);font-weight:600;}
.guide-body{padding:52px 0 20px;}
.guide-foot{max-width:780px;margin:0 auto;padding:0 0 70px;}
.guide-foot .back{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;font-weight:600;color:var(--gold-ink);text-decoration:none;}

@media(max-width:600px){
  .tf-article h2{font-size:1.7rem;}
  .tf-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem;}
  .tf-item-img img{height:120px;}
  .section{padding:56px 0;}
  .hero{padding:64px 0 68px;}
}

/* ==========================================================
   HOMEPAGE CAROUSEL
   ========================================================== */
.carousel{position:relative;height:min(560px,64vh);min-height:420px;overflow:hidden;background:var(--forest);}
.carousel .slide{position:absolute;inset:0;background-size:cover;background-position:center 40%;opacity:0;transition:opacity .9s ease;}
.carousel .slide.on{opacity:1;}
.carousel .scrim{position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,36,29,.86) 0%,rgba(20,36,29,.64) 44%,rgba(20,36,29,.10) 80%);}
.slide-inner{position:relative;height:100%;display:flex;flex-direction:column;justify-content:center;}
.slide-inner h2{color:var(--cream);font-size:clamp(2.2rem,4.6vw,3.4rem);max-width:18ch;margin-top:12px;}
.slide-inner h2 em{font-style:italic;color:var(--gold);}
.slide-inner p{color:#dbe2db;font-size:1rem;max-width:46ch;margin-top:14px;}
.slide-inner .btn{margin-top:26px;align-self:flex-start;}

.carousel .dots{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);display:flex;gap:9px;z-index:6;}
.carousel .dot{width:34px;height:3px;background:rgba(247,244,239,.35);border:0;padding:0;cursor:pointer;}
.carousel .dot.on{background:var(--gold);}
.carousel .arw{position:absolute;top:50%;transform:translateY(-50%);z-index:6;width:42px;height:42px;border:1px solid rgba(247,244,239,.5);background:transparent;color:var(--cream);cursor:pointer;font-size:17px;display:flex;align-items:center;justify-content:center;transition:background .2s ease;}
.carousel .arw:hover{background:rgba(247,244,239,.15);}
.carousel .arw--l{left:22px;} .carousel .arw--r{right:22px;}

@media(max-width:640px){
  .carousel .arw{display:none;}
  .carousel{min-height:380px;}
}

/* ---------- Guide card with image ---------- */
.guide-card--img{padding:0;overflow:hidden;}
.guide-card--img .gc-media{display:block;height:158px;background-size:cover;background-position:center;}
.guide-card--img .gc-text{padding:24px 24px 24px;display:flex;flex-direction:column;flex:1;}
.guide-card .gc-text{display:flex;flex-direction:column;flex:1;}

/* ---------- Four-product row ---------- */
.products--four{grid-template-columns:repeat(4,1fr);}
.products--four .product img{height:180px;}
@media(max-width:900px){.products--four{grid-template-columns:1fr 1fr;}}
@media(max-width:520px){.products--four{grid-template-columns:1fr;}}

/* plain guide cards (guides index) keep working without gc-text wrapper */
.guide-card:not(.guide-card--img) .gc-text{padding:0;}

/* Carousel arrows moved clear of the headline column */
.carousel .arw{top:auto;transform:none;bottom:18px;}
.carousel .arw--l{left:auto;right:86px;}
.carousel .arw--r{right:24px;}
/* About image: height attribute was squashing it */
.split img{height:auto;}

/* Separate the newsletter band from the footer */
.newsletter{padding-bottom:56px;}
.site-footer{padding-top:52px;border-top:1px solid rgba(207,216,207,.18);}
