/* Base */
:root {
  --espresso: #4c3928;
  --ink: #35271d;
  --muted: #685546;
  --ivory: #f8f4ef;
  --champagne: #ece5df;
  --line: #cdbeb1;
  --serif: "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 1rem/1.65 var(--sans);
}
img, svg { display: block; max-inline-size: 100%; }
img { block-size: auto; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
h1, h2, h3, p, ol { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1, h2 { letter-spacing: -.055em; line-height: 1.03; }
h1 { font-size: clamp(3.7rem, 8.5vw, 8rem); }
h2 { font-size: clamp(2.75rem, 5.6vw, 5.25rem); }
h3 { line-height: 1.18; }
em { color: var(--espresso); font-weight: inherit; }
p { text-wrap: pretty; }
section[id] { scroll-margin-top: 1.25rem; }
.wrap { width: min(100% - clamp(2.5rem, 9vw, 9rem), 77rem); margin-inline: auto; }
.skip {
  position: fixed;
  z-index: 2;
  inset: 1rem auto auto 1rem;
  transform: translateY(-180%);
  background: var(--ivory);
  padding: .5rem 1rem;
}
.skip:focus { transform: none; }

/* Brand and navigation */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.header-inner { min-height: 5.4rem; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
}
.brand span {
  border-inline-start: 1px solid var(--line);
  padding-inline-start: .7rem;
  color: var(--espresso);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.35;
  text-transform: uppercase;
}
.site-header nav { display: flex; flex-wrap: wrap; gap: clamp(.8rem, 3.5vw, 3.2rem); }
.site-header nav a, .site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 600;
}
.site-header nav a:hover, .site-header nav a[aria-current="page"], .site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: .35em;
}

/* Opening */
.hero {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  padding-block: clamp(3.25rem, 7.2vw, 6.5rem);
}
.kicker, .label, .index, .art-index, .panel-top, .panel-center span {
  font-size: .73rem;
  font-weight: 650;
  letter-spacing: .17em;
  line-height: 1.5;
  text-transform: uppercase;
}
.kicker { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.4rem; color: var(--muted); }
.kicker span { width: 1.65rem; flex: none; border-top: 1px solid currentColor; }
.lede { margin-top: 1.6rem; max-width: 33rem; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.17rem); }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 2rem;
  padding: .65rem 1rem;
  border: 1px solid var(--espresso);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 650;
}
.button:hover { background: var(--espresso); color: var(--ivory); outline-color: var(--espresso); }
.button span { font-size: 1.1rem; }
.brand-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: clamp(21rem, 37vw, 31rem);
  padding: clamp(1.5rem, 3.2vw, 2.6rem);
  isolation: isolate;
  background: radial-gradient(ellipse at 44% 33%, #f4ede6 4%, #e9ddd1 70%, #dfd0c2);
  color: var(--espresso);
}
.brand-panel::before {
  position: absolute;
  inset: .85rem;
  z-index: -1;
  border: 1px solid #a78e786b;
  content: "";
}
.panel-top, .panel-bottom { display: flex; justify-content: space-between; align-items: center; gap: .65rem; }
.panel-top { font-size: .64rem; }
.panel-center { display: grid; align-content: center; justify-items: center; gap: 1.15rem; padding-block: 2rem; }
.panel-center img { width: min(80%, 19.5rem); }
.panel-center span { text-align: center; letter-spacing: .28em; }
.panel-bottom span { flex: 1; border-top: 1px solid #a78e7885; }
.panel-bottom i { width: .38rem; height: .38rem; border: 1px solid currentColor; transform: rotate(45deg); }

/* Institution and services */
.about { background: var(--espresso); color: var(--ivory); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 1.6rem;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.about .kicker, .about em { color: #ebd9c9; }
.about .kicker { align-self: start; margin-top: .7rem; }
.about-copy {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.7rem;
  margin-top: 1.75rem;
  color: #f3e6da;
}
.practice, .portfolio { padding-block: clamp(3.75rem, 8vw, 7rem); }
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.4rem;
  padding: 0;
  list-style: none;
}
.practice-grid li { border-top: 1px solid var(--line); padding: 1.2rem 1rem 0 0; }
.index, .label { color: var(--muted); }
.practice h3 { margin: 1rem 0 .65rem; font-size: clamp(1.5rem, 2.7vw, 2.1rem); }
.practice-grid p, .portfolio-heading > p, .product-copy > p:last-child { color: var(--muted); }

/* Products and footer */
.portfolio { background: var(--champagne); }
.portfolio-heading { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 1.5rem; }
.portfolio-heading > p { max-width: 22rem; }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.product { background: var(--ivory); border: 1px solid var(--line); }
.product-art { position: relative; display: grid; place-items: center; min-height: 12.5rem; overflow: hidden; }
.product-art svg { width: min(100%, 29rem); }
.art-index { position: absolute; top: 1rem; left: 1.15rem; font-size: .62rem; }
.tcr { background: #453224; color: #f0dfcc; }
.pet { background: #e0cdbf; color: #634938; }
.product-copy { padding: clamp(1.35rem, 3vw, 2.35rem); }
.product-copy h3 { margin: .55rem 0 .8rem; font-size: clamp(1.8rem, 3.3vw, 2.75rem); }
.product-copy h3 span { font-size: .74em; }
.product-copy abbr { text-decoration: none; }
.site-footer { padding-block: 1.5rem; }
.site-footer p { color: var(--muted); font-size: .8rem; }
.site-footer a { gap: .45rem; }

/* Contact */
.contact { padding-block: clamp(3.75rem, 8vw, 7rem); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.contact-card {
  padding: clamp(1.35rem, 3vw, 2.35rem);
  border: 1px solid var(--line);
  background: var(--champagne);
}
.contact-card h2 { margin-bottom: .85rem; font-size: clamp(1.8rem, 3.3vw, 2.75rem); }
.contact-card address { color: var(--muted); font-style: normal; }
.contact-card a { overflow-wrap: anywhere; text-underline-offset: .25em; }
.contact-card p + p { margin-top: 1rem; }
.contact + .site-footer { border-top: 1px solid var(--line); }

@media (max-width: 760px) {
  .hero, .about-inner, .portfolio-heading { grid-template-columns: 1fr; }
  .brand-panel { min-height: clamp(16rem, 58vw, 24rem); }
  .about .kicker { margin-bottom: 0; }
  .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 580px) {
  .header-inner { flex-wrap: wrap; gap: .15rem 1rem; padding-block: .65rem; }
  .header-inner .brand { min-height: 44px; }
  .header-inner .brand img { width: 3.25rem; }
  .header-inner .brand span { font-size: .57rem; }
  .site-header nav { gap: .85rem; }
  .site-header nav a { font-size: .78rem; }
  .practice-grid, .products, .about-copy, .contact-grid { grid-template-columns: 1fr; }
  .practice-grid { gap: 1.35rem; }
  .about-copy { gap: .85rem; }
  .product-art { min-height: 11rem; }
  .footer-inner { gap: .6rem 1.2rem; }
}
