/* Freed Veneers static site. Single stylesheet, no framework. */
:root {
  --black: #0f0f0f;
  --ink: #1a1a1a;
  --text: #4f4f4f;
  --muted: #7a7a7a;
  --gold: #e6ae48;
  --gold-dark: #c8922c;
  --soft: #f5f4f1;
  --line: #e6e4df;
  --white: #fff;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img, picture, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--gold-dark); text-decoration: none; transition: color .15s; }
a:hover { color: var(--ink); }
h1, h2, h3, h4, h5 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: clamp(21px, 2.4vw, 26px); }
h4 { font-size: 20px; }
h5 { font-size: 17px; }
p { margin: 0 0 1.1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
figure { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--black); color: var(--white); height: var(--header-h); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { font-family: var(--serif); font-size: 24px; color: var(--white); letter-spacing: .2px; white-space: nowrap; }
.logo:hover { color: var(--gold); }
.nav { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav > li { position: relative; }
.nav > li > a { display: flex; align-items: center; gap: 6px; height: var(--header-h); padding: 0 14px; color: #fff; font-size: 14px; letter-spacing: .2px; border-bottom: 3px solid transparent; }
.nav > li > a:hover, .nav > li.open > a { color: var(--gold); }
.nav > li.active > a { border-bottom-color: var(--gold); }
.nav .caret { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .7; }
.sub { position: absolute; top: 100%; left: 0; min-width: 240px; margin: 0; padding: 8px 0; list-style: none; background: #181818; border-top: 2px solid var(--gold); box-shadow: 0 14px 30px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease; }
.nav > li:hover > .sub, .nav > li:focus-within > .sub, .nav > li.open > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 18px; color: #d8d8d8; font-size: 14px; }
.sub a:hover, .sub li.active a { color: var(--gold); background: rgba(255,255,255,.04); }
.menu-btn { display: none; background: none; border: 0; color: #fff; width: 44px; height: 44px; padding: 0; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px auto; transition: transform .2s, opacity .2s; }
@media (max-width: 880px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--black); padding: 12px 0 40px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; }
  body.nav-open .nav { transform: none; }
  body.nav-open { overflow: hidden; }
  body.nav-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
  body.nav-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav > li > a { height: auto; padding: 14px var(--gutter); font-size: 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav > li.active > a { color: var(--gold); }
  .nav .caret { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: #151515; padding: 4px 0 10px; }
  .sub a { padding: 10px calc(var(--gutter) + 16px); font-size: 16px; }
}

/* Hero */
.hero { position: relative; min-height: 300px; display: grid; align-items: end; background: #2a2724; color: #fff; overflow: hidden; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.6) 100%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: 72px; padding-bottom: 36px; }
.hero h1 { color: #fff; margin: 0 0 6px; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.crumbs { font-size: 13px; color: rgba(255,255,255,.75); }
.crumbs a { color: rgba(255,255,255,.85); }
.crumbs a:hover { color: var(--gold); }
.crumbs span::before { content: "/"; margin: 0 8px; opacity: .5; }
.hero.hero-home { min-height: min(86vh, 760px); align-items: center; text-align: center; }
.hero.hero-home::after { background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.45)); }
.hero.hero-home .wrap { padding: 120px var(--gutter) 90px; }
.hero.hero-home h1 { font-size: clamp(36px, 6vw, 64px); max-width: 20ch; margin: 0 auto 28px; line-height: 1.15; }
.hero.hero-plain { min-height: 0; background: var(--ink); }
.hero.hero-plain::after { display: none; }
.hero.hero-plain .wrap { padding-top: 56px; padding-bottom: 32px; }

/* Buttons */
.btn { display: inline-block; background: var(--gold); color: #fff; font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .3px; padding: 14px 26px; border: 0; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--gold-dark); color: #fff; }
.btn-outline { background: transparent; border: 1.5px solid currentColor; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Layout */
.main { padding: 56px 0 80px; }
.page { display: grid; gap: 48px; }
.page.with-side { grid-template-columns: 250px minmax(0, 1fr); }
@media (max-width: 880px) { .page.with-side { grid-template-columns: 1fr; gap: 32px; } .side { order: 2; } }
.side h3 { font-size: 18px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.side ul { list-style: none; margin: 0; padding: 0; }
.side li a { display: block; padding: 10px 12px; margin: 2px 0; color: var(--text); font-size: 14px; border-left: 2px solid transparent; transition: all .15s; }
.side li a:hover { color: var(--ink); border-left-color: var(--gold); background: var(--soft); }
.side li.active a { color: #fff; background: var(--gold); border-left-color: var(--gold-dark); font-weight: 700; }
.side .side-cta { margin-top: 36px; padding: 22px; background: var(--soft); font-size: 14px; }
.side .side-cta strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.side .side-cta a { display: block; margin-top: 4px; }
.content > section { margin-bottom: 48px; }
.content > section:last-child { margin-bottom: 0; }
.content section > hr:first-child, .content section > hr:last-child, .content .full > hr:first-child, .content .full > hr:last-child { display: none; }
.lead { font-family: var(--serif); font-size: clamp(21px, 2.3vw, 28px); line-height: 1.4; color: var(--ink); margin: 0 0 40px; max-width: 30em; }
.narrow { max-width: 760px; }
.grid { display: grid; gap: 40px; align-items: start; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 28px; } }
.grid > div > :first-child { margin-top: 0; }
.grid > div > :last-child { margin-bottom: 0; }
.band { background: var(--soft); padding: 40px; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); }
figure.image img { width: 100%; }
.content p a[href^="#"]::after { content: " \2193"; font-size: .9em; }

/* Galleries */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-1 { grid-template-columns: 1fr; }
.gallery-2, .gallery-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery figure { overflow: hidden; background: var(--soft); cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.03); }
@media (max-width: 640px) { .gallery, .gallery-2, .gallery-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .gallery-1 { grid-template-columns: 1fr; } }
.species { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.species figure { cursor: zoom-in; }
.species img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--soft); }
.species figcaption, .techniques figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.35; }
@media (max-width: 760px) { .species { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.techniques { display: grid; gap: 22px 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.techniques figure { border: 1px solid var(--line); padding: 16px; }
.techniques figcaption { font-family: var(--serif); font-size: 17px; color: var(--ink); margin: 0 0 12px; }
.techniques img { width: 100%; }
@media (max-width: 760px) { .techniques { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .techniques { grid-template-columns: 1fr; } }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Cards (index pages) */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.card { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); color: #fff; }
.card picture, .card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.72)); }
.card:hover img { transform: scale(1.05); }
.card .card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px; }
.card h3 { color: #fff; font-size: 22px; margin: 0 0 4px; }
.card p { margin: 0; font-size: 14px; color: rgba(255,255,255,.8); }
.card .more { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: .3px; }

/* Testimonials */
.testimonials { background: var(--soft); padding: 56px var(--gutter); margin: 0 calc(-1 * var(--gutter)); }
.testimonials h2 { text-align: center; font-size: 26px; margin-bottom: 36px; }
.testimonials .tgrid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: var(--max); margin: 0 auto; }
@media (max-width: 900px) { .testimonials .tgrid { grid-template-columns: 1fr; } }
.tcard { background: #fff; padding: 32px 28px; border-top: 3px solid var(--gold); display: flex; flex-direction: column; }
.tcard blockquote { margin: 0 0 22px; font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.65; color: var(--ink); flex: 1; }
.tcard blockquote p { margin-bottom: .8em; }
.tcard .who { display: flex; align-items: center; gap: 14px; }
.tcard .who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.tcard .who strong { display: block; font-family: var(--serif); font-weight: 400; color: var(--ink); font-size: 16px; }
.tcard .who span { font-size: 13px; color: var(--muted); }

/* Home */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
@media (max-width: 800px) { .intro { grid-template-columns: 1fr; gap: 32px; } }
.intro img { width: 100%; }
.intro h2 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.35; }
.home-section { padding: 72px 0; }
.home-section.alt { background: var(--soft); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.section-head a { font-size: 14px; font-weight: 700; white-space: nowrap; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat h3 { font-size: 19px; margin-bottom: 6px; }
.stat p { font-size: 14px; margin: 0; }
.cta-band { background: var(--ink); color: #fff; padding: 64px 0; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.75); max-width: 50ch; margin: 0 auto 26px; }

/* Contact */
.contact-grid h1 { font-size: clamp(26px, 3vw, 34px); }
.info-band { background: var(--gold); color: #fff; padding: 36px 0; }
.info-band .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 760px) { .info-band .wrap { grid-template-columns: 1fr; gap: 20px; } }
.info-band h4 { color: #fff; margin-bottom: 4px; }
.info-band p { margin: 0; font-size: 15px; color: rgba(255,255,255,.92); }
.info-band a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.map { aspect-ratio: 21 / 9; min-height: 320px; background: var(--soft); }
.map iframe { width: 100%; height: 100%; border: 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 56px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }
.form label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.form .field { margin-bottom: 18px; }
.form input, .form textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); padding: 12px 14px; border: 1px solid #d6d3cc; background: #fff; border-radius: 0; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.form textarea { min-height: 160px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form small { display: block; margin-top: 10px; font-size: 12px; color: var(--muted); }
.small { font-size: 13px; color: var(--muted); }

/* News */
.post-list { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post-card { border: 1px solid var(--line); background: #fff; }
.post-card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.post-card .pbody { padding: 22px; }
.post-card .date { font-size: 13px; color: var(--muted); }
.post-card h3 { font-size: 22px; margin: 6px 0 10px; }
.post-card p { font-size: 14px; }
.post-meta { font-size: 14px; color: var(--muted); margin: -24px 0 32px; }

/* Footer */
.site-footer { background: var(--soft); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer .wrap.cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; padding-top: 56px; padding-bottom: 48px; }
@media (max-width: 900px) { .site-footer .wrap.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .site-footer .wrap.cols { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: 20px; margin-bottom: 14px; }
.site-footer p { margin-bottom: 12px; }
.site-footer strong { color: var(--ink); }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--gold-dark); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer li a::before { content: "\2192"; color: var(--gold); margin-right: 10px; }
.foot-news a { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: start; }
.foot-news img { width: 72px; height: 48px; object-fit: cover; }
.foot-news strong { font-family: var(--serif); font-weight: 400; font-size: 15px; line-height: 1.3; display: block; }
.foot-news .date { font-size: 12px; }
.fsc { display: grid; grid-template-columns: 86px 1fr; gap: 16px; align-items: start; }
.fsc img { width: 86px; }
.fsc p { font-size: 13px; }
.copy { border-top: 1px solid var(--line); padding: 18px 0; font-size: 13px; }
.copy .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* Lightbox */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 96vh; }
dialog.lightbox::backdrop { background: rgba(0,0,0,.88); }
dialog.lightbox img { max-width: min(96vw, 1400px); max-height: 86vh; width: auto; height: auto; margin: 0 auto; }
dialog.lightbox figcaption { color: #fff; text-align: center; font-size: 15px; padding: 12px; font-family: var(--serif); }
dialog.lightbox button { position: fixed; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }

/* 404 */
.notfound { text-align: center; padding: 80px 0; }
