/*
Theme Name: Micole Tuchman Dermatology
Theme URI: https://drtuchmanderm.com/
Author: Custom reconstruction
Description: A responsive custom theme recreating the Micole Tuchman Medical & Cosmetic Dermatology website.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: micole-tuchman
*/

@font-face {
  font-family: "Bodoni Moda";
  src: url("assets/fonts/BodoniModa-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Josefin Sans";
  src: url("assets/fonts/JosefinSans-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
}

:root {
  --ink: #2e2b2b;
  --body: #5f5d5d;
  --muted: #858282;
  --rule: #e4e4e4;
  --paper: #ffffff;
  --display: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --sans: "Josefin Sans", "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  --content: 1760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: .055em;
}

a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  width: calc(100% - 72px);
  max-width: 1960px;
  min-height: 100vh;
  margin: 0 auto;
  border-left: 1px solid #ededed;
  border-right: 1px solid #ededed;
}

.site-header {
  padding: 66px 48px 0;
}

.brand {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 66px;
  color: #302727;
  text-align: center;
}

.brand-name {
  display: block;
  border-bottom: 2px solid currentColor;
  font-family: var(--display);
  font-size: clamp(46px, 5.2vw, 95px);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: .98;
  letter-spacing: -.005em;
  text-transform: uppercase;
}

.brand-subtitle {
  display: block;
  margin-top: 14px;
  color: #464141;
  font-size: clamp(15px, 2vw, 34px);
  font-weight: 400;
  letter-spacing: .145em;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav-row {
  display: grid;
  grid-template-columns: minmax(72px, 1fr) auto minmax(72px, 1fr);
  gap: 44px;
  align-items: center;
}

.nav-row::before, .nav-row::after {
  content: "";
  height: 2px;
  background: var(--rule);
}

.site-nav ul {
  display: flex;
  gap: clamp(24px, 3.8vw, 78px);
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0 0 7px;
  color: #858383;
  border-bottom: 2px solid transparent;
  font-size: clamp(13px, 1.35vw, 20px);
  font-weight: 500;
  letter-spacing: .045em;
  line-height: 1;
  text-transform: uppercase;
}

.site-nav .current-menu-item > a,
.site-nav .current_page_item > a,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--rule);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span:not(.screen-reader-text) {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
}

.site-main {
  width: calc(100% - 96px);
  max-width: var(--content);
  margin: 0 auto;
  padding: 118px 0 90px;
}

.page-title {
  margin: 0 0 74px;
  color: var(--ink);
  font-size: clamp(36px, 4vw, 62px);
  font-weight: 300;
  letter-spacing: .01em;
  line-height: 1.15;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 30px;
  color: var(--ink);
  font-size: clamp(34px, 3.6vw, 58px);
  font-weight: 300;
  letter-spacing: .01em;
  line-height: 1.18;
}

.text-rule {
  border-top: 2px solid var(--rule);
  padding-top: 62px;
}

.home-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(300px, .95fr);
  gap: clamp(70px, 8vw, 150px);
  align-items: center;
}

.home-photo img {
  width: 100%;
  max-height: 800px;
  object-fit: cover;
}

.home-copy { text-align: center; }
.home-copy h1,
.home-copy h2 {
  margin: 0 0 22px;
  color: #2e2929;
  font-family: var(--display);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-copy p {
  margin: 0 0 18px;
  color: #777474;
  font-size: clamp(15px, 1.5vw, 23px);
  letter-spacing: .17em;
  line-height: 1.6;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(330px, .95fr) minmax(0, 1.08fr);
  gap: clamp(54px, 6vw, 110px);
  align-items: start;
}

.about-portrait img { width: 100%; }
.about-copy p, .philosophy p {
  margin: 0 0 30px;
  font-size: clamp(17px, 1.9vw, 29px);
  line-height: 1.62;
  letter-spacing: .08em;
}

.button-link, .contact-submit {
  display: inline-flex;
  min-width: 230px;
  min-height: 82px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 18px 34px;
  border: 2px solid #292929;
  background: #292929;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease;
}

.button-link:hover, .button-link:focus-visible,
.contact-submit:hover, .contact-submit:focus-visible {
  background: #fff;
  color: #292929;
}

.wp-block-button.button-link {
  display: block;
  width: fit-content;
  min-width: 0;
  min-height: 0;
  margin-top: 28px;
  padding: 0;
  border: 0;
  background: transparent;
}

.wp-block-button.button-link:hover,
.wp-block-button.button-link:focus-visible {
  background: transparent;
  color: inherit;
}

.wp-block-button.button-link .wp-block-button__link {
  display: inline-flex;
  min-width: 230px;
  min-height: 82px;
  align-items: center;
  justify-content: center;
  padding: 18px 34px;
  border: 2px solid #292929;
  border-radius: 0;
  background: #292929;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease;
}

.wp-block-button.button-link .wp-block-button__link:hover,
.wp-block-button.button-link .wp-block-button__link:focus-visible {
  background: #fff;
  color: #292929;
}

.philosophy {
  margin-top: 82px;
  padding: 74px 0 82px;
  border-top: 2px solid var(--rule);
  border-bottom: 2px solid var(--rule);
}

.instagram {
  padding: 76px 0 12px;
  text-align: center;
  font-size: clamp(18px, 1.7vw, 27px);
  font-weight: 500;
  letter-spacing: .04em;
}

.instagram a { color: #111; }

.conditions-grid, .treatments-grid {
  display: grid;
  gap: 20px 90px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.conditions-grid { grid-template-columns: repeat(3, 1fr); }
.treatments-grid { grid-template-columns: repeat(2, 1fr); }

.conditions-grid ul,
.treatments-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.conditions-grid li,
.treatments-grid li {
  font-size: clamp(17px, 1.7vw, 28px);
  line-height: 1.6;
  letter-spacing: .08em;
}

.medical-note, .cosmetic-note {
  margin-top: 74px;
  padding-top: 56px;
  border-top: 2px solid var(--rule);
}

.treatment-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, .9fr);
  gap: clamp(52px, 6vw, 100px);
  align-items: center;
  padding: 62px 0;
  border-top: 2px solid var(--rule);
}

.treatment-feature:first-of-type { border-top: 0; padding-top: 0; }
.treatment-feature h2, .treatment-copy h2 {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: clamp(34px, 3.4vw, 57px);
  font-weight: 300;
  line-height: 1.18;
}

.treatment-feature p, .treatment-copy p {
  margin: 0 0 22px;
  font-size: clamp(17px, 1.75vw, 27px);
  line-height: 1.68;
}

.treatment-image figcaption {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.treatment-copy {
  padding: 52px 0;
  border-top: 2px solid var(--rule);
}

.treatment-copy:first-child { padding-top: 0; border-top: 0; }
.wide-treatment-image { width: min(1050px, 72%); margin: 46px auto 0; }

.home-intro,
.about-grid,
.conditions-grid,
.treatments-grid,
.treatment-feature,
.gallery-grid,
.contact-layout,
.product-row {
  margin-top: 0;
  margin-bottom: 0;
}

.home-photo figure,
.about-portrait figure,
.treatment-image figure,
.gallery-card figure,
.wide-treatment-image {
  margin-top: 0;
  margin-bottom: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
}

.gallery-card {
  margin: 0;
  padding-bottom: 44px;
  border-bottom: 2px solid var(--rule);
}

.gallery-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery-card h2 {
  margin: 25px 0 6px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 300;
}

.gallery-card p { margin: 0; letter-spacing: .04em; }

.products-list { border-top: 2px solid var(--rule); }
.product-row {
  display: grid;
  grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr);
  gap: 60px;
  padding: 48px 0;
  border-bottom: 2px solid var(--rule);
}

.product-row h2 { margin: 0; color: var(--ink); font-size: 34px; font-weight: 300; }
.product-row p { margin: 0; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(0, 1fr);
  gap: clamp(70px, 7vw, 130px);
}

.contact-intro { padding-top: 2px; }
.contact-intro .page-title { margin-bottom: 56px; }
.contact-intro p { margin: 0 0 34px; font-size: clamp(17px, 1.7vw, 26px); }
.contact-intro h2 {
  margin: 48px 0 26px;
  color: var(--ink);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.contact-form { padding-top: 4px; }
.form-note {
  margin: 0 0 28px;
  color: #757575;
  font-size: 14px;
  letter-spacing: .02em;
  line-height: 1.5;
}
.contact-form label {
  display: block;
  margin: 0 0 10px;
  color: #606060;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.required { color: #929292; font-size: 16px; font-weight: 400; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { margin-bottom: 28px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #a4a4a4;
  border-radius: 0;
  background: #fff;
  color: #222;
  letter-spacing: .02em;
}

.contact-form input { min-height: 72px; }
.contact-form textarea { min-height: 196px; resize: vertical; }
.contact-submit { min-width: 340px; min-height: 96px; margin-top: 4px; background: #fff; color: #292929; cursor: pointer; }
.contact-submit:hover, .contact-submit:focus-visible { background: #292929; color: #fff; }

.notice {
  margin: 0 0 28px;
  padding: 18px 22px;
  border-left: 3px solid #292929;
  background: #f5f5f5;
  letter-spacing: .02em;
}

.site-footer {
  max-width: var(--content);
  width: calc(100% - 96px);
  margin: 0 auto;
  padding: 54px 0 70px;
  border-top: 2px solid var(--rule);
  color: #777;
  font-size: 13px;
  letter-spacing: .06em;
  text-align: center;
}

@media (max-width: 1050px) {
  .site-shell { width: calc(100% - 28px); }
  .site-header { padding: 44px 28px 0; }
  .brand { margin-bottom: 42px; }
  .nav-row { gap: 22px; }
  .site-nav ul { gap: 25px; }
  .site-main, .site-footer { width: calc(100% - 56px); }
  .site-main { padding-top: 78px; }
  .home-intro, .about-grid, .contact-layout { gap: 54px; }
  .conditions-grid { gap: 18px 45px; }
}

@media (max-width: 800px) {
  body { font-size: 16px; letter-spacing: .045em; }
  .site-shell { width: 100%; border: 0; }
  .site-header { padding: 30px 22px 0; }
  .brand { margin-bottom: 28px; }
  .brand-name { font-size: clamp(30px, 8.4vw, 58px); }
  .brand-subtitle { margin-top: 8px; font-size: clamp(10px, 3.2vw, 18px); letter-spacing: .14em; }
  .nav-row { display: block; position: relative; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .nav-row::before, .nav-row::after { display: none; }
  .menu-toggle { display: block; margin: 9px 0 9px auto; }
  .site-nav { display: none; padding: 0 0 12px; }
  .site-nav.is-open { display: block; }
  .site-nav ul { display: block; }
  .site-nav li { border-top: 1px solid #efefef; }
  .site-nav a { padding: 15px 5px; border-bottom: 0; font-size: 14px; }
  .site-main, .site-footer { width: calc(100% - 40px); }
  .site-main { padding: 58px 0 70px; }
  .page-title { margin-bottom: 46px; }
  .home-intro, .about-grid, .contact-layout, .treatment-feature, .product-row { grid-template-columns: 1fr; }
  .home-intro { gap: 42px; }
  .home-copy { padding: 0 8px; }
  .about-grid { gap: 36px; }
  .about-portrait { width: min(520px, 100%); margin: 0 auto; }
  .philosophy { margin-top: 58px; padding: 52px 0 56px; }
  .conditions-grid, .treatments-grid { grid-template-columns: 1fr 1fr; gap: 14px 32px; }
  .treatment-feature { gap: 34px; }
  .wide-treatment-image { width: 100%; }
  .gallery-grid { gap: 30px; }
  .contact-layout { gap: 52px; }
  .contact-intro { border-bottom: 2px solid var(--rule); padding-bottom: 34px; }
}

@media (max-width: 520px) {
  .site-header { padding-left: 16px; padding-right: 16px; }
  .site-main, .site-footer { width: calc(100% - 32px); }
  .conditions-grid, .treatments-grid, .gallery-grid, .form-row { grid-template-columns: 1fr; }
  .conditions-grid, .treatments-grid { gap: 10px; }
  .conditions-grid li, .treatments-grid li { padding: 10px 0; border-bottom: 1px solid #efefef; }
  .product-row { gap: 16px; padding: 36px 0; }
  .contact-submit { min-width: 100%; }
  .wp-block-button.button-link .wp-block-button__link { min-width: 190px; min-height: 68px; }
}
